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

#include<stdio.h>

int main(){


int l=0;


int h=0;


int a=0;


int c=0;


scanf("%d,%d",&l,&h);


a=l*h;


c=l*2+h*2;l


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:24:12: error: expected ';' before 'printf'
   24 | c=l*2+h*2;l
      |            ^
      |            ;
......
   27 | printf("%d,%d\n",a,c);
      | ~~~~~~
Language: C

#include<stdio.h>

int main(){


int l = 0;


int h = 0;


int a = 0;


int c = 0;


scanf("%d,%d",&l,&h);


a=l*h;


c=l*2+h*2;l


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


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:24:12: error: expected ';' before 'printf'
   24 | c=l*2+h*2;l
      |            ^
      |            ;
......
   27 | printf("%d,%d\n",a,c);
      | ~~~~~~
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*b);


return 0;


}

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

#include,stdio.h>

int main(void){


int a,b;


scanf("%d",&a);


sxanf("%d",&b);


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


return 0;


}

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

#include,stdio.h>

int main(void){


int a,b;


scanf("%d",&a);


sxanf("%d",&b);


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


return 0;


}

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

#include<stdio.h>

int main(void){

int a;

int b;


scanf("%d",&a);

sxanf("%d",&b);

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:12:1: error: implicit declaration of function 'sxanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   12 | sxanf("%d",&b);
      | ^~~~~
      | scanf
Language: C

#include <stdio.h>

amain (void)


{


int a, b;


double c;


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


c=(double)a/b;


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


return 0;


}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | amain (void)
      | ^~~~~
Language: C

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

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

#include<stdio.h>

int main(void)

{

 int length = 0;

 int height = 0;

 int area = 0;

 int cir = 0;


scanf("%d,%d",&length,&height);

area = length*height;

cir = lenght*2 + height*2;


printf("%d %d\n",area,cir);


return 0;

}

Compiler output:
main.c: In function 'main':
main.c:20:7: error: 'lenght' undeclared (first use in this function); did you mean 'length'?
   20 | cir = lenght*2 + height*2;
      |       ^~~~~~
      |       length
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void)

{

 int length = 0;

 int height = 0;

 int area = 0;

 int cir = 0;


scanf("%d %d",&length,&height);

area = length*height;

cir = lenght*2 + height*2;


printf("%d %d\n",area,cir);


return 0;

}

Compiler output:
main.c: In function 'main':
main.c:20:7: error: 'lenght' undeclared (first use in this function); did you mean 'length'?
   20 | cir = lenght*2 + height*2;
      |       ^~~~~~
      |       length
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main()

{

 int length = 0;

 int height = 0;

 int area = 0;

 int cir = 0;


scanf("%d %d",&length,&height);

area = length*height;

cir = lenght*2 + height*2;


printf("%d %d\n",area,cir);


return 0;

}

