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

#include <stdio.h>

int main(){

   scanf("%d %d", &a, &b); /* 変数a, bに２つの整数をこの順番で入力する */
   
   printf("%d", a*b 2*(a+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); /* 変数a, bに２つの整数をこの順番で入力する */
      |                    ^
main.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:24: error: 'b' undeclared (first use in this function)
    5 |    scanf("%d %d", &a, &b); /* 変数a, bに２つの整数をこの順番で入力する */
      |                        ^
main.c:7:20: error: expected ')' before numeric constant
    7 |    printf("%d", a*b 2*(a+b));
      |          ~         ^~
      |                    )
Language: C

#include <stdio.h>

int main(){

   scanf("%d %d", &a, &b); 
   
   printf("%d", a*b 2*(a+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:24: error: 'b' undeclared (first use in this function)
    5 |    scanf("%d %d", &a, &b);
      |                        ^
main.c:7:20: error: expected ')' before numeric constant
    7 |    printf("%d", a*b 2*(a+b));
      |          ~         ^~
      |                    )
Language: C

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

    scanf("%d %d", &a, &b); /* 変数a, bに２つの制すをこの順番で入力する */

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

    return 0;
}


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

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

    scanf("%d %d", &a, &b); /* 変数a, bに２つの制すをこの順番で入力する */

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

    return 0;
}


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

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

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

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

    return 0;
}


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

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

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

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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:23: error: expected ')' before numeric constant
    7 |     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\n", a*b 2*a+2*b);

    return 0;
}


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

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

    int a, b;

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

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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:26: error: expected ')' before numeric constant
    8 |     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+2*b);

    return 0;
}


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

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


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


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

#include<stdio.h>

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

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

  return 0;
}
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                   


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

#include<stdio.h>

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

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

  return 0;
}
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                   


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

#include<stdio.h>

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

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

  return 0;
}
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                                              
~                   


Compiler output:
main.c: In function 'main':
main.c:7:16: error: expected ';' before 'printf'
    7 | scanf("%d", &b)
      |                ^
      |                ;
    8 | 
    9 |   printf("%d %d\n", a * b, (a+b)*2);
      |   ~~~~~~        
main.c: At top level:
main.c:13:1: error: expected identifier or '(' before '~' token
   13 | ~
      | ^
Language: C

#include<stdio.h>

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

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


Compiler output:
main.c: In function 'main':
main.c:8:16: error: expected ';' before 'printf'
    8 | scanf("%d", &b)
      |                ^
      |                ;
    9 | 
   10 |   printf("%d %d\n", a * b, (a+b)*2);
      |   ~~~~~~        
main.c: At top level:
main.c:13:1: error: expected identifier or '(' before '~' token
   13 | ~
      | ^
Language: C

#include<stdio.h>

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

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


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

#include<stdio.h>

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

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


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

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

    return 0;
}


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

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


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

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


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

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



Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d %d",&a,&b);
      |       ^~~~~~~
main.c:4:15: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d %d",&a,&b);
      |               ^
main.c:4:18: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d %d",&a,&b);
      |                  ^
main.c:5:8: error: expected declaration specifiers or '...' before string constant
    5 | printf("&d %d",a*b,2*(a+b));
      |        ^~~~~~~
main.c:5:16: error: expected declaration specifiers or '...' before 'a'
    5 | printf("&d %d",a*b,2*(a+b));
      |                ^
main.c:5:20: error: expected declaration specifiers or '...' before numeric constant
    5 | printf("&d %d",a*b,2*(a+b));
      |                    ^
main.c:6:1: error: expected identifier or '(' before 'return'
    6 | return 0;
      | ^~~~~~
main.c:7:1: error: expected identifier or '(' before '}' token
    7 | }
      | ^
Language: C

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



Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d %d\n",&a,&b);
      |       ^~~~~~~~~
main.c:4:17: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d %d\n",&a,&b);
      |                 ^
main.c:4:20: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d %d\n",&a,&b);
      |                    ^
main.c:5:8: error: expected declaration specifiers or '...' before string constant
    5 | printf("&d %d\n",a*b,2*(a+b));
      |        ^~~~~~~~~
main.c:5:18: error: expected declaration specifiers or '...' before 'a'
    5 | printf("&d %d\n",a*b,2*(a+b));
      |                  ^
main.c:5:22: error: expected declaration specifiers or '...' before numeric constant
    5 | printf("&d %d\n",a*b,2*(a+b));
      |                      ^
