criyle/codenet-compile-errors huggingface dataset:
Language: 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; } 


Compiler output:
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%d=%d\n", a, b, a*b); } } return 0; }
      |  ^
Language: 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;
}


Compiler output:
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: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: 'j' undeclared (first use in this function)
    7 | for(j=1;j<10;j++)
      |     ^
Language: 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;
}


Compiler output:
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++)
      |            ^
main.c:5:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:15: error: 'j' undeclared (first use in this function)
    7 |           for(j=1;j<10;j++)
      |               ^
Language: 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;
}


Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: 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);
} 


Compiler output:
main.c:1:9: fatal error: studio.h: No such file or directory
    1 | #include<studio.h>
      |         ^~~~~~~~~~
compilation terminated.
Language: 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;
}

Compiler output:
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,;
      |           ^
Language: 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;
}

Compiler output:
main.c:1:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | de <stdio.h>
      |    ^
Language: 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; 
}

Compiler output:
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 appears in
Language: 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; 
}

Compiler output:
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 appears in
Language: 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);}}}

Compiler output:
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): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: 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++;}

Compiler output:
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
Language: C

i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit 0;}

Compiler output:
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(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit 0;}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:1:38: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:38: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:38: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:67: error: 'exit' undeclared (first use in this function)
    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: note: 'exit' is defined in header '<stdlib.h>'; this is probably fixable by adding '#include <stdlib.h>'
  +++ |+#include <stdlib.h>
    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:67: note: each undeclared identifier is reported only once for each function it appears in
    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:71: error: expected ';' before numeric constant
    1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);exit 0;}
      |                                                                       ^~
      |                                                                       ;
Language: C

i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit 0;}

Compiler output:
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;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit 0;}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:1:38: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:38: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:38: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:69: error: 'exit' undeclared (first use in this function)
    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: note: 'exit' is defined in header '<stdlib.h>'; this is probably fixable by adding '#include <stdlib.h>'
  +++ |+#include <stdlib.h>
    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:69: note: each undeclared identifier is reported only once for each function it appears in
    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:73: error: expected ';' before numeric constant
    1 | i;main(j){for(;++i<=9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);exit 0;}
      |                                                                         ^~
      |                                                                         ;
Language: 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)}

Compiler output:
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;while(9>j++){int i=0;while(9>i++)printf("%dx%d=%d\n",j,i,i*j);}exit(0)}
      |                                                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:1:49: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:1:49: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:79: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    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:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    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:1:79: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    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:1:79: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:86: error: expected ';' before '}' token
    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)}
      |                                                                                      ^
      |                                                                                      ;
Language: C

j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}

Compiler output:
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+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:25: error: lvalue required as left operand of assignment
    1 | j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
      |                         ^~
main.c:1:29: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
      |                             ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
main.c:1:29: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | j;main(i){for(;9/i;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);}
      |                             ^~~~~~
main.c:1:29: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: 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}

Compiler output:
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' [-Wimplicit-int]
main.c:1:28: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:1:28: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:1:28: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:75: error: 'returm' undeclared (first use in this function)
    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:1:75: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:81: error: expected ';' before numeric constant
    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}
      |                                                                                 ^~
      |                                                                                 ;
Language: 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}

Compiler output:
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' [-Wimplicit-int]
main.c:1:28: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:1:28: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:1:28: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:83: error: expected ';' before '}' token
    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}
      |                                                                                   ^
      |                                                                                   ;
Language: C

j;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);};

Compiler output:
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;main(i){++j>9&&(i++>8&&exit(0),j=1);printf("%dx%d=%d\n",i,j,i*j);main(i);};
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:26: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    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: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    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:26: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    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:26: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:26: error: void value not ignored as it ought to be
    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:39: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:39: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:39: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: 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}

Compiler output:
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 'printf' [-Wimplicit-function-declaration]
    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:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:1:26: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:1:26: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:76: error: expected ';' before '}' token
    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}
      |                                                                            ^
      |                                                                            ;
Language: C

j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}

Compiler output:
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){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:26: error: lvalue required as left operand of assignment
    1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
      |                          ^~
main.c:1:30: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
main.c:1:30: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
      |                              ^~~~~~
main.c:1:30: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:61: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    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: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
main.c:1:61: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | j;main(i){for(;i<10;i+=!j%=9)printf("%dx%d=%d\n",i,j,++j*i);exit(0);}
      |                                                             ^~~~
main.c:1:61: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C

j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}

