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


#include <stdio.h>

int main????????????

int a,b,x,y;

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

x=a*b;

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

printf???%d %d\n,x,y???;

return 0;

???

Compiler output:
main.c:4:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
    4 | int main????????????
      |         ^
main.c:8:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
    8 | scanf???"%d",&a???;
      |      ^
main.c:9:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
    9 | scanf???"%d",&b???;
      |      ^
main.c:11:1: warning: data definition has no type or storage class
   11 | x=a*b;
      | ^
main.c:11:1: error: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
main.c:11:3: error: 'a' undeclared here (not in a function)
   11 | x=a*b;
      |   ^
main.c:11:5: error: 'b' undeclared here (not in a function)
   11 | x=a*b;
      |     ^
main.c:13:1: warning: data definition has no type or storage class
   13 | y=2*???a+b???;
      | ^
main.c:13:1: error: type defaults to 'int' in declaration of 'y' [-Wimplicit-int]
main.c:13:5: error: expected expression before '?' token
   13 | y=2*???a+b???;
      |     ^
main.c:15:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '?' token
   15 | printf???%d %d\n,x,y???;
      |       ^
main.c:15:15: error: stray '\' in program
   15 | printf???%d %d\n,x,y???;
      |               ^
main.c:17:1: error: expected identifier or '(' before 'return'
   17 | return 0;
      | ^~~~~~
main.c:19:1: error: expected identifier or '(' before '?' token
   19 | ???
      | ^
Language: C

#include<stdio.h>

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

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

#include <stdio.h>

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

Compiler output:
main.c:5:10: error: expected declaration specifiers or '...' before string constant
    5 |     scan("%d",&a);
      |          ^~~~
main.c:5:15: error: expected declaration specifiers or '...' before '&' token
    5 |     scan("%d",&a);
      |               ^
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |     scan("%d",&b);
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |     scan("%d",&b);
      |               ^
main.c:7:12: error: expected declaration specifiers or '...' before string constant
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |            ^~~~~~~~~
main.c:7:22: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |                      ^
main.c:7:28: error: expected declaration specifiers or '...' before '(' token
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |                            ^
main.c:8:5: error: expected identifier or '(' before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:9:1: error: expected identifier or '(' before '}' token
    9 | }
      | ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c:5:10: error: expected declaration specifiers or '...' before string constant
    5 |     scan("%d",&a);
      |          ^~~~
main.c:5:15: error: expected declaration specifiers or '...' before '&' token
    5 |     scan("%d",&a);
      |               ^
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |     scan("%d",&b);
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |     scan("%d",&b);
      |               ^
main.c:7:12: error: expected declaration specifiers or '...' before string constant
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |            ^~~~~~~~~
main.c:7:22: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                      ^
main.c:7:28: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                            ^
main.c:8:5: error: expected identifier or '(' before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:9:1: error: expected identifier or '(' before '}' token
    9 | }
      | ^
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:5:11: error: expected declaration specifiers or '...' before string constant
    5 |     scanf("%d",&a);
      |           ^~~~
main.c:5:16: error: expected declaration specifiers or '...' before '&' token
    5 |     scanf("%d",&a);
      |                ^
main.c:6:11: error: expected declaration specifiers or '...' before string constant
    6 |     scanf("%d",&b);
      |           ^~~~
main.c:6:16: error: expected declaration specifiers or '...' before '&' token
    6 |     scanf("%d",&b);
      |                ^
main.c:7:12: error: expected declaration specifiers or '...' before string constant
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |            ^~~~~~~~~
main.c:7:22: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |                      ^
main.c:7:28: error: expected declaration specifiers or '...' before '(' token
    7 |     printf("%d %d\n",a * b,(a + b) * 2);
      |                            ^
main.c:8:5: error: expected identifier or '(' before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:9:1: error: expected identifier or '(' before '}' token
    9 | }
      | ^
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:5:11: error: expected declaration specifiers or '...' before string constant
    5 |     scanf("%d",&a);
      |           ^~~~
main.c:5:16: error: expected declaration specifiers or '...' before '&' token
    5 |     scanf("%d",&a);
      |                ^