main.c:6:1: error: expected identifier or '(' before 'return'
    6 | return 0;
      | ^~~~~~
main.c:7:1: error: expected identifier or '(' before '}' token
    7 | }
      | ^
Language: C

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



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

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


Compiler output:
main.c: In function 'main':
main.c:8:5: error: redeclaration of 'c' with no linkage
    8 | int c=a*b;
      |     ^
main.c:5:5: note: previous declaration of 'c' with type 'int'
    5 | int c;
      |     ^
main.c:9:5: error: redeclaration of 'd' with no linkage
    9 | int d=2*(a+b);
      |     ^
main.c:6:5: note: previous declaration of 'd' with type 'int'
    6 | int d;
      |     ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:8:5: error: redeclaration of 'c' with no linkage
    8 | int c=a*b;
      |     ^
main.c:5:5: note: previous declaration of 'c' with type 'int'
    5 | int c;
      |     ^
main.c:9:5: error: redeclaration of 'd' with no linkage
    9 | int d=2*(a+b);
      |     ^
main.c:6:5: note: previous declaration of 'd' with type 'int'
    6 | int d;
      |     ^
Language: C

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


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

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


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

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



Compiler output:
main.c: In function 'main':
main.c:5:21: error: 'd' undeclared (first use in this function)
    5 | printf("%d %d\n",(a*d),2*(a*b));
      |                     ^
main.c:5:21: 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*d),2*(a*b));
}



Compiler output:
main.c: In function 'main':
main.c:5:21: error: 'd' undeclared (first use in this function)
    5 | printf("%d %d\n",(a*d),2*(a*b));
      |                     ^
main.c:5:21: 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*d),2*(a*b));
}



Compiler output:
main.c: In function 'main':
main.c:6:21: error: 'd' undeclared (first use in this function)
    6 | printf("%d %d\n",(a*d),2*(a*b));
      |                     ^
main.c:6:21: 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*d),2*(a*b));
}



Compiler output:
main.c: In function 'main':
main.c:6:21: error: 'd' undeclared (first use in this function)
    6 | printf("%d %d\n",(a*d),2*(a*b));
      |                     ^
main.c:6:21: 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*d),2*(a*b));
return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:21: error: 'd' undeclared (first use in this function)
    6 | printf("%d %d\n",(a*d),2*(a*b));
      |                     ^
main.c:6:21: 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));
}


