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

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

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:26: error: expected ')' before 'x'
    8 |         printf("%d\n" , 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 | }
      | ~
Language: C

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

	scanf("%d , %d , &a , &b");
	
	printf("%d" , a x b);
	printf("%d\n" , 2x(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: invalid suffix "x" on integer constant
    9 |         printf("%d\n" , 2x(a + b);
      |                         ^~
main.c:9:34: error: expected ')' before ';' token
    9 |         printf("%d\n" , 2x(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 x (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:26: error: expected ')' before 'x'
    9 |         printf("%d\n" , 2 x (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 * b);
	printf("%d" , 2 * (a + b);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:34: 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 * b);
	printf("%d\n" , 2 * (a + b);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:36: error: expected ')' before ';' token
    9 |         printf("%d\n" , 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);/*1 2???????????????????????????????????§%d,%d??§???????????????????????¨1,2??£???????????\????????????*/
     
    printf("%d " , a * b);/*???????????????????????????????????£?????????????????????????????¨?????????1??¨4??????14??£?????¨?????????????????????*/
    printf("%d\n" , 2 * (a + b));
    /+????????????printf("%d %d\n",a+b,2*(a+b));??§?????£?§£*/
 
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: expected expression before '/' token
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??§?????£?§£*/
      |     ^
main.c:10:49: error: expected expression before '?' token
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??§?????£?§£*/
      |                                                 ^
main.c:10:51: error: stray '\302' in program
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??<U+00A7>?????<U+00A3>?<U+00A7><U+00A3>*/
      |                                                   ^~~~~~~~
main.c:10:57: error: stray '\302' in program
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??<U+00A7>?????<U+00A3>?<U+00A7><U+00A3>*/
      |                                                                ^~~~~~~~
main.c:10:59: error: stray '\302' in program
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??<U+00A7>?????<U+00A3>?<U+00A7><U+00A3>*/
      |                                                                         ^~~~~~~~
main.c:10:60: error: stray '\302' in program
   10 |     /+????????????printf("%d %d\n",a+b,2*(a+b));??<U+00A7>?????<U+00A3>?<U+00A7><U+00A3>*/
      |                                                                                 ^~~~~~~~
Language: C

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

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

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

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

	scanf("%d %d", &a &b);
	 
	printf("%d" , a * b "%d\n" , 2 * (a + 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:8:28: error: expected ')' before string constant
    8 |         printf("%d" , a * b "%d\n" , 2 * (a + b));
      |               ~            ^~~~~~~
      |                            )
Language: C

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

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

        printf("%d\n" , 2 * (a + 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 *
Language: C

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

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

        printf("%d\n" , 2 * (a + 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 *
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:27: error: invalid operands to binary & (have 'int *' and 'int')
    6 |         scanf("%d %d", &a &b);
      |                        ~~ ^
      |                        |
      |                        int *
main.c:8:35: error: expected ')' before numeric constant
    8 |         printf("%d" "%d\n" , a * b 2*(a + 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:27: error: invalid operands to binary & (have 'int *' and 'int')
    6 |         scanf("%d %d", &a &b);
      |                        ~~ ^
      |                        |
      |                        int *
Language: C

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

#include<stdio,h>
int main(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d",a*b,a*2+b*2);
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(){
int a,b;
scanf("%d %d",&a,&b);
printf("%d %d",a*b,(a+b)*2);
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>

main(void)
{
int a,b;

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

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

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

#include <stdio.h>

main(void)
{
int a,b;

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

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

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

#include<stdio.h>

int main (void)
{
int a,b;

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: invalid operands to binary * (have 'int *' and 'int')
    7 | scanf("%d",&a*b);
      |            ~~^
      |            |
      |            int *
main.c:8:12: error: lvalue required as unary '&' operand
    8 | scanf("%d",&2*a+2*b);
      |            ^
Language: C

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

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

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

return 0;
}

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

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

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

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

return 0;
}

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

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

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

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

return 0;
}

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

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

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

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

return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ';' before 'd'
    5 |  c=a*b
      |       ^
      |       ;
    6 |  d=2*(a+b);
      |  ~     
main.c:8:10: error: expected ';' before '}' token
    8 |  return 0
      |          ^
      |          ;
    9 | }
      | ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ';' before 'd'
    5 |  c=a*b
      |       ^
      |       ;
    6 |  d=2*(a+b);
      |  ~
Language: C

#include<stdio.h>
int main(int argc, const char * argv[])
{
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:9: error: expected identifier or '(' before ';' token
    4 | int a,b,;
      |         ^
Language: C

/*********************************
*include
*********************************/
#include <stdio.h>

/*********************************
*function prototype
*********************************/
int areaOfRectangle( int hight, int width );
int lengthOfRectangle( int hight, int width );

/*********************************
*function
*********************************/
int main( void )
{
	int input_hight;
	int input_width;

	scanf( "%d %d", &input_hight, &input_width );

	/* ????????¢?????¢????????¨??????????????¨????????? */
	printf( "%d\n", areaOfRectangle( input_hight, input_width ),
					lengthOfRectangle( input_hight, input_width ) );

	return ( 0 );
}

/*  ????????¢?????¢???????¨??????????*/
int areaOfRectangle( int hight, int width )
{
	return ( hight * width );
}

/*  ????????¢?????¨?????????????¨?????????? */
int lengthOfRectangle( int hight, int width )
{
	return ( 2 * ( hight + length ) );
}

Compiler output:
main.c: In function 'lengthOfRectangle':
main.c:38:32: error: 'length' undeclared (first use in this function)
   38 |         return ( 2 * ( hight + length ) );
      |                                ^~~~~~
main.c:38:32: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int a;
int b;
int c;
int d;

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

c = 2*a + 2*b;
d = a * b

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

return0;
}

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

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

int a;
int b;
int c;
int d;

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

c = 2 * a + 2 * b;
d = a * b

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

return 0;
}

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

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

int a,b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:7:1: error: expected declaration specifiers before 'printf'
    7 | printf("%d",a*b);
      | ^~~~~~
main.c:8:1: error: expected declaration specifiers before 'printf'
    8 | printf("%d",2*a + 2*b);
      | ^~~~~~
main.c:10:1: error: expected declaration specifiers before 'return'
   10 | return 0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before '}' token
   12 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:13: error: expected '{' at end of input
Language: C

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

int a,b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:7:1: error: expected declaration specifiers before 'printf'
    7 | printf("%d ",a*b);
      | ^~~~~~
main.c:8:1: error: expected declaration specifiers before 'printf'
    8 | printf("%d",2*a + 2*b);
      | ^~~~~~
main.c:10:1: error: expected declaration specifiers before 'return'
   10 | return 0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before '}' token
   12 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:13: error: expected '{' at end of input
Language: C

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

int a,b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:7:1: error: expected declaration specifiers before 'printf'
    7 | printf("%d ",a*b);
      | ^~~~~~
main.c:8:1: error: expected declaration specifiers before 'printf'
    8 | printf("%d\n",2*a + 2*b);
      | ^~~~~~
main.c:10:1: error: expected declaration specifiers before 'return'
   10 | return 0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before '}' token
   12 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:13: error: expected '{' at end of input
Language: C

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

int a,b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:7:1: error: expected declaration specifiers before 'printf'
    7 | printf("%d ",a*b);
      | ^~~~~~
main.c:8:1: error: expected declaration specifiers before 'printf'
    8 | printf("%d\n",2 * a + 2 * b);
      | ^~~~~~
main.c:10:1: error: expected declaration specifiers before 'return'
   10 | return 0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before '}' token
   12 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:13: error: expected '{' at end of input
Language: C

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

int a,b;

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected declaration specifiers before 'scanf'
    6 | scanf("%d %d",&a,&b);
      | ^~~~~
main.c:7:1: error: expected declaration specifiers before 'printf'
    7 | printf("%d ",a * b);
      | ^~~~~~
main.c:8:1: error: expected declaration specifiers before 'printf'
    8 | printf("%d\n",2 * a + 2 * b);
      | ^~~~~~
main.c:10:1: error: expected declaration specifiers before 'return'
   10 | return 0;
      | ^~~~~~
main.c:12:1: error: expected declaration specifiers before '}' token
   12 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:13: error: expected '{' at end of input
Language: C

/*****************************

       C - Rectangle

*****************************/

#include<stdio.h>

int main(void)
{
	int a, b;
	int S;

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

	S = a * b;

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

	return 0;
}

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


#include<stdio.h>

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

	return 0;
}

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

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

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

#include<stdio.h>

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

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

#include<stdio.h>

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

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

#include<stdio.h>

int main()
{
	int a, b;
	scanf_s("%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:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d %d", &a, &b);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:3: error: unknown type name 'inr'; did you mean 'int'?
    5 |   inr are,shu;
      |   ^~~
      |   int
Language: C

#include<stdio.h>

main(void)
{
int a,b;
int manseki,syuu;

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

menseki=a*b;
syuu=(a+b)*2;
printf("%d %d",menseki,syuu);
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:9:1: error: implicit declaration of function 'scnaf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 | scnaf("%d",&b);
      | ^~~~~
      | scanf
main.c:11:1: error: 'menseki' undeclared (first use in this function); did you mean 'manseki'?
   11 | menseki=a*b;
      | ^~~~~~~
      | manseki
main.c:11:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

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

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

include <stdio.h>

int main(void){

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

  return(0);
}

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

#include <stdio.h>

int main (void){
int a, b;
scanf("%i %i", &a, &b);
printf((a*b) (2*a + 2*b));

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:10: error: called object is not a function or function pointer
    6 | printf((a*b) (2*a + 2*b));
      |        ~~^~~
Language: C

#include <stdio.h>

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:10: error: called object is not a function or function pointer
    6 | printf((a*b) (2*a + 2*b));
      |        ~~^~~
Language: C

#include<stdio.h>

int main()
{
	int a, b, sum[2];
	scanf_s("%d", &a); 
	scanf_s("%d", &b);
	printf("%d", a*b);
	printf(" %d", a + a + b + b );
	return 0;
}

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

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

	int a, ei, b,tr;
	scanf_s("%d", &a);
	scanf_s("%d", &b);
	ei = a*b;
	tr = a * 2+ b * 2;
	printf("%d", ei);
	printf(" ");
		printf("%d", tr);

	printf("\n");


	return 0;
}

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

#include<studio.h>

int main(void){
      int a,b,c,d;

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

      printf("%d %d",a*b,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<studio.h>

int main(void){
      int a,b,c,d;

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

      printf("%d %d?\n",a*b,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

char c, str[100];

    for( int i = 0; i < 100; ++i){
        scanf("%c", &c);
        if( c == '\n'){
            str[i] = '\0';
            break;
        }
        else {
            str[i] = c;
        }
    }

    char *input1 = strtok(str, " ");
    char *input2 = strtok(NULL, " ");
    int w = atoi(input1);
    int h = atoi(input2);
    
    //printf("w=%d, h=%d\n", w, h);
    
    int area = w * h;
    int length = w * 2 + h * 2;
    
    printf("%d %d\n", area, length);

Compiler output:
main.c:3:5: error: expected identifier or '(' before 'for'
    3 |     for( int i = 0; i < 100; ++i){
      |     ^~~
main.c:3:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 |     for( int i = 0; i < 100; ++i){
      |                       ^
main.c:3:30: error: expected identifier or '(' before '++' token
    3 |     for( int i = 0; i < 100; ++i){
      |                              ^~
main.c:14:20: error: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
   14 |     char *input1 = strtok(str, " ");
      |                    ^~~~~~
main.c:14:20: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
main.c:14:20: error: initializer element is not constant
main.c:15:27: error: 'NULL' undeclared here (not in a function)
   15 |     char *input2 = strtok(NULL, " ");
      |                           ^~~~
main.c:1:1: note: 'NULL' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
  +++ |+#include <stddef.h>
    1 | char c, str[100];
main.c:16:13: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   16 |     int w = atoi(input1);
      |             ^~~~
main.c:16:13: error: initializer element is not constant
main.c:17:13: error: initializer element is not constant
   17 |     int h = atoi(input2);
      |             ^~~~
main.c:21:16: error: initializer element is not constant
   21 |     int area = w * h;
      |                ^
main.c:22:18: error: initializer element is not constant
   22 |     int length = w * 2 + h * 2;
      |                  ^
main.c:24:12: error: expected declaration specifiers or '...' before string constant
   24 |     printf("%d %d\n", area, length);
      |            ^~~~~~~~~
main.c:24:23: error: expected declaration specifiers or '...' before 'area'
   24 |     printf("%d %d\n", area, length);
      |                       ^~~~
main.c:24:29: error: expected declaration specifiers or '...' before 'length'
   24 |     printf("%d %d\n", area, length);
      |                             ^~~~~~
Language: C

#include <stdio.h>
#include <math.h>

int main(int argc, const char * argv[]) {
   
    //int w, h;
    
    char c, str[100];

    for( int i = 0; i < 100; ++i){
        scanf("%c", &c);
        if( c == '\n'){
            str[i] = '\0';
            break;
        }
        else {
            str[i] = c;
        }
    }

    char *input1 = strtok(str, " ");
    char *input2 = strtok(NULL, " ");
    int w = atoi(input1);
    int h = atoi(input2);
    
    //printf("w=%d, h=%d\n", w, h);
    
    int area = w * h;
    int length = w * 2 + h * 2;
    
    printf("%d %d\n", area, length);
   
    
   
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:21:20: error: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
   21 |     char *input1 = strtok(str, " ");
      |                    ^~~~~~
main.c:21:20: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
main.c:22:20: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   22 |     char *input2 = strtok(NULL, " ");
      |                    ^~~~~~
main.c:23:13: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   23 |     int w = atoi(input1);
      |             ^~~~
Language: C

int main(int argc, const char * argv[]) {
   
    //int w, h;
    
    char c, str[100000];
    int i = 0;

    for( i = 0; i < 100; ++i){
        scanf("%c", &c);
        if( c == '\n'){
            str[i] = '\0';
            break;
        }
        else {
            str[i] = c;
        }
    }

    char *input1 = strtok(str, " ");
    char *input2 = strtok(NULL, " ");
    int w = atoi(input1);
    int h = atoi(input2);
    
    //printf("w=%d, h=%d\n", w, h);
    
    int area = w * h;
    int length = w * 2 + h * 2;
    
    printf("%d %d\n", area, length);
   
    
   
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |         scanf("%c", &c);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int argc, const char * argv[]) {
main.c:9:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    9 |         scanf("%c", &c);
      |         ^~~~~
main.c:9:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:19:20: error: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
   19 |     char *input1 = strtok(str, " ");
      |                    ^~~~~~
main.c:19:20: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
main.c:20:27: error: 'NULL' undeclared (first use in this function)
   20 |     char *input2 = strtok(NULL, " ");
      |                           ^~~~
main.c:1:1: note: 'NULL' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
  +++ |+#include <stddef.h>
    1 | int main(int argc, const char * argv[]) {
main.c:20:27: note: each undeclared identifier is reported only once for each function it appears in
   20 |     char *input2 = strtok(NULL, " ");
      |                           ^~~~
main.c:21:13: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   21 |     int w = atoi(input1);
      |             ^~~~
main.c:29:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   29 |     printf("%d %d\n", area, length);
      |     ^~~~~~
main.c:29:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:29:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:29:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>

int main(){

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:11:10: error: stray '#' in program
   11 |  return 0#i;
      |          ^
main.c:11:10: error: expected ';' before 'i'
   11 |  return 0#i;
      |          ^~
      |          ;
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:16: error: 'd' undeclared (first use in this function)
    6 | printf("%d ",a*d);
      |                ^
main.c:6: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,s;
scanf("%d %d",&a &s);
printf("%d",a*s);
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 &s);
      |               ~~ ^
      |               |
      |               int *
Language: C

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

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

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

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

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

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

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

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

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:22: 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 %d",&a&b);

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:17: error: invalid operands to binary & (have 'int *' and 'int')
    7 | 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,a*2+b*2);

return 0;
}

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:13: error: expected ')' before 'a'
    5 | scanf("%d%d"a,b);
      |      ~      ^
      |             )
main.c:6:16: error: expected ')' before 'a'
    6 | printf("%d%d\n"a*b,a*2+b*2);
      |       ~        ^
      |                )
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:7:16: error: invalid operands to binary & (have 'int *' and 'int')
    7 | 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,a*2+b*2);

return 0;
}

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

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

return 0;
}

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

#include<stdio.h>

int main(){

int a,b;

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

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

return 0;
}

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

#include<stdio.h>

int main(){

int a,b;

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: invalid operands to binary & (have 'int *' and 'int')
    7 | scanf("%d%d",&a&b);
      |              ~~^
      |              |
      |              int *
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:9:22: error: called object is not a function or function pointer
    9 | 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,2*(a+b));

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: invalid operands to binary & (have 'int *' and 'int')
    7 | 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,a*2+b*2);

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()
{
int a,b;
scanf("%d,%d"&a&b);
printf("%d,%d\n",a*b,a*2+b*2);

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(){

int a,b;

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scanf_s("%d%d",&a&b);
      | ^~~~~~~
      | scanf
main.c:7:18: error: invalid operands to binary & (have 'int *' and 'int')
    7 | scanf_s("%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,a*2+b*2);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:17: 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+b));

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:17: error: invalid operands to binary & (have 'int *' and 'int')
    7 | 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,(a*2)(+b*2));

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:17: error: invalid operands to binary & (have 'int *' and 'int')
    5 | scanf("%d,%d",&a&b);
      |               ~~^
      |               |
      |               int *
main.c:6:24: error: called object is not a function or function pointer
    6 | printf("%d,%d\n",a*b,(a*2)(+b*2));
      |                      ~~^~~
Language: C

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

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

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

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

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:17: error: invalid operands to binary & (have 'int *' and 'int')
    6 | scanf("%d,%d",&a&b);
      |               ~~^
      |               |
      |               int *
main.c:8:26: error: called object is not a function or function pointer
    8 | printf("%d,%d\n",(a*b),(a*2)(+b*2));
      |                        ~~^~~
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:3: error: 'a' undeclared (first use in this function)
    5 | x=a;
      |   ^
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: 'b' undeclared (first use in this function)
    6 | y=b;
      |   ^
main.c:9:14: error: stray '\' in program
    9 | printf("v=%d"\n,v);
      |              ^
main.c:9:14: error: expected ')' before 'n'
    9 | printf("v=%d"\n,v);
      |       ~      ^~
      |              )
main.c:10:14: error: stray '\' in program
   10 | printf("n=%d"\n,n);
      |              ^
main.c:10:14: error: expected ')' before 'n'
   10 | printf("n=%d"\n,n);
      |       ~      ^~
      |              )
Language: C

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

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:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 | int a b y;
      |       ^
main.c:3:7: error: unknown type name 'b'
main.c:5:16: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                ^
main.c:5:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:19: error: 'b' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                   ^
main.c:6:17: error: expected ')' before 'a'
    6 | printf("%d %d\n" a*b,2*a+2*b);
      |       ~         ^~
      |                 )
main.c:8:9: error: expected ';' before '}' token
    8 | return 0
      |         ^
      |         ;
    9 | }
      | ~
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:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 | int a b;
      |       ^
main.c:3:7: error: 'b' undeclared (first use in this function)
main.c:3:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                ^
main.c:6:17: error: expected ')' before 'a'
    6 | printf("%d %d\n" a*b,2*a+2*b);
      |       ~         ^~
      |                 )
main.c:8:9: error: expected ';' before '}' token
    8 | return 0
      |         ^
      |         ;
    9 | }
      | ~
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:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 | int a b;
      |       ^
main.c:3:7: error: 'b' undeclared (first use in this function)
main.c:3:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                ^
main.c:6:17: error: expected ')' before 'a'
    6 | printf("%d %d\n" a*b 2*a+2*b);
      |       ~         ^~
      |                 )
main.c:8:9: error: expected ';' before '}' token
    8 | return 0
      |         ^
      |         ;
    9 | }
      | ~
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:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 | int a b;
      |       ^
main.c:3:7: error: 'b' undeclared (first use in this function)
main.c:3:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                ^
main.c:8:9: error: expected ';' before '}' token
    8 | return 0
      |         ^
      |         ;
    9 | }
      | ~