submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s011860570
p00000
C
j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | j;main(i){for(;j<9...
s290231968
p00000
C
#include<stdio.h> int main(){ for(a = 1; a <= 9; a++) { for(b = 1; b <= 9; b++) { printf("%dx%d=%d\n", a, b, c); } } return 0; }
main.c: In function 'main': main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for(a = 1; a <= 9; a++) | ^ main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in main.c:6:13: error: 'b' undeclared (first use in this function) 6 | ...
s312947871
p00000
C
#include<stdio.h> int main(){ for(a = 1; a <= 9; a++) { for(b = 1; b <= 9; b++) { printf("%dx%d=%d\n", a, b, a*b); } } return 0; }
main.c: In function 'main': main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for(a = 1; a <= 9; a++) | ^ main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in main.c:6:13: error: 'b' undeclared (first use in this function) 6 | ...
s699981440
p00000
C
#include<stdio.h> int main(){ for(i=0;i<9;i++){ for(j=0;j<9;j++){ printf("%dx%d=%d",i,j,i*j); } return 0; }
main.c: In function 'main': main.c:4:7: error: 'i' undeclared (first use in this function) 4 | for(i=0;i<9;i++){ | ^ main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in main.c:5:9: error: 'j' undeclared (first use in this function) 5 | for(j=0;j<9...
s041694867
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=0;i<9;i++){ for(j=0;j<9;j++){ printf("%dx%d=%d",i,j,i*j); } return 0; }
main.c: In function 'main': main.c:10:1: error: expected declaration or statement at end of input 10 | } | ^
s996505842
p00000
C
#incldue<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j); } return 0; }
main.c:1:2: error: invalid preprocessing directive #incldue; did you mean #include? 1 | #incldue<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:5:18: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 5 | for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j...
s163588590
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf("%d * %d = %d"i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:10:22: error: expected ')' before 'i' 10 | printf("%d * %d = %d"i,j,i*j); | ~ ^ | )
s144449106
p00000
C
#include<stdio.h> int main(void) { int i,l,kai; i=1; while(i<=9) { l=1; { while(l<=9) { kai=i*l; printf("%dx%d=%d",i,l,kai); l++; } i++; } return 0; }
main.c: In function 'main': main.c:21:1: error: expected declaration or statement at end of input 21 | } | ^
s775048156
p00000
C
#include <stdio.h> int main() { for(int i = 1; i <= 9; i++) { for(int j = 1; j <= 9; j++) { printf("%dx%d=%d\n", i, j, i * j) } } return 0; }
main.c: In function 'main': main.c:9:58: error: expected ';' before '}' token 9 | printf("%dx%d=%d\n", i, j, i * j) | ^ | ; 10 | } | ...
s397708709
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf("i*j"/n); } } return 0; }
main.c: In function 'main': main.c:6:14: error: 'n' undeclared (first use in this function) 6 | printf("i*j"/n); | ^ main.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
s574338981
p00000
C
#include<stdio.h> int main(void){ int i, j; for (i = 1; i<10; i++){ for (j = 1; j<10; j++){ printf("%dx%d=%d\n",i,j, i*j); } } scanf_s("%d", &i); return 0; }
main.c: In function 'main': main.c:9:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration] 9 | scanf_s("%d", &i); | ^~~~~~~ | scanf
s060109871
p00000
C
#include<stdio.h> int main(){ int k=0; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf(i + "x" + j + "=" + k); } } return 0; }
main.c: In function 'main': main.c:4:5: error: 'i' undeclared (first use in this function) 4 | for(i=0;i<10;i++){ | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:5: error: 'j' undeclared (first use in this function) 5 | for(j=0;j<10;j++){...
s827342216
p00000
C
#include<stdio.h> int main(){ int k=0; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf("ixj=k"/n); } } return 0; }
main.c: In function 'main': main.c:4:5: error: 'i' undeclared (first use in this function) 4 | for(i=0;i<10;i++){ | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:5: error: 'j' undeclared (first use in this function) 5 | for(j=0;j<10;j++){...
s106918012
p00000
C
#include<stdio.h> int main(){ int k,i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf("ixj=k"/n); } } return 0; }
main.c: In function 'main': main.c:7:16: error: 'n' undeclared (first use in this function) 7 | printf("ixj=k"/n); | ^ main.c:7:16: note: each undeclared identifier is reported only once for each function it appears in
s398745148
p00000
C
#include<stdio.h> int main(){ int k,i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf("ixj=k"\n); } } return 0; }
main.c: In function 'main': main.c:7:15: error: stray '\' in program 7 | printf("ixj=k"\n); | ^ main.c:7:15: error: expected ')' before 'n' 7 | printf("ixj=k"\n); | ~ ^~ | )
s266040203
p00000
C
#include<stdio.h> int main(){ int k,i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf(ixj="k"); } } return 0; }
main.c: In function 'main': main.c:7:8: error: 'ixj' undeclared (first use in this function) 7 | printf(ixj="k"); | ^~~ main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
s395456903
p00000
C
#include<stdio.h> int main(){ int k,i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; printf("ixj=k\n",%d,%d,%d); } } return 0; }
main.c: In function 'main': main.c:7:18: error: expected expression before '%' token 7 | printf("ixj=k\n",%d,%d,%d); | ^
s825289073
p00000
C
#include<stdio.h> int main(){ int i,j,k=0; for(i=0;i<10;i++){ for(j=0;j<10;j++){ k=i*j; print("%dx%d=%d\n",i,j,k); } } return 0; }
main.c: In function 'main': main.c:8:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 8 | print("%dx%d=%d\n",i,j,k); | ^~~~~ | printf
s695432479
p00000
C
#include <stdio.h> void Main(){ for(int j=1;j<=9;j++){ for(int i=1;i<=9;i++){ printf("+%d+x+%d+=+&d*i\n",j,i,j); } /* class Main{ public static void main(String[] a){ for(int j=1;j<=9;j++){ for(int i=1;i<=9;i++){ System.out.println(""+j+"x"+i+"="+j*i...
main.c: In function 'Main': main.c:6:1: error: expected declaration or statement at end of input 6 | } | ^ main.c:6:1: error: expected declaration or statement at end of input
s265760100
p00000
C
#include <stdio.h> int Main(){ int i,j for(j=1;j<=9;j++){ for(i=1;i<=9;i++){ printf("+%d+x+%d+=+&d*i\n",j,i,j); return 0; }
main.c: In function 'Main': main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for' 4 | for(j=1;j<=9;j++){ | ^~~ main.c:4:9: error: 'j' undeclared (first use in this function) 4 | for(j=1;j<=9;j++){ | ^ main.c:4:9: note: each undeclared identifier is reported only on...
s620454324
p00000
C
#include <stdio.h> int Main(){ int i,j for(j=1;j<=9;j++){ for(i=1;i<=9;i++){ printf("+%d+x+%d+=+&d*i\n",j,i,j); }} return 0; }
main.c: In function 'Main': main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for' 4 | for(j=1;j<=9;j++){ | ^~~ main.c:4:9: error: 'j' undeclared (first use in this function) 4 | for(j=1;j<=9;j++){ | ^ main.c:4:9: note: each undeclared identifier is reported only on...
s456774106
p00000
C
#include <stdio.h> int main(void){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf("%d*%d=%d\n", i,j,i*j); return 0; }
main.c: In function 'main': main.c:9:9: error: expected declaration or statement at end of input 9 | } | ^ main.c:9:9: error: expected declaration or statement at end of input
s985900999
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf("%d*%d=%d\n", i,j,i*j); return 0; }
main.c: In function 'main': main.c:8:9: error: expected declaration or statement at end of input 8 | } | ^ main.c:8:9: error: expected declaration or statement at end of input
s127804890
p00000
C
#include <stdio.h> int main(){ int answer; for(int i=1; i<=9; i++){ for(int a=1; a<=9; a++){ answer = i*a: printf("%dx%d=%d\n", i,a,answer); } } return 0; }
main.c: In function 'main': main.c:7:19: error: expected ';' before ':' token 7 | answer = i*a: | ^ | ;
s521656780
p00000
C
#include<stdio.h> int main(void) { printf( return 0; }
main.c: In function 'main': main.c:7:8: error: expected expression before 'return' 7 | return 0; | ^~~~~~ main.c:7:17: error: expected ';' before '}' token 7 | return 0; | ^ | ; 8 | } | ~
s660156755
p00000
C
#include<stdio.h> #include<conio.h> int main() { long long int i,j,k,n; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf("%lldx%lld=%lld\n",i,j,i*j); } } getch(); return 0; }
main.c:2:9: fatal error: conio.h: No such file or directory 2 | #include<conio.h> | ^~~~~~~~~ compilation terminated.
s580523533
p00000
C
#include<stdio.h> int main(){ int i,j: for(i=1;i<10;i++){ for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j); } return 0;}
main.c: In function 'main': main.c:3:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token 3 | int i,j: | ^ main.c:4:17: error: expected ';' before ')' token 4 | for(i=1;i<10;i++){ | ^ | ; main.c:4:17: error: expected statement befor...
s987827400
p00000
C
#include<stdio.h> int main(){ inta,b for(a = 1;a<10;a++){ for(b = 1;b<10;b++){ printf("%dx%d=%d\n",a,b,a*b); } } return 0; }
main.c: In function 'main': main.c:3:1: error: 'inta' undeclared (first use in this function); did you mean 'int'? 3 | inta,b | ^~~~ | int main.c:3:1: note: each undeclared identifier is reported only once for each function it appears in main.c:3:6: error: 'b' undeclared (first use in this function) ...
s372997120
p00000
C
#include<stdio.h> int main(){ int a,b for(a = 1;a<10;a++){ for(b = 1;b<10;b++){ printf("%dx%d=%d\n",a,b,a*b); } } return 0; }
main.c: In function 'main': main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for' 4 | for(a = 1;a<10;a++){ | ^~~ main.c:4:19: error: expected ';' before ')' token 4 | for(a = 1;a<10;a++){ | ^ | ; main.c:4:19: error: expected statem...
s887673376
p00000
C
int i, j, ans; ans = 0; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ ans = i * j; printf("%d??%d=%d\n", i, j, ans); } }
main.c:2:9: warning: data definition has no type or storage class 2 | ans = 0; | ^~~ main.c:2:9: error: type defaults to 'int' in declaration of 'ans' [-Wimplicit-int] main.c:3:9: error: expected identifier or '(' before 'for' 3 | for(i = 1; i <= 9; i++){ | ^~~ main.c...
s933811097
p00000
C
#include <stdio.h> i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))} return 0; }
main.c:3:1: warning: data definition has no type or storage class 3 | i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))} | ^ main.c:3:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:3:3: error: return type defaults to 'int' [-Wimplicit-int] 3 | i;main(m){for...
s110447512
p00000
C
int main(){ for(int i = 1; i <= 9; i++){ for(int j = 1; i <= 9; i++){ printf(i*j); } } }
main.c: In function 'main': main.c:4:8: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 4 | printf(i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | int main(){ main.c:4:8: warning: inco...
s761362996
p00000
C
#include <stdio.h> int main(){ int i,j for(i = 1; i <= 9; i++) { for(j = 1; j <= 9; j++) { printf("%dx%d= %d\n", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:7:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for' 7 | for(i = 1; i <= 9; i++) | ^~~ main.c:7:31: error: expected ';' before ')' token 7 | for(i = 1; i <= 9; i++) | ^ | ...
s855697757
p00000
C
unsigned char i = 0; unsigned char j = 0; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { printf("%d x %d = %d\n",i ,j ,i * j); } }
main.c:5:9: error: expected identifier or '(' before 'for' 5 | for (i = 1; i < 10; i++) { | ^~~ main.c:5:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 5 | for (i = 1; i < 10; i++) { | ^ main.c:5:30: error: expected '=', ','...
s630486446
p00000
C
#include<stdio.h> int main(){ unsigned char i = 0; unsigned char j = 0; for (i = 1; i < 10; i++) { for (j = 1; j < 10; j++) { printf("%dx%d = %d\n",i , j, i * j); return 0; }
main.c: In function 'main': main.c:12:1: error: expected declaration or statement at end of input 12 | } | ^ main.c:12:1: error: expected declaration or statement at end of input
s700062465
p00000
C
#include<stdio.h> int main{ int x,y; for(x=1;x<=9;x++){ for(y=1;y<=9;y++){ printf("%dx%d=%d",x,y,x*y); } } return 0; }
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 2 | int main{ | ^
s449205926
p00000
C
#include<stdio.h> int main(){ int j,k; for(j=1;j<=9;j++){ for(k=1;k<=9;k++{ printf("%dx%d=%d\n",&j, &k, j*k); } } return 0; }
main.c: In function 'main': main.c:6:25: error: expected ')' before '{' token 6 | for(k=1;k<=9;k++{ | ~ ^ | ) main.c:9:5: error: expected expression before '}' token 9 | } | ^
s498812152
p00000
C
#include<stadio.h> int main(){ int a,b,d,i; a=1; b=1; d=a*b; for(i=1,i<=9,i++){ printf("%dx%d=%d\n",a,b,d) b=b+1; } return 0; }
main.c:1:9: fatal error: stadio.h: No such file or directory 1 | #include<stadio.h> | ^~~~~~~~~~ compilation terminated.
s153760799
p00000
C
#include<stadio.h> int main(){ int a,b, for(a=1;a>=9;a++;){ for(b=1;b>=9;b++;){ printf("%dx%d=%d\n",a,b,a*b) } } return 0; }
main.c:1:9: fatal error: stadio.h: No such file or directory 1 | #include<stadio.h> | ^~~~~~~~~~ compilation terminated.
s366676104
p00000
C
#include<stadio.h> int main(){ int a,b; for(a=1;a>=9;a++){ for(b=1;b>=9;b++){ printf("%dx%d=%d\n",a,b,a*b); } } return 0; }
main.c:1:9: fatal error: stadio.h: No such file or directory 1 | #include<stadio.h> | ^~~~~~~~~~ compilation terminated.
s160748547
p00000
C
#include<stdio.h> int main(){ int a = 1; int b; for(b=1;b<=9;b++){ printf("%d ?? %d = %d",a,b,a*b); } return0 }
main.c: In function 'main': main.c:11:1: error: 'return0' undeclared (first use in this function) 11 | return0 | ^~~~~~~ main.c:11:1: note: each undeclared identifier is reported only once for each function it appears in main.c:11:8: error: expected ';' before '}' token 11 | return0 | ^ |...
s185749121
p00000
C
#include<stdio.h> int main() { int m,n; for(n=1;n<=9,n++){ for(n=1;n<=10,m++){ printf("%dX%d=%d",m,n,m*n); } } return 0; }
main.c: In function 'main': main.c:5:17: error: expected ';' before ')' token 5 | for(n=1;n<=9,n++){ | ^ | ; main.c:6:22: error: expected ';' before ')' token 6 | for(n=1;n<=10,m++){ | ^ | ;
s598836760
p00000
C
#include <stdio.h> int main(void) { for(i = 1;i < 10;i++) { for(j = 1;j < 10;j++) { printf("%dx%d=%d\n", i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:7: error: 'i' undeclared (first use in this function) 4 | for(i = 1;i < 10;i++) { | ^ main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in main.c:5:9: error: 'j' undeclared (first use in this function) 5 | for(j...
s023168781
p00000
C
#include<stdio.h> int main(){ int i ,j; for(i = 1;i<10;i++){ for(j = 1;j<10;j++){ print("%d*%d=%d",i,j(i*j)); } } return 0; }
main.c: In function 'main': main.c:7:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 7 | print("%d*%d=%d",i,j(i*j)); | ^~~~~ | printf main.c:7:20: error: called object 'j' is not a function or function pointer 7 | print("%d*%d=%d",i,j(i*j)...
s468489227
p00000
C
#include<stdio.h> int main(){ int i ,j; for(i = 1;i<10;i++){ for(j = 1;j<10;j++){ printf("%d*%d=%d",i,j(i*j)); } } return 0; }
main.c: In function 'main': main.c:7:21: error: called object 'j' is not a function or function pointer 7 | printf("%d*%d=%d",i,j(i*j)); | ^ main.c:4:8: note: declared here 4 | int i ,j; | ^
s221409989
p00000
C
#include <stdio.h> int main() { printf(1x1= ) return 0; }
main.c: In function 'main': main.c:5:8: error: invalid suffix "x1" on integer constant 5 | printf(1x1= ) | ^~~ main.c:5:13: error: expected expression before ')' token 5 | printf(1x1= ) | ^
s225061026
p00000
C
#include<stdio.h> int main(){ int i = 1; int j = 1; for( : i<10 : i++){ for( j=1 : j<10 : j++ ){ printf("%dx%d=%d\n",i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:8:10: error: expected expression before ':' token 8 | for( : i<10 : i++){ | ^ main.c:8:22: error: expected expression before ')' token 8 | for( : i<10 : i++){ | ^ main.c:9:17: error: expected ';' before ':' token 9 | ...
s939434815
p00000
C
#include<stdio.h> int main(){ int i = 1; int j = 1; for( : i<10 : i++){ for( j=1 : j<10 : j++ ){ printf("%dx%d=%d\n",i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:8:10: error: expected expression before ':' token 8 | for( : i<10 : i++){ | ^ main.c:8:22: error: expected expression before ')' token 8 | for( : i<10 : i++){ | ^ main.c:9:17: error: expected ';' before ':' token 9 | ...
s525362707
p00000
C
#include<stdio.h> int main(void){ int i, j; for( i = 1 : i<10 : i++){ for( j=1 : j<10 : j++ ){ printf("%dx%d=%d\n",i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:7:15: error: expected ';' before ':' token 7 | for( i = 1 : i<10 : i++){ | ^~ | ; main.c:7:28: error: expected expression before ')' token 7 | for( i = 1 : i<10 : i++){ | ^ main.c:8:17: error: exp...
s909409312
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:7:12: error: expected ';' before ':' token 7 | for(i=1:i<10:i++){ | ^ | ; main.c:7:21: error: expected expression before ')' token 7 | for(i=1:i<10:i++){ | ^ main.c:8:16: error: expected ';' before ':' token ...
s693963402
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:12: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:21: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:16: error: expected ';' before ':' token ...
s179537391
p00000
C
#include<stdio.h> int main(){ ??????for(int i = 0;i<9;i++){ printf("%d\n",i); for(int j = 0;j<9;J++){ int sum = i*j; printf("%dX%d=%d\n",i,j,sum); } } return 0; }
main.c: In function 'main': main.c:4:1: error: expected expression before '?' token 4 | ??????for(int i = 0;i<9;i++){ | ^
s198186023
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:12: error: expected ';' before ':' token 4 | for(i=1:i<10:i++){ | ^ | ; main.c:4:21: error: expected expression before ')' token 4 | for(i=1:i<10:i++){ | ^ main.c:5:16: error: expected ';' before ':' token ...
s671730065
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:12: error: expected ';' before ':' token 4 | for(i=1:i<10:i++){ | ^ | ; main.c:4:21: error: expected expression before ')' token 4 | for(i=1:i<10:i++){ | ^ main.c:5:16: error: expected ';' before ':' token ...
s608205255
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:12: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:21: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:16: error: expected ';' before ':' token ...
s452255980
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:12: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:21: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:16: error: expected ';' before ':' token ...
s904516040
p00000
C
#include <stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:12: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:21: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:16: error: expected ';' before ':' token ...
s997121591
p00000
C
#include <stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:12: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:21: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:16: error: expected ';' before ':' token ...
s546967758
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:8: error: expected ';' before ':' token 5 | for(i=1:i<10:i++){ | ^ | ; main.c:5:17: error: expected expression before ')' token 5 | for(i=1:i<10:i++){ | ^ main.c:6:8: error: expected ';' before ':' token 6 | for(j=1:j<10:j+...
s562921423
p00000
C
#include <stdio.h> int main(){ int i; int j; for(i=1:i<10:i++){ for(j=1:j<10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:6:12: error: expected ';' before ':' token 6 | for(i=1:i<10:i++){ | ^ | ; main.c:6:21: error: expected expression before ')' token 6 | for(i=1:i<10:i++){ | ^ main.c:7:16: error: expected ';' before ':' token ...
s743110115
p00000
C
#indlude<stdio.h> int main(){ 1*1=1; 1*2=2; 1*3=3; 1*4=4; 1*5=5; 1*6=6; 1*7=7; 1*8=8; 1*9=9; 2*1=1; 2*2=4; 2*3=6; 2*4=8; 2*5=10; 2*6=12; 2*7=14; 2*8=16; 2*9=18; 3*1=3; 3*2=6; 3*3=9; 3*4=12; 3*5=15; 3*6=18; 3*7=21; 3*8=24; 3*9=27; 4*1=4; 4*2=8; 4*3=12; 4*4=16; 4*5=20; 4*6=24; 4*7...
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include? 1 | #indlude<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:4:12: error: lvalue required as left operand of assignment 4 | 1*1=1; | ^ main.c:5:12: error: lvalue required as...
s306940821
p00000
C
#indlude<stdio.h> int main(){ 1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 1*6=6 1*7=7 1*8=8 1*9=9 2*1=1 2*2=4 2*3=6 2*4=8 2*5=10 2*6=12 2*7=14 2*8=16 2*9=18 3*1=3 3*2=6 3*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=27 4*1=4 4*2=8 4*3=12 4*4=16 4*5=20 4*6=24 4*7=28 4*8=32 4*9=36 5*1=5 5*2=1...
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include? 1 | #indlude<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:4:12: error: lvalue required as left operand of assignment 4 | 1*1=1 | ^ main.c:4:14: error: expected ';' before...
s913760172
p00000
C
#indlude<stdio.h> int main(){ 1x1=1 1x2=2 1x3=3 1x4=4 1x5=5 1x6=6 1x7=7 1x8=8 1x9=9 2x1=1 2x2=4 2x3=6 2x4=8 2x5=10 2x6=12 2x7=14 2x8=16 2x9=18 3x1=3 3x2=6 3x3=9 3x4=12 3x5=15 3x6=18 3x7=21 3x8=24 3x9=27 4x1=4 4x2=8 4x3=12 4x4=16 4x5=20 4x6=24 4x7=28 4x8=32 4x9=36 5x1=5...
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include? 1 | #indlude<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:4:9: error: invalid suffix "x1" on integer constant 4 | 1x1=1 | ^~~ main.c:5:9: error: invalid suffix "x2" on integ...
s043524564
p00000
C
#indlude<stdio.h> int main(){ 1x1=1 1x2=2 1x3=3 1x4=4 1x5=5 1x6=6 1x7=7 1x8=8 1x9=9 2x1=1 2x2=4 2x3=6 2x4=8 2x5=10 2x6=12 2x7=14 2x8=16 2x9=18 3x1=3 3x2=6 3x3=9 3x4=12 3x5=15 3x6=18 3x7=21 3x8=24 3x9=27 4x1=4 4x2=8 4x3=12 4x4=16 4x5=20 4x6=24 4x7=28 4x8=32 4x9=36 5x1=5...
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include? 1 | #indlude<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:4:9: error: invalid suffix "x1" on integer constant 4 | 1x1=1 | ^~~ main.c:5:9: error: invalid suffix "x2" on integ...
s397757734
p00000
C
hoge
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | hoge | ^~~~
s391896206
p00000
C
#include<stdio.h> int main(){ int a,b,c; ??????for(a=1;a<=9;a++) { for(b=1;b<=9;b++) { c=a*b; printf("%d??%d=%d\n",a,b,c); } return 0; }
main.c: In function 'main': main.c:5:1: error: expected expression before '?' token 5 | ??????for(a=1;a<=9;a++) | ^ main.c:14:1: error: expected declaration or statement at end of input 14 | } | ^
s792051137
p00000
C
#include<stdio.h> int main(){ int a,b,c; ??????for(a=1;a<=9;a++) { for(b=1;b<=9;b++) { c=a*b; printf("%dx%d=%d\n",a,b,c); } return 0; }
main.c: In function 'main': main.c:5:1: error: expected expression before '?' token 5 | ??????for(a=1;a<=9;a++) | ^ main.c:14:1: error: expected declaration or statement at end of input 14 | } | ^
s586444127
p00000
C
#include<stdio.h> int main(){ int a,b,c; ??????for(a=1;a<=9;a++) { for(b=1;b<=9;b++) { c=a*b; printf("%dx%d=%d\n",a,b,c); } } return 0; }
main.c: In function 'main': main.c:5:1: error: expected expression before '?' token 5 | ??????for(a=1;a<=9;a++) | ^
s733331556
p00000
C
include<stdio.h> int main(void) { int i,n=0; for( i=1;i<10;i++){ printf("1*%d=%d\n", i,1*i); } for( i=1;i<10;i++){ printf("2*%d=%d\n", i,2*i); } for( i=1;i<10;i++){ printf("3*%d=%d\n", i,3*i); } for( i=1;i<10;i++){ printf("4*%d=%d\n", i,4*i); } for( i=1;i<10;i++){ ...
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s709693681
p00000
C
#include<stdio.h> int main() { int a[][] = NULL; int kuku[][](i, j); int i = 0; int j = 0; for (i = 0; i < 9; i++) { for (j = 0; j < 9; j++) { printf("%d'x'%d=%d", i, j,i*j ); } } return 0; }
main.c: In function 'main': main.c:4:13: error: array type has incomplete element type 'int[]' 4 | int a[][] = NULL; | ^ main.c:4:13: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first main.c:5:9: error: parameter names (without types) i...
s668828676
p00000
C
#include<stadio.h>
main.c:1:9: fatal error: stadio.h: No such file or directory 1 | #include<stadio.h> | ^~~~~~~~~~ compilation terminated.
s151515613
p00000
C
#include <stdio.h> int main(void){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ print("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:10:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 10 | print("%dx%d=%d\n",i,j,i*j); | ^~~~~ | printf
s306437761
p00000
C
0000
main.c:1:1: error: expected identifier or '(' before numeric constant 1 | 0000 | ^~~~
s563106474
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1j<10;j++){ printf("%dx%d\n",i*j); return 0; }
main.c: In function 'main': main.c:6:16: error: invalid operands to binary < (have 'complex int' and 'int') 6 | for(j=1j<10;j++){ | ^ main.c:6:23: error: expected ';' before ')' token 6 | for(j=1j<10;j++){ | ^ | ; main.c:...
s883938923
p00000
C
#include<stdio.h> int main(void){ int i; for(i=1;i<10;i++) printf("%dx%d=%d",i,i,i*i); return0; }
main.c: In function 'main': main.c:6:1: error: 'return0' undeclared (first use in this function) 6 | return0; | ^~~~~~~ main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
s514553810
p00000
C
#include<stdio.h> int main(void){ int i; for(i=1;i<10;i++) printf("%dx%d=%d",i,i,i*i); return0; }
main.c: In function 'main': main.c:6:1: error: 'return0' undeclared (first use in this function) 6 | return0; | ^~~~~~~ main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
s556194862
p00000
C
#include<stdio.h> int main(void) { int i; int j; for(i=1;i<10;i++) { for(j=1;j<10;j++) { printf(ixj=i*j); } } return 0; }
main.c: In function 'main': main.c:10:15: error: 'ixj' undeclared (first use in this function) 10 | printf(ixj=i*j); | ^~~ main.c:10:15: note: each undeclared identifier is reported only once for each function it appears in
s794631196
p00000
C
#include<stdio.h> int main(void) { int i; int j; for(i=1;i<10;i++) { for(j=1;j<10;j++) { printf("%dx%d=%d",i j i*j); } } return 0; }
main.c: In function 'main': main.c:10:27: error: expected ')' before 'j' 10 | printf("%dx%d=%d",i j i*j); | ~ ^~ | )
s464568573
p00000
C
#include<stdio.h> int main(){ int n=1, m=1; for (n=1, n < 10, n++){ for (m=1, m < 10, m++){ printf("%d×%d=%d\n", n, m, n*m); } } return 0; }
main.c: In function 'main': main.c:6:22: error: expected ';' before ')' token 6 | for (n=1, n < 10, n++){ | ^ | ; main.c:6:22: error: expected expression before ')' token main.c:7:23: error: expected ';' before ')' token 7 | for (m=1, m < 10, m++){ | ...
s438400604
p00000
C
#include <stdio.h> main(){ for(int i=1;i<=9;i++){ for(int j=1;j<=9;j++){ printf("%d??%d=%d\n",i,j,i*j ); } } return 0; }
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main(){ | ^~~~
s408471580
p00000
C
#include<stdio.h> int main(){ for(i=0,i<=9,i++){ for(j=0, j<=9,j++){ printf("%dx%d=%d\n, i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:4:5: error: 'i' undeclared (first use in this function) 4 | for(i=0,i<=9,i++){ | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:4:17: error: expected ';' before ')' token 4 | for(i=0,i<=9,i++){ | ...
s862099032
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=0,i<=9,i++){ for(j=0, j<=9,j++){ printf("%dx%d=%d\n, i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:5:17: error: expected ';' before ')' token 5 | for(i=0,i<=9,i++){ | ^ | ; main.c:5:17: error: expected expression before ')' token main.c:6:19: error: expected ';' before ')' token 6 | for(j=0, j<=9,j++){ | ^...
s392305208
p00000
C
#include<stdio.h> int main(){ for (int n=1, n < 10, n++){ for (int m=1, m < 10, m++){ printf("%d×%d=%d\n", n, m, n*m); } } return 0; }
main.c: In function 'main': main.c:5:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 5 | for (int n=1, n < 10, n++){ | ^ main.c:10:5: error: expected expression before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected expression before ...
s964784463
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=0;i<=9;i++){ for(j=0;j<=9;j++){ printf("%dx%d=%d\n, i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:8:8: warning: missing terminating " character 8 | printf("%dx%d=%d\n, i, j, i*j); | ^ main.c:8:8: error: missing terminating " character 8 | printf("%dx%d=%d\n, i, j, i*j); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:10:1: error: expected expression before '}' ...
s645446557
p00000
C
#include<stdio.h> int main(){ int n, m; for (n=1, n < 10, n++){ for (m=1, m < 10, m++){ printf("%d×%d=%d\n", n, m, n*m); } } return 0; }
main.c: In function 'main': main.c:5:22: error: expected ';' before ')' token 5 | for (n=1, n < 10, n++){ | ^ | ; main.c:5:22: error: expected expression before ')' token main.c:6:23: error: expected ';' before ')' token 6 | for (m=1, m < 10, m++){ | ...
s447126412
p00000
C
#include<stdio.h> int main (void){ int a,b,sum=0; a=1,b=1; while(a<=9){ sum=a*b; printf("%dx%d=%d\n",a,b,sum); b++; if(b>9){ a++; b=1; } } return0; }
main.c: In function 'main': main.c:17:3: error: 'return0' undeclared (first use in this function) 17 | return0; | ^~~~~~~ main.c:17:3: note: each undeclared identifier is reported only once for each function it appears in
s361348295
p00000
C
#include<stdio.h> #include<conio.h> void main() { long long int j,i; clrscr(); printf("Multiplication table from 1 to 15 \n\n"); for(i=1;i<=9;i++) { for(j=1;j<=9;j++) printf("% lld\n",i*j); printf("\n"); } return 0; }
main.c:2:9: fatal error: conio.h: No such file or directory 2 | #include<conio.h> | ^~~~~~~~~ compilation terminated.
s635203683
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10j++){ printf("%dx%d=%d\n",i,j,i*j); } } return(0); }
main.c: In function 'main': main.c:5:18: error: lvalue required as increment operand 5 | for(j=1;j<10j++){ | ^~ main.c:5:20: error: expected ';' before ')' token 5 | for(j=1;j<10j++){ | ^ | ;
s372695877
p00000
C
#include <stdio.h> int main() { int i; int j; for(i=1;i<=10;i=++){ for(j=1;j<=10;j=++) printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:6:19: error: expected expression before ')' token 6 | for(i=1;i<=10;i=++){ | ^ main.c:7:19: error: expected expression before ')' token 7 | for(j=1;j<=10;j=++) | ^ main.c: At top level: main.c:11:1: error: expected identifier or ...
s526055876
p00000
C
#include<iostream> using namespace std; int main() { for(int i=1;i<=9;i++) { for(int j=1;j<=9;j++) { cout<<i<<"x"<<j<<"="<<i*j<<endl; } } return 0; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s178931304
p00000
C
#include<iostream> using namespace std; int main() { for(int i=1;i<=9;i++) { for(int j=1;j<=9;j++) { cout<<i<<"x"<<j<<"="<<i*j<<endl; } } return 0; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s385585890
p00000
C
#include<stdio.h> int main(){ for(int i; i<10; i++) { for(int j; j<10; j++) { printf(%d+%d=%d", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:6:20: error: expected expression before '%' token 6 | printf(%d+%d=%d", i, j, i*j); | ^ main.c:6:28: warning: missing terminating " character 6 | printf(%d+%d=%d", i, j, i*j); | ^ main.c:6:28: er...
s915810930
p00000
C
#include<stdio.h> int main(){ for(int i=0; i<10; i++) { for(int j=0; j<10; j++) { printf(%d+%d=%d", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:6:20: error: expected expression before '%' token 6 | printf(%d+%d=%d", i, j, i*j); | ^ main.c:6:28: warning: missing terminating " character 6 | printf(%d+%d=%d", i, j, i*j); | ^ main.c:6:28: er...
s479413145
p00000
C
#include<stdio.h> int main(void){ int x,y; for(x=1;x<=9;x++){ for(y=1;y<=9;Y++){ printf("%dx%d=%d\n", x,y,x*y); } } return 0; }
main.c: In function 'main': main.c:8:30: error: 'Y' undeclared (first use in this function) 8 | for(y=1;y<=9;Y++){ | ^ main.c:8:30: note: each undeclared identifier is reported only once for each function it appears in
s206500970
p00000
C
int i,j; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++) printf("%d*%d=%d\n", i,j, i*j); }
main.c:3:9: error: expected identifier or '(' before 'for' 3 | for(i = 1; i <= 9; i++){ | ^~~ main.c:3:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 3 | for(i = 1; i <= 9; i++){ | ^~ main.c:3:29: error: expected '=', ',', '...
s836084640
p00000
C
#include <stdio.h> int main() { int a,b; for(a = 1; a <= 9; a++){ for(b = 1; b <= 9; b++) printf("%d*%d=%d\n", i, j, i*j); } return 0; }
main.c: In function 'main': main.c:8:38: error: 'i' undeclared (first use in this function) 8 | printf("%d*%d=%d\n", i, j, i*j); | ^ main.c:8:38: note: each undeclared identifier is reported only once for each function it appears in main.c:8:41: error: 'j' ...
s274031862
p00000
C
#include<stdio.h> int main(){ for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf(%dx%d=%d,i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<10;i++){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(j=1;j<10;j...
s192407988
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf(%dx%d=%d,i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:10:16: error: expected expression before '%' token 10 | printf(%dx%d=%d,i,j,i*j); | ^
s222504286
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf(%dx%d=%d,i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:10:16: error: expected expression before '%' token 10 | printf(%dx%d=%d,i,j,i*j); | ^
s665182448
p00000
C
#include<stdio.h> int main(){ int i,j,n; for(i=1;i<10;i++){ for(j=1;j<10;j++){ n=i*j; printf(%dx%d=%d,i,j,n); } } return 0; }
main.c: In function 'main': main.c:10:16: error: expected expression before '%' token 10 | printf(%dx%d=%d,i,j,n); | ^