submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s659901575
p00000
C
#include<stdio.h> int main(){ int i,height[10]={0}; int top[3]={0}; for(i=0;i<10;i++){ scanf("%d",&height[i]); if(top[0]<height[i])top[0]=height[i]; else if(top[1]<hegith[i])top[1]=height[i]; else if(top[2]<hegith[i])top[2]=height[i]; } for(i=0;i<3;i++)printf("%d",to...
main.c: In function 'main': main.c:9:24: error: 'hegith' undeclared (first use in this function); did you mean 'height'? 9 | else if(top[1]<hegith[i])top[1]=height[i]; | ^~~~~~ | height main.c:9:24: note: each undeclared identifier is reported only o...
s757133085
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:5:21: error: 'I' undeclared (first use in this function) 5 | for(I=1;i<=9;i++){ | ^ main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
s715270282
p00000
C
#include <stdio.h> int main(void){ // Here your code ! for(int i=1;i<10;i++){ for(int j=1;j<10;j++){ printf("%dx%d=%d\n",i,j,i*j); } } return 0; } #include <stdio.h> int main(void){ // Here your code ! int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ ...
main.c:12:5: error: redefinition of 'main' 12 | int main(void){ | ^~~~ main.c:2:5: note: previous definition of 'main' with type 'int(void)' 2 | int main(void){ | ^~~~
s182214502
p00000
C
#include<stdio.h> int main(){ int a, b; for(a = 1; a < 10; a++){ for(b = 1; b < 10; b++){ printf("%d"&"x"&"%d"&"="&"%d", a, b,a*b); } } return 0; }
main.c: In function 'main': main.c:7:16: error: invalid operands to binary & (have 'char *' and 'char *') 7 | printf("%d"&"x"&"%d"&"="&"%d", a, b,a*b); | ~~~~^ | | | | | char * | char *
s651195967
p00000
C
#include<stdio.h> int main(){ int a, b; for(a = 1; a < 10; a++){ for(b = 1; b < 10; b++){ printf("%d"+"x"+"%d"+"="+"%d\n", a, b,a*b); } } return 0; }
main.c: In function 'main': main.c:7:16: error: invalid operands to binary + (have 'char *' and 'char *') 7 | printf("%d"+"x"+"%d"+"="+"%d\n", a, b,a*b); | ~~~~^ | | | | | char * | char *
s798650953
p00000
C
#include <stdio.h> int main(void) { int i,j; for (i = 1;i < 10;i++){ for (j = 0;j < 10:j++){ printf("%dx%d=%d\n",i,j,i*j); } } return(0); }
main.c: In function 'main': main.c:8:34: error: expected ';' before ':' token 8 | for (j = 0;j < 10:j++){ | ^ | ;
s228092518
p00000
C
#include <stdio.h> int main(void) { int i,n; fot(i=1;i<10;i++){ for(n=1;n<10;n++){ printf("%dx%d=%d",i,n,i*n ); } } return 0; }
main.c: In function 'main': main.c:5:5: error: implicit declaration of function 'fot' [-Wimplicit-function-declaration] 5 | fot(i=1;i<10;i++){ | ^~~ main.c:5:12: error: expected ')' before ';' token 5 | fot(i=1;i<10;i++){ | ~ ^ | ) main.c:5:22: error: expected '...
s989482867
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:6:36: error: expected ';' before ')' token 6 | for(j=0; j < 9, j++){ | ^ | ; main.c:7:54: error: expected ';' before '}' token 7 | printf("%dx%d=%d", i, j,...
s749785259
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:6:36: error: expected ';' before ')' token 6 | for(j=0; j < 9, j++){ | ^ | ;
s566415586
p00000
C
#include<stdio.h> int main(void) { int a,b; for(a = 1 ; a < 10 ; a++){ for(b = 1 ; b < 10 ; b++{ printf("%d x %d = %d\n",a,b,a*b); } } return 0; }
main.c: In function 'main': main.c:8:41: error: expected ')' before '{' token 8 | for(b = 1 ; b < 10 ; b++{ | ~ ^ | ) main.c:11:9: error: expected expression before '}' token 11 | } | ^...
s170856950
p00000
C
#include<stdio.h> int main(){ int ii = 0; int ij = 0; int iAns = 0; for(ii=1; ii<10; ii++){ for(ij=1; ij<10 ij++){ iAns = ii * ij; printf("%dx%d=%d" ,ii ,ij ,iAns); ij++; } ii++; } return 0; }
main.c: In function 'main': main.c:10:20: error: expected ';' before 'ij' 10 | for(ij=1; ij<10 ij++){ | ^~~ | ;
s177698758
p00000
C
#include<stdio.h> #include<stidlib.j> int main(){ int total = 0; for(int i = 1; i <=9; i++){ for(int j = 1; j <= 9; j++){ total = i * j; printf("%dx%d=%d", i, j, total); } } return 0; }
main.c:2:9: fatal error: stidlib.j: No such file or directory 2 | #include<stidlib.j> | ^~~~~~~~~~~ compilation terminated.
s921860144
p00000
C
#include<stdio.h> #include<stidlib.h> int main(){ int total = 0; for(int i = 1; i <=9; i++){ for(int j = 1; j <= 9; j++){ total = i * j; printf("%dx%d=%d", i, j, total); } } return 0; }
main.c:2:9: fatal error: stidlib.h: No such file or directory 2 | #include<stidlib.h> | ^~~~~~~~~~~ compilation terminated.
s675548833
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,n,i*n); return 0; }
main.c: In function 'main': main.c:7:27: error: 'n' undeclared (first use in this function) 7 | printf("%dx%d=%d\n",i,n,i*n); | ^ main.c:7:27: note: each undeclared identifier is reported only once for each function it appears in
s840857506
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,n,i*n); return 0; }
main.c: In function 'main': main.c:7:27: error: 'n' undeclared (first use in this function) 7 | printf("%dx%d=%d\n",i,n,i*n); | ^ main.c:7:27: note: each undeclared identifier is reported only once for each function it appears in
s542800833
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,n,i*n); return 0; }
main.c: In function 'main': main.c:7:27: error: 'n' undeclared (first use in this function) 7 | printf("%dx%d=%d\n",i,n,i*n); | ^ main.c:7:27: note: each undeclared identifier is reported only once for each function it appears in
s458367101
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",i,j,i*j); return 0; }
main.c: In function 'main': main.c:4:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 4 | int i.j; | ^ main.c:4:8: error: expected expression before '.' token main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<=9;i++) | ^ main.c:5...
s305100728
p00000
C
//QQ #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:5:18: error: expected ';' before ')' token 5 | for (a=1,a<10,a++){ | ^ | ; main.c:5:18: error: expected expression before ')' token main.c:6:21: error: expected ';' before ')' token 6 | for(b=1,b<10,b++){ | ...
s091869384
p00000
C
#include<stdio.h> int main(){ int x,y,ans,i; x=0; z=0; while (1) { y=0; if (ans==81) { break; } x=x+1; for (i = 0; i <9; i++) { y=y+1; ans=x*y; printf("%d*%d=%d\n",x,y,ans); } } return 0; }
main.c: In function 'main': main.c:5:3: error: 'z' undeclared (first use in this function) 5 | z=0; | ^ main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
s293591943
p00000
C
#include<stdio.h> int main(){ int x,y,ans,i; x=0; z=0; while (1) { y=0; if (ans==81) { break; } x=x+1; for (i = 0; i <9; i++) { y=y+1; ans=x*y; printf("%dx%d=%d\n",x,y,ans); } } return 0; }
main.c: In function 'main': main.c:5:3: error: 'z' undeclared (first use in this function) 5 | z=0; | ^ main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
s924284754
p00000
C
#include <stdio.h> int main(){ int i,j; for(i=1;i<<10;i++){ for(j=1;j<<10;j++){ a = i * j; printf("%d*%d=%d",i,j,a); } } return 0; }
main.c: In function 'main': main.c:8:13: error: 'a' undeclared (first use in this function) 8 | a = i * j; | ^ main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
s521528395
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=",i,j); a = i * j; printf("%d\n",a); } } return 0; }
main.c: In function 'main': main.c:9:13: error: 'a' undeclared (first use in this function) 9 | a = i * j; | ^ main.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
s402922835
p00000
C
#include<stdio.h> int main(){ int ans,i,j; for(i=1; i<10; i++){ for(j=1; j<10; j++){ ans = i*j; printf("%d x %d = %d\n",i,j,ans); return 0; }
main.c: In function 'main': main.c:15:1: error: expected declaration or statement at end of input 15 | } | ^ main.c:15:1: error: expected declaration or statement at end of input
s627773712
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\n",i,j,i*j); } return 0; }
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | #include<stdio.h> | ^
s977225834
p00000
C
#include<stdio.h> int main(){ int j,k; for(j=1;j<10;j++){ for(k=1;k<10;k++){ printf("%dx%d=%d\n",j,k,j*k) } } return 0; }
main.c: In function 'main': main.c:8:29: error: expected ';' before '}' token 8 | printf("%dx%d=%d\n",j,k,j*k) | ^ | ; 9 | } | ~
s658638683
p00000
C
#include<stdio.h> int main(){ int i=0; printf("%nx%n=%n\n", i,i,i*i) return 0; }
main.c: In function 'main': main.c:5:34: error: expected ';' before 'return' 5 | printf("%nx%n=%n\n", i,i,i*i) | ^ | ; 6 | return 0; | ~~~~~~
s079820384
p00000
C
#include<stdio.h> int main(){ int i=0; printf("%n \bx%n=%n\n", i,i,i*i) return 0; }
main.c: In function 'main': main.c:5:37: error: expected ';' before 'return' 5 | printf("%n \bx%n=%n\n", i,i,i*i) | ^ | ; 6 | return 0; | ~~~~~~
s772395270
p00000
C
object Main { def main(args: Array[String]): Unit = { for (i <- 1 to 9; j <- 1 to 9) println(i + "x" + j + "=" + i * j) } }
main.c:1:1: error: unknown type name 'object' 1 | object Main { | ^~~~~~ main.c:1:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | object Main { | ^
s914881003
p00000
C
#include<stdio.h> int main(void){ int i; for(i=1;i<10;i++){ printf("%dx%d=%d\n",i,i,i*i) } return 0; }
main.c: In function 'main': main.c:9:32: error: expected ';' before '}' token 9 | printf("%dx%d=%d\n",i,i,i*i) | ^ | ; 10 | } | ~
s001029193
p00000
C
#include<stdio.h> int main(){ int i; for(i=1;i<10;i++){ printf("%dx%d=%d",i,i,i*i); return 0; }
main.c: In function 'main': main.c:15:1: error: expected declaration or statement at end of input 15 | } | ^
s041112194
p00000
C
object Main { def main(args: Array[String]): Unit = { for (i <- 1 to 9; j <- 1 to 9) println(i + "x" + j + "=" + i * j) } }
main.c:1:1: error: unknown type name 'object' 1 | object Main { | ^~~~~~ main.c:1:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | object Main { | ^
s910917979
p00000
C
object Main { def main(args: Array[String]): Unit = { for (i <- 1 to 9; j <- 1 to 9) println(i + "x" + j + "=" + i * j) } }
main.c:1:1: error: unknown type name 'object' 1 | object Main { | ^~~~~~ main.c:1:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | object Main { | ^
s501944772
p00000
C
object Main { def main(args: Array[String]): Unit = { for (i <- 1 to 9; j <- 1 to 9) println(i + "x" + j + "=" + i * j) } }
main.c:1:1: error: unknown type name 'object' 1 | object Main { | ^~~~~~ main.c:1:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | object Main { | ^
s934425765
p00000
C
object Main { def main(args: Array[String]): Unit = { for (i <- 1 to 9; j <- 1 to 9) println(i + "x" + j + "=" + i * j) } }
main.c:1:1: error: unknown type name 'object' 1 | object Main { | ^~~~~~ main.c:1:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | object Main { | ^
s336604985
p00000
C
#include<stdio.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) } } retun 0; }
main.c: In function 'main': main.c:9:31: error: expected ';' before '}' token 9 | printf("%dx%d=%d\n",i,j,i*j) | ^ | ; 10 | } | ~ main.c: At top level: main.c:13:7: error: expected '=', ',', ';', 'asm'...
s678318447
p00000
C
int n = 10; for (int i = 1; i < n; i++) { for (int j = 1; j < n; j++ ) { printf("%d*%d=%d\n", i, j, i*j); } }
main.c:2:9: error: expected identifier or '(' before 'for' 2 | for (int i = 1; i < n; i++) { | ^~~ main.c:2:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 2 | for (int i = 1; i < n; i++) { | ^ main.c:2:33: error: expecte...
s624424039
p00000
C
int main(void) { int i, j; while(i = 1; i < 10; i++){ while(j = 1; j < 10; j++){ printf("%dx%d=%d", i, j, i*j); if ((i != 9)&&(j != 9)){printf("\n");} } } return 0; }
main.c: In function 'main': main.c:4:12: error: expected ')' before ';' token 4 | while(i = 1; i < 10; i++){ | ~ ^ | ) main.c:5:12: error: expected ')' before ';' token 5 | while(j = 1; j < 10; j++){ | ~ ^ | ) main.c:6:1: error: implicit declaratio...
s011010521
p00000
C
int main(void) { int i, j; while (i = 1; i < 10; i++) { while (j = 1; j < 10; j++) { printf("%dx%d=%d", i, j, i*j); if ((i != 9)&&(j != 9)){printf("\n");} } } return 0; }
main.c: In function 'main': main.c:4:17: error: expected ')' before ';' token 4 | while (i = 1; i < 10; i++) { | ~ ^ | ) main.c:5:21: error: expected ')' before ';' token 5 | while (j = 1; j < 10; j++) { | ~ ^ | ...
s152349406
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\n",i,j,i*j); } } return(0); }
main.c: In function 'main': main.c:3:9: error: 'j' undeclared (first use in this function) 3 | int i;j; | ^ main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
s464617415
p00000
C
#include<stdio.h> main(){ int a, b, c; for(a = 1; a < 10; a++){ for(b = 1; b < 10; b++){ printf("%dx%d=%d\n", a, b, a * b) } } }
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main(){ | ^~~~ main.c: In function 'main': main.c:7:58: error: expected ';' before '}' token 7 | printf("%dx%d=%d\n", a, b, a * b) | ^ | ...
s327374377
p00000
C
#include<stdio.h> typedef S4 int #define START_NUM (1) #define END_NUM (9) int main(){ S4 s4_t_i; S4 s4_t_j; S4 s4_t_result; for(s4_t_i = (S4)START_NUM; s4_t_i < (S4)END_NUM; s4_t_i++) { for(s4_t_j = (S4)START_NUM; s4_t_j < (S4)END_NUM; s4_t_j++) { s4_t_result = s4_t_i * s4_t_j; printf("%dx%d=%d\n", ...
main.c:3:11: error: expected ';' before 'int' 3 | typedef S4 int | ^~~~ | ; main.c:8:1: error: two or more data types in declaration specifiers 8 | int main(){ | ^~~ main.c: In function 'main': main.c:9:9: error: unknown type name 'S4' 9 | S4 s4_t_i; | ...
s790513419
p00000
C
#include<stdio.h> typedef int S4 #define START_NUM (1) #define END_NUM (9) S4 main(){ S4 s4_t_i; S4 s4_t_j; S4 s4_t_result; for(s4_t_i = (S4)START_NUM; s4_t_i < (S4)END_NUM; s4_t_i++) { for(s4_t_j = (S4)START_NUM; s4_t_j < (S4)END_NUM; s4_t_j++) { s4_t_result = s4_t_i * s4_t_j; printf("%dx%d=%d\n", s...
main.c:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'S4' 8 | S4 main(){ | ^~ main.c:8:1: error: unknown type name 'S4'
s873121778
p00000
C
#include<stdio.h> typedef int S4 #define START_NUM (1) #define END_NUM (9) S4 main(){ S4 s4_t_i; S4 s4_t_j; S4 s4_t_result; for(s4_t_i = (S4)START_NUM; s4_t_i < (S4)END_NUM; s4_t_i++) { for(s4_t_j = (S4)START_NUM; s4_t_j < (S4)END_NUM; s4_t_j++) { s4_t_result = s4_t_i * s4_t_j; printf("%dx%d=%d\n", s...
main.c:8:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'S4' 8 | S4 main(){ | ^~ main.c:8:1: error: unknown type name 'S4'
s307454552
p00000
C
Select Code #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,a*b); } return 0; }
main.c:1:1: error: unknown type name 'Select' 1 | Select Code | ^~~~~~ main.c:1:12: error: expected ';' before 'typedef' 1 | Select Code | ^ | ;
s576773167
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",a,b,a*b); } return 0; }
main.c: In function 'main': main.c:13:1: error: expected declaration or statement at end of input 13 | } | ^
s131857088
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:6:24: error: expected ';' before ':' token 6 | for(j=1:j<=9;j++){ | ^ | ; main.c:6:33: error: expected ';' before ')' token 6 | for(j=1:j<=9;j++){ | ...
s891316886
p00000
C
#include<stdio.h> void multi(int* p, int n); int num[9] = {1,2,3,4,5,6,7,8,9} int main() { multi(num, 9); return 0; } void multi(int* p, int n) { int i = 0, j = 0; for(;i<n;i++) { for(;j<n;j++) printf("%dx%d=%d", p[i], p[j], p[i]*p[j]); } }
main.c:4:1: error: expected ',' or ';' before 'int' 4 | int main() | ^~~
s415845733
p00000
C
#include<stdio.h> int main(){ int i, j; for(i=1; i<=9i++) { 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:19: error: lvalue required as increment operand 5 | for(i=1; i<=9i++) | ^~ main.c:5:21: error: expected ';' before ')' token 5 | for(i=1; i<=9i++) | ^ | ;
s050447001
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,a*b); } } return 0; }
main.c: In function 'main': main.c:8:1: error: expected expression before '}' token 8 | } | ^ main.c: At top level: main.c:11:1: error: expected identifier or '(' before '}' token 11 | } | ^ main.c:12:1: error: expected identifier or '(' before 'return' 12 | return 0; | ^~~~~~ main.c:13:1: e...
s448134283
p00000
C
for (int i=1; i<=9; i++) for (int j=1; j<=9; j++) print("%dx%d=%d\n",i, j, i*j);
main.c:1:1: error: expected identifier or '(' before 'for' 1 | for (int i=1; i<=9; i++) | ^~~ main.c:1:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 1 | for (int i=1; i<=9; i++) | ^~ main.c:1:22: error: expected '=', ',', ';', 'asm' or '__attribute__' b...
s632546995
p00000
C
#include <stdio.h> for (int i=1; i<=9; i++) for (int j=1; j<=9; j++) print("%dx%d=%d\n",i, j, i*j);
main.c:2:1: error: expected identifier or '(' before 'for' 2 | for (int i=1; i<=9; i++) | ^~~ main.c:2:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 2 | for (int i=1; i<=9; i++) | ^~ main.c:2:22: error: expected '=', ',', ';', 'asm' or '__attribute__' b...
s178855940
p00000
C
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: expected identifier or '(' before 'for' 1 | for (int i=1; i<=9; i++) | ^~~ main.c:1:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 1 | for (int i=1; i<=9; i++) | ^~ main.c:1:22: error: expected '=', ',', ';', 'asm' or '__attribute__' b...
s083138195
p00000
C
#include <stdio.h> 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:1: error: expected identifier or '(' before 'for' 2 | for (int i=1; i<=9; i++) | ^~~ main.c:2:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 2 | for (int i=1; i<=9; i++) | ^~ main.c:2:22: error: expected '=', ',', ';', 'asm' or '__attribute__' b...
s720031798
p00000
C
#include <stdio.h> int i, j; for (i=1; i<=9; i++) for (j=1; j<=9; j++) printf("%dx%d=%d\n",i, j, i*j);
main.c:3:1: error: expected identifier or '(' before 'for' 3 | for (i=1; i<=9; i++) | ^~~ main.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token 3 | for (i=1; i<=9; i++) | ^~ main.c:3:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' t...
s939468429
p00000
C
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x17): undefined reference to `main' collect2: error: ld returned 1 exit status
s420702057
p00000
C
GGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGY GGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYBRGBY GGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGBRYBRGBY GGGYYYGGGYYYGGGYY...
main.c:1:1: error: unknown type name 'GGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGY' 1 | GGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGYYYGGGY | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
s338690282
p00000
C
100 50 7 35 32 20 38 46 49 24 30 6 22 37 17 39 48 44 17 1 45 16 36 18 19 5 46 49 29 34 17 24 12 44 41 29 10 10 14 45 25 48 34 2 2 1 35 3 41 36 46 32 4 23 2 49 0 30 28 45 49 11 14 6 20 31 5 20 35 11 41 26 15 18 10 45 28 19 19 15 49 3 5 8 47 47 27 6 8 7 27 42 2 23 19 24 48 34 4 46 45 11 45 50 23 29 5 1 1 20 48 13 0 4 26 ...
main.c:1:1: error: expected identifier or '(' before numeric constant 1 | 100 | ^~~
s189960539
p00000
C
#include<stdio.h> int main() { for(n=1; n<=9;n++) for(i=1; i<=9; i++) printf("%d X %d = %d\n",n,i,n*i); return 0; }
main.c: In function 'main': main.c:4:5: error: 'n' undeclared (first use in this function) 4 | for(n=1; n<=9;n++) | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=1; i<=9; i++...
s966824160
p00000
C
#include<stdio.h> int main(){ for(a=1;a<=9;a++){ for(b=1;b<=9;b++) printf("%dx%d=%d",a,b,a*b) } return 0; }
main.c: In function 'main': main.c:4:5: error: 'a' undeclared (first use in this function) 4 | for(a=1;a<=9;a++){ | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:5: error: 'b' undeclared (first use in this function) 5 | for(b=1;b<=9;b++) ...
s618856725
p00000
C
#include<stdio.h> int main(){ int n,i; for (n=1; n<10; n=n+1){ for (i=1; i<10; i=i+1){ printf("%d x %d= %d\n",n,i,n*i); } } if(i>=10){ break; } return 0; }
main.c: In function 'main': main.c:10:1: error: break statement not within loop or switch 10 | break; | ^~~~~
s939418021
p00000
C
#include<stdio.h> int main(){ int n,i; for (n=1; n<10; n=n+1){ for (i=1; i<10; i=i+1){ printf("%d x %d= %d\n",n,i n*i); } } return 0; }
main.c: In function 'main': main.c:6:29: error: expected ')' before 'n' 6 | printf("%d x %d= %d\n",n,i n*i); | ~ ^~ | )
s007942879
p00000
C
#include <stdio.h> int main(){ for(int i=0; i<9; i++){ for(int j=0; j<9; j++){ printf("%d×%d=%d\n",i,j,i*j); } }
main.c: In function 'main': main.c:7:1: error: expected declaration or statement at end of input 7 | } | ^
s732382931
p00000
C
#include<stdio.h> int main(void){ int a[100],first,second,third,i; a[0]=1; a[1]=2; a[2]=3; a[3]=4; a[4]=5; a[5]=6; a[6]=7; a[7]=8; a[8]=9; a[9]=10; for(i=-1;i<=9;i++){ if(a[i-1]<=a[i]){ third=second; second=first; first=a[i]; } printf("一番は%d\n",first); printf("二番は%d\n",second); printf("三番は%d\n",thir...
main.c: In function 'main': main.c:24:9: error: expected declaration or statement at end of input 24 | } | ^
s844151206
p00000
C
#include <stdio.h> 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:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(void) | ^~~~ main.c: In function 'main': main.c:8:1: error: stray '\343' in program 8 | <U+3000> <U+3000>printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~ main.c:8:15: error: stray '\343' in program 8 | <U+3000> ...
s340652782
p00000
C
#include <stdio.h> 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:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(void) | ^~~~ main.c: In function 'main': main.c:8:1: error: stray '\343' in program 8 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~ main.c:8:15: error: stray '\343' in program 8 | <U+3000...
s360778224
p00000
C
#include <stdio.h> 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:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(void) | ^~~~ main.c: In function 'main': main.c:8:1: error: stray '\343' in program 8 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~ main.c:8:15: error: stray '\343' in program 8 | <U+3000...
s345067551
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:8:1: error: stray '\343' in program 8 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~ main.c:8:15: error: stray '\343' in program 8 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~
s009130285
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:9:1: error: stray '\343' in program 9 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~ main.c:9:15: error: stray '\343' in program 9 | <U+3000> <U+3000> printf("%dx%d=%d\n", i, j, i * j); | ^~~~~~~~
s443828092
p00000
C
#include <stdio.h> int main(void){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ prntf("%dx%d=%d\n",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:7:12: error: implicit declaration of function 'prntf'; did you mean 'printf'? [-Wimplicit-function-declaration] 7 | prntf("%dx%d=%d\n",i,j,i*j); | ^~~~~ | printf
s028427028
p00000
C
#include<stdio.h> int main(){   int a, b, seki; a=0; b=0; for(a=1; a<=9; a++){ for(b=1; b<=9; b++){ seki=a*b; printf("%d=%dx%d\n",seki,a,b); } } return 0; }
main.c: In function 'main': main.c:4:1: error: stray '\343' in program 4 | <U+3000><U+3000>int a, b, seki; | ^~~~~~~~ main.c:4:3: error: stray '\343' in program 4 | <U+3000><U+3000>int a, b, seki; | ^~~~~~~~
s400929486
p00000
C
#include <stdio.h> int main(void){ int i,j; for(i=1;i<=10;i++){ printf("Tabla del %d/n",i); for(j=1;j<=10;j++) printf("%dx%d=%d/n",i,j,i*j); } } return 0;}
main.c:21:1: error: expected identifier or '(' before 'return' 21 | return 0;} | ^~~~~~ main.c:21:10: error: expected identifier or '(' before '}' token 21 | return 0;} | ^
s207053550
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:19:1: error: expected identifier or '(' before 'return' 19 | return 0;} | ^~~~~~ main.c:19:10: error: expected identifier or '(' before '}' token 19 | return 0;} | ^
s652736679
p00000
C
#include <stdio.h> #include <stdlib.h> int main(){ int i,j; 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:19:1: error: expected identifier or '(' before 'return' 19 | return 0;} | ^~~~~~ main.c:19:10: error: expected identifier or '(' before '}' token 19 | return 0;} | ^
s482193760
p00000
C
#include <stdio.h> #include <stdlib.h> int main(){ int i,j; 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:19:1: error: expected identifier or '(' before 'return' 19 | return 0;} | ^~~~~~ main.c:19:10: error: expected identifier or '(' before '}' token 19 | return 0;} | ^
s275949991
p00000
C
#include <stdio.h> int main(){ int i,j; 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:19:1: error: expected identifier or '(' before 'return' 19 | return 0;} | ^~~~~~ main.c:19:10: error: expected identifier or '(' before '}' token 19 | return 0;} | ^
s662199649
p00000
C
#include <stdio.h> #include <ctype.h> #include <stdlib.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:1:20: warning: extra tokens at end of #include directive 1 | #include <stdio.h> #include <ctype.h> #include <stdlib.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; } | ^ /usr/bin/ld: /usr/lib/gcc/x86_64-li...
s330695534
p00000
C
#include <stdio.h> #include <ctype.h> #include <stdlib.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:1:20: warning: extra tokens at end of #include directive 1 | #include <stdio.h> #include <ctype.h> #include <stdlib.h> int main() | ^ main.c:2:2: error: expected identifier or '(' before '{' token 2 | { int a, b; for (a = 1; a < 10; a++) { for (b = 1; b < 10; b++) { printf("%dx%...
s696002278
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:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 4 | int i.j; | ^ main.c:4:6: error: expected expression before '.' token main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<10;i++) | ^ main.c:5:5: note...
s001764039
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:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 4 | int i.j; | ^ main.c:4:13: error: expected expression before '.' token main.c:5:12: error: 'i' undeclared (first use in this function) 5 | for(i=1;i<10;i++) ...
s926870423
p00000
C
include<stdio.h> int main(void){ for(int i = 1; i <= 9; i++){ for(int j = 1; j <= 9; j++){ int k = i * j; printf("%d×%d=%d\n",i,j,k); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s667208763
p00000
C
#include<studio.h> int main(void) { int i, j; for(i = 1; i <= 9, i++) { for(j = 1; j <= 9; j++) printf("%dx%d=%d\n",i, j, i*j); } reutrn(0); }
main.c:1:9: fatal error: studio.h: No such file or directory 1 | #include<studio.h> | ^~~~~~~~~~ compilation terminated.
s487047888
p00000
C
#include <stdio.h> main(){ int a,b,; a=1,b=1; while(a<10){ while(b<10){ printf("%d*%d=%d\n",a,b,a*b); b++; } b=1; a++; } return 0; }
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){ | ^~~~ main.c: In function 'main': main.c:3:11: error: expected identifier or '(' before ';' token 3 | int a,b,; | ^
s703347198
p00000
C
de <stdio.h> main(){ int a,b; a=1; b=1; while(a<10){ while(b<10){ printf("%d*%d=%d",a,b,a*b); b++; } b=1; a++; } return 0; }
main.c:1:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | de <stdio.h> | ^
s727235613
p00000
C
#include <stdio.h> main(){ int a,b,c; a=1; b=1; while(a<10){ while(b<10){ c=axb; printf("%d*%d=%d\n",a,b,c); b++; } b=1; a++; } return 0; }
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){ | ^~~~ main.c: In function 'main': main.c:8:9: error: 'axb' undeclared (first use in this function) 8 | c=axb; | ^~~ main.c:8:9: note: each undeclared identifier is reported only once for each function it app...
s966897963
p00000
C
#include <stdio.h> main(){ int a,b,c; a=1; b=1; while(a<10){ while(b<10){ c=axxb; printf("%d*%d=%d\n",a,b,c); b++; } b=1; a++; } return 0; }
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){ | ^~~~ main.c: In function 'main': main.c:8:9: error: 'axxb' undeclared (first use in this function) 8 | c=axxb; | ^~~~ main.c:8:9: note: each undeclared identifier is reported only once for each function it ...
s000369988
p00000
C
#include<stdio.h>main(i,j){for(i=1;i<10;i++){for(j=1;j<10;j++){printf("%dx%d=%d\n",i,j,i*j);}}}
main.c:1:18: warning: extra tokens at end of #include directive 1 | #include<stdio.h>main(i,j){for(i=1;i<10;i++){for(j=1;j<10;j++){printf("%dx%d=%d\n",i,j,i*j);}}} | ^~~~ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x17): undef...
s241993878
p00000
C
#include<stdio.h> main(){int i,j=1;while(j<=9){for(i=1;i<10;i++){printf("%dx%d=%d\n",j,i,i*j);}j++;}
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){int i,j=1;while(j<=9){for(i=1;i<10;i++){printf("%dx%d=%d\n",j,i,i*j);}j++;} | ^~~~ main.c: In function 'main': main.c:2:1: error: expected declaration or statement at end of input
s690681497
p00000
C
i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit 0;}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit 0;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | i;main...
s562300880
p00000
C
i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit 0;}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit 0;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | i;ma...
s311377515
p00000
C
main(){int j=0;while(9>j++){int i=0;while(9>i++)printf("%dx%d=%d\n",j,i,i*j);}exit(0)}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(){int j=0;while(9>j++){int i=0;while(9>i++)printf("%dx%d=%d\n",j,i,i*j);}exit(0)} | ^~~~ main.c: In function 'main': main.c:1:49: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 1 | main(){int j=0...
s112814076
p00000
C
j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);} | ^ 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(;9/i;i...
s534669907
p00000
C
main(i,j){for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);i<9?main(i+1,j):0;returm 0}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j){for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);i<9?main(i+1,j):0;returm 0} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'j' defaults to 'int' [-Wimp...
s351106431
p00000
C
main(i,j){for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);i<9?main(i+1,j):0;return 0}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j){for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);i<9?main(i+1,j):0;return 0} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'j' defaults to 'int' [-Wimp...
s891135235
p00000
C
j;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);};
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);}; | ^ 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;m...
s505847861
p00000
C
j;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);};
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);}; | ^ 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;m...
s812736697
p00000
C
int j;main(i){i<10&&main(printf("%dx%d=%d\n",i,j,++j*i)&&j>8?j=0,++i:i);j=0}
main.c:1:7: error: return type defaults to 'int' [-Wimplicit-int] 1 | int j;main(i){i<10&&main(printf("%dx%d=%d\n",i,j,++j*i)&&j>8?j=0,++i:i);j=0} | ^~~~ main.c: In function 'main': main.c:1:7: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:26: error: implicit declaration of function 'pr...
s036715608
p00000
C
j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);} | ^ 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){f...
s363276545
p00000
C
j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();} | ^ 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){...
s280025421
p00000
C
#include<stdio.h> int main(){ int = a, b; for ( a = 1; a<=9 ; a++){ for( b = 1; b<=9 ; b++){ printf("ixj=%d\n", i*j); } }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ 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 eac...
s695367724
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, i*j); } }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ 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 eac...