submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s357850824
p00000
C
#inckude<stdio.h> int i,j; main(){ for(i=0;i<=9;i++){ for(j=0;j<=9;j++){ printf(i*j); }}}
main.c:1:2: error: invalid preprocessing directive #inckude; did you mean #include? 1 | #inckude<stdio.h> | ^~~~~~~ | include main.c:5:1: error: return type defaults to 'int' [-Wimplicit-int] 5 | main(){ | ^~~~ main.c: In function 'main': main.c:10:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 10 | printf(i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | #inckude<stdio.h> main.c:10:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 10 | printf(i*j); | ^~~~~~ main.c:10:1: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:10:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 10 | printf(i*j); | ~^~ | | | int main.c:10:9: note: expected 'const char *' but argument is of type 'int'
s618189201
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1;i<10;1++){ for(j=1;j<10;j++){ printf("%d\n",i*j; } } return 0; }
main.c: In function 'main': main.c:4:15: error: lvalue required as increment operand 4 | for(i=1;i<10;1++){ | ^~ main.c:6:18: error: expected ')' before ';' token 6 | printf("%d\n",i*j; | ~ ^ | ) main.c:6:19: error: expected ';' before '}' token 6 | printf("%d\n",i*j; | ^ | ; 7 | } | ~
s113805452
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1;i<10;1++){ 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:15: error: lvalue required as increment operand 4 | for(i=1;i<10;1++){ | ^~
s808369468
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:7:17: error: expected ';' before ')' token 7 | for(i=1;i<=9,i++) | ^ | ;
s177377904
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:7:17: error: expected ';' before ')' token 7 | for(i=1;i<=9,i++) | ^ | ;
s051317449
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:7:17: error: expected ';' before ')' token 7 | for(i=1;i<=9,i++); | ^ | ;
s203955579
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:7:17: error: expected ';' before ')' token 7 | for(i=1;i<=9,i++) | ^ | ;
s658771190
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<=9;i++){ for(j=1;i<=9;j++){ printf("%dx%d=%d"i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:9:18: error: expected ')' before 'i' 9 | printf("%dx%d=%d"i,j,i*j); | ~ ^ | )
s963245339
p00000
C
#include<stdio.h> int main(){ for(int 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:5:21: error: 'j' undeclared (first use in this function) 5 | for(j=1; j<=9;j++){ | ^ main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
s337812875
p00000
C
#include<stdio.h> int main(){ for(int 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:5:21: error: 'j' undeclared (first use in this function) 5 | for(j=1;j<=9;j++){ | ^ main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
s278321921
p00000
C
#include <stdio.h> #define max 9 #define min 1 int main(){ int i,j; for(i=min;i<=max:i++){ for(j=min:j<=max;j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:8:17: error: expected ';' before ':' token 8 | for(i=min;i<=max:i++){ | ^ main.c:9:10: error: expected ';' before ':' token 9 | for(j=min:j<=max;j++){ | ^ main.c:9:21: error: expected ';' before ')' token 9 | for(j=min:j<=max;j++){ | ^ | ;
s676292703
p00000
C
#include <stdio.h> #define max 9 #define min 1 int main(){ int i,j; for(i=min;i<=max:i++){ for(j=min;j<=max;j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:8:17: error: expected ';' before ':' token 8 | for(i=min;i<=max:i++){ | ^
s917104958
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 ",ixj); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:11:38: error: 'ixj' undeclared (first use in this function) 11 | printf("%d ",ixj); | ^~~ main.c:11:38: note: each undeclared identifier is reported only once for each function it appears in
s271451595
p00000
C
#include <stdio.h> int main(void){ int s,k; for(s=1;s<=9;s++); ??? { for(k=1;k<=9;k++); { printf("%dx%d=%d\n",s,k,s*k); } } return 0; }
main.c: In function 'main': main.c:5:1: error: expected expression before '?' token 5 | ??? { | ^
s374905829
p00000
C
#include <stdio.h> int main(void){ int s,k; for(s=1;s<=9;s++); ??? { for(k=1;k<=9;k++); { printf("%dx%d=%d\n",s,k,s*k); } } return 0; }
main.c: In function 'main': main.c:5:1: error: expected expression before '?' token 5 | ??? { | ^
s978191806
p00000
C
#include<stdio.h> int main(void){ int a,b,s; for(a=1;i<=9;a++){ 1*a=s; printf("1*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 2*a=s; printf("2*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 3*a=s; printf("3*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 4*a=s; printf("4*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 5*a=s; printf("5*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 6*a=s; printf("6*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 7*a=s; printf("7*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 8*a=s; printf("8*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 9*a=s; printf("9*%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'i' undeclared (first use in this function) 4 | for(a=1;i<=9;a++){ | ^ main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in main.c:5:20: error: lvalue required as left operand of assignment 5 | 1*a=s; | ^ main.c:9:20: error: lvalue required as left operand of assignment 9 | 2*a=s; | ^ main.c:13:20: error: lvalue required as left operand of assignment 13 | 3*a=s; | ^ main.c:17:20: error: lvalue required as left operand of assignment 17 | 4*a=s; | ^ main.c:21:20: error: lvalue required as left operand of assignment 21 | 5*a=s; | ^ main.c:25:20: error: lvalue required as left operand of assignment 25 | 6*a=s; | ^ main.c:29:20: error: lvalue required as left operand of assignment 29 | 7*a=s; | ^ main.c:33:20: error: lvalue required as left operand of assignment 33 | 8*a=s; | ^ main.c:37:20: error: lvalue required as left operand of assignment 37 | 9*a=s; | ^
s884083106
p00000
C
#include<stdio.h> int main(void){ int a,s; for(a=1;i<=9;a++){ 1*a=s; printf("1*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 2*a=s; printf("2*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 3*a=s; printf("3*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 4*a=s; printf("4*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 5*a=s; printf("5*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 6*a=s; printf("6*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 7*a=s; printf("7*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 8*a=s; printf("8*%d=%d\n",a,s); } for(a=1;i<=9;a++){ 9*a=s; printf("9*%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'i' undeclared (first use in this function) 4 | for(a=1;i<=9;a++){ | ^ main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in main.c:5:20: error: lvalue required as left operand of assignment 5 | 1*a=s; | ^ main.c:9:20: error: lvalue required as left operand of assignment 9 | 2*a=s; | ^ main.c:13:20: error: lvalue required as left operand of assignment 13 | 3*a=s; | ^ main.c:17:20: error: lvalue required as left operand of assignment 17 | 4*a=s; | ^ main.c:21:20: error: lvalue required as left operand of assignment 21 | 5*a=s; | ^ main.c:25:20: error: lvalue required as left operand of assignment 25 | 6*a=s; | ^ main.c:29:20: error: lvalue required as left operand of assignment 29 | 7*a=s; | ^ main.c:33:20: error: lvalue required as left operand of assignment 33 | 8*a=s; | ^ main.c:37:20: error: lvalue required as left operand of assignment 37 | 9*a=s; | ^
s790485160
p00000
C
#include <stdio.h> int main(){ int i,j; for(i=1;si<=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:5:13: error: 'si' undeclared (first use in this function); did you mean 'i'? 5 | for(i=1;si<=9;i++);{ | ^~ | i main.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
s941503503
p00000
C
#include<stdio.h> int main(void){ int a,s; for(a=1;ia<=9;a++){ 1*a=s; printf("1*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 2*a=s; printf("2*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 3*a=s; printf("3*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 4*a=s; printf("4*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 5*a=s; printf("5*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 6*a=s; printf("6*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 7*a=s; printf("7*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 8*a=s; printf("8*%d=%d\n",a,s); } for(a=1;a<=9;a++){ 9*a=s; printf("9*%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'ia' undeclared (first use in this function); did you mean 'a'? 4 | for(a=1;ia<=9;a++){ | ^~ | a main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in main.c:5:20: error: lvalue required as left operand of assignment 5 | 1*a=s; | ^ main.c:9:20: error: lvalue required as left operand of assignment 9 | 2*a=s; | ^ main.c:13:20: error: lvalue required as left operand of assignment 13 | 3*a=s; | ^ main.c:17:20: error: lvalue required as left operand of assignment 17 | 4*a=s; | ^ main.c:21:20: error: lvalue required as left operand of assignment 21 | 5*a=s; | ^ main.c:25:20: error: lvalue required as left operand of assignment 25 | 6*a=s; | ^ main.c:29:20: error: lvalue required as left operand of assignment 29 | 7*a=s; | ^ main.c:33:20: error: lvalue required as left operand of assignment 33 | 8*a=s; | ^ main.c:37:20: error: lvalue required as left operand of assignment 37 | 9*a=s; | ^
s377087691
p00000
C
#include <stdio.h> int main(void) { int a, b; for(a=1, <=9, a++){ for(b=1, <=9, b++){ } } printf(%dx%d=%d\n a, b; a*b) return 0; }
main.c: In function 'main': main.c:5:10: error: expected expression before '<=' token 5 | for(a=1, <=9, a++){ | ^~ main.c:5:18: error: expected expression before ')' token 5 | for(a=1, <=9, a++){ | ^ main.c:6:10: error: expected expression before '<=' token 6 | for(b=1, <=9, b++){ | ^~ main.c:6:18: error: expected expression before ')' token 6 | for(b=1, <=9, b++){ | ^ main.c:9:8: error: expected expression before '%' token 9 | printf(%dx%d=%d\n a, b; a*b) | ^ main.c:9:16: error: stray '\' in program 9 | printf(%dx%d=%d\n a, b; a*b) | ^ main.c:9:29: error: expected ';' before 'return' 9 | printf(%dx%d=%d\n a, b; a*b) | ^ | ; 10 | return 0; | ~~~~~~
s527240202
p00000
C
#include <stdio.h> int main(void) { int a, b; for(a=1, <=9, a++){ for(b=1, <=9, b++){ } } printf("%dx%d=%d\n" a, b; a*b) return 0; }
main.c: In function 'main': main.c:5:10: error: expected expression before '<=' token 5 | for(a=1, <=9, a++){ | ^~ main.c:5:18: error: expected expression before ')' token 5 | for(a=1, <=9, a++){ | ^ main.c:6:10: error: expected expression before '<=' token 6 | for(b=1, <=9, b++){ | ^~ main.c:6:18: error: expected expression before ')' token 6 | for(b=1, <=9, b++){ | ^ main.c:9:20: error: expected ')' before 'a' 9 | printf("%dx%d=%d\n" a, b; a*b) | ~ ^~ | ) main.c:9:31: error: expected ';' before 'return' 9 | printf("%dx%d=%d\n" a, b; a*b) | ^ | ; 10 | return 0; | ~~~~~~
s597573049
p00000
C
#include <stdio.h> int main(void) { int a, b; for(a=1, <=9; a++){ for(b=1, <=9; b++){ printf("%dx%d=%d\n" a, b, a*b); } } return 0; }
main.c: In function 'main': main.c:5:10: error: expected expression before '<=' token 5 | for(a=1, <=9; a++){ | ^~ main.c:5:18: error: expected ';' before ')' token 5 | for(a=1, <=9; a++){ | ^ | ; main.c:6:10: error: expected expression before '<=' token 6 | for(b=1, <=9; b++){ | ^~ main.c:6:18: error: expected ';' before ')' token 6 | for(b=1, <=9; b++){ | ^ | ; main.c:7:20: error: expected ')' before 'a' 7 | printf("%dx%d=%d\n" a, b, a*b); | ~ ^~ | )
s617859029
p00000
C
#include<stdio.h> int main(void){ int a,s; for(a=1;ia<=9;a++){ 1*a=s; printf("1x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 2*a=s; printf("2x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 3*a=s; printf("3x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 4*a=s; printf("4x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 5*a=s; printf("5x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 6*a=s; printf("6x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 7*a=s; printf("7x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 8*a=s; printf("8x%d=%d\n",a,s); } for(a=1;a<=9;a++){ 9*a=s; printf("9x%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'ia' undeclared (first use in this function); did you mean 'a'? 4 | for(a=1;ia<=9;a++){ | ^~ | a main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in main.c:5:20: error: lvalue required as left operand of assignment 5 | 1*a=s; | ^ main.c:9:20: error: lvalue required as left operand of assignment 9 | 2*a=s; | ^ main.c:13:20: error: lvalue required as left operand of assignment 13 | 3*a=s; | ^ main.c:17:20: error: lvalue required as left operand of assignment 17 | 4*a=s; | ^ main.c:21:20: error: lvalue required as left operand of assignment 21 | 5*a=s; | ^ main.c:25:20: error: lvalue required as left operand of assignment 25 | 6*a=s; | ^ main.c:29:20: error: lvalue required as left operand of assignment 29 | 7*a=s; | ^ main.c:33:20: error: lvalue required as left operand of assignment 33 | 8*a=s; | ^ main.c:37:20: error: lvalue required as left operand of assignment 37 | 9*a=s; | ^
s012124277
p00000
C
#include<stdio.h> int main(void){ int a,s; for(a=1;ia<=9;a++){ s=1*a; printf("1x%d=%d\n",a,s); } for(a=1;a<=9;a++){ a=2*a; printf("2x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=3*a; printf("3x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=4*a; printf("4x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=5*a; printf("5x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=6*a; printf("6x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=7*a; printf("7x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=8*a; printf("8x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=9*a; printf("9x%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'ia' undeclared (first use in this function); did you mean 'a'? 4 | for(a=1;ia<=9;a++){ | ^~ | a main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in
s814840651
p00000
C
#include<stdio.h> int main(void){ int a,s; for(a=1;ia<=9;a++){ s=1*a; printf("1x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=2*a; printf("2x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=3*a; printf("3x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=4*a; printf("4x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=5*a; printf("5x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=6*a; printf("6x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=7*a; printf("7x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=8*a; printf("8x%d=%d\n",a,s); } for(a=1;a<=9;a++){ s=9*a; printf("9x%d=%d\n",a,s); } return 0; }
main.c: In function 'main': main.c:4:17: error: 'ia' undeclared (first use in this function); did you mean 'a'? 4 | for(a=1;ia<=9;a++){ | ^~ | a main.c:4:17: note: each undeclared identifier is reported only once for each function it appears in
s780927791
p00000
C
#include <stdio.h> int main(void) { 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: In function 'main': main.c:10:1: error: expected declaration or statement at end of input 10 | return 0; | ^~~~~~
s608556697
p00000
C
#include <stdio.h> int main(void) { 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: In function 'main': main.c:11:1: error: expected expression before '?' token 11 | ??? | ^ main.c:11:3: error: expected declaration or statement at end of input 11 | ??? | ^
s284659012
p00000
C
#include <stdio.h> int main(void) { 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: In function 'main': main.c:11:1: error: expected expression before '?' token 11 | ??? | ^ main.c:11:3: error: expected declaration or statement at end of input 11 | ??? | ^
s734872447
p00000
C
#include<stdio.h> int main(void){ int a,b,c; for(a=1:a<10;a++){ for(b=1;b<10;b++){ c=a*b; printf("%dx%d=%d\n",a,b,c); } return 0; }
main.c: In function 'main': main.c:5:11: error: expected ';' before ':' token 5 | for(a=1:a<10;a++){ | ^ | ; main.c:5:20: error: expected ';' before ')' token 5 | for(a=1:a<10;a++){ | ^ | ; main.c:11:1: error: expected declaration or statement at end of input 11 | } | ^
s854499587
p00000
C
#include<stdio.h> int main(void){ int a,b,c; for(a=1:a<10;a++){ for(b=1;b<10;b++){ c=a*b; printf("%dx%d=%d\n",a,b,c); } } return 0; }
main.c: In function 'main': main.c:5:11: error: expected ';' before ':' token 5 | for(a=1:a<10;a++){ | ^ | ; main.c:5:20: error: expected ';' before ')' token 5 | for(a=1:a<10;a++){ | ^ | ;
s415628795
p00000
C
#include<stdio.h> int main(void){ int a,b,c; for(a=1:a<10;a++){ for(b=1;b<10;b++){ c=a*b; printf("%dx%d=%d\n",a,b,c); } } return 0; }
main.c: In function 'main': main.c:4:11: error: expected ';' before ':' token 4 | for(a=1:a<10;a++){ | ^ | ; main.c:4:20: error: expected ';' before ')' token 4 | for(a=1:a<10;a++){ | ^ | ;
s601831428
p00000
C
#include <stdio.h> int main(void){ int a, b, c; a = 1; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 2; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 3; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 4; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 5; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 6; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 7; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 8; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 9; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); }
main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input 72 | } | ^ main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input
s089591857
p00000
C
#include <stdio.h> int main(void){ int a, b, c; a = 1; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 2; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 3; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 4; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 5; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 6; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 7; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 8; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } #include <stdio.h> int main(void){ int a, b, c; a = 9; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); }
main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input 72 | } | ^ main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input main.c: In function 'main': main.c:72:5: error: expected declaration or statement at end of input
s489697983
p00000
C
#include<stdio.h> int main(void){ int a,b,c; for(a=1;a>10;a++){ for(b=1;b>10;a++){ c=a*b; printf("%dx%d=%d\n",a,b,c); { } return 0; }
main.c: In function 'main': main.c:11:1: error: expected declaration or statement at end of input 11 | } | ^ main.c:11:1: error: expected declaration or statement at end of input
s539054769
p00000
C
#include <stdio.h> int main(void){ int a, b, c; a = 1; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 2; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 3; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 4; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 5; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 6; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 7; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 8; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } int a, b, c; a = 9; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); }
main.c: In function 'main': main.c:9:9: error: redeclaration of 'a' with no linkage 9 | int a, b, c; | ^ main.c:3:9: note: previous declaration of 'a' with type 'int' 3 | int a, b, c; | ^ main.c:9:12: error: redeclaration of 'b' with no linkage 9 | int a, b, c; | ^ main.c:3:12: note: previous declaration of 'b' with type 'int' 3 | int a, b, c; | ^ main.c:9:15: error: redeclaration of 'c' with no linkage 9 | int a, b, c; | ^ main.c:3:15: note: previous declaration of 'c' with type 'int' 3 | int a, b, c; | ^ main.c:15:9: error: redeclaration of 'a' with no linkage 15 | int a, b, c; | ^ main.c:9:9: note: previous declaration of 'a' with type 'int' 9 | int a, b, c; | ^ main.c:15:12: error: redeclaration of 'b' with no linkage 15 | int a, b, c; | ^ main.c:9:12: note: previous declaration of 'b' with type 'int' 9 | int a, b, c; | ^ main.c:15:15: error: redeclaration of 'c' with no linkage 15 | int a, b, c; | ^ main.c:9:15: note: previous declaration of 'c' with type 'int' 9 | int a, b, c; | ^ main.c:21:9: error: redeclaration of 'a' with no linkage 21 | int a, b, c; | ^ main.c:15:9: note: previous declaration of 'a' with type 'int' 15 | int a, b, c; | ^ main.c:21:12: error: redeclaration of 'b' with no linkage 21 | int a, b, c; | ^ main.c:15:12: note: previous declaration of 'b' with type 'int' 15 | int a, b, c; | ^ main.c:21:15: error: redeclaration of 'c' with no linkage 21 | int a, b, c; | ^ main.c:15:15: note: previous declaration of 'c' with type 'int' 15 | int a, b, c; | ^ main.c:27:9: error: redeclaration of 'a' with no linkage 27 | int a, b, c; | ^ main.c:21:9: note: previous declaration of 'a' with type 'int' 21 | int a, b, c; | ^ main.c:27:12: error: redeclaration of 'b' with no linkage 27 | int a, b, c; | ^ main.c:21:12: note: previous declaration of 'b' with type 'int' 21 | int a, b, c; | ^ main.c:27:15: error: redeclaration of 'c' with no linkage 27 | int a, b, c; | ^ main.c:21:15: note: previous declaration of 'c' with type 'int' 21 | int a, b, c; | ^ main.c:33:9: error: redeclaration of 'a' with no linkage 33 | int a, b, c; | ^ main.c:27:9: note: previous declaration of 'a' with type 'int' 27 | int a, b, c; | ^ main.c:33:12: error: redeclaration of 'b' with no linkage 33 | int a, b, c; | ^ main.c:27:12: note: previous declaration of 'b' with type 'int' 27 | int a, b, c; | ^ main.c:33:15: error: redeclaration of 'c' with no linkage 33 | int a, b, c; | ^ main.c:27:15: note: previous declaration of 'c' with type 'int' 27 | int a, b, c; | ^ main.c:39:9: error: redeclaration of 'a' with no linkage 39 | int a, b, c; | ^ main.c:33:9: note: previous declaration of 'a' with type 'int' 33 | int a, b, c; | ^ main.c:39:12: error: redeclaration of 'b' with no linkage 39 | int a, b, c; | ^ main.c:33:12: note: previous declaration of 'b' with type 'int' 33 | int a, b, c; | ^ main.c:39:15: error: redeclaration of 'c' with no linkage 39 | int a, b, c; | ^ main.c:33:15: note: previous declaration of 'c' with type 'int' 33 | int a, b, c; | ^ main.c:45:9: error: redeclaration of 'a' with no linkage 45 | int a, b, c; | ^ main.c:39:9: note: previous declaration of 'a' with type 'int' 39 | int a, b, c; | ^ main.c:45:12: error: redeclaration of 'b' with no linkage 45 | int a, b, c; | ^ main.c:39:12: note: previous declaration of 'b' with type 'int' 39 | int a, b, c; | ^ main.c:45:15: error: redeclaration of 'c' with no linkage 45 | int a, b, c; | ^ main.c:39:15: note: previous declaration of 'c' with type 'int' 39 | int a, b, c; | ^ main.c:51:9: error: redeclaration of 'a' with no linkage 51 | int a, b, c; | ^ main.c:45:9: note: previous declaration of 'a' with type 'int' 45 | int a, b, c; | ^ main.c:51:12: error: redeclaration of 'b' with no linkage 51 | int a, b, c; | ^ main.c:45:12: note: previous declaration of 'b' with type 'int' 45 | int a, b, c; | ^ main.c:51:15: error: redeclaration of 'c' with no linkage 51 | int a, b, c; | ^ main.c:45:15: note: previous declaration of 'c' with type 'int' 45 | int a, b, c; | ^ main.c:56:5: error: expected declaration or statement at end of input 56 | } | ^
s428643552
p00000
C
#include <stdio.h> int main(void){ int a, b, c; a = 1; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 2; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 3; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 4; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 5; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 6; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 7; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 8; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); } a = 9; for(b=1;b<10;b++){ c = a * b; printf("%dx%d=%d\n", a, b, c); }
main.c: In function 'main': main.c:48:5: error: expected declaration or statement at end of input 48 | } | ^
s024954125
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;a++); c = a * b; printf("%d*%d=%d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s205655993
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;a++); c = a * b; printf("%d*%d=%d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s272916166
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;b++); c = a * b; printf("%d*%d=%d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s840921471
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;b++); c = a * b; printf("%d*%d=%d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s458220466
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;b++); c = a * b; printf("%d * %d = %d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s938073366
p00000
C
#include<stdio.h> int main(void){ int a, b, c; for(a=1;a<10;a++){ for(b=1;b<10;a++); c = a * b; printf("%d * %d = %d\n", a, b, c); } } return 0; }
main.c:10:5: error: expected identifier or '(' before 'return' 10 | return 0; | ^~~~~~ main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^
s325711160
p00000
C
#include<stdio.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); return 0; }
main.c: In function 'main': main.c:5:16: error: expected ';' before ')' token 5 | for(a=1,a<9,a++); | ^ | ; main.c:5:16: error: expected expression before ')' token main.c:6:16: error: expected ';' before ')' token 6 | for(b=1,b<9,b++); | ^ | ; main.c:6:16: error: expected expression before ')' token main.c:7:8: warning: missing terminating " character 7 | printf("%dx%d=%d?\n, a*b); | ^ main.c:7:8: error: missing terminating " character 7 | printf("%dx%d=%d?\n, a*b); | ^~~~~~~~~~~~~~~~~~~ main.c:9:1: error: expected expression before 'return' 9 | return 0; | ^~~~~~ main.c:9:10: error: expected ';' before '}' token 9 | return 0; | ^ | ; 10 | } | ~
s743849657
p00000
C
#include<stdio.h> int main(){ for (i=1; i<=9; i++) { for (j=1; j<=; j++) { printf("%dx%d=%d%n", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:3:10: error: 'i' undeclared (first use in this function) 3 | for (i=1; i<=9; i++) { | ^ main.c:3:10: note: each undeclared identifier is reported only once for each function it appears in main.c:4:14: error: 'j' undeclared (first use in this function) 4 | for (j=1; j<=; j++) { | ^ main.c:4:22: error: expected expression before ';' token 4 | for (j=1; j<=; j++) { | ^
s552823921
p00000
C
#include<stdio.h> int main(){ for (int i=1; i<=9; i++) { for (int j=1; j<=; j++) { printf("%dx%d=%d\n", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:4:26: error: expected expression before ';' token 4 | for (int j=1; j<=; j++) { | ^
s883865517
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",i,j,i*j); } return 0; }
main.c: In function 'main': main.c:7:21: error: expected ';' before ')' token 7 | for(i=1,i<=9,i++){ | ^ | ; main.c:7:21: error: expected expression before ')' token main.c:9:25: error: expected ';' before ')' token 9 | for(j=1,j<=9,j++) | ^ | ; main.c:9:25: error: expected expression before ')' token
s664250271
p00000
C
#include <stdio.h> int main (void){ int i , j ; for (i = 1 ; i <= 9 ; i++){ for (j = 1 ; j <= 9 ; j++){ pritnf ("%dx%d=%d\n",i,j,i*j); } } return 0 ; }
main.c: In function 'main': main.c:8:7: error: implicit declaration of function 'pritnf'; did you mean 'printf'? [-Wimplicit-function-declaration] 8 | pritnf ("%dx%d=%d\n",i,j,i*j); | ^~~~~~ | printf
s042138676
p00000
C
#include<stdio.h> int main(){ for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf("%d*%d=%d\n",i,j,i*j) } } }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<=9;i++){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:6:8: error: 'j' undeclared (first use in this function) 6 | for(j=1;j<=9;j++){ | ^ main.c:7:29: error: expected ';' before '}' token 7 | printf("%d*%d=%d\n",i,j,i*j) | ^ | ; 8 | } | ~
s909260885
p00000
C
#include<stdio.h> int main(){ for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf("%d*%d=%d\n",i,j,i*j); } } }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<=9;i++){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:6:8: error: 'j' undeclared (first use in this function) 6 | for(j=1;j<=9;j++){ | ^
s925852909
p00000
C
#include<stdio.h> int main(void){ 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:11:9: error: expected ';' before ':' token 11 | return 0: | ^ | ;
s880615788
p00000
C
#include<stdio.h> int main(void){ 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:11:9: error: expected ';' before ':' token 11 | return 0: | ^ | ;
s459936004
p00000
C
#include<stdio.h> int main(){ 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:5: error: 'i' undeclared (first use in this function) 4 | for(i=1;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=1;j<10;j++){ | ^
s471132102
p00000
C
#include<stdio.h> int main(){ int i, j; for(i=0;i<=9;i++) { for(j=0;j<=9;j++) { print("%d x %d = %d", i, j, i * j); } } return 0; }
main.c: In function 'main': main.c:10:7: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 10 | print("%d x %d = %d", i, j, i * j); | ^~~~~ | printf
s757355992
p00000
C
#include<stdio.h> int main(){ int i, j; for(i=0;i<=9;i++) { for(j=0;j<=9;j++) { print("%dx%d=%d", i, j, i * j); } } return 0; }
main.c: In function 'main': main.c:10:7: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 10 | print("%dx%d=%d", i, j, i * j); | ^~~~~ | printf
s257030452
p00000
C
#include<stdio.h> int main(){ for( i=1; i<=9; i++) { for( j=1; j<=9; j++) { printf("%dx%d=%d", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:4:10: error: 'i' undeclared (first use in this function) 4 | for( i=1; i<=9; i++) { | ^ main.c:4:10: note: each undeclared identifier is reported only once for each function it appears in main.c:5:14: error: 'j' undeclared (first use in this function) 5 | for( j=1; j<=9; j++) { | ^
s565872438
p00000
C
#include<stdio.h> int main(){ int i; for( i=1; i<=9; i++) { for( j=1; j<=9; j++) { printf("%dx%d=%d", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:6:14: error: 'j' undeclared (first use in this function) 6 | for( j=1; j<=9; j++) { | ^ main.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
s632468460
p00000
C
#include<stdio.h> int main(){ ??????for(int i=0;i<10;i++){ for (int j=0;j<10;j++){ printf("%dx%d=%d",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:1: error: expected expression before '?' token 4 | ??????for(int i=0;i<10;i++){ | ^
s053403281
p00000
C
#inlude <stdio.h> int main() { int i,j for ( i=1 ; i<=9 ; i++ ) { for ( j=1 ; j<=9 ; j++ ) { printf ("i*j=%d",i*j); } return 0 }
main.c:1:3: error: invalid preprocessing directive #inlude; did you mean #include? 1 | #inlude <stdio.h> | ^~~~~~ | include main.c: In function 'main': main.c:7:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for' 7 | for ( i=1 ; i<=9 ; i++ ) | ^~~ main.c:7:25: error: expected ';' before ')' token 7 | for ( i=1 ; i<=9 ; i++ ) | ^~ | ; main.c:7:26: error: expected statement before ')' token 7 | for ( i=1 ; i<=9 ; i++ ) | ^ main.c:8:11: error: 'j' undeclared (first use in this function) 8 | { for ( j=1 ; j<=9 ; j++ ) | ^ main.c:8:11: note: each undeclared identifier is reported only once for each function it appears in main.c:9:7: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 9 | { printf ("i*j=%d",i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | #inlude <stdio.h> main.c:9:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 9 | { printf ("i*j=%d",i*j); | ^~~~~~ main.c:9:7: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:11:11: error: expected ';' before '}' token 11 | return 0 | ^ | ; 12 | } | ~ main.c:12:1: error: expected declaration or statement at end of input 12 | } | ^
s653201006
p00000
C
void main(void) { for(int y=1;y<10;y++) for(int x=1;x<10;x++) printf(x*y); return 0; }
main.c: In function 'main': main.c:5:4: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 5 | printf(x*y); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | void main(void) main.c:5:4: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 5 | printf(x*y); | ^~~~~~ main.c:5:4: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:5:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 5 | printf(x*y); | ~^~ | | | int main.c:5:12: note: expected 'const char *' but argument is of type 'int' main.c:7:9: error: 'return' with a value, in function returning void [-Wreturn-mismatch] 7 | return 0; | ^ main.c:1:6: note: declared here 1 | void main(void) | ^~~~
s660882898
p00000
C
#include<stdio.h> int main(void) { int i,j; for(i=1,i<=9,i++) { for(j=1,j<=9,j++) { printf("%dx%d=%d",i,j,i*j) } } return 0; }
main.c: In function 'main': main.c:6:25: error: expected ';' before ')' token 6 | for(i=1,i<=9,i++) | ^ | ; main.c:6:25: error: expected expression before ')' token main.c:8:33: error: expected ';' before ')' token 8 | for(j=1,j<=9,j++) | ^ | ; main.c:8:33: error: expected expression before ')' token main.c:10:51: error: expected ';' before '}' token 10 | printf("%dx%d=%d",i,j,i*j) | ^ | ; 11 | } | ~
s181817619
p00000
C
#include<stdio.h> int main(){ int x,y,z; for (x=1,x<=9,x++){ for (y=1,y<=9,y++){ z=x*y printf("%dx%d=%d\n",x,y,z); } } return 0; }
main.c: In function 'main': main.c:5:22: error: expected ';' before ')' token 5 | for (x=1,x<=9,x++){ | ^ | ; main.c:5:22: error: expected expression before ')' token main.c:6:26: error: expected ';' before ')' token 6 | for (y=1,y<=9,y++){ | ^ | ; main.c:6:26: error: expected expression before ')' token main.c:7:18: error: expected ';' before 'printf' 7 | z=x*y | ^ | ; 8 | printf("%dx%d=%d\n",x,y,z); | ~~~~~~
s091931210
p00000
C
#include <stdio.h> int main(){ int x,y,z; for (x=1,x<=9;x++){ for (y=1,y<=9;y++){ z=x*y printf("%dx%d=%d\n",x,y,z); } } return 0; }
main.c: In function 'main': main.c:5:22: error: expected ';' before ')' token 5 | for (x=1,x<=9;x++){ | ^ | ; main.c:6:26: error: expected ';' before ')' token 6 | for (y=1,y<=9;y++){ | ^ | ; main.c:7:18: error: expected ';' before 'printf' 7 | z=x*y | ^ | ; 8 | printf("%dx%d=%d\n",x,y,z); | ~~~~~~
s164209133
p00000
C
#include <stdio.h> int main(void) { int x,y,z; for (x=1,x<=9;x++){ for (y=1,y<=9;y++){ z=x*y; printf("%dx%d=%d\n",x,y,z); } } return 0; }
main.c: In function 'main': main.c:6:22: error: expected ';' before ')' token 6 | for (x=1,x<=9;x++){ | ^ | ; main.c:7:26: error: expected ';' before ')' token 7 | for (y=1,y<=9;y++){ | ^ | ;
s138816928
p00000
C
#include <stdio.h> int main(){ /* dead??????????????? */) int a,b,dead; a=1; b=1; dead=0; while (dead=0){ printf("%dx%d=%d\n",a,b,a*b); a++; b++; if (b==9) { b=1; a++; } if (a==9 && b==9) { dead = 1; } } return 0; }
main.c: In function 'main': main.c:4:30: error: expected statement before ')' token 4 | /* dead??????????????? */) | ^
s898475979
p00000
C
#include<stdio.h> int main(){ int i; for(i=1;i<10;i++) { for(i=j;j<10;j++) { printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:6:13: error: 'j' undeclared (first use in this function) 6 | for(i=j;j<10;j++) { | ^ main.c:6:13: note: each undeclared identifier is reported only once for each function it appears in
s538946694
p00000
C
#include<stdio.h> int main(){ 1x1=1 1x2=2 . . 9x8=72 9x9=81 return 0; }
main.c: In function 'main': main.c:4:5: error: invalid suffix "x1" on integer constant 4 | 1x1=1 | ^~~ main.c:5:5: error: invalid suffix "x2" on integer constant 5 | 1x2=2 | ^~~ main.c:4:10: error: expected ';' before numeric constant 4 | 1x1=1 | ^ | ; 5 | 1x2=2 | ~~~ main.c:8:5: error: invalid suffix "x8" on integer constant 8 | 9x8=72 | ^~~ main.c:9:5: error: invalid suffix "x9" on integer constant 9 | 9x9=81 | ^~~
s607018682
p00000
C
#include<stdio.h> int main(){ int i,j,answer; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { answer = i * j; print("%dx%d=%d\n",i,j,answer) } } return 0; }
main.c: In function 'main': main.c:11:14: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 11 | print("%dx%d=%d\n",i,j,answer) | ^~~~~ | printf main.c:11:44: error: expected ';' before '}' token 11 | print("%dx%d=%d\n",i,j,answer) | ^ | ; 12 | } | ~
s034940717
p00000
C
#include<stdio.h> int main(){ int i,j,answer; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { answer = i * j; print("%dx%d=%d\n",i,j,answer); } } return 0; }
main.c: In function 'main': main.c:11:14: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 11 | print("%dx%d=%d\n",i,j,answer); | ^~~~~ | printf
s026844893
p00000
C
main() { for (int i = 1; i <= 9; i++)for (int j = 1; j <= 9; j++)printf("%dx%d=%d\n", i, j, i*j); }
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main() { | ^~~~ main.c: In function 'main': main.c:2:65: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 2 | for (int i = 1; i <= 9; i++)for (int j = 1; j <= 9; j++)printf("%dx%d=%d\n", i, j, i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | main() { main.c:2:65: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 2 | for (int i = 1; i <= 9; i++)for (int j = 1; j <= 9; j++)printf("%dx%d=%d\n", i, j, i*j); | ^~~~~~ main.c:2:65: note: include '<stdio.h>' or provide a declaration of 'printf'
s918093223
p00000
C
#include<stdio.h> int main(){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ print("%d",i); print("x"); print("%d\n",j); } } return 0; }
main.c: In function 'main': main.c:7:13: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration] 7 | print("%d",i); | ^~~~~ | printf
s258589742
p00000
C
#include<stdio.h> int main(){ for(i=1;i<=9;i++){ for(j=1;i<=9;j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:13: error: 'i' undeclared (first use in this function) 4 | for(i=1;i<=9;i++){ | ^ main.c:4:13: note: each undeclared identifier is reported only once for each function it appears in main.c:5:21: error: 'j' undeclared (first use in this function) 5 | for(j=1;i<=9;j++){ | ^
s220646379
p00000
C
#include<stdio.h> int main(){ for(i=1;i<=9;i++){ for(j=1;i<=9;j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:4:13: error: 'i' undeclared (first use in this function) 4 | for(i=1;i<=9;i++){ | ^ main.c:4:13: note: each undeclared identifier is reported only once for each function it appears in main.c:5:21: error: 'j' undeclared (first use in this function) 5 | for(j=1;i<=9;j++){ | ^
s881774028
p00000
C
#include <stdin.h> int main(){ int i,j; for(i=0;i<10;i++) for(j=0;j<10;j++) printf("%dx%d=%d\n",i,j,i*j); return 0; }
main.c:1:10: fatal error: stdin.h: No such file or directory 1 | #include <stdin.h> | ^~~~~~~~~ compilation terminated.
s538690072
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:1:9: fatal error: Stdio.h: No such file or directory 1 | #include<Stdio.h> | ^~~~~~~~~ compilation terminated.
s124840967
p00000
C
#include (stdio.h) int main() { int i, j; for(i=1; i<=9; i++) { for(j=1; j<=9; j++) { printf("%d x %d\n", i, j, i*j); } printf("\n"); } return; }
main.c:1:10: error: #include expects "FILENAME" or <FILENAME> 1 | #include (stdio.h) | ^ main.c: In function 'main': main.c:11:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 11 | printf("%d x %d\n", i, j, i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | #include (stdio.h) main.c:11:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 11 | printf("%d x %d\n", i, j, i*j); | ^~~~~~ main.c:11:13: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:13:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 13 | printf("\n"); | ^~~~~~ main.c:13:9: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:16:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 16 | return; | ^~~~~~ main.c:3:5: note: declared here 3 | int main() | ^~~~
s841950405
p00000
C
#inlcude <stdio.h> int main() { int i, j; for(i=1; i<=9; i++) { for(j=1; j<=9; j++) { printf("%d x %d = %d\n", i, j, i*j); } printf("\n"); } return; }
main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include? 1 | #inlcude <stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:11:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 11 | printf("%d x %d = %d\n", i, j, i*j); | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | #inlcude <stdio.h> main.c:11:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 11 | printf("%d x %d = %d\n", i, j, i*j); | ^~~~~~ main.c:11:13: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:13:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 13 | printf("\n"); | ^~~~~~ main.c:13:9: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:16:5: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 16 | return; | ^~~~~~ main.c:3:5: note: declared here 3 | int main() | ^~~~
s293996030
p00000
C
#include<stdio.h> int main(void){ int x; for(i=0;i<10;i++){ for(j=0;j<10;j++){ x=i*j; printf("%d*%d=%d"i,j,x); } } return 0; }
main.c: In function 'main': main.c:5:9: error: 'i' undeclared (first use in this function) 5 | for(i=0;i<10;i++){ | ^ main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in main.c:6:12: error: 'j' undeclared (first use in this function) 6 | for(j=0;j<10;j++){ | ^ main.c:8:25: error: expected ')' before 'i' 8 | printf("%d*%d=%d"i,j,x); | ~ ^ | )
s230483973
p00000
C
#include<stdio.h> int main(void){ int i,j,x; for(i=0;i<10;i++){ for(j=0;j<10;j++){ x=i*j; printf("%d*%d=%d"i,j,x); } } return 0; }
main.c: In function 'main': main.c:8:25: error: expected ')' before 'i' 8 | printf("%d*%d=%d"i,j,x); | ~ ^ | )
s342019431
p00000
C
#include<stdio.h> int main(void){ int i,j,x; for(i=0;i<10;i++){ for(j=0;j<10;j++){ x=i*j; printf("%d*%d=%d"i,j,x); } } return 0; }
main.c: In function 'main': main.c:8:25: error: expected ')' before 'i' 8 | printf("%d*%d=%d"i,j,x); | ~ ^ | )
s444926847
p00000
C
#include <iostream> using namespace std; int main(void){ int i, t; for(i = 1; i <= 9; i++){ for(t = 1; t <= 9; t++){ cout << i << "x" << t << "=" << i * t << endl; } } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s404935943
p00000
C
#include <iostream> using namespace std; int main(){ int i, t; for(i = 1; i <= 9; i++){ for(t = 1; t <= 9; t++){ cout << i << "x" << t << "=" << i * t << endl; } } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s241592645
p00000
C
#include <iostream> using namespace std; int main(){ int i, t; for(i = 1; i <= 9; i++){ for(t = 1; t <= 9; t++){ cout << i << "x" << t << "=" << i * t << endl; } } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s402543292
p00000
C
include<stdio.h> define MAX 9 int main(){ int x,y; int i; for(i=1;i<=MAX;i<1){ for(j=1;j<=MAX;j<1){ printf(%dx%d=%d,i,j,i*j); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s226259911
p00000
C
#include<stdio.h> define MAX 9 int main(){ int x,y; int i; for(i=1;i<=MAX;i<1){ for(j=1;j<=MAX;j<1){ printf("%dx%d=%d",i,j,i*j); } } return 0; }
main.c:3:1: error: unknown type name 'define' 3 | define MAX 9 | ^~~~~~ main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant 3 | define MAX 9 | ^
s401614710
p00000
C
#include<stdio.h> define MAX 9; int main(){ int x,y; int i; for(i=1;i<=MAX;i<1){ for(j=1;j<=MAX;j<1){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c:3:1: error: unknown type name 'define' 3 | define MAX 9; | ^~~~~~ main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant 3 | define MAX 9; | ^ main.c: In function 'main': main.c:9:20: error: 'MAX' undeclared (first use in this function) 9 | for(i=1;i<=MAX;i<1){ | ^~~ main.c:9:20: note: each undeclared identifier is reported only once for each function it appears in main.c:10:21: error: 'j' undeclared (first use in this function) 10 | for(j=1;j<=MAX;j<1){ | ^
s580095529
p00000
C
#include<stdio.h> int main(){ int i, j; // loop counter 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:13:5: error: expected declaration or statement at end of input 13 | return 0; | ^~~~~~
s636108723
p00000
C
#include<stdio.h> int main () { int a,b,c ; for (a=1;a<10;a++){ for (b=1;b<10;b++){ c=a*b; printf("%dx%d=%d\n"a,b,c); } } return 0 ; }
main.c: In function 'main': main.c:8:20: error: expected ')' before 'a' 8 | printf("%dx%d=%d\n"a,b,c); | ~ ^ | )
s797248640
p00000
C
#include<iostream> using namespace std; int main(){ for(int i=1;i<10;i++){ for(int j=1;j<=i;j++) cout<<j<<"*"<<i<<"="<<i*j<<"\n"; } return 0; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s032245154
p00000
C
#include<stdio.h> main() { int a,b,c; a=1; b=1; for(;a<10;a++){ for(;b<10;b++){ C=a*b; printf("%dx%d=%d",a,b,c); } } }
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main() | ^~~~ main.c: In function 'main': main.c:12:1: error: 'C' undeclared (first use in this function) 12 | C=a*b; | ^ main.c:12:1: note: each undeclared identifier is reported only once for each function it appears in
s179638571
p00000
C
#include<stdio.h> main() { int a,b,c; a=1; b=1; for(;a<10;a++){ for(;b<10;b++){ C=a*b; printf("%dx%d=%d",a,b,c); } } }
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main() | ^~~~ main.c: In function 'main': main.c:12:1: error: 'C' undeclared (first use in this function) 12 | C=a*b; | ^ main.c:12:1: note: each undeclared identifier is reported only once for each function it appears in
s594726125
p00000
C
include<stdio.h> int main(){ int i,j,k; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ k=i*j; printf("%dx%d=%d\n",i,j,k); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s178970655
p00000
C
#include<stdio.h> int main(){ int i=0; for(i=1;i<10;i++){ for(j=1;j<10;j++){ printf("%dx%d=%d\n",i,,i*j); } } return 0; }
main.c: In function 'main': main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(j=1;j<10;j++){ | ^ main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in main.c:7:27: error: expected expression before ',' token 7 | printf("%dx%d=%d\n",i,,i*j); | ^
s054789013
p00000
C
#include<stdio.h> int main(){ int i,n; for(i=1;1=<9;i++){ for(n=1;n=<9;n++){ printf("%dx%d\n",i,n,1*n); return 0; }
main.c: In function 'main': main.c:5:11: error: expected expression before '<' token 5 | for(i=1;1=<9;i++){ | ^ main.c:6:11: error: expected expression before '<' token 6 | for(n=1;n=<9;n++){ | ^ main.c:10:1: error: expected declaration or statement at end of input 10 | } | ^ main.c:10:1: error: expected declaration or statement at end of input
s718724382
p00000
C
#include<stdio.h> int main(){ int i,n; for(i=1;1<=9;i++){ for(n=1;n<=9;n++){ printf("%dx%d\n",i,n,1*n); return 0; }
main.c: In function 'main': main.c:10:1: error: expected declaration or statement at end of input 10 | } | ^ main.c:10:1: error: expected declaration or statement at end of input
s997119557
p00000
C
#include<stdio.h> int main(){ int i,n; for(i=1;1<=9;i++){ for(n=1;n<=9;n++){ printf("%dx%d=\n",i,n,1*n); } ] return 0; }
main.c: In function 'main': main.c:9:1: error: expected statement before ']' token 9 | ] | ^ main.c:11:1: error: expected declaration or statement at end of input 11 | } | ^
s478696145
p00000
C
#include<stdio.h> int main(){ int i,n; for(i=1;1<=9;i++){ for(n=1;n<=9;n++){ printf("%dx%d=%d\n",i,n,1*n); } ] return 0; }
main.c: In function 'main': main.c:9:1: error: expected statement before ']' token 9 | ] | ^ main.c:11:1: error: expected declaration or statement at end of input 11 | } | ^
s967567489
p00000
C
include<stdio.h> int main(){ int i=1, j=1; 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:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s320915946
p00000
C
include<stdio.h> int main(){ int i=1, j=1; 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:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s085944761
p00000
C
include<stdio.h> int main(){ int i=1, j=1; for ( i=1; i<10;i++){ for ( j=1; j<10;j++){ printf("%d x %d = %d\n",i,j,i*j); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s417597063
p00000
C
include<stdio.h> int main(){ int i=1; int j=1; for ( i=1; i<10;i++) for ( j=1; j<10;j++) printf("%d x %d = %d\n",i,j,i*j); return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^