main.c:6:11: error: expected declaration specifiers or '...' before string constant
    6 |     scanf("%d",&b);
      |           ^~~~
main.c:6:16: error: expected declaration specifiers or '...' before '&' token
    6 |     scanf("%d",&b);
      |                ^
main.c:7:12: error: expected declaration specifiers or '...' before string constant
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |            ^~~~~~~~~
main.c:7:22: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                      ^
main.c:7:28: error: expected declaration specifiers or '...' before 'a'
    7 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                            ^
main.c:8:5: error: expected identifier or '(' before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:9:1: error: expected identifier or '(' before '}' token
    9 | }
      | ^
Language: C

#include <stdio.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:5:11: error: expected declaration specifiers or '...' before string constant
    5 |     scanf("%d %d",&a,&b);
      |           ^~~~~~~
main.c:5:19: error: expected declaration specifiers or '...' before '&' token
    5 |     scanf("%d %d",&a,&b);
      |                   ^
main.c:5:22: error: expected declaration specifiers or '...' before '&' token
    5 |     scanf("%d %d",&a,&b);
      |                      ^
main.c:6:12: error: expected declaration specifiers or '...' before string constant
    6 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |            ^~~~~~~~~
main.c:6:22: error: expected declaration specifiers or '...' before 'a'
    6 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                      ^
main.c:6:28: error: expected declaration specifiers or '...' before 'a'
    6 |     printf("%d %d\n",a * b,a * 2 + b * 2);
      |                            ^
main.c:7:5: error: expected identifier or '(' before 'return'
    7 |     return 0;
      |     ^~~~~~
main.c:8:1: error: expected identifier or '(' before '}' token
    8 | }
      | ^
Language: C

#include <stdio.h>

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

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

#include<iostream>
using namespace std;

int a;
int b;
int main()
{
cin >> a >> b;
cout >> a * b >> 2*a+2*b)>>endl;
}

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

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

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

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

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

#include <stdio.h>

int main(void)
{
	int a;
	int b;
	int menseki;
	int syuu;

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


}

Compiler output:
main.c: In function 'main':
main.c:15:18: error: expected ';' before '}' token
   15 |         return(0)
      |                  ^
      |                  ;
......
   18 | }
      | ~
Language: C

#include <stdio.h>

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

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

#include <stdio.h>


int main(void) {

	int a;

	int b;

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

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

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:12:29: error: expected ')' before numeric constant
   12 |         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);
 menseki=a*b;
 nagasa=2a+2b;
 printf("%d %d\n",menseki,nagasa);
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:2: error: 'menseki' undeclared (first use in this function)
    6 |  menseki=a*b;
      |  ^~~~~~~
main.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:2: error: 'nagasa' undeclared (first use in this function)
    7 |  nagasa=2a+2b;
      |  ^~~~~~
main.c:7:9: error: invalid suffix "a" on integer constant
    7 |  nagasa=2a+2b;
      |         ^~
main.c:7:12: error: invalid suffix "b" on integer constant
    7 |  nagasa=2a+2b;
      |            ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:16: error: expected identifier before '&' token
    5 |  scanf("%d %d".&a,&b);
      |                ^
main.c:7:9: error: invalid suffix "a" on integer constant
    7 |  nagasa=2a+2b;
      |         ^~
main.c:7:12: error: invalid suffix "b" on integer constant
    7 |  nagasa=2a+2b;
      |            ^~
Language: C

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

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

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

Compiler output:
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    2 | int main <void>{
      |          ^
Language: C

#include <stdio.h>

int main(void){

	int a = 0;
	int b = 0;

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

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

}

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

#include <stdio.h>
int main(int argc, const char *argv[]){
    int a,b;
    int x y;
    scanf("%d %d", &a,&b);
    x = a * b;
    y = 2*(a+b);
    printf("%d %d\n",x,y);
    return 0;
}

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

#include <stdio.h>
int main(int argc, const char *argv[]){
    int a,b;
    int x y;
    scanf("%d %d", &a,&b);
    x = a * b;
    y = 2*(a+b);
    printf("%d %d\n",x y);
    return 0;
}

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

#include <stdio.h>

int main(void)

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

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

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:12: error: expected expression before '%' token
    9 | scanf("%d",%b);
      |            ^
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 o;
}

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