Compiler output:
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){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:32: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
      |                                ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
main.c:1:32: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
      |                                ^~~~~~
main.c:1:32: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:63: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
      |                                                               ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
main.c:1:63: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | j;main(i){for(;i<10;i+=!(j%=9))printf("%dx%d=%d\n",i,j,++j*i);exit();}
      |                                                               ^~~~
main.c:1:63: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:63: error: too few arguments to function 'exit'
Language: 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);
    }
  }

Compiler output:
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 each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
main.c:6:26: error: 'i' undeclared (first use in this function)
    6 |       printf("ixj=%d\n", i*j);
      |                          ^
main.c:6:28: error: 'j' undeclared (first use in this function)
    6 |       printf("ixj=%d\n", i*j);
      |                            ^
main.c:8:3: error: expected declaration or statement at end of input
    8 |   }
      |   ^
Language: 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);
    }
  }
  

Compiler output:
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 each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
main.c:6:34: error: 'i' undeclared (first use in this function)
    6 |       printf("%dx%d=%d\n", a, b, i*j);
      |                                  ^
main.c:6:36: error: 'j' undeclared (first use in this function)
    6 |       printf("%dx%d=%d\n", a, b, i*j);
      |                                    ^
main.c:8:3: error: expected declaration or statement at end of input
    8 |   }
      |   ^
Language: 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);
    }
  }

Compiler output:
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 each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
main.c:8:3: error: expected declaration or statement at end of input
    8 |   }
      |   ^
Language: C

#include<stdio.h>
int  main(){
  int = a, b;
  for ( a = 1; a<=9 ; a++){
    for( b = 1; b<=9 ; b++){
      printf("%d x%d=%d\n", a, b, a*b);
    }
  }

Compiler output:
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 each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
main.c:8:3: error: expected declaration or statement at end of input
    8 |   }
      |   ^
Language: 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;
}

Compiler output:
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<10 ; a++){
      |         ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<10 ; b++){
      |          ^
Language: C

#include<stdio.h>
int  main(){
  int = a, b;
   a =1, b =1;
  for ( a = 1; a<10 ; a++){
    for( b = 1; b<10 ; b++){
      printf("%d x%d=%d\n", a, b, a*b);
    }
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:7: error: expected identifier or '(' before '=' token
    3 |   int = a, b;
      |       ^
main.c:4:4: error: 'a' undeclared (first use in this function)
    4 |    a =1, b =1;
      |    ^
main.c:4:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:10: error: 'b' undeclared (first use in this function)
    4 |    a =1, b =1;
      |          ^
Language: C


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;
}

Compiler output:
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 each function it appears in
main.c:5:10: error: 'b' undeclared (first use in this function)
    5 |     for( b = 1; b<=9 ; b++){
      |          ^
main.c:6:7: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |       printf("%dx%d=%d\n", a, b, a*b);
      |       ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 
main.c:6:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |       printf("%dx%d=%d\n", a, b, a*b);
      |       ^~~~~~
main.c:6:7: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

main(){retrun 0;}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){retrun 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:8: error: 'retrun' undeclared (first use in this function)
    1 | main(){retrun 0;}
      |        ^~~~~~
main.c:1:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:14: error: expected ';' before numeric constant
    1 | main(){retrun 0;}
      |              ^~
      |              ;
Language: C

#include<stdio.h>
int main(){
  int i,j,multiplication;
  i=1;
  j=1;
  multiplication=0;
  while(i<=9){
    multiplication=i*j;
    printf("%d x %d = %d\n",i,j,multiplication);
    j+=1;
    if(j == 10) {
      i+=1;
      j=1;
    }
  }
  return0;
}

Compiler output:
main.c: In function 'main':
main.c:16:3: error: 'return0' undeclared (first use in this function)
   16 |   return0;
      |   ^~~~~~~
main.c:16:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#iunclude<stdio.h>

int main(void){
	int i,n;
	for(i=1;i<=9;i++){
		for(n=1;n<=9;n++){
			printf("%dx%d=%d\n",i,n,i*n);
		}
	}
return 0;
}> http://www.nicovideo.jp/watch/sm14518246

Compiler output:
main.c:1:2: error: invalid preprocessing directive #iunclude; did you mean #include?
    1 | #iunclude<stdio.h>
      |  ^~~~~~~~
      |  include
main.c: In function 'main':
main.c:7:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |                         printf("%dx%d=%d\n",i,n,i*n);
      |                         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #iunclude<stdio.h>
main.c:7:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |                         printf("%dx%d=%d\n",i,n,i*n);
      |                         ^~~~~~
main.c:7:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c: At top level:
main.c:11:2: error: expected identifier or '(' before '>' token
   11 | }> http://www.nicovideo.jp/watch/sm14518246
      |  ^
Language: C

#iunclude<stdio.h>

int main(void){
	int i,n;
	for(i=1;i<=9;i++){
		for(n=1;n<=9;n++){
			printf("%dx%d=%d\n",i,n,i*n);
		}
	}
return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #iunclude; did you mean #include?
    1 | #iunclude<stdio.h>
      |  ^~~~~~~~
      |  include
main.c: In function 'main':
main.c:7:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |                         printf("%dx%d=%d\n",i,n,i*n);
      |                         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #iunclude<stdio.h>
main.c:7:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |                         printf("%dx%d=%d\n",i,n,i*n);
      |                         ^~~~~~
main.c:7:25: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);exit 0;}

Compiler output:
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(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);exit 0;}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:1:36: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    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: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    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:36: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    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:36: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:67: error: 'exit' undeclared (first use in this function)
    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: note: 'exit' is defined in header '<stdlib.h>'; this is probably fixable by adding '#include <stdlib.h>'
  +++ |+#include <stdlib.h>
    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:67: note: each undeclared identifier is reported only once for each function it appears in
    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:71: error: expected ';' before numeric constant
    1 | i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);exit 0;}
      |                                                                       ^~
      |                                                                       ;
