fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4.   int a[50],i;
  5.  
  6.   a[0]=2;
  7.   a[1]=-1;
  8.  
  9.   for(i=2;i<30;i++)
  10.   a[i]=-a[i-1]+a[i-2]+2;
  11.   for(i=o;i<30;i++)
  12.   printf("%d",a[i]);
  13.   printf("\n");
  14.  
  15. return 0;
  16. }
Compilation error #stdin compilation error #stdout 0s 5284KB
stdin
3
2
5
6
compilation info
prog.c: In function ‘main’:
prog.c:4:1: error: stray ‘\343’ in program
   int a[50],i;
 ^
prog.c:4:2: error: stray ‘\200’ in program
   int a[50],i;
  ^
prog.c:4:3: error: stray ‘\200’ in program
   int a[50],i;
   ^
prog.c:5:1: error: stray ‘\343’ in program
  
 ^
prog.c:5:2: error: stray ‘\200’ in program
  
  ^
prog.c:5:3: error: stray ‘\200’ in program
  
   ^
prog.c:6:1: error: stray ‘\343’ in program
   a[0]=2;
 ^
prog.c:6:2: error: stray ‘\200’ in program
   a[0]=2;
  ^
prog.c:6:3: error: stray ‘\200’ in program
   a[0]=2;
   ^
prog.c:7:1: error: stray ‘\343’ in program
   a[1]=-1;
 ^
prog.c:7:2: error: stray ‘\200’ in program
   a[1]=-1;
  ^
prog.c:7:3: error: stray ‘\200’ in program
   a[1]=-1;
   ^
prog.c:8:1: error: stray ‘\343’ in program
  
 ^
prog.c:8:2: error: stray ‘\200’ in program
  
  ^
prog.c:8:3: error: stray ‘\200’ in program
  
   ^
prog.c:9:1: error: stray ‘\343’ in program
   for(i=2;i<30;i++)
 ^
prog.c:9:2: error: stray ‘\200’ in program
   for(i=2;i<30;i++)
  ^
prog.c:9:3: error: stray ‘\200’ in program
   for(i=2;i<30;i++)
   ^
prog.c:10:1: error: stray ‘\343’ in program
   a[i]=-a[i-1]+a[i-2]+2;
 ^
prog.c:10:2: error: stray ‘\200’ in program
   a[i]=-a[i-1]+a[i-2]+2;
  ^
prog.c:10:3: error: stray ‘\200’ in program
   a[i]=-a[i-1]+a[i-2]+2;
   ^
prog.c:11:1: error: stray ‘\343’ in program
   for(i=o;i<30;i++)
 ^
prog.c:11:2: error: stray ‘\200’ in program
   for(i=o;i<30;i++)
  ^
prog.c:11:3: error: stray ‘\200’ in program
   for(i=o;i<30;i++)
   ^
prog.c:11:11: error: ‘o’ undeclared (first use in this function)
   for(i=o;i<30;i++)
           ^
prog.c:11:11: note: each undeclared identifier is reported only once for each function it appears in
prog.c:12:1: error: stray ‘\343’ in program
   printf("%d",a[i]);
 ^
prog.c:12:2: error: stray ‘\200’ in program
   printf("%d",a[i]);
  ^
prog.c:12:3: error: stray ‘\200’ in program
   printf("%d",a[i]);
   ^
prog.c:13:1: error: stray ‘\343’ in program
   printf("\n");
 ^
prog.c:13:2: error: stray ‘\200’ in program
   printf("\n");
  ^
prog.c:13:3: error: stray ‘\200’ in program
   printf("\n");
   ^
prog.c:14:1: error: stray ‘\343’ in program
  
 ^
prog.c:14:2: error: stray ‘\200’ in program
  
  ^
prog.c:14:3: error: stray ‘\200’ in program
  
   ^
stdout
Standard output is empty