#include <stdio.h>

int main()
{
    int v;
    int w;
    scanf("%d,%d",&v,&w);
    print("%d",v*w\nv*2+w*2)
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:5: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     print("%d",v*w\nv*2+w*2)
      |     ^~~~~
      |     printf
main.c:8:19: error: stray '\' in program
    8 |     print("%d",v*w\nv*2+w*2)
      |                   ^
main.c:8:19: error: expected ')' before 'nv'
    8 |     print("%d",v*w\nv*2+w*2)
      |          ~        ^~~
      |                   )
main.c:8:29: error: expected ';' before 'return'
    8 |     print("%d",v*w\nv*2+w*2)
      |                             ^
      |                             ;
    9 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>

int main(void)
{
    int v w;
    scanf("%d,%d",&v,&w);
    area = v*w;
    mawari = v*2+w*2;
    printf("&d\n",area mawari);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'w'
    5 |     int v w;
      |           ^
main.c:5:11: error: 'w' undeclared (first use in this function)
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:20: error: 'v' undeclared (first use in this function)
    6 |     scanf("%d,%d",&v,&w);
      |                    ^
main.c:7:5: error: 'area' undeclared (first use in this function)
    7 |     area = v*w;
      |     ^~~~
main.c:8:5: error: 'mawari' undeclared (first use in this function)
    8 |     mawari = v*2+w*2;
      |     ^~~~~~
main.c:9:23: error: expected ')' before 'mawari'
    9 |     printf("&d\n",area mawari);
      |           ~           ^~~~~~~
      |                       )
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:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    5 |     int a b;
      |           ^
main.c:5:11: error: 'b' undeclared (first use in this function)
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:20: error: 'a' undeclared (first use in this function)
    6 |     scanf("%d %d",&a &b);
      |                    ^
Language: C

#include<stdio.h>

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    5 |     int a b;
      |           ^
main.c:5:11: error: 'b' undeclared (first use in this function)
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:20: error: 'a' undeclared (first use in this function)
    6 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:7:23: error: expected ')' before 'a'
    7 |     printf("%d %d",a*b a*2+b*2);
      |           ~           ^~
      |                       )
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: In function 'main':
main.c:5:1: error: expected expression before '?' token
    5 | ????????int a,b;
      | ^
main.c:6:1: error: expected expression before '?' token
    6 | ????????scanf("%d %d",&a,&b);
      | ^
main.c:6:24: error: 'a' undeclared (first use in this function)
    6 | ????????scanf("%d %d",&a,&b);
      |                        ^
main.c:6:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:27: error: 'b' undeclared (first use in this function)
    6 | ????????scanf("%d %d",&a,&b);
      |                           ^
main.c:7:1: error: expected expression before '?' token
    7 | ????????printf("%d %d",a*b,a*2+b*2);
      | ^
main.c:7:36: error: expected ':' before ';' token
    7 | ????????printf("%d %d",a*b,a*2+b*2);
      |                                    ^
      |                                    :
main.c:8:1: error: expected expression before '?' token
    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:7:1: error: expected declaration or statement at end of input
    7 | return 0;
      | ^~~~~~
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: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\n",a*b,2*(a+b));
  return 0;
}

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

#include<stdio.h>
int main()
{ 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:4:16: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   scanf("%d %d"&a,&b);
      |         ~~~~~~~^
      |         |
      |         char *
main.c:5:22: error: invalid suffix "a" on integer constant
    5 | printf("%d %d\n",a*b,2a+2b);
      |                      ^~
main.c:5:25: error: invalid suffix "b" on integer constant
    5 | printf("%d %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,2*a+2*b);
return 0;
}
  

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

#include<stdio.h>

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

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

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

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

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

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:22: error: expected ')' before numeric constant
    6 |     printf("%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));
    
}

Compiler output:
main.c: In function 'main':
main.c:5:5: error: expected declaration specifiers before 'scanf'
    5 |     scanf("%d %d",&a,&b);
      |     ^~~~~
main.c:6:5: error: expected declaration specifiers before 'printf'
    6 |     printf("%d %d\n",a*b,2*(a+b));
      |     ^~~~~~
main.c:8:1: error: expected declaration specifiers before '}' token
    8 | }
      | ^