Language: C

#include<stdio.h>
int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}

Compiler output:
main.c: In function 'main':
main.c:2:94: error: stray '\343' in program
    2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return<U+30C4><U+3000>0;}
      |                                                                                                    ^~~~~~~~
main.c:2:86: error: 'return\U000030c4' undeclared (first use in this function)
    2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                      ^~~~~~~~
main.c:2:86: note: each undeclared identifier is reported only once for each function it appears in
main.c:2:94: error: expected ';' before numeric constant
    2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ　0;}
      |                                                                                              ^ ~
      |                                                                                              ;
Language: C

#include<stdio.h>main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}

Compiler output:
main.c:1:18: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}
      |                  ^~~~
/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
Language: C

#include<stdio.h>
main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;puts("%dx%d=%d",x,y,x*y);}return 0;}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;puts("%dx%d=%d",x,y,x*y);}return 0;}
      | ^~~~
main.c: In function 'main':
main.c:2:52: error: too many arguments to function 'puts'
    2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;puts("%dx%d=%d",x,y,x*y);}return 0;}
      |                                                    ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
Language: C

#include<stdio.h>
main(){for(int i=0;i<81;i++){int x=i/9+1,y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){for(int i=0;i<81;i++){int x=i/9+1,y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}
      | ^~~~
Language: C

void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}

Compiler output:
main.c: In function 'Q':
main.c:1:40: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
      |                                        ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
main.c:1:40: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
      |                                        ^~~~~~
main.c:1:40: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:68: error: invalid use of void expression
    1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
      |                                                                    ^~~~~~
main.c: At top level:
main.c:1:79: error: return type defaults to 'int' [-Wimplicit-int]
    1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
      |                                                                               ^~~~
Language: C

#include <iostream>
#include <string.h>
#include <algorithm>
#include <string>
#include <stdio.h>

using namespace std;

int F[107][107][9];
int G[107][107];
int n,k,a[107];

int main()
{
	int nowCase = 0;
	while (cin >> n >> k)
	{
		if (!n && !k) break;
		for (int i = 1;i <= n;++i) 
		{
			cin >> a[i];
			a[i] -= 25;
		}
		memset(F,0,sizeof(F));
		for (int i = 0;i <= n;++i)
			for (int j = 0;j <= k;++j)
				for (int r = 0;r <= 8;++r)
				{
					F[i][j][r] = 0x7f7f7f7f;
					G[i][j] = 0x7f7f7f7f;
				}
		F[0][0][8] = 0;
		int state = 0;
		for (int i = 1;i <= n;++i)
		{
			for (int j = 0;j <= min(i,k);++j)
				for (int r = 0;r < 8;++r)
				{
					if (r == a[i])
					{
						F[i][j][r] = min(F[i-1][j][r],G[i-1][j]+1);
					}
					else
					{
						int value = 1;
						if (state & (1 << a[i])) value = 0;
						F[i][j][r] = F[i-1][j-1][r] + value;
					}
					G[i][j] = min(G[i][j],F[i][j][r]);
				}
			state = state | (1 << a[i]);
		}
		int ans = 0x7f7f7f7f;
		for (int i = 0;i <= 8;++i) ans = min(ans,F[n][k][i]);
		printf("Case %d: %d\n",++nowCase,ans);
	}
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
const long long inf=0xffffffffffff;
struct P
{
    int h, m, n;
    int id;
    bool operator<(const P & a)const
    {
        if (h == a.h) return m < a.m;
        return h < a.h;
    }
} p[60];
int s[40][40], n, m, k, r, c;
bool mark[40][40];

bool fuck(int x)
{
    if (x > m) return 0;
    long long ans = -inf;
    for (int i = 0; i < n; ++i)
    {
        for (int j = 0, l;j <= m - x; ++j)
        {
            long long tem = 0;
            for (l = 0; l < x; ++l)
                if (mark[i][j + l]) break;
                else tem += s[i][j + l];
            if (l == x)
                if (tem > ans)
                    ans = tem, r = i, c = j;
        }
    }
    if (ans == -inf)
    {
        for (int i = 0; i < n; ++i)
            for (int j = 0; j < m; ++j)
                if (!mark[i][j] && ans < s[i][j])
                    ans = s[i][j], r = i, c = j;
        if (ans == -inf) return 0;
        mark[r][c] = 1;
        return 1;
    }
    for (int j = c; j < c + x; ++j) mark[r][j] = 1;
    return 1;
}

int main()
{
    while (scanf("%d%d%d", &n, &m, &k) && n)
    {
        for (int i = 0; i < n; ++i)
            for (int j = 0; j < m; ++j)
                scanf("%d", &s[i][j]);
        memset(mark, 0, sizeof (mark));
        for (int i = 0; i < k; ++i){
            scanf("%d:%d%d", &p[i].h, &p[i].m, &p[i].n);
            p[i].id=i;
        }
        sort(p, p + k);
        int ans[60][2];
        for (int i = 0; i < k; ++i)
        {
            if (fuck(p[i].n))
                ans[p[i].id][0]=r+1,ans[p[i].id][1]=c+1;
            else ans[p[i].id][0]=-1;
        }
        for(int i=0;i<k;++i)
            if(ans[i][0]==-1) puts("-1");
            else printf("%d %d\n",ans[i][0],ans[i][1]);
    }
    return 0;
}

Compiler output:
main.c:1:10: fatal error: cstdio: No such file or directory
    1 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.
Language: C

# include <cstdio>
# include <cstring>
# define bignum 200000000
# define N 2050
# define M 100000
int first[N],next[M],d[N],zd[M],c[M],pre[N],qd[M];
int n,q[N],vis[N];
int spfa(int x)
{
	int head=0,tail=1,now;

	for (int i=2;i<=n;i++)
		d[i]=bignum;
	vis[1]=1;
	q[1]=1;
	d[1]=0;
	while (head++<tail)
	{
		now=q[head%N];
		vis[now]=0;
		for (int cur=first[now];cur;cur=next[cur])
		{
			if (cur==x)
				continue ;
			if (d[now]+c[cur]<d[zd[cur]])
			{
				d[zd[cur]]=d[now]+c[cur];
				if (x==0)
					pre[zd[cur]]=cur;
				if (!vis[zd[cur]])
				{
					q[(++tail)%N]=zd[cur];
					vis[zd[cur]]=1;
				}
			}
		}
	}
	return d[n];
}

int main (void)
{
	int t,m,tt;
	scanf("%d",&t);
	while (t--)
	{
		scanf("%d%d",&n,&m);
		memset(first,0,sizeof(first));
		memset(pre,-1,sizeof(pre));
		for (int i=1;i<=m;i++)
		{
			scanf("%d%d%d",&qd[i],&zd[i],&c[i]);
			next[i]=first[qd[i]];
			first[qd[i]]=i;
		}
		if (spfa(0)==bignum)
		{
			printf("-1\n");
			continue ;
		}
		int now=n,del;
		int ans=d[n];
		while (now!=1)
		{
			del=pre[now];
			tt=spfa(del);
			if (tt>ans)
				ans=tt;
			if (tt==bignum)
				break;
			now=qd[del];
		}
		if (ans==bignum)
			printf("-1\n");
		else printf("%d\n",ans);
	}
	return 0;
}

Compiler output:
main.c:1:11: fatal error: cstdio: No such file or directory
    1 | # include <cstdio>
      |           ^~~~~~~~
compilation terminated.
Language: 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;
}

Compiler output:
main.c: In function 'main':
main.c:4:38: error: expected ';' before '}' token
    4 | <=9;j++){printf("%dx%d=%d\n",i,j,i*j)}}return 0;
      |                                      ^
      |                                      ;
