criyle/codenet-compile-errors huggingface dataset:
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:5:1: error: stray '\343' in program
    5 | <U+3000><U+3000>int a,b;
      | ^~~~~~~~
main.c:5:3: error: stray '\343' in program
    5 | <U+3000><U+3000>int a,b;
      |         ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:6:3: error: stray '\343' in program
    6 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:9:28: error: invalid operands to binary * (have 'int *' and 'int')
    9 |         printf("%d %d\n",&a*b,&2*(a+b));
      |                          ~~^
      |                          |
      |                          int *
main.c:9:31: error: lvalue required as unary '&' operand
    9 |         printf("%d %d\n",&a*b,&2*(a+b));
      |                               ^
Language: C

#include <stdio.h>

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

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\343' in program
    5 | <U+3000><U+3000>int a,b,S,length;
      | ^~~~~~~~
main.c:5:3: error: stray '\343' in program
    5 | <U+3000><U+3000>int a,b,S,length;
      |         ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:6:3: error: stray '\343' in program
    6 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:22: error: invalid operands to binary & (have 'char *' and 'int')
    4 |         scanf("%d %d"&a,&b);
      |               ~~~~~~~^
      |               |
      |               char *
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);

    returnf 0;
}

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:11: warning: missing terminating " character
    5 |     scanf("%d %d2, &a, &b);
      |           ^
main.c:5:11: error: missing terminating " character
    5 |     scanf("%d %d2, &a, &b);
      |           ^~~~~~~~~~~~~~~~~
main.c:6:36: error: expected ')' before ';' token
    6 |     printf("%d %d\n", a*b, 2*a+2*b);
      |                                    ^
      |                                    )
main.c:5:10: note: to match this '('
    5 |     scanf("%d %d2, &a, &b);
      |          ^
main.c:6:5: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     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:7:14: error: expected ';' before '}' token
    7 |     return 0;
      |              ^
      |              ;
    8 | }
      | ~
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:5:21: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d %d", &a &b);
      |                  ~~ ^
      |                  |
      |                  int *
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:5:21: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d %d", &a &b);
      |                  ~~ ^
      |                  |
      |                  int *
Language: C

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

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:4:16: error: 'a' undeclared (first use in this function)
    4 | scanf("%d %d",&a,&b);
      |                ^
main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:19: error: 'b' undeclared (first use in this function)
    4 | scanf("%d %d",&a,&b);
      |                   ^
Language: C

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

int a,b;

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

return 0;
}

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

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

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

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

    printf("%d",a*b);
}
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>while{
      | ^~~~~~~~
main.c:5:8: error: expected '(' before '{' token
    5 | 　while{
      |        ^
      |        (
Language: C

#include <stdio.h>

int main(){

int a,b;

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

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:28: error: expected ';' before 'return'
    9 | printf("%d %d",a*b,(a+b)*2)
      |                            ^
      |                            ;
   10 | 
   11 | return 0;
      | ~~~~~~
Language: C

#include<stdio.h>

int main(){

 int a,b,l,s;

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

 s = a*b;

 l = 2a+2b;

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

 return 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:6: error: invalid suffix "a" on integer constant
   11 |  l = 2a+2b;
      |      ^~
main.c:11:9: error: invalid suffix "b" on integer constant
   11 |  l = 2a+2b;
      |         ^~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:10:13: error: invalid suffix "a" on integer constant
   10 |         l = 2a + 2b;
      |             ^~
main.c:10:18: error: invalid suffix "b" on integer constant
   10 |         l = 2a + 2b;
      |                  ^~
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:8:30: error: called object is not a function or function pointer
    8 |         printf("%d %d\n",a*b,2(a+b));
      |                              ^
Language: C

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

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

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

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

#include <stdio.h>

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

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

#include <stdiio.h>

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

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

#include <stdio.h>
?
int main(){
????int a = 0;
????int b = 0;
????scanf("%d %d",&a,&b);//入力
????printf("%d%s%d",a*b," ",(2*a)+(2*b));//出力
????return 0;
}

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected expression before '%' token
    4 |         scanf(%d %d,&a,&b);
      |               ^
main.c:7:9: error: expected declaration or statement at end of input
    7 |         printf("%d %d",s,r);
      |         ^~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected expression before '%' token
    4 |         scanf(%d %d,&a,&b);
      |               ^
main.c:7:9: error: expected declaration or statement at end of input
    7 |         printf("%d %d\n",s,r);
      |         ^~~~~~
Language: C

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main() {
      | ^~~~
main.c: In function 'main':
main.c:6:28: error: expected expression before '%' token
    6 |         scanf("%d %d", &a, %b);
      |                            ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main() {
      | ^~~~
main.c: In function 'main':
main.c:6:28: error: expected expression before '%' token
    6 |         scanf("%d %d", &a, %b);
      |                            ^
Language: C

include <stdio.h>

main (){
  scanf("%d %d", &a, &b);
  int round = a * a + b * b;
  int square = a * b;
  printf("%d %d", a, b);
}

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

#include <stdio.h>

main (){
  scanf("%d %d", &a, &b);
  int round = a * a + b * b;
  int square = a * b;
  printf("%d %d", round, square);
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main (){
      | ^~~~
main.c: In function 'main':
main.c:4:19: error: 'a' undeclared (first use in this function)
    4 |   scanf("%d %d", &a, &b);
      |                   ^
main.c:4:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: 'b' undeclared (first use in this function)
    4 |   scanf("%d %d", &a, &b);
      |                       ^
Language: C

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

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

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

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

#include<stdio.h>
#include<stdlib.h>

int main()
{
	int a = 0;
	int b = 0;

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

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

	return 0;

}

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

#include <stdio.h>

int main (){

  int a,b;

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:9:17: error: expected ';' before 'return'
    9 |   printf("%d",d)
      |                 ^
      |                 ;
   10 |   return 0;
      |   ~~~~~~
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:7:20: error: invalid operands to binary & (have 'int *' and 'int')
    7 |   scanf("%d %d",&x &y);
      |                 ~~ ^
      |                 |
      |                 int *
Language: C

#include <stdio.h>

int main(){

  int y,x;

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

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

  return 0;
}

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

#include<stdio.h>

int main ()
{
  int x,y;
  scanf("%d %d",&x,&y);
  printf("%d %d",x*y,2(x+y));
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: called object is not a function or function pointer
    7 |   printf("%d %d",x*y,2(x+y));
      |                      ^
Language: C

#includ<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:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |   scanf("%d %d",&a,&b);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #includ<stdio.h>
main.c:5:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   scanf("%d %d",&a,&b);
      |   ^~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |   printf("%d %d\n",a+b*2,a*b);
      |   ^~~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main ()
{
  int x,y;
  scanf("%d %d",&x,&y);
  printf("%d %d",x*y,2x+2y);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: invalid suffix "x" on integer constant
    7 |   printf("%d %d",x*y,2x+2y);
      |                      ^~
main.c:7:25: error: invalid suffix "y" on integer constant
    7 |   printf("%d %d",x*y,2x+2y);
      |                         ^~
Language: C

#include<stdio.h>

int main ()
{
  int x, y;
  scanf("%d %d",&x,&y);
  printf("%d %d",x*y,2x+2y);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: invalid suffix "x" on integer constant
    7 |   printf("%d %d",x*y,2x+2y);
      |                      ^~
main.c:7:25: error: invalid suffix "y" on integer constant
    7 |   printf("%d %d",x*y,2x+2y);
      |                         ^~
Language: C

#include<stdio.h>

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:21: error: invalid suffix "a" on integer constant
    6 |   printf("%d\n",a*b,2a+2b);
      |                     ^~
main.c:6:24: error: invalid suffix "b" on integer constant
    6 |   printf("%d\n",a*b,2a+2b);
      |                        ^~
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:7:24: error: invalid suffix "a" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                        ^~
main.c:7:27: error: invalid suffix "b" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                           ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | 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(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 | printf("%d %d",a*b,(a+b)*2);
      | ^~~~~~
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:1: error: expected statement before ')' token
    6 | )
      | ^
main.c:6:1: error: expected declaration or statement at end of input
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | scanf("%d %d\n",&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf("%d %d\n",&a,&b);
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 | printf("%d %d\n",a*b,(a+b)*2);
      | ^~~~~~
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:1: error: expected statement before ')' token
    6 | )
      | ^
main.c:6:1: error: expected declaration or statement at end of input
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | 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(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | printf("%d %d"),x,y;
      | ^~~~~~
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:1: error: expected statement before ')' token
    8 | )
      | ^
main.c:8:1: error: expected declaration or statement at end of input
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | 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(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | printf("%d %d\n"),x,y;
      | ^~~~~~
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:1: error: expected statement before ')' token
    8 | )
      | ^
main.c:8:1: error: expected declaration or statement at end of input
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | scanf("%d %d\n",&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf("%d %d\n",&a,&b);
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | printf("%d %d\n"),x,y;
      | ^~~~~~
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:1: error: expected statement before ')' token
    8 | )
      | ^
main.c:8:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>

int main(){
	int a,b,s,l;
	scanf("%d %d",&a, &b);
	s=a*b;
	l=2*(a+b);
	printf("%d %d",s,l);
	
	return 0;

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

#include <stdio.h>

int main(){
	int a,b,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: In function 'main':
main.c:10:9: error: expected declaration or statement at end of input
   10 |         return 0;
      |         ^~~~~~
Language: C

#include<stdio.h>

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:25: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d %d", &a,&b);
      |                         ^
main.c:6:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:28: error: 'b' 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,a+a+b+b);
  

    return 0;
}

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

#include<stdio.h>

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

    return 0;
}

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

#include<stdio.h>

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

    return 0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(void){
      | ^~~~
main.c: In function 'main':
main.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    5 |       int a b;
      |             ^
main.c:5:13: error: 'b' undeclared (first use in this function)
main.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:25: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d %d", &a, &b);
      |                         ^
Language: C

#include

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

    return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(void){
      | ^~~~
main.c: In function 'main':
main.c:5:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    5 |       int a b;
      |             ^
main.c:5:13: error: 'b' undeclared (first use in this function)
main.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |         scanf("%d %d", &a, &b);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include
main.c:6:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |         scanf("%d %d", &a, &b);
      |         ^~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:25: error: 'a' undeclared (first use in this function)
    6 |         scanf("%d %d", &a, &b);
      |                         ^
main.c:7:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |         printf("%d %d\n", a*b,a+a+b+b);
      |         ^~~~~~
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

Compiler output:
main.c:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include main(void) { int a,b; scanf("%d %d",&a,&b); printf("%d %d\n",a*b,a+a+b+b); return 0; }
      |          ^~~~
Language: C

#include<stdio.h>

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

  

    return 0;
}

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

#include<stdio.h>

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

  

    return 0;
}

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

#include<stdio.h>

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

  

    return 0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(void){
      | ^~~~
main.c: In function 'main':
main.c:6:27: error: invalid operands to binary & (have 'int *' and 'int')
    6 |         scanf("%d %d", &a &b);
      |                        ~~ ^
      |                        |
      |                        int *
main.c:7:30: error: expected ')' before 'a'
    7 |         printf("%d %d\n", a*b a+a+b+b);
      |               ~              ^~
      |                              )
Language: C

include<stdio.h>
int main(void){
 int a,b,s;
 scanf("%d %d",&a,&b);
 s=a*b;
 printf("%d",&s);
 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 a,b,x,y;

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

x=a*b ;
y=2*a+2*b;

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

return 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,x,y;

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

x=a*b ;
y=2*a+2*b;

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

return 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,x,y;

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

x=a*b ;
y=2*a+2*b;

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

return 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,x,y;

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

x=a*b ;
y=2*a+2*b;

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

return 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(void){
 int a,b,s,r;
 scanf("%d %d",&a,&b);
 s=a*b;
 r=a*a+b*b;
 printf("%d %d",&s,&r);
 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,s,r;
 scanf("%d %d",&a,&b);
 s=a*b;
 r=a*a+b*b;
 printf("%d %d",s,r);
 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 a,b,x,y;

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

x=a*b;
y=2*a+2*b;

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

return 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<studio.h>
int maon(void)
    {
	int a,b,x,y;
	scanf("%d %d",&a,&b);
	printf("%d %d\n",x,y);
	x=a*b;
	y=2*(a+b);
	return 0;
}

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

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

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
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:30: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d\n", a * b, 2a * 2b);
      |                              ^~
main.c:6:35: 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, 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:30: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d\n", a * b, 2a + 2b);
      |                              ^~
main.c:6:35: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d\n", a * b, 2a + 2b);
      |                                   ^~
Language: C

int main()
{
	/* ?????????????????¨ */
	char str[5];
	int value[100];
	int count;

	/* ????????¨ */
	int a;
	int b;

	/* ????????? */
	count = 0;

	/* ????????????????????? */
	while( scanf("%s",str) != EOF ){
		value[count] = atoi(str);

		switch( count ){
		case 0:
			a = value[count];
			break;
		case 1:
			b = value[count];
			break;
		default:
			break;
		}
		count++;
	}

	count = 0;

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:16: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   16 |         while( scanf("%s",str) != EOF ){
      |                ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main()
main.c:16:16: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   16 |         while( scanf("%s",str) != EOF ){
      |                ^~~~~
main.c:16:16: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:16:35: error: 'EOF' undeclared (first use in this function)
   16 |         while( scanf("%s",str) != EOF ){
      |                                   ^~~
main.c:16:35: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:16:35: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:32: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   17 |                 value[count] = atoi(str);
      |                                ^~~~
main.c:34:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   34 |         printf("%d",a * b);
      |         ^~~~~~
main.c:34:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:34:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

void main()
{
	/* ?????????????????¨ */
	char str[5];
	int value[100];
	int count;

	/* ????????¨ */
	int a;
	int b;

	/* ????????? */
	count = 0;

	/* ????????????????????? */
	while( scanf("%s",str) != EOF ){
		value[count] = atoi(str);

		switch( count ){
		case 0:
			a = value[count];
			break;
		case 1:
			b = value[count];
			break;
		default:
			break;
		}
		count++;
	}

	count = 0;

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

	return;

}

Compiler output:
main.c: In function 'main':
main.c:16:16: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   16 |         while( scanf("%s",str) != EOF ){
      |                ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void main()
main.c:16:16: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   16 |         while( scanf("%s",str) != EOF ){
      |                ^~~~~
main.c:16:16: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:16:35: error: 'EOF' undeclared (first use in this function)
   16 |         while( scanf("%s",str) != EOF ){
      |                                   ^~~
main.c:16:35: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:16:35: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:32: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   17 |                 value[count] = atoi(str);
      |                                ^~~~
main.c:34:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   34 |         printf("%d",a * b);
      |         ^~~~~~
main.c:34:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:34:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

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

#include<stdio.h>

int main(void){

int a, b; 

scanf(%d,&a);

scanf(%d,&b);


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

return 0;
}

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

#include<stdio.h>

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

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

#include<stdio.h>

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

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

#include<stdio.h>

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

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

#include<stdio.h>
int main(void)
{int x,y,S,L;
scanf(%d %d",&x,&y);
S=x*y;
L=x+y;

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

return(0);

}

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '%' token
    4 | scanf(%d %d",&x,&y);
      |       ^
main.c:4:12: warning: missing terminating " character
    4 | scanf(%d %d",&x,&y);
      |            ^
main.c:4:12: error: missing terminating " character
    4 | scanf(%d %d",&x,&y);
      |            ^~~~~~~~~
main.c:8:8: warning: missing terminating " character
    8 | printf("%d %d,S,L);
      |        ^
main.c:8:8: error: missing terminating " character
    8 | printf("%d %d,S,L);
      |        ^~~~~~~~~~~~
main.c:12:1: error: expected declaration or statement at end of input
   12 | }
      | ^
Language: C

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

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

#include <stdio.h>

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

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

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

	scanf("%d , %d , &a , &b");
	
	printf("%d" , a x b);
	printf("%d" , 2(a + b);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:24: error: expected ')' before 'x'
    8 |         printf("%d" , a x b);
      |               ~        ^~
      |                        )
main.c:9:23: error: called object is not a function or function pointer
    9 |         printf("%d" , 2(a + b);
      |                       ^
main.c:9:31: error: expected ')' before ';' token
    9 |         printf("%d" , 2(a + b);
      |               ~               ^
      |                               )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C

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

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:24: error: expected ')' before 'x'
    8 |         printf("%d" , a x b);
      |               ~        ^~
      |                        )
main.c:9:25: error: called object is not a function or function pointer
    9 |         printf("%d\n" , 2(a + b);
      |                         ^
main.c:9:33: error: expected ')' before ';' token
    9 |         printf("%d\n" , 2(a + b);
      |               ~                 ^
      |                                 )
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~