criyle/codenet-compile-errors huggingface dataset:
Language: C


#include <stdio.h>
int main(void)

{
  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  printf("%d %d\n",a*b 2a+2b);

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:24: error: invalid suffix "a" on integer constant
   14 |   printf("%d %d\n",a*b 2a+2b);
      |                        ^~
main.c:14:23: error: expected ')' before numeric constant
   14 |   printf("%d %d\n",a*b 2a+2b);
      |         ~             ^~~
      |                       )
main.c:14:27: error: invalid suffix "b" on integer constant
   14 |   printf("%d %d\n",a*b 2a+2b);
      |                           ^~
Language: C


#include <stdio.h>
int main(void)

{
  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  printf("%d %d\n",a*b (2*a)+(2*b));

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:22: error: called object 'b' is not a function or function pointer
   14 |   printf("%d %d\n",a*b (2*a)+(2*b));
      |                      ^
main.c:6:10: note: declared here
    6 |   int a, b;
      |          ^
Language: C

#include<stdio.h>
int main(void)
{
scanf(%d,&a);
scanf(%d,&b);
printf("%d,%d",a*b,2*a+2*b);
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '%' token
    4 | scanf(%d,&a);
      |       ^
main.c:5:7: error: expected expression before '%' token
    5 | scanf(%d,&b);
      |       ^
main.c:6:16: error: 'a' undeclared (first use in this function)
    6 | printf("%d,%d",a*b,2*a+2*b);
      |                ^
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:18: error: 'b' undeclared (first use in this function)
    6 | printf("%d,%d",a*b,2*a+2*b);
      |                  ^
Language: C

#include<stdio.h>
int main(void)
{
scanf("%d",&a);
scanf("%d",&b);
printf("%d",a*b);
printf("%d",2*a+2*b);
return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:4:13: error: 'a' undeclared (first use in this function)
    4 | scanf("%d",&a);
      |             ^
main.c:4:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:13: error: 'b' undeclared (first use in this function)
    5 | scanf("%d",&b);
      |             ^
Language: C

#inclued<stdio.h>

int main(void){

int a,b,s,l;

scanf("%a,%b",&a,&b);

printf("s=%d*%d l=2*%d+2*%d",a,b,a,b);

return 0;

}

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

#include<stdio>
int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	
	printf("%d %d\n",(2a+2b),a*b);
	
	return 0;
}

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

#include<stdio.h>
int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	
	printf("%d %d\n",(2a+2b),a*b);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:27: error: invalid suffix "a" on integer constant
    7 |         printf("%d %d\n",(2a+2b),a*b);
      |                           ^~
main.c:7:30: error: invalid suffix "b" on integer constant
    7 |         printf("%d %d\n",(2a+2b),a*b);
      |                              ^~
Language: C

#include<stdio.h>
int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	
	printf("%d %d\n",a*b,2*a+2*);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:36: error: expected expression before ')' token
    7 |         printf("%d %d\n",a*b,2*a+2*);
      |                                    ^
Language: C

#include <stdio.h>

int main(void)

{

    int a,b,x,y;

    scanf("%d %d",&a &b);

    x=a*b;

    y=a*2+b*2;

    printf("%d %d\n",x,y);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:22: error: invalid operands to binary & (have 'int *' and 'int')
    9 |     scanf("%d %d",&a &b);
      |                   ~~ ^
      |                   |
      |                   int *
Language: C

#include stdio.h>
int main(void)
{
  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b
  b=(2*a)+(2*b);

  printf("%d %d\n",a, b);

  return 0;

}

Compiler output:
main.c:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include stdio.h>
      |          ^~~~~
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |   printf("a");
      |   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #include stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |   printf("a");
      |   ^~~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |   scanf("%d",&a);
      |   ^~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:12:8: error: expected ';' before 'b'
   12 |   a=a*b
      |        ^
      |        ;
   13 |   b=(2*a)+(2*b);
      |   ~
Language: C


#include stdio.h>
int main(void)
{

  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;
  b=(2*a)+(2*b);

  printf("%d %d\n",a,b);

  return 0;

}

Compiler output:
main.c:2:10: error: #include expects "FILENAME" or <FILENAME>
    2 | #include stdio.h>
      |          ^~~~~
main.c: In function 'main':
main.c:8:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |   printf("a");
      |   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 
main.c:8:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |   printf("a");
      |   ^~~~~~
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |   scanf("%d",&a);
      |   ^~~~~
main.c:9:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:9:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
Language: C


#include <stdio.h>
int main(void)
{

  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;
  b=(2*a)+(2*b);

  printf("%d %d\n",a b);

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:17:21: error: expected ')' before 'b'
   17 |   printf("%d %d\n",a b);
      |         ~           ^~
      |                     )
Language: C


#include <stdio.h>
int main(void)
{

  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;

  b=(2*a)+(2*b);

  printf("%d %d\n",a b);

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:18:21: error: expected ')' before 'b'
   18 |   printf("%d %d\n",a b);
      |         ~           ^~
      |                     )
Language: C

#include <stdio.h>
int main(void)
{

  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;
  b=(2*a)+(2*b);

  printf("%d %d\n",a b);

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:16:21: error: expected ')' before 'b'
   16 |   printf("%d %d\n",a b);
      |         ~           ^~
      |                     )
Language: C

#include <stdio.h>
int main(void)
{
  int a, b;

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;
  b=(2*a)+(2*b);

  printf("%d %d\n",a b);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:21: error: expected ')' before 'b'
   15 |   printf("%d %d\n",a b);
      |         ~           ^~
      |                     )
Language: C

#include <stdio.h>
int main(void)
{
  int a, b:

  printf("a");
  scanf("%d",&a);

  printf("b");
  scanf("%d",&b);

  a=a*b;
  b=(2*a)+(2*b);

  printf("%d %d\n",a,b);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    4 |   int a, b:
      |           ^
main.c:10:15: error: 'b' undeclared (first use in this function)
   10 |   scanf("%d",&b);
      |               ^
main.c:10:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(){
    int x,y;
    scanf("%d%d",&x,&y):
    printf("%d %d\n",x*y,2*x+2*y);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:24: error: expected ';' before ':' token
    4 |     scanf("%d%d",&x,&y):
      |                        ^
      |                        ;
Language: C

#include <stdio.h>
int main(){
    int x,y,men,shu;
    scanf("%d%d",&x,&y):
    men = x * y;
    shu = 2*x + 2*y;
    printf("%d %d\n",men,shu);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:24: error: expected ';' before ':' token
    4 |     scanf("%d%d",&x,&y):
      |                        ^
      |                        ;
Language: C

#inculde <stdio.h>
int main(void){
       int a, b;
       scanf("%d %d", &a, &b);
       print ("%d %d", a*b, a * 2 + b * 2);
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inculde; did you mean #include?
    1 | #inculde <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:4:8: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |        scanf("%d %d", &a, &b);
      |        ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inculde <stdio.h>
main.c:4:8: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |        scanf("%d %d", &a, &b);
      |        ^~~~~
main.c:4:8: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:8: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    5 |        print ("%d %d", a*b, a * 2 + b * 2);
      |        ^~~~~
Language: C

#inculde <stdio.h>
int main(void){
       int a, b;
       scanf("%d %d", &a, &b);
       print ("%d %d", a*b, a * 2 + b * 2);

       return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inculde; did you mean #include?
    1 | #inculde <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:4:8: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |        scanf("%d %d", &a, &b);
      |        ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inculde <stdio.h>
main.c:4:8: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |        scanf("%d %d", &a, &b);
      |        ^~~~~
main.c:4:8: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:8: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
    5 |        print ("%d %d", a*b, a * 2 + b * 2);
      |        ^~~~~
Language: C

#include <stdio.h>

int main(void)

{

    int a b;

    printf("%d %d",a*b,2*a+2*b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    7 |     int a b;
      |           ^
main.c:7:11: error: 'b' undeclared (first use in this function)
main.c:7:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:20: error: 'a' undeclared (first use in this function)
    9 |     printf("%d %d",a*b,2*a+2*b);
      |                    ^
Language: C


#include <stdio.h>

int main(void)

{

    int a b;

    scanf("%d"&a);


    scanf("%d"&b);


    printf("%d %d",a*b,2*a+2*b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:8:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    8 |     int a b;
      |           ^
main.c:8:11: error: 'b' undeclared (first use in this function)
main.c:8:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:16: error: 'a' undeclared (first use in this function)
   10 |     scanf("%d"&a);
      |                ^
Language: C

#include <stdio.h>

int main(void)

{

    int a b;

    scanf("%d"&a);


    scanf("%d"&b);


    printf("%d %d",a*b,2*a+2*b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    7 |     int a b;
      |           ^
main.c:7:11: error: 'b' undeclared (first use in this function)
main.c:7:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:16: error: 'a' undeclared (first use in this function)
    9 |     scanf("%d"&a);
      |                ^
Language: C

#include <stdio.h>

int main(void)

{
    int a b;
    scanf("%d"&a);
    scanf("%d"&b);
    printf("%d %d",a*b,2*a+2*b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 |     int a b;
      |           ^
main.c:6:11: error: 'b' undeclared (first use in this function)
main.c:6:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:16: error: 'a' undeclared (first use in this function)
    7 |     scanf("%d"&a);
      |                ^
Language: C

#include <stdio.h>

int main(void)

{
    int a b;
    scanf("%d"&a);
    scanf("%d"&b);
    printf("%d,%d",a*b,2*a+2*b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 |     int a b;
      |           ^
main.c:6:11: error: 'b' undeclared (first use in this function)
main.c:6:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:16: error: 'a' undeclared (first use in this function)
    7 |     scanf("%d"&a);
      |                ^
Language: C

#include<stdio.h>
int main(void)
{
int a,b ;
scanf("%d,&a");
scanf("%d,&b");
printf("%d,a*b");
printf("%d,2*a+2*b");
 return0;
}

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

#include <stdio.h>

int main(void)

{

    int a,b;

    scanf("%d"&a);


    scanf("%d"&b);


    printf("%d,%d",a*b,2*a+2*b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:15: error: invalid operands to binary & (have 'char *' and 'int')
    9 |     scanf("%d"&a);
      |           ~~~~^
      |           |
      |           char *
main.c:12:15: error: invalid operands to binary & (have 'char *' and 'int')
   12 |     scanf("%d"&b);
      |           ~~~~^
      |           |
      |           char *
Language: C

#include <stdio.h>
int main (void)
{
    int a,b;
    scanf("%d"&a);
    scanf("%d"&b);
    printf("%d,%d",a*b,2*a+2*b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: invalid operands to binary & (have 'char *' and 'int')
    5 |     scanf("%d"&a);
      |           ~~~~^
      |           |
      |           char *
main.c:6:15: error: invalid operands to binary & (have 'char *' and 'int')
    6 |     scanf("%d"&b);
      |           ~~~~^
      |           |
      |           char *
Language: C

#include <stdio.h>
int main (void)
{
int a,b ;
scanf("%d,&a");
scanf("%d,&b");
printf("%d,a*b");
printf("%d,2*a+2*b");
 return0;
}

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

#include <stdio.h>

int main  (void)

{

    int a b;

    scanf("%d",&a);

    scanf("%d",&b);

    printf("%d %d\n",a*b 2*a+2*b);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    7 |     int a b;
      |           ^
main.c:7:11: error: 'b' undeclared (first use in this function)
main.c:7:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:17: error: 'a' undeclared (first use in this function)
    9 |     scanf("%d",&a);
      |                 ^
main.c:13:25: error: expected ')' before numeric constant
   13 |     printf("%d %d\n",a*b 2*a+2*b);
      |           ~             ^~
      |                         )
Language: C

#include<stdio.h>

int main(void)


{


   int a,b;


   scanf("%d %d",&a,&b);


   printf("%d %d\n",a*b,2*a+2*d);

   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:31: error: 'd' undeclared (first use in this function)
   15 |    printf("%d %d\n",a*b,2*a+2*d);
      |                               ^
main.c:15:31: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main()
{
    int a,b; scanf("%d %d",&a,%b);
    printf("%d %d\n",a*b,2*a+2*b);
    return 0;
}    

Compiler output:
main.c: In function 'main':
main.c:4:31: error: expected expression before '%' token
    4 |     int a,b; scanf("%d %d",&a,%b);
      |                               ^
Language: C

#include <stdio.h>

int main(void)


}


   int a,b,m,s;


   scanf("%d"&a);


   scanf("%d"&b);


   m=a*b;


   s=2*a+2*b;


   printf("%d%d\n",a,b);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before '}' token
    6 | }
      | ^
main.c:12:4: error: expected declaration specifiers before 'scanf'
   12 |    scanf("%d"&a);
      |    ^~~~~
main.c:15:4: error: expected declaration specifiers before 'scanf'
   15 |    scanf("%d"&b);
      |    ^~~~~
main.c:18:4: error: expected declaration specifiers before 'm'
   18 |    m=a*b;
      |    ^
main.c:21:4: error: expected declaration specifiers before 's'
   21 |    s=2*a+2*b;
      |    ^
main.c:24:4: error: expected declaration specifiers before 'printf'
   24 |    printf("%d%d\n",a,b);
      |    ^~~~~~
main.c:27:4: error: expected declaration specifiers before 'return'
   27 |    return 0;
      |    ^~~~~~
main.c:30:1: error: expected declaration specifiers before '}' token
   30 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:31: error: expected '{' at end of input
Language: C

#include<stdio.h>

int main()


{


   int a,b;


   scanf("%d %d",&a,&b);


   printf("%d %d\n",a*b,2*a+2*d);

   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:15:31: error: 'd' undeclared (first use in this function)
   15 |    printf("%d %d\n",a*b,2*a+2*d);
      |                               ^
main.c:15:31: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)


}


   int a,b,m,s;


   scanf("%d"&a);


   scanf("%d"&b);


   m=a*b;


   s=2*a+2*b;


   printf("%d %d\n",a,b);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before '}' token
    6 | }
      | ^
main.c:12:4: error: expected declaration specifiers before 'scanf'
   12 |    scanf("%d"&a);
      |    ^~~~~
main.c:15:4: error: expected declaration specifiers before 'scanf'
   15 |    scanf("%d"&b);
      |    ^~~~~
main.c:18:4: error: expected declaration specifiers before 'm'
   18 |    m=a*b;
      |    ^
main.c:21:4: error: expected declaration specifiers before 's'
   21 |    s=2*a+2*b;
      |    ^
main.c:24:4: error: expected declaration specifiers before 'printf'
   24 |    printf("%d %d\n",a,b);
      |    ^~~~~~
main.c:27:4: error: expected declaration specifiers before 'return'
   27 |    return 0;
      |    ^~~~~~
main.c:30:1: error: expected declaration specifiers before '}' token
   30 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:31: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main(void)


}


   int a,b,m,s;


   scanf("%d"&a);


   scanf("%d"&b);


   m=a*b;


   s=(2*a)+(2*b);


   printf("%d%d\n",a,b);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before '}' token
    6 | }
      | ^
main.c:12:4: error: expected declaration specifiers before 'scanf'
   12 |    scanf("%d"&a);
      |    ^~~~~
main.c:15:4: error: expected declaration specifiers before 'scanf'
   15 |    scanf("%d"&b);
      |    ^~~~~
main.c:18:4: error: expected declaration specifiers before 'm'
   18 |    m=a*b;
      |    ^
main.c:21:4: error: expected declaration specifiers before 's'
   21 |    s=(2*a)+(2*b);
      |    ^
main.c:24:4: error: expected declaration specifiers before 'printf'
   24 |    printf("%d%d\n",a,b);
      |    ^~~~~~
main.c:27:4: error: expected declaration specifiers before 'return'
   27 |    return 0;
      |    ^~~~~~
main.c:30:1: error: expected declaration specifiers before '}' token
   30 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:31: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main(void)


}


   int a,b,m,s;


   scanf("%d"&a);


   scanf("%d"&b);


   m=a*b;


   s=(2*a)+(2*b);


   printf("%d%d\n",m,s);


   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before '}' token
    6 | }
      | ^
main.c:12:4: error: expected declaration specifiers before 'scanf'
   12 |    scanf("%d"&a);
      |    ^~~~~
main.c:15:4: error: expected declaration specifiers before 'scanf'
   15 |    scanf("%d"&b);
      |    ^~~~~
main.c:18:4: error: expected declaration specifiers before 'm'
   18 |    m=a*b;
      |    ^
main.c:21:4: error: expected declaration specifiers before 's'
   21 |    s=(2*a)+(2*b);
      |    ^
main.c:24:4: error: expected declaration specifiers before 'printf'
   24 |    printf("%d%d\n",m,s);
      |    ^~~~~~
main.c:27:4: error: expected declaration specifiers before 'return'
   27 |    return 0;
      |    ^~~~~~
main.c:30:1: error: expected declaration specifiers before '}' token
   30 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:31: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main(void)


}

int a,b,m,s;


scanf("%d"&a);


scanf("%d"&b);


m=a*b;


s=(2*a)+(2*b);


printf("%d %d\n",m,s);

return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before '}' token
    6 | }
      | ^
main.c:11:1: error: expected declaration specifiers before 'scanf'
   11 | scanf("%d"&a);
      | ^~~~~
main.c:14:1: error: expected declaration specifiers before 'scanf'
   14 | scanf("%d"&b);
      | ^~~~~
main.c:17:1: error: expected declaration specifiers before 'm'
   17 | m=a*b;
      | ^
main.c:20:1: error: expected declaration specifiers before 's'
   20 | s=(2*a)+(2*b);
      | ^
main.c:23:1: error: expected declaration specifiers before 'printf'
   23 | printf("%d %d\n",m,s);
      | ^~~~~~
main.c:25:1: error: expected declaration specifiers before 'return'
   25 | return 0;
      | ^~~~~~
main.c:28:1: error: expected declaration specifiers before '}' token
   28 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:29: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main(void)


{

int a,b,m,s;


scanf("%d"&a);


scanf("%d"&b);


m=a*b;


s=(2*a)+(2*b);


printf("%d %d\n",m,s);

return 0;


}

Compiler output:
main.c: In function 'main':
main.c:11:11: error: invalid operands to binary & (have 'char *' and 'int')
   11 | scanf("%d"&a);
      |       ~~~~^
      |       |
      |       char *
main.c:14:11: error: invalid operands to binary & (have 'char *' and 'int')
   14 | scanf("%d"&b);
      |       ~~~~^
      |       |
      |       char *
Language: C

include<stdio.h>

int main(){

int a;

int b; 

scanf("%d %d",&a,&b);

printf("%d %d\n",a*b,2*a+2*b);

return 0;

}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include<stdio.h>
int main(void){
int a;
int b;
scanf("%d %d",&a,&b);
printf{"%d %d",a*b,2*(a+b)};
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: expected ';' before '{' token
    6 | printf{"%d %d",a*b,2*(a+b)};
      |       ^
      |       ;
Language: C

include<stdio.h>

int main(void){

int a;

int b; 

scanf("%d %d",&a,&b);

printf("%d %d\n",a*b,2*a+2*b);

return 0;

}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <stdio.h>

int main(void){
	int x;
	scanf("%d", &x);
	printf("%d\n", x * z);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:28: error: 'z' undeclared (first use in this function)
    6 |         printf("%d\n", x * z);
      |                            ^
main.c:6:28: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(void){
	int x,y;
	scanf("%d %d",x,y);
	printf("%d",a*b\n);
	printf("%d",a*2+b*2);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:21: error: 'a' undeclared (first use in this function)
    5 |         printf("%d",a*b\n);
      |                     ^
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:24: error: stray '\' in program
    5 |         printf("%d",a*b\n);
      |                        ^
main.c:5:23: error: 'b' undeclared (first use in this function)
    5 |         printf("%d",a*b\n);
      |                       ^
main.c:5:24: error: expected ')' before 'n'
    5 |         printf("%d",a*b\n);
      |               ~        ^~
      |                        )
Language: C

#include<stdio.h>
int main(void){
	int x,y;
	scanf("%d %d",x,y);
	printf("%d\n",a*b);
	printf("%d\n",a*2+b*2);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:23: error: 'a' undeclared (first use in this function)
    5 |         printf("%d\n",a*b);
      |                       ^
main.c:5:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:25: error: 'b' undeclared (first use in this function)
    5 |         printf("%d\n",a*b);
      |                         ^
Language: C

#include <stdio.h>
int main(void) {
	int x,y,b;
	

	scanf("%d %d",&x &y);
		x=x*y;
		b=2*x+2*y;
	printf("%d %d\n",x b);
	
	// your code goes here
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:26: error: invalid operands to binary & (have 'int *' and 'int')
    6 |         scanf("%d %d",&x &y);
      |                       ~~ ^
      |                       |
      |                       int *
main.c:9:27: error: expected ')' before 'b'
    9 |         printf("%d %d\n",x b);
      |               ~           ^~
      |                           )
Language: C

#include <stdio.h>

int main(void) {
	int a,b;
	scanf("%d %d",&a,&b);
	a=a*b;
	b=2*a+2*b;
	printf("%d %d\n"a,b)
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:25: error: expected ')' before 'a'
    8 |         printf("%d %d\n"a,b)
      |               ~         ^
      |                         )
main.c:8:29: error: expected ';' before 'return'
    8 |         printf("%d %d\n"a,b)
      |                             ^
      |                             ;
    9 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>

int main(void) {
	int a,b;
	scanf("%d %d",&a,&b);
	a=a*b;
	b=2*a+2*b;
	printf("%d %d\n"a,b);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:25: error: expected ')' before 'a'
    8 |         printf("%d %d\n"a,b);
      |               ~         ^
      |                         )
Language: C

#include <stdio.h>

int main(void)
{
	int=a;
	int=b;
	scanf("%d\n",&a);
	scanf("%d\n",&b);
	
	x=a*b;
	y=a*2+b*2;
	
	printf("%d\n",x y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected identifier or '(' before '=' token
    5 |         int=a;
      |            ^
main.c:6:12: error: expected identifier or '(' before '=' token
    6 |         int=b;
      |            ^
main.c:7:23: error: 'a' undeclared (first use in this function)
    7 |         scanf("%d\n",&a);
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:23: error: 'b' undeclared (first use in this function)
    8 |         scanf("%d\n",&b);
      |                       ^
main.c:10:9: error: 'x' undeclared (first use in this function)
   10 |         x=a*b;
      |         ^
main.c:11:9: error: 'y' undeclared (first use in this function)
   11 |         y=a*2+b*2;
      |         ^
main.c:13:24: error: expected ')' before 'y'
   13 |         printf("%d\n",x y);
      |               ~        ^~
      |                        )
Language: C

#include <stdio.h>

int main(void)
{
	int=a;
	int=b;
	scanf("%d\n",&a);
	scanf("%d\n",&b);
	
	x=a*b;
	y=a*2+b*2;
	
	printf("%d\n",x);
	printf("%d\n",y)
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected identifier or '(' before '=' token
    5 |         int=a;
      |            ^
main.c:6:12: error: expected identifier or '(' before '=' token
    6 |         int=b;
      |            ^
main.c:7:23: error: 'a' undeclared (first use in this function)
    7 |         scanf("%d\n",&a);
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:23: error: 'b' undeclared (first use in this function)
    8 |         scanf("%d\n",&b);
      |                       ^
main.c:10:9: error: 'x' undeclared (first use in this function)
   10 |         x=a*b;
      |         ^
main.c:11:9: error: 'y' undeclared (first use in this function)
   11 |         y=a*2+b*2;
      |         ^
main.c:14:25: error: expected ';' before 'return'
   14 |         printf("%d\n",y)
      |                         ^
      |                         ;
   15 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>
int main(void) {
	int x,y,;
	

	scanf("%d %d",&x,&y);
		x=x*y;
		y=2*(x/y)+2*y;
	printf("%d %d\n",x,y);
	
	// your code goes here
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:17: error: expected identifier or '(' before ';' token
    3 |         int x,y,;
      |                 ^
Language: C

#include <stdio.h>

int main(void)
{
	int=a;
	int=b;
	scanf("%d\n",&a);
	scanf("%d\n",&b);
	
	x=a*b;
	y=a*2+b*2;
	
	printf("%d %d\n",x,y);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected identifier or '(' before '=' token
    5 |         int=a;
      |            ^
main.c:6:12: error: expected identifier or '(' before '=' token
    6 |         int=b;
      |            ^
main.c:7:23: error: 'a' undeclared (first use in this function)
    7 |         scanf("%d\n",&a);
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:23: error: 'b' undeclared (first use in this function)
    8 |         scanf("%d\n",&b);
      |                       ^
main.c:10:9: error: 'x' undeclared (first use in this function)
   10 |         x=a*b;
      |         ^
main.c:11:9: error: 'y' undeclared (first use in this function)
   11 |         y=a*2+b*2;
      |         ^
Language: C

#include <stdio.h>

int main(void)
{
	int=a;
	int=b;
	scanf("%d\n",&a);
	scanf("%d\n",&b);
	
	x=a*b;
	y=a*2+b*2;
	
	printf("%d\n %d\n",x,y);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected identifier or '(' before '=' token
    5 |         int=a;
      |            ^
main.c:6:12: error: expected identifier or '(' before '=' token
    6 |         int=b;
      |            ^
main.c:7:23: error: 'a' undeclared (first use in this function)
    7 |         scanf("%d\n",&a);
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:23: error: 'b' undeclared (first use in this function)
    8 |         scanf("%d\n",&b);
      |                       ^
main.c:10:9: error: 'x' undeclared (first use in this function)
   10 |         x=a*b;
      |         ^
main.c:11:9: error: 'y' undeclared (first use in this function)
   11 |         y=a*2+b*2;
      |         ^
Language: C

#include <stdio.h>

int main (void)

{

 int a,b;

 printf("%d %d\n",a*b,2a+2b);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:23: error: invalid suffix "a" on integer constant
    9 |  printf("%d %d\n",a*b,2a+2b);
      |                       ^~
main.c:9:26: error: invalid suffix "b" on integer constant
    9 |  printf("%d %d\n",a*b,2a+2b);
      |                          ^~
Language: C

#include <stdio.h>

int main (void)

{

 int a,b;

 a==0;


 b==0;


 printf("%d %d\n",a*b,2a+2b);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:15:23: error: invalid suffix "a" on integer constant
   15 |  printf("%d %d\n",a*b,2a+2b);
      |                       ^~
main.c:15:26: error: invalid suffix "b" on integer constant
   15 |  printf("%d %d\n",a*b,2a+2b);
      |                          ^~
Language: C

#include <stdio.h>

int main (void)

{

 int a,b;

 a==0;

 b==0;

 printf("%d %d\n",a*b,2a+2b);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:13:23: error: invalid suffix "a" on integer constant
   13 |  printf("%d %d\n",a*b,2a+2b);
      |                       ^~
main.c:13:26: error: invalid suffix "b" on integer constant
   13 |  printf("%d %d\n",a*b,2a+2b);
      |                          ^~
Language: C

#include <stdio.h>

int main (void)

{

 int a,b;

 a==0;

 b==0;

 printf("%d %d",a*b,2a+2b);

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:13:21: error: invalid suffix "a" on integer constant
   13 |  printf("%d %d",a*b,2a+2b);
      |                     ^~
main.c:13:24: error: invalid suffix "b" on integer constant
   13 |  printf("%d %d",a*b,2a+2b);
      |                        ^~
Language: C

#include<stdio.h>

int main(){
    int a;
    int b;
    scanf("%d %d", &a, &b);
    printf("%d\n", a*b, 2*(a+b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:32: error: expected ')' before ';' token
    7 |     printf("%d\n", a*b, 2*(a+b);
      |           ~                    ^
      |                                )
main.c:8:14: error: expected ';' before '}' token
    8 |     return 0;
      |              ^
      |              ;
    9 | }
      | ~
Language: C

#incude<stdio.h>

int main(void)

{

 int a,b,n,m;

a=0;

b=0;

scanf("%d"&a);

scanf("%d"&b);

n=a*b;

m=(a+b)*2;

printf("n m");

return 0;

}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #incude; did you mean #include?
    1 | #incude<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   13 | scanf("%d"&a);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #incude<stdio.h>
main.c:13:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   13 | scanf("%d"&a);
      | ^~~~~
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:13:11: error: invalid operands to binary & (have 'char *' and 'int')
   13 | scanf("%d"&a);
      |       ~~~~^
      |       |
      |       char *
main.c:15:11: error: invalid operands to binary & (have 'char *' and 'int')
   15 | scanf("%d"&b);
      |       ~~~~^
      |       |
      |       char *
main.c:21:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   21 | printf("n m");
      | ^~~~~~
main.c:21:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:21:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:21:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include(stdio.h)
int main <void>
{
int a,b;
scanf("%d,%d",&a,&b);
printf("%d,%d\n"a*b,(a+b)*2);
return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    2 | int main <void>
      |          ^
Language: C

#include(stdio.h)
int main <void>
{
int a,b;
scanf("%d,%d",&a,&b);
printf("%d,%d\n"&a*b,&(a+b)*2);
return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    2 | int main <void>
      |          ^
Language: C

#include(stdio.h)
int main <void>
{
int a,b;
scanf("%d,%d",&a,&b);
printf("%d,%d\n",a*b,(a+b)*2);
return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    2 | int main <void>
      |          ^
Language: C

/* 2205*/

#include <stdio.h>

main(void){

int a,b;
printf("%d %d\n",a*b.2*(a+b));


return 0;
}

Compiler output:
main.c:5:1: error: return type defaults to 'int' [-Wimplicit-int]
    5 | main(void){
      | ^~~~
main.c: In function 'main':
main.c:8:21: error: expected ')' before numeric constant
    8 | printf("%d %d\n",a*b.2*(a+b));
      |       ~             ^~
      |                     )
Language: C

#include <stdio.h>
main(void)
{
int a,b;
scanf("%d%d",a,b);
printf("%d %d\n",a*b,2*(a+b));



retrun 0;
}

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

#include <stdio.h>
main(void)
{
int a,b;
scanf("%d%d",&a,&b);
printf("%d %d\n",a*b,2*(a+b));



retrun 0;
}

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

#include<stdio.h>
int main(void){
    int a,b;
    scanf("%d %d",&a,&b);

    printf("%d %d\n",a*b,2a+2b);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:26: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d\n",a*b,2a+2b);
      |                          ^~
main.c:6:29: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d\n",a*b,2a+2b);
      |                             ^~
Language: C

#include <stdio.h>

int main(void)
{
	int length, width;
	
	scanf("%d %d", &length, &width);
	
	printf("%d %d", length * width, (length * 2) +( wideth * 2));
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:57: error: 'wideth' undeclared (first use in this function); did you mean 'width'?
    9 |         printf("%d %d", length * width, (length * 2) +( wideth * 2));
      |                                                         ^~~~~~
      |                                                         width
main.c:9:57: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <iostream>

int main()
{
	int a, b;
	std::cin >> a >> b;
	std::cout << a * b << a*2 + b*2 << std::endl;
	return 0;
}

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

 #include <stdio.h>

 int main(void){

 int a , int b ;

 scanf("%d%d", a + b 2 * a + 2 * b);

 return ;
 }

Compiler output:
main.c: In function 'main':
main.c:5:10: error: expected identifier or '(' before 'int'
    5 |  int a , int b ;
      |          ^~~
main.c:7:20: error: 'b' undeclared (first use in this function)
    7 |  scanf("%d%d", a + b 2 * a + 2 * b);
      |                    ^
main.c:7:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:21: error: expected ')' before numeric constant
    7 |  scanf("%d%d", a + b 2 * a + 2 * b);
      |       ~             ^~
      |                     )
main.c:9:2: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
    9 |  return ;
      |  ^~~~~~
main.c:3:6: note: declared here
    3 |  int main(void){
      |      ^~~~
Language: C

include <stdio.h>

int main(){
	
	int a, b;
	    
	      a=3,b=5;
	printf("%d %d\n",a*b,(a+b)*2);
	
	
	return 0;}      
	

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

include <stdio.h>

int main(){
	
	int a,  b;
	    
	      a=3,b=5;
	printf("%d %d\n",a*b,(a+b)*2);
	
	
	return 0;}      
	

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

include <stdio.h>

int main(){
	
	int a,  b;
	    
	      a=3, b=5;
	printf("%d %d\n",a*b,(a+b)*2);
	
	
	return 0;}      
	

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<stdio.h>

int main()
{
	int x;
	int y;
	int a;
	int b;
	scanf("%d", &x);

	a = x*y;
	b = 2*x + 2*y;
	printf("%d,%d\n", a,b);
	nihonnyanagi 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:9: error: 'nihonnyanagi' undeclared (first use in this function)
   14 |         nihonnyanagi 0;
      |         ^~~~~~~~~~~~
main.c:14:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:21: error: expected ';' before numeric constant
   14 |         nihonnyanagi 0;
      |                     ^~
      |                     ;
Language: C

#include<stdio.h>

int main()
{
	int a, b;

	scanf("%d%d", &a, %b);

	printf("%d\n", a*b);
	printf("%d\n", 2 * (a + b));
	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:27: error: expected expression before '%' token
    7 |         scanf("%d%d", &a, %b);
      |                           ^
Language: C

#include <stdio.h>

int main (void) {

  int x,y;

  printf("" "");
  scanf("%d" "%d",&x,&y);

  printf("%d\n" "%d\n",x*y,2*x+2*y);

  return 0;

Compiler output:
main.c: In function 'main':
main.c:12:3: error: expected declaration or statement at end of input
   12 |   return 0;
      |   ^~~~~~
Language: C

#include <stdio.h>

int main (void) {

  int x,y;

  printf("" "");
  scanf("%d" "%d",&x,&y);

  printf("%d %d\n",x*y,2*x+2*y);

  return 0;

Compiler output:
main.c: In function 'main':
main.c:12:3: error: expected declaration or statement at end of input
   12 |   return 0;
      |   ^~~~~~
Language: C

#include <stdio.h>

int main(void)
{
 int a b;
 scanf("%d %d",a,b);
 printf("%d %d",a*b,2*(a+b));
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    5 |  int a b;
      |        ^
main.c:5:8: error: 'b' undeclared (first use in this function)
main.c:5:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: 'a' undeclared (first use in this function)
    6 |  scanf("%d %d",a,b);
      |                ^
Language: C

#include<stdio.h>
int main(){
   int a,b;
   scanf("%d %d",&a,&b);
   printf("%d %d\n",a*b,2a+2b);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:25: error: invalid suffix "a" on integer constant
    5 |    printf("%d %d\n",a*b,2a+2b);
      |                         ^~
main.c:5:28: error: invalid suffix "b" on integer constant
    5 |    printf("%d %d\n",a*b,2a+2b);
      |                            ^~
Language: C

#include<stdio.h>

int main (void){

    int x;

    int y;

    scanf("%d %d",&x &y);

    printf(&x+&y 2*(&x+&y);

    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:22: error: invalid operands to binary & (have 'int *' and 'int')
    9 |     scanf("%d %d",&x &y);
      |                   ~~ ^
      |                   |
      |                   int *
main.c:11:14: error: invalid operands to binary + (have 'int *' and 'int *')
   11 |     printf(&x+&y 2*(&x+&y);
      |            ~~^~~
      |            |  |
      |            |  int *
      |            int *
main.c:11:17: error: expected ')' before numeric constant
   11 |     printf(&x+&y 2*(&x+&y);
      |           ~     ^~
      |                 )
main.c:13:14: error: expected ';' before '}' token
   13 |     return 0;
      |              ^
      |              ;
   14 | 
   15 | }
      | ~
Language: C

#include <stdio.h>

int main(){
	int a, b;
	int l, s;

	scanf("%d %d", a and b);
	l = 2 * (a + b);
	s = a * b;
	printf("%d %d\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:25: error: expected ')' before 'and'
    7 |         scanf("%d %d", a and b);
      |              ~          ^~~~
      |                         )
Language: C

#include <stdio.h>

int main(){
	int a, b;
	int l, s;

	scanf("%d %d", a and b);
	l = 2 * (a + b);
	s = a * b;
	printf("%d %d\n", l, s);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:25: error: expected ')' before 'and'
    7 |         scanf("%d %d", a and b);
      |              ~          ^~~~
      |                         )