Language: C

# include <iostream>
# include <cstring>
# include <cstdio>
# include <vector>
# define N 55010
using namespace std;
struct node
{
	int u,w;
	node(int uu,int ww)
	{
		u=uu;
		w=ww;
	}
};
vector <node> tree[N];
int p[N][50],d[N],dist[N];
void dfs (int x,int pre)
{
	int y,len=tree[x].size(),now;
	for (int i=0;i<len;i++)
	{
		y=tree[x][i].u;
		if (y==pre)
			continue;
		now=p[y][0]=x;
		d[y]=d[x]+1;
		dist[y]=dist[x]+tree[x][i].w;
		for (int j=0;now!=-1 && p[now][j]!=-1;j++)
		{
			p[y][j+1]=p[now][j];
			now=p[now][j];
		}
		dfs(y,x);
	}
}
int LCA(int x,int y)
{
	if (x==y)
		return x;
	int tem;
	if (d[x]<d[y])
	{
		tem=x;
		x=y;
		y=tem;
	}
	int dis=d[x]-d[y],k=0;
	while (dis)
	{
		if (dis&1)
			x=p[x][k];
		dis>>=1;
		k++;
	}
	k=0;
	while (x!=y)
	{
		if ( p[x][k]!=p[y][k] || (p[x][k]==p[y][k] && k==0) )
		{
			x=p[x][k];
			y=p[y][k];
			k++;
		}else k--;
	}
	return x;
}
int main (void)
{
	int n,u,v,c,q,m;
	char s[20];
	scanf("%d%d",&n,&m);
	for (int i=1;i<=n;i++)
		tree[i].clear();
	memset(p,-1,sizeof(p));
	for (int i=0;i<m;i++)
	{
		scanf("%d%d%d%s",&u,&v,&c,s);
		tree[u].push_back(node(v,c));
		tree[v].push_back(node(u,c));
	}
	dist[1]=0;
	d[1]=0;
	dfs(1,-1);
	scanf("%d",&q);
	while (q--)
	{
		scanf("%d%d",&u,&v);
		printf("%d\n",dist[u]+dist[v]-2*dist[LCA(u,v)]);
	}
	return 0;
}