main.c:4:11: error: declaration for parameter 'b' but no such parameter
    4 |     int a,b;
      |           ^
main.c:4:9: error: declaration for parameter 'a' but no such parameter
    4 |     int a,b;
      |         ^
main.c:9: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main() {
    int x,ans;
    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:20: error: 'a' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:23: error: 'b' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:6:26: error: expected ')' before numeric constant
    6 |     printf("%d %d\n", a*b 2*a+2*b);
      |           ~              ^~
      |                          )
Language: C

#include <stdio.h>

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

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

#include <stdio.h>

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

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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:20: error: 'a' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:23: error: 'b' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,&b);
      |                       ^
main.c:6:28: error: expected ')' before numeric constant
    6 |     printf("%d\n %d\n", a*b 2*a+2*b);
      |           ~                ^~
      |                            )
Language: C

#include <stdio.h>

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

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

#include<stdio.h>

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

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

#include<stdio.h>

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:20: error: 'a' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,b);
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:22: error: 'b' undeclared (first use in this function)
    5 |     scanf("%d %d",&a,b);
      |                      ^
main.c:6:13: error: expected ';' before 'ans2'
    6 |     ans1=a*b ans2=2*a+2*b;
      |             ^~~~~
      |             ;
main.c:7:26: error: expected ')' before 'ans2'
    7 |     printf("%d %d\n",ans1 ans2);
      |           ~              ^~~~~
      |                          )
Language: C

#include<stdio.h>

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

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

#include<stdio.h>

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

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

/* ?????? a cm ?????? b cm ???????????¢?????¢?????¨??¨?????????????±???????????????°?????????????????????????????????
Input

a ??¨ b ????????????????????§????????????????????????????????????
Output

??¢?????¨??¨?????????????????????????????§????????£????????????????????????????????????*/

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
int int main(int argc, char const *argv[]) {

  int a,b;
  int ans;

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

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

Compiler output:
main.c:2:5: error: two or more data types in declaration specifiers
    2 | int int main(int argc, char const *argv[]) {
      |     ^~~
Language: C

#include<stdio.h>
int main(int argc, char const *argv[]) {

  int a,b;
  int ans,ans2;

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

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

  return 0;
}

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

#include<stdio.h>
int main(int argc, char const *argv[]) {

  int a,b;
  int area,length;

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

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

  return 0;
}

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


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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    5 | int a*b = c;
      |      ^
main.c:5:6: error: invalid type argument of unary '*' (have 'int')
    5 | int a*b = c;
      |      ^~
main.c:5:11: error: 'c' undeclared (first use in this function)
    5 | int a*b = c;
      |           ^
main.c:5:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: expected identifier or '(' before numeric constant
    6 | int 2(a+b) =d;
      |     ^
main.c:7:18: error: 'd' undeclared (first use in this function)
    7 | printf("%d %d",c,d);
      |                  ^
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:7:1: error: expected expression before '}' token
    7 | }
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:5: error: expected identifier or '(' before numeric constant
    3 | int 0<a,b<101;
      |     ^
main.c:4:16: error: 'a' undeclared (first use in this function)
    4 | printf("%d %d",a*b,2*(a+b));
      |                ^
main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:18: error: 'b' undeclared (first use in this function)
    4 | printf("%d %d",a*b,2*(a+b));
      |                  ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:3:5: error: expected identifier or '(' before numeric constant
    3 | int 1<=a,b<=100;
      |     ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected ')' before 'b'
    5 | scanf("%d",&a b);
      |      ~       ^~
      |              )
main.c:7:16: error: invalid suffix "a" on integer constant
    7 | printf("%d\n", 2a * 2b );
      |                ^~
main.c:7:21: error: invalid suffix "b" on integer constant
    7 | printf("%d\n", 2a * 2b );
      |                     ^~