Compiler output:
main.c: In function 'main':
main.c:4:7: warning: missing terminating " character
    4 | scanf("%d%d,&a,&b);
      |       ^
main.c:4:7: error: missing terminating " character
    4 | scanf("%d%d,&a,&b);
      |       ^~~~~~~~~~~~~
main.c:5:32: error: expected ')' before ';' token
    5 | printf("%d %d\n",(a*b),2*(a+b));
      |                                ^
      |                                )
main.c:4:6: note: to match this '('
    4 | scanf("%d%d,&a,&b);
      |      ^
main.c:5:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    5 | printf("%d %d\n",(a*b),2*(a+b));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:5:33: error: expected ';' before '}' token
    5 | printf("%d %d\n",(a*b),2*(a+b));
      |                                 ^
      |                                 ;
    6 | }
      | ~
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:7: warning: missing terminating " character
    5 | scanf("%d%d,&a,&b);
      |       ^
main.c:5:7: error: missing terminating " character
    5 | scanf("%d%d,&a,&b);
      |       ^~~~~~~~~~~~~
main.c:6:32: error: expected ')' before ';' token
    6 | printf("%d %d\n",(a*b),2*(a+b));
      |                                ^
      |                                )
main.c:5:6: note: to match this '('
    5 | scanf("%d%d,&a,&b);
      |      ^
main.c:6:1: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    6 | printf("%d %d\n",(a*b),2*(a+b));
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | |
      | int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:6:33: error: expected ';' before '}' token
    6 | printf("%d %d\n",(a*b),2*(a+b));
      |                                 ^
      |                                 ;
    7 | }
      | ~
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:10:22: error: invalid suffix "a" on integer constant
   10 | printf("%d,%d/n",a*b,2a+2b);
      |                      ^~
main.c:10:25: error: invalid suffix "b" on integer constant
   10 | printf("%d,%d/n",a*b,2a+2b);
      |                         ^~
Language: C

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


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

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


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

#include <stdio.h>

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

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

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

   a=3;
   b=5;

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:8:30: error: 'ab' undeclared (first use in this function); did you mean 'b'?
    8 |   printf("ab=%d 2(a+b)=%d\n",ab, 2(a+b));
      |                              ^~
      |                              b
main.c:8:30: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:34: error: called object is not a function or function pointer
    8 |   printf("ab=%d 2(a+b)=%d\n",ab, 2(a+b));
      |                                  ^
Language: C

#include<stdio.h>

int main( ) {
	int x;
	int y;
	int answer;
	int answer2;

	scanf_s("%d %d",& x, y);
	answer = x * y;
	answer2 = x * 2 + y * 2;
	printf("%d %d",answer ,answer2);

	return 0;
}

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

#include <stdio.h>

int main(void)
{   int a;
    int 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:7:12: warning: missing terminating " character
    7 |     printf("%d\n %d\n, a*b , 2*a+2*b);
      |            ^
main.c:7:12: error: missing terminating " character
    7 |     printf("%d\n %d\n, a*b , 2*a+2*b);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:5: error: expected expression before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:8:14: error: expected ';' before '}' token
    8 |     return 0;
      |              ^
      |              ;
    9 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{   int a;
    int 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:7:12: warning: missing terminating " character
    7 |     printf("%d\n %d\n, a*b , 2*a+2*b);
      |            ^
main.c:7:12: error: missing terminating " character
    7 |     printf("%d\n %d\n, a*b , 2*a+2*b);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:5: error: expected expression before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:8:14: error: expected ';' before '}' token
    8 |     return 0;
      |              ^
      |              ;
    9 | }
      | ~
Language: C

#include <stdio.h>
 
int main(void)
{   int a;
    int 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:7:12: warning: missing terminating " character
    7 |     printf("%d\n %d\n, a*b, 2*a+2*b);
      |            ^
main.c:7:12: error: missing terminating " character
    7 |     printf("%d\n %d\n, a*b, 2*a+2*b);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:5: error: expected expression before 'return'
    8 |     return 0;
      |     ^~~~~~
main.c:8:14: error: expected ';' before '}' token
    8 |     return 0;
      |              ^
      |              ;
    9 | }
      | ~
Language: C

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

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

#include <stdio.h>
 
int main(void)
{   int a;
    int 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:8:12: warning: missing terminating " character
    8 |     printf("%d\n %d\n, a*b, 2*a+2*b);
      |            ^
main.c:8:12: error: missing terminating " character
    8 |     printf("%d\n %d\n, a*b, 2*a+2*b);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:10:5: error: expected expression before 'return'
   10 |     return 0;
      |     ^~~~~~
main.c:10:14: error: expected ';' before '}' token
   10 |     return 0;
      |              ^
      |              ;
   11 | }
      | ~
Language: C

#include <stdio.h>
  
int main(void)
{   int a;
    int 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:8:28: error: expected expression before '?' token
    8 |     printf("%d\n %d\n",a*b???,2*a+2*b);
      |                            ^
Language: C

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

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

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

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

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

retuen 0;
}

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

#include<stdio.h>

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

    return 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	return 0;
}

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

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

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

	a=a*b
	b=a*2+b*2;

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:14: error: expected ';' before 'b'
    8 |         a=a*b
      |              ^
      |              ;
    9 |         b=a*2+b*2;
      |         ~
Language: C

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

return 0;
}

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

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

return 0;
}

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

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

return 0;
}

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

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

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

return 0;
}

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

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

printf("??蔵???%d",a*b);
printf("??即?????????%d",a+a+b+b);

return 0;
}

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

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

  return 0;
}

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

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

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

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

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

return 0;

}

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

#include <stdio.h>

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

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

#include <stdio.h>

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

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

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

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

area    =  x * y;
circuit = (x + y) * 2;

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:20: error: '$y' undeclared (first use in this function); did you mean 'y'?
    6 | scanf("%d %d", &x, $y);
      |                    ^~
      |                    y
main.c:6:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

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

    return 0;
}

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

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

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

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

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

include<stdio.h>
int main(void)

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

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

include <stdio.h>

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

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

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

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

include<stdio.h>
int main(void)

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

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

:include <stdio.h>

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

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

Compiler output:
main.c:1:1: error: expected identifier or '(' before ':' token
    1 | :include <stdio.h>
      | ^
Language: C

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

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d %d",&x,&y);
      |       ^~~~~~~
main.c:3:15: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&x,&y);
      |               ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&x,&y);
      |                  ^
main.c:4:1: warning: data definition has no type or storage class
    4 | s=x*y;
      | ^
main.c:4:1: error: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
main.c:4:3: error: initializer element is not constant
    4 | s=x*y;
      |   ^