Compiler output:
main.c:1:11: fatal error: iostream: No such file or directory
    1 | # include <iostream>
      |           ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
#include<cstring>
#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

typedef long long ll;

#define PB push_back
#define MP make_pair
#define REP(i,n) for(int i=0;i<n;i++)

ll sum[500007];

vector< pair<int,int> > cus[100007];

int n,m,q;

int main()
{
	int Cases,nowCase = 0;
	cin >> Cases;
	while (Cases--)
	{
		scanf("%d%d%d",&n,&m,&q);
		REP(i,n) cus[i].clear();
		REP(i,m)
		{
			int a,b,c;
			scanf("%d%d%d",&a,&b,&c);
			cus[a-1].PB(MP(-b,c));
		}
		REP(i,m) sum[i] = 0;
		REP(i,n)
		{
			sort(cus[i].begin(),cus[i].end());
			int rank = 0;
			REP(j,cus[i].size())
			{
				if (j && cus[i][j].first != cus[i][j-1].first)
					++rank;
				sum[rank] += cus[i][j].second;
			}
		}
		REP(i,m) if (i > 0) sum[i] += sum[i-1];
		printf("Case #%d:\n",++nowCase);
		REP(i,q)
		{
			int x;
			x = min(x,m);
			scanf("%d",&x);
			printf("%I64d\n",sum[x-1]);
		}
	}
	return 0;
}

Compiler output:
main.c:2:9: fatal error: cstring: No such file or directory
    2 | #include<cstring>
      |         ^~~~~~~~~
compilation terminated.