main.c:7:1: error: expected declaration or statement at end of input
    7 | printf("%d\n", 2a * 2b );
      | ^~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected ')' before 'b'
    5 | scanf("%d",&a b);
      |      ~       ^~
      |              )
main.c:7:16: error: invalid suffix "a" on integer constant
    7 | printf("%d\n", 2a * 2b );
      |                ^~
main.c:7:21: error: invalid suffix "b" on integer constant
    7 | printf("%d\n", 2a * 2b );
      |                     ^~
Language: C

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

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:4:5: error: expected identifier or '(' before numeric constant
    4 | int 1<=a,b<=100;
      |     ^
main.c:5:18: error: 'a' undeclared (first use in this function)
    5 | printf("%d %d\n",a*b,2*(a+b));
      |                  ^
main.c:5:18: 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 | printf("%d %d\n",a*b,2*(a+b));
      |                    ^
Language: C

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

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

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

}

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

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:5: error: expected identifier or '(' before numeric constant
    5 | int 0<a,b<101;
      |     ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:19: error: expected ')' before numeric constant
    5 | printf("%d", a * b 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",2 * (a + b ));
}

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

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

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

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

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

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

}

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

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

}

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

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

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

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

}

Compiler output:
main.c: In function 'main':
main.c:6:21: error: expected ';' before 'return'
    6 | printf("%d", a * b )
      |                     ^
      |                     ;
    7 | return 0;
      | ~~~~~~
Language: C

#include<stdio.h>
int main(void){
int a,b =1<=a,b<=100;
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:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    3 | int a,b =1<=a,b<=100;
      |                ^~
Language: C

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

}

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

Compiler output:
main.c: In function 'main':
main.c:5:18: error: invalid operands to binary & (have 'int *' and 'int')
    5 | scanf("%d %d",&a &b;
      |               ~~ ^
      |               |
      |               int *
main.c:5:20: error: expected ')' before ';' token
    5 | scanf("%d %d",&a &b;
      |      ~             ^
      |                    )
main.c:8:1: error: expected declaration or statement at end of input
    8 | }
      | ^
Language: C


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

Compiler output:
main.c: In function 'main':
main.c:5:18: error: invalid operands to binary & (have 'int *' and 'int')
    5 | scanf("%d %d",&a &b;
      |               ~~ ^
      |               |
      |               int *
main.c:5:20: error: expected ')' before ';' token
    5 | scanf("%d %d",&a &b;
      |      ~             ^
      |                    )
main.c:8:1: error: expected declaration or statement at end of input
    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:6:18: error: expected ')' before 'a'
    6 |  printf("%d %d\n"a*b,2*(a+b));
      |        ~         ^
      |                  )
Language: C


#include <iostream>
using namespace std;

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

   
   

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

#include <iostream>
using namespace std;
int main(){
int a,b;
scanf("%d %d",&a,&b);
print("%d %d\n",a*b,2*(a+b));
return 0;
}
   

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

#include <iostream>
using namespace std;
int main()
{
int a;
int b;
cin >>a>>b;
cout <<a*b<<2*(a+b)<< endl;
return 0;
}
   
   

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

#include <iostream>
using namespace std;
int main()
{
int a;
int b;
cin >> a >> b;
cout << a*b << 2*(a+b)<< endl;
return 0;
}
   
   

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

#include <iostream>
using namespace std;
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:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

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

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

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:45: error: stray '\' in program
    6 | if(a>=1 && b<=100)printf("%d %d",a*b,a*2+b*2\n);
      |                                             ^
main.c:6:45: error: expected ')' before 'n'
    6 | if(a>=1 && b<=100)printf("%d %d",a*b,a*2+b*2\n);
      |                         ~                   ^~
      |                                             )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:45: error: stray '\' in program
    6 | if(a>=1 && b<=100)printf("%d %d",a*b,a*2+b*2\n);
      |                                             ^
main.c:6:45: error: expected ')' before 'n'
    6 | if(a>=1 && b<=100)printf("%d %d",a*b,a*2+b*2\n);
      |                         ~                   ^~
      |                                             )