Compiler output:
main.c: In function 'main':
main.c:20:7: error: 'lenght' undeclared (first use in this function); did you mean 'length'?
   20 | cir = lenght*2 + height*2;
      |       ^~~~~~
      |       length
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)
{
 int width;
 int height;

 scanf("%d",&width);
 scanf("%d",%height);

 printf("%d\n",width*height);
 print("%d\n",2*width+2*height);
 
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:13: error: expected expression before '%' token
    9 |  scanf("%d",%height);
      |             ^
main.c:12:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |  print("%d\n",2*width+2*height);
      |  ^~~~~
      |  printf
Language: C

#include <stdio.h>

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |  print("%d",2*a+2*b);
      |  ^~~~~
      |  printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |  print("%d",2*(a+b));
      |  ^~~~~
      |  printf
Language: C

include<stdio.h>

int main(){


int a,b;


int S,L;


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


S=a*b;


L=2*(a+b);


printf("%d %d\n",S,L);


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,b,menseki=0,enshu=0;
scanf("%d %d",&a,&b);
menseki=a*b;
enshua*2+b*2;
printf("%d %d\n",menseki,enshu);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: unknown type name 'enshua'
    6 | enshua*2+b*2;
      | ^~~~~~
main.c:6:8: error: expected identifier or '(' before numeric constant
    6 | enshua*2+b*2;
      |        ^
Language: C

#include<stdio.h>

int main(){


   int length = 0;


   int height = 0;


   int area = 0;


   int cir = 0;


   scanf("%d %d",&length,&height);


   area = length * height;


   cir = length*2 + height*2;


   printf(%d %d\n", area, cir);


    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:27:11: error: expected expression before '%' token
   27 |    printf(%d %d\n", area, cir);
      |           ^
main.c:27:16: error: stray '\' in program
   27 |    printf(%d %d\n", area, cir);
      |                ^
main.c:27:18: warning: missing terminating " character
   27 |    printf(%d %d\n", area, cir);
      |                  ^
main.c:27:18: error: missing terminating " character
   27 |    printf(%d %d\n", area, cir);
      |                  ^~~~~~~~~~~~~~
main.c:30:14: error: expected ';' before '}' token
   30 |     return 0;
      |              ^
      |              ;
......
   33 | }
      | ~
Language: C

#include <stdio.h>

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

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

int main(void){
char a=0,b=0;
int A,L;
scanf("%d%d",&a,&b);
if(a<100&&a>0){
if(b<100&b>0){
A=a*b;
L=2*a+2*b;
printf("%d %d",A,L);
}

Compiler output:
main.c: In function 'main':
main.c:4:1: 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 | int main(void){
main.c:4:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 | scanf("%d%d",&a,&b);
      | ^~~~~
main.c:4: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("%d %d",A,L);
      | ^~~~~~
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'
main.c:10:1: error: expected declaration or statement at end of input
   10 | }
      | ^
main.c:10:1: error: expected declaration or statement at end of input
Language: C

#include<stdio.h>
int main(void)
{
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:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'y'
    4 | int x y;
      |       ^
main.c:4:7: error: 'y' undeclared (first use in this function)
main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:15: error: 'x' undeclared (first use in this function)
    5 | scanf("%d %d",x y);
      |               ^
main.c:5:16: error: expected ')' before 'y'
    5 | scanf("%d %d",x y);
      |      ~         ^~
      |                )
main.c:6:21: error: expected ')' before numeric constant
    6 | printf("%d %d\n",x*y 2*x+2*y);
      |       ~             ^~
      |                     )
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*b);
return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    4 | int a b;
      |       ^
main.c:4:7: error: 'b' undeclared (first use in this function)
main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:17: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d", &a &b);
      |                 ^
main.c:6:21: error: expected ')' before numeric constant
    6 | 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",a*b 2*a+2*b);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: invalid operands to binary & (have 'int *' and 'int')
    5 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:6:19: error: expected ')' before numeric constant
    6 | printf("%d %d",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+b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:21: error: expected ')' before numeric constant
    6 | printf("%d %d\n",a*b 2*(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:6:23: error: invalid suffix "a" on integer constant
    6 |  printf("%d %d\n",a*b,2a+2b);
      |                       ^~
main.c:6:26: 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 a = 0;
  int b = 0;
  int area = 0;
  int cir = 0;

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

  area = a*b; cir = 2*a+2*b;

  printf("%d %d", area, cir);

  return 0;
}

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

#include<stdio.h>

int main(){


int length=0;


int height=0;


int area=0;


int cir=0;


scanf("%d %d",&lenght,&height);


area=lenght*height;


cir=lenght*2+height*2;


printf("%d %d\n",area,cir);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:18:16: error: 'lenght' undeclared (first use in this function); did you mean 'length'?
   18 | scanf("%d %d",&lenght,&height);
      |                ^~~~~~
      |                length
main.c:18:16: 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;7scanf("%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:5:9: error: invalid suffix "scanf" on integer constant
    5 | int a,b;7scanf("%d%d",&a,&b);
      |         ^~~~~~
Language: C

#include <stdio.h>

int main (void){

int a,b;7scanf("%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:5:9: error: invalid suffix "scanf" on integer constant
    5 | int a,b;7scanf("%d,%d",&a,&b);
      |         ^~~~~~
Language: C

#include <stdio.h>

int main (void){

int a,b;7

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:5:10: error: expected ';' before 'scanf'
    5 | int a,b;7
      |          ^
      |          ;
    6 | 
    7 | scanf("%d%d",&a,&b);
      | ~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:4: error: 'c' undeclared (first use in this function)
    6 |    c=a*b;
      |    ^
main.c:6:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:4: error: 'd' undeclared (first use in this function)
    7 |    d=2*(a+b);
      |    ^
Language: C

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

Compiler output:
main.c:3:1: error: expected identifier or '(' before '{' token
    3 | {
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         pirntf("%d %d",a*b,2*a+2*b);
      |         ^~~~~~
      |         printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         pirntf("%d %d\n",a*b,2*a+2*b);
      |         ^~~~~~
      |         printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d",&a &b);
      |                       ~~ ^
      |                       |
      |                       int *
main.c:5:9: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         pirntf("%d %d\n",a*b,(2*a)+(2*b));
      |         ^~~~~~
      |         printf
Language: C

#include<stdio.h>
int main(){
    int a,b;
    int s, l;
    scanf("%d %d", a, b);
    s = a*b;
    l = 2*a + 2*b;
    pritf("%d %d", s, l);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:5: error: implicit declaration of function 'pritf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     pritf("%d %d", s, l);
      |     ^~~~~
      |     printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:5: error: implicit declaration of function 'pritf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     pritf("%d %d\n", s, l);
      |     ^~~~~
      |     printf
Language: C

include<stdio.h>
int main(){
int x,y,S,L;
scanf("%d %d",&x,&y);
S=x*y;
L=2*x+2*y;
print("%d %d",S,L);
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(){
int x,y,S,L;
scanf("%d %d",&x,&y);
S=x*y;
L=2*x+2*y;
print("%d %d",S,L);
return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 | print("%d %d",S,L);
      | ^~~~~
      | printf
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:7: warning: missing terminating " character
    4 | scanf("%d %d,&a,&b);
      |       ^
main.c:4:7: error: missing terminating " character
    4 | scanf("%d %d,&a,&b);
      |       ^~~~~~~~~~~~~~
main.c:5:8: warning: missing terminating " character
    5 | printf("%d %d\n,a*b,2*(a+b));
      |        ^
main.c:5:8: error: missing terminating " character
    5 | printf("%d %d\n,a*b,2*(a+b));
      |        ^~~~~~~~~~~~~~~~~~~~~~
main.c:6:1: error: expected expression before 'return'
    6 | return 0;
      | ^~~~~~
main.c:6:10: error: expected ')' before '}' token
    6 | return 0;
      |          ^
      |          )
    7 | }
      | ~         
main.c:4:6: note: to match this '('
    4 | scanf("%d %d,&a,&b);
      |      ^
main.c:6:10: error: expected ';' before '}' token
    6 | return 0;
      |          ^
      |          ;
    7 | }
      | ~
Language: C

#include <stdio.h>

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

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

#include <stdio.h>

int main(){

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

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

#include <stdio.h>
#include <math.h>
int main (int argc, const char * argv[]) {
        
        int a,b;
        scanf("%d %d",&a,&b);
        
        if(a < 1 || b > 100){
            return 1;
        }
        printf("%d %d",a*b,(a*2+b*2));
        return 0;

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

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

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

#include <stdio.h>

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

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

Compiler output:
main.c: In function 'main':
main.c:7:10: error: stray '#' in program
    7 |   printf #include <stdio.h>
      |          ^
main.c:7:9: error: expected ';' before 'include'
    7 |   printf #include <stdio.h>
      |         ^ ~~~~~~~
      |         ;
Language: C

#include<stdio.h>
scanf("%d %d", &a, &b);
cin >> a >> b;

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d %d", &a, &b);
      |       ^~~~~~~
main.c:2:16: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d", &a, &b);
      |                ^
main.c:2:20: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d", &a, &b);
      |                    ^
main.c:3:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '>>' token
    3 | cin >> a >> b;
      |     ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:29: error: 'A' undeclared (first use in this function)
    7 |         printf("%d %d",a*b, A:2+b*2);
      |                             ^
main.c:7:29: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:30: error: expected ')' before ':' token
    7 |         printf("%d %d",a*b, A:2+b*2);
      |               ~              ^
      |                              )
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: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:5:17: error: expected ')' before 'a'
    5 | printf("%d %d\n"a*b,(a+b)*2);
      |       ~         ^
      |                 )
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: In function 'main':
main.c:5:17: error: expected ')' before 'a'
    5 | printf("%d %d\n"a*b,(a+b)*2);
      |       ~         ^
      |                 )
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: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected ')' before 'a'
    5 |     printf("%d\n",a*b a+a+b+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*b)
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:23: error: expected ';' before 'printf'
    4 |   scanf("%d %d",&a,&b)
      |                       ^
      |                       ;
    5 |     printf("%d %d\n"a*b 2*a+2*b)
      |     ~~~~~~
Language: C

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

  s=a*b;
  l=2*a+2*b;
  
  printf("??¢??????%d ??¨????????????%d\n",s,l);

  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;
    scantf("%d %d",&a,&b);
    printf("%d\n"a*b);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:18: error: expected ')' before 'a'
    5 |     printf("%d\n"a*b);
      |           ~      ^
      |                  )
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:21: error: expected ')' before 'a'
    5 |     printf("%d %d\n"a*b 2a+2b);
      |           ~         ^
      |                     )
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 a,b;
    scantf("%d %d",&a,&b);
    printf("%d %d\n"a*b 2(a+b));

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:21: error: expected ')' before 'a'
    5 |     printf("%d %d\n"a*b 2(a+b));
      |           ~         ^
      |                     )
Language: C

#include<stdio.h>
int main(void){
    int a,b;
    scantf("%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:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:21: error: expected ')' before 'a'
    5 |     printf("%d %d\n"a*b 2*a+2*b);
      |           ~         ^
      |                     )
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:21: error: expected ')' before 'a'
    5 |     printf("%d %d\n"a*b );
      |           ~         ^
      |                     )
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:21: error: expected ')' before 'a'
    5 |     printf("%d %d\n"a*b 2*(a+b));
      |           ~         ^
      |                     )
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
main.c:5:31: error: invalid suffix "b" on integer constant
    5 |     printf("%d %d\n",a*b ,2*a+2b);
      |                               ^~
Language: C

#include<stdio.h>
int main(void){
    int a,b;
    scantf("%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:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a,&b);
      |     ^~~~~~
      |     scanf
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a ,&b);
      |     ^~~~~~
      |     scanf
Language: C

#include<stdio.h>
int main(void){
    int a,b;
    scantf("%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:5: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |     scantf("%d %d",&a ,&b);
      |     ^~~~~~
      |     scanf
Language: C

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

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

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

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

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

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

#include <stdio.h>

void main()

int a,b;

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

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

{

Compiler output:
main.c: In function 'main':
main.c:7:1: error: expected declaration specifiers before 'scanf'
    7 | scanf("%d%d",&a,&b);
      | ^~~~~
main.c:9:1: error: expected declaration specifiers before 'printf'
    9 | printf ("%d%d",a*b,2*a+2b);
      | ^~~~~~
main.c:9:24: error: invalid suffix "b" on integer constant
    9 | printf ("%d%d",a*b,2*a+2b);
      |                        ^~
main.c:5:7: error: declaration for parameter 'b' but no such parameter
    5 | int a,b;
      |       ^
main.c:5:5: error: declaration for parameter 'a' but no such parameter
    5 | int a,b;
      |     ^
main.c:11:1: error: expected declaration or statement at end of input
   11 | {
      | ^
Language: C

#include <stdio.h>

void main(){

int a,b;

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

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

}

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

#include <stdio.h>

void main() {

int a,b;

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

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

}

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

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

int a;
int b;

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

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

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

#include <stdio.h>

Void main(){

Int a,b:

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

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

return 0;

}

Compiler output:
main.c:3:1: error: unknown type name 'Void'; did you mean 'void'?
    3 | Void main(){
      | ^~~~
      | void
main.c: In function 'main':
main.c:5:1: error: unknown type name 'Int'; did you mean 'int'?
    5 | Int a,b:
      | ^~~
      | int
main.c:5:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    5 | Int a,b:
      |        ^
main.c:9:8: error: expected expression before '?' token
    9 | printf(???%d%d???,a*b,2*a+2*b);
      |        ^
Language: C

#include <stdio.>
int main(){

int a;
int b;

printf("%d\n",a*b_2*a+2*b):
scanf("%d",&a,&b);

return 0;
}

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

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

int a;
int b;

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

return 0;
}

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

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

int a;
int b;

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

return 0;
}

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

#include <stdio.h>

int main() {

int a;
int b;

scanf("%d %d",alb;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 'alb' undeclared (first use in this function)
    8 | scanf("%d %d",alb;
      |               ^~~
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:18: error: expected ')' before ';' token
    8 | scanf("%d %d",alb;
      |      ~           ^
      |                  )
main.c:12:10: error: expected ';' before '}' token
   12 | return 0;
      |          ^
      |          ;
   13 | 
   14 | }
      | ~
Language: C

#include<stdio.h>

int a;
int b;

void main(void)
{

scanf("%d %d",&a &b);
printf("%d %d",a*b a+b);
return;

}

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

#include <stdio,h>

int main(){

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

returnf 0;

}

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

#include <stdio.h>

int main(){

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

returnf 0;

}

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

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

int a;
int b;

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

return 0;
}

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

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

int a;
int b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d"&a,&b);
      |       ~~~~^
      |       |
      |       char *
main.c:8:18: error: expected ')' before numeric constant
    8 | printf("%d\n",a*b 2*a+2*b);
      |       ~          ^~
      |                  )
Language: C

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

  scanf("%d %d, &a, &b);
cin >> a >> b;
printf("a*b=%d\n",a*b);
printf("2*a+2*b=%d\n",2*a+2*b)
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: warning: missing terminating " character
    6 |   scanf("%d %d, &a, &b);
      |         ^
main.c:6:9: error: missing terminating " character
    6 |   scanf("%d %d, &a, &b);
      |         ^~~~~~~~~~~~~~~~
main.c:7:1: error: 'cin' undeclared (first use in this function)
    7 | cin >> a >> b;
      | ^~~
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:14: error: expected ')' before ';' token
    7 | cin >> a >> b;
      |              ^
      |              )
main.c:6:8: note: to match this '('
    6 |   scanf("%d %d, &a, &b);
      |        ^
main.c:10:10: error: expected ';' before '}' token
   10 | return 0;
      |          ^
      |          ;
   11 | }
      | ~
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: In function 'main':
main.c:6:9: warning: missing terminating " character
    6 |   scanf("%d %d, &a, &b);
      |         ^
main.c:6:9: error: missing terminating " character
    6 |   scanf("%d %d, &a, &b);
      |         ^~~~~~~~~~~~~~~~
main.c:7:21: error: expected ')' before numeric constant
    7 | printf("%d %d\n",a*b 2*a+2*b );
      |       ~             ^~
      |                     )
main.c:7:31: error: expected ')' before ';' token
    7 | printf("%d %d\n",a*b 2*a+2*b );
      |                               ^
      |                               )
main.c:6:8: note: to match this '('
    6 |   scanf("%d %d, &a, &b);
      |        ^
main.c:7:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    7 | printf("%d %d\n",a*b 2*a+2*b );
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:8:10: error: expected ';' before '}' token
    8 | return 0;
      |          ^
      |          ;
    9 | }
      | ~
Language: C

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

int a;
int b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d"&a,&b);
      |       ~~~~^
      |       |
      |       char *
main.c:8:17: error: 'b_' undeclared (first use in this function); did you mean 'b'?
    8 | printf("%d\n",a*b_"%d\n"2*a+2*b);
      |                 ^~
      |                 b
main.c:8:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:19: error: expected ')' before string constant
    8 | printf("%d\n",a*b_"%d\n"2*a+2*b);
      |       ~           ^~~~~~
      |                   )
Language: C

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

int a;
int b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d"&a,&b);
      |       ~~~~^
      |       |
      |       char *
main.c:8:17: error: 'b_2' undeclared (first use in this function)
    8 | printf("%d\n",a*b_2*a+2*b);
      |                 ^~~
main.c:8:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int a;
int b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d"&a,&b);
      |       ~~~~^
      |       |
      |       char *
main.c:8:18: error: expected ')' before 'a'
    8 | printf("%d\n",a*b a+a+b+b);
      |       ~          ^~
      |                  )
Language: C

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

int a;
int b;

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

return 0;
}

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

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

int a;
int b;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:18: error: stray '\' in program
    7 | printf("%d\n",a*b\2*a+2*b);
      |                  ^
main.c:7:18: error: expected ')' before numeric constant
    7 | printf("%d\n",a*b\2*a+2*b);
      |       ~          ^~
      |                  )
Language: C

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

return 0;
}

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

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

int s;
int l;

s = a*b;
l = 2*a+2*b;

scanf("%d",&s,&l);
printf("%d\n",s,l);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: 'a' undeclared (first use in this function)
    7 | s = a*b;
      |     ^
main.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:7: error: 'b' undeclared (first use in this function)
    7 | s = a*b;
      |       ^
Language: C

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

int s;

s=a*b;

scanf("%d",&a);
printf("%d\n",s);

int l;

l=2*a+2*b;

scanf("%d",&b);
printf("%d\n",l);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: 'a' undeclared (first use in this function)
    6 | s=a*b;
      |   ^
main.c:6:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'b' undeclared (first use in this function)
    6 | s=a*b;
      |     ^
Language: C

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:8: error: expected ';' before 'l'
    4 |   s=a*b
      |        ^
      |        ;
    5 |   l=2*a+2*b
      |   ~     
main.c:8:21: error: expected ')' before 'l'
    8 |   printf("%d %d\n",s l);
      |         ~           ^~
      |                     )
Language: C

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

int s;
int l;

s=a*b;
l=2*a+2*b;

scanf("%d",&s,&l);
printf("%d\n",s,l);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:3: error: 'a' undeclared (first use in this function)
    7 | s=a*b;
      |   ^
main.c:7:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: 'b' undeclared (first use in this function)
    7 | s=a*b;
      |     ^
Language: C

#include <stdio.h>

int main?????????{

int a.b;

a*a*a=b;

scanf???"%d%d",&a&b???;

printf???"%d\",&b???;

}

Compiler output:
main.c:3:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
    3 | int main?????????{
      |         ^
main.c:11:10: warning: missing terminating " character
   11 | printf???"%d\",&b???;
      |          ^
main.c:11:10: error: missing terminating " character
   11 | printf???"%d\",&b???;
      |          ^~~~~~~~~~~~