main.c:5:1: warning: data definition has no type or storage class
    5 | e=x*2+y*2;
      | ^
main.c:5:1: error: type defaults to 'int' in declaration of 'e' [-Wimplicit-int]
main.c:5:3: error: initializer element is not constant
    5 | e=x*2+y*2;
      |   ^
main.c:6:8: error: expected declaration specifiers or '...' before string constant
    6 | printf("%d %d\n",s,e);
      |        ^~~~~~~~~
main.c:6:18: error: expected declaration specifiers or '...' before 's'
    6 | printf("%d %d\n",s,e);
      |                  ^
main.c:6:20: error: expected declaration specifiers or '...' before 'e'
    6 | printf("%d %d\n",s,e);
      |                    ^
main.c:7:1: 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 %d", &a, &b);
	
	printf("%d %d\n", h * w, a * 2 + b * 2);
	
	return 0;
}

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

#include <stdio.h>

int main(void)
{

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

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

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

 scanf("%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:4:14: error: expected identifier or '(' before ';' token
    4 |  int a,b,c,d,;
      |              ^
Language: C

#include <stdio.h>

int main(void)
{
int x,y;

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


return 0;
}

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

import java.io.*;
public class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		 BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		 String input = in.readLine();
		 String numbers[] = input.split(" ");
		 int a = Integer.parseInt(numbers[0]);
		 int b = Integer.parseInt(numbers[1]);
		 int c = Integer.parseInt(numbers[2]);
		 
		 if(a < b && b < c){
			 System.out.println("Yes");
		 }
		 else{
			 System.out.println("No");
		 }

	}

}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.io.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.*;
      |            ^
main.c:2:1: error: unknown type name 'public'
    2 | public class Main {
      | ^~~~~~
main.c:2:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    2 | public class Main {
      |              ^~~~
Language: C

#include<stdio.h>

int main(){
  int x, y;
  scanf("%d "%d", &x, &y);
  int length = 2 * (x + y);
  int area = x * y;
  printf("%d %d", x, y);
}

Compiler output:
main.c: In function 'main':
main.c:5:16: warning: missing terminating " character
    5 |   scanf("%d "%d", &x, &y);
      |                ^
main.c:5:16: error: missing terminating " character
    5 |   scanf("%d "%d", &x, &y);
      |                ^~~~~~~~~~~
main.c:5:15: error: 'd' undeclared (first use in this function)
    5 |   scanf("%d "%d", &x, &y);
      |               ^
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: expected ')' before 'int'
    5 |   scanf("%d "%d", &x, &y);
      |        ~       ^
      |                )
    6 |   int length = 2 * (x + y);
      |   ~~~           
main.c:8:25: error: expected ';' before '}' token
    8 |   printf("%d %d", x, y);
      |                         ^
      |                         ;
    9 | }
      | ~
Language: C

#include <stdio.h>

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

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

#include<stdio.h>
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:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:19: error: expected ')' before 'a'
    5 |   printf("%d %d\n"a*b,a*2+b*2);
      |         ~         ^
      |                   )
Language: C

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

int main( int argc, char *argv[] ){
   int lenght, height;

   if( scanf( "%d %d", &length, &height ) != 2 ){
      exit( 1 );
   }

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

Compiler output:
main.c: In function 'main':
main.c:7:25: error: 'length' undeclared (first use in this function); did you mean 'lenght'?
    7 |    if( scanf( "%d %d", &length, &height ) != 2 ){
      |                         ^~~~~~
      |                         lenght
main.c:7:25: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:20: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d %d",&a &b);
      |                 ~~ ^
      |                 |
      |                 int *
Language: C

#include<stdio.h>

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

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

#include <iostream>

using namespace std;
int main()
{
  int x, y;
  cin >> x >> y;
  cout << x * y << " " << 2 * (x + y) << endl;
}

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 x,y,r,s;
    cin >> x >> y;
    r=2*x+2*y;
    s=x*y
    cout << r << s << endl;
}

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 x,y,r,s;
    cin >> x >> y;
    r=2*x+2*y;
    s=x*y;
    cout << r << s << endl;
}

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 x,y,r,s;
    cin >> x >> y;
    r=2*x+2*y;
    s=x*y;
    cout << r << " " <<  s << endl;
}

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

a, b = map(int, input().split())
print(a * b)

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a, b = map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
    1 | a, b = map(int, input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | a, b = map(int, input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | a, b = map(int, input().split())
      |            ^~~
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print(a * b)
      | ^~~~~