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

#include <stdio.h>

 int main( void )
 {
　int a, b;
　
 　
　scanf( "%d %d", &a,&b );
　
 　if ( a > b ){
　　printf( "%d > %d\n" , a ,b);
　　　}
　else if( a < b ){
　　printf( "%d < %d\n" ,a, b );
　　　}
　else{
　　printf( "&d==&d\n" , a ,b);
　}
　return 0;
 }


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int a, b;
      | ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>
      | ^~~~~~~~
main.c:7:2: error: stray '\343' in program
    7 |  <U+3000>
      |  ^~~~~~~~
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>scanf( "%d %d", &a,&b );
      | ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>
      | ^~~~~~~~
main.c:10:2: error: stray '\343' in program
   10 |  <U+3000>if ( a > b ){
      |  ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d\n" , a ,b);
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d\n" , a ,b);
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:12:5: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>else if( a < b ){
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d\n" ,a, b );
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d\n" ,a, b );
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:5: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>else{
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "&d==&d\n" , a ,b);
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "&d==&d\n" , a ,b);
      |         ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>}
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

#include <stdio.h>

 int main( void )
 {
　int a, b;
　
 　
　scanf( "%d %d", &a,&b );
　
 　if ( a > b ){
　　printf( "%d > %d\n" , a ,b);
　　　}
　else if( a < b ){
　　printf( "%d < %d\n" ,a, b );
　　　}
　else{
　　printf( "%d == %d\n" , a ,b);
　}
　return 0;
 }


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int a, b;
      | ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>
      | ^~~~~~~~
main.c:7:2: error: stray '\343' in program
    7 |  <U+3000>
      |  ^~~~~~~~
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>scanf( "%d %d", &a,&b );
      | ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>
      | ^~~~~~~~
main.c:10:2: error: stray '\343' in program
   10 |  <U+3000>if ( a > b ){
      |  ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d\n" , a ,b);
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d\n" , a ,b);
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:12:5: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>else if( a < b ){
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d\n" ,a, b );
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d\n" ,a, b );
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:5: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>else{
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "%d == %d\n" , a ,b);
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "%d == %d\n" , a ,b);
      |         ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>}
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){
   int a,b;
   scanf("%d %d",&a,&b);
   if(a<b)
    puts("a < b");
   ifelse(a==b)
    puts("a == b");
   else
    puts("a > b");
   return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:4: error: implicit declaration of function 'ifelse' [-Wimplicit-function-declaration]
    7 |    ifelse(a==b)
      |    ^~~~~~
main.c:7:16: error: expected ';' before 'puts'
    7 |    ifelse(a==b)
      |                ^
      |                ;
    8 |     puts("a == b");
      |     ~~~~        
main.c:9:4: error: 'else' without a previous 'if'
    9 |    else
      |    ^~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:2:15: error: expected declaration specifiers before ']' token
    2 | int main(void)]
      |               ^
main.c:19: error: expected '{' at end of input
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:9: error: stray '\343' in program
    6 |     if(a<U+3000><<U+3000>b){
      |         ^~~~~~~~
main.c:6:12: error: stray '\343' in program
    6 |     if(a<U+3000><<U+3000>b){
      |                  ^~~~~~~~
main.c:8:15: error: stray '\343' in program
    8 |     }else if(a<U+3000>><U+3000>b){
      |               ^~~~~~~~
main.c:8:18: error: stray '\343' in program
    8 |     }else if(a<U+3000>><U+3000>b){
      |                        ^~~~~~~~
Language: C

{
int a,b;

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

if(a>b){
printf("%d>%d\n",a,b);
}
else if(a<b){
printf("%d<%d\n",a,b);
}
else if(a==b){
printf("%d==%d\n",a,b);
}
return 0;
}


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

#include<stdio.h>

int main(void)
{
 int a;
 int b;
 scanf("%d,%d",&a,&b);
 if( a > b );
 {
 printf("%d>%d\n"a,b);
 
  if( a < b );
  {
  printf("%d<%d\n"a,b);
  }
   else
   {
   printf("a==b\n"a,b);
   }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:18: error: expected ')' before 'a'
   10 |  printf("%d>%d\n"a,b);
      |        ~         ^
      |                  )
main.c:14:19: error: expected ')' before 'a'
   14 |   printf("%d<%d\n"a,b);
      |         ~         ^
      |                   )
main.c:16:4: error: 'else' without a previous 'if'
   16 |    else
      |    ^~~~
main.c:18:19: error: expected ')' before 'a'
   18 |    printf("a==b\n"a,b);
      |          ~        ^
      |                   )
main.c:21:1: error: expected declaration or statement at end of input
   21 | }
      | ^
Language: C

#include<stdio.h>

int main(void)
{
 int a;
 int b;
 scanf("%d,%d",&a,&b);
 if( a > b )
 {
 printf("%d>%d\n"a,b);
 
  if( a < b )
  {
  printf("%d<%d\n"a,b);
  }
   else
   {
   printf("a==b\n"a,b);
   }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:18: error: expected ')' before 'a'
   10 |  printf("%d>%d\n"a,b);
      |        ~         ^
      |                  )
main.c:14:19: error: expected ')' before 'a'
   14 |   printf("%d<%d\n"a,b);
      |         ~         ^
      |                   )
main.c:18:19: error: expected ')' before 'a'
   18 |    printf("a==b\n"a,b);
      |          ~        ^
      |                   )
main.c:21:1: error: expected declaration or statement at end of input
   21 | }
      | ^
Language: C

#include<stdio.h>

int main(void)
{
 int a;
 int b;
 scanf("%d%d",&a,&b);
 if( a > b )
 {
 printf("a>b\n"a,b);
 }
  else if( a < b )
  {
  printf("a<b\n"a,b);
  
  } else
   {
   printf("a==b\n"a,b);
 }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:16: error: expected ')' before 'a'
   10 |  printf("a>b\n"a,b);
      |        ~       ^
      |                )
main.c:14:17: error: expected ')' before 'a'
   14 |   printf("a<b\n"a,b);
      |         ~       ^
      |                 )
main.c:18:19: error: expected ')' before 'a'
   18 |    printf("a==b\n"a,b);
      |          ~        ^
      |                   )
Language: C

#include<stdio.h>

int main(void)
{
 int a;
 int b;
 scanf("%d%d",&a,&b);
 if( a > b )
 {
 printf("a>b\n"a,b);
 }
  else if( a < b )
  {
  printf("a<b\n"a,b);
  
	} 
	else if(a == b)
	
   {
   printf("a==b\n"a,b);
 }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:16: error: expected ')' before 'a'
   10 |  printf("a>b\n"a,b);
      |        ~       ^
      |                )
main.c:14:17: error: expected ')' before 'a'
   14 |   printf("a<b\n"a,b);
      |         ~       ^
      |                 )
main.c:20:19: error: expected ')' before 'a'
   20 |    printf("a==b\n"a,b);
      |          ~        ^
      |                   )
Language: C

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


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

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


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

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


Compiler output:
main.c: In function 'main':
main.c:4:18: 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);
 if(a==b)printf("a==b");
 if(a>b)printf("a>b");
 if(a<b)printf("a<b");
 printf("\n")
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:14: error: expected ';' before 'return'
    9 |  printf("\n")
      |              ^
      |              ;
   10 |  return 0;
      |  ~~~~~~
Language: C

#include <stdio.h>

 int main( void )
 {
　int a, b;
　
 　
　scanf("%d %d", &a,&b );
　
 　if ( a > b ){
　　printf( "%d > %d \n" , a ,b);
　　　}
　else if( a < b ){
　　printf( "%d < %d \n" ,a, b );
　　　}
　else{
　　printf( "%d == %d\n" , a ,b);
　}
　return 0;
 }


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int a, b;
      | ^~~~~~~~
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>
      | ^~~~~~~~
main.c:7:2: error: stray '\343' in program
    7 |  <U+3000>
      |  ^~~~~~~~
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>scanf("%d %d", &a,&b );
      | ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>
      | ^~~~~~~~
main.c:10:2: error: stray '\343' in program
   10 |  <U+3000>if ( a > b ){
      |  ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d \n" , a ,b);
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "%d > %d \n" , a ,b);
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:12:5: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>else if( a < b ){
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d \n" ,a, b );
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "%d < %d \n" ,a, b );
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:5: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>else{
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "%d == %d\n" , a ,b);
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "%d == %d\n" , a ,b);
      |         ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>}
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

#include <stdio.h>

 int main( void )
 {

　int a, b;
　
　scanf("%d %d", &a,&b );
　
 　if ( a > b ){
　　printf( "a > b \n");
　　　}
　else if( a < b ){
　　printf( "a < b \n");
　　　}
　else{
　　printf( "a == b\n");
　}

　return 0;
 }


Compiler output:
main.c: In function 'main':
main.c:6:1: error: stray '\343' in program
    6 | <U+3000>int a, b;
      | ^~~~~~~~
main.c:7:1: error: stray '\343' in program
    7 | <U+3000>
      | ^~~~~~~~
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>scanf("%d %d", &a,&b );
      | ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>
      | ^~~~~~~~
main.c:10:2: error: stray '\343' in program
   10 |  <U+3000>if ( a > b ){
      |  ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "a > b \n");
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>printf( "a > b \n");
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:12:5: error: stray '\343' in program
   12 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>else if( a < b ){
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "a < b \n");
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>printf( "a < b \n");
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:5: error: stray '\343' in program
   15 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>else{
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "a == b\n");
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>printf( "a == b\n");
      |         ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>}
      | ^~~~~~~~
main.c:20:1: error: stray '\343' in program
   20 | <U+3000>return 0;
      | ^~~~~~~~
Language: C

#include <stdio.h>

int main(void)
{

    int a, b;

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

    if (a < b){
    printf("a < b\n");
    }
    else if (a > b){
    printf("a > b\n");
    }
    else{
    printf("a == b\n");
    }
    return 0;
}
}


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

#include<stdio.h>
int main(){
  int a, b;
  scanf("%d  %d", &a, &b);
  if (a < b) {
  	printf("a < b");
  }else if (a > b) {
	pritnf("a > b");
  }else{
	printf("a == b");
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'pritnf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |         pritnf("a > b");
      |         ^~~~~~
      |         printf
Language: C

#include<stdio.h>

 int main(){
  int a, b;
 
 scanf("%d %d\n", &a &b);
 if(a < b){
 printf("%d\n",a < b);
 } else if(a > b){
 printf("%d\n",a > b);
 } else if(a == b){
 printf("%d\n",a == b);
 }
 return 0;
}
 
 
 


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

#include<stdio.h>

 int main(){
  int a, b;
 
 scanf("%d %d", &a &b);
 if(a < b){
 printf("a < b");
 } else if(a > b){
 printf("a > b");
 } else if(a == b){
 printf("a == b",);
 }
 return 0;
}
 
 


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

#include<stdio.h>

int main(){

  int  c, e;

  scanf("%d %d",&c ,&e);

  if(c==e){
    printf("a==b\n");
  } else if(c>e){
    printf("a>b\n");
  } else (c<e){
    printf("a<b\n");
  }

  return 0;

}
  



Compiler output:
main.c: In function 'main':
main.c:13:15: error: expected ';' before '{' token
   13 |   } else (c<e){
      |               ^
      |               ;
Language: C

#include<stdio.h>

 int main(){
  int a, b;
 
 scanf("%d %d", &a &b);
 if(a < b){
 printf("a < b");
 } else if(a > b){
 printf("a > b");
 } else if(a == b){
 printf("a == b");
 }
 return 0;
}
 
 


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

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



Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d %d", &a, &b);
      |       ^~~~~~~
main.c:3:16: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d", &a, &b);
      |                ^
main.c:3:20: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d", &a, &b);
      |                    ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if (a > b){
      | ^~
main.c:6:7: error: expected identifier or '(' before 'else'
    6 |     } else if (a < b){
      |       ^~~~
main.c:8:7: error: expected identifier or '(' before 'else'
    8 |     } else {
      |       ^~~~
Language: C

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



Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d%d", &a, &b);
      |       ^~~~~~
main.c:3:15: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d%d", &a, &b);
      |               ^
main.c:3:19: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d%d", &a, &b);
      |                   ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if (a > b){
      | ^~
main.c:6:7: error: expected identifier or '(' before 'else'
    6 |     } else if (a < b){
      |       ^~~~
main.c:8:7: error: expected identifier or '(' before 'else'
    8 |     } else {
      |       ^~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected ';' before '}' token
    7 |         printf("a<b\n")
      |                        ^
      |                        ;
    8 |     }
      |     ~                   
main.c:10:24: error: expected ';' before '}' token
   10 |         printf("a>b\n")
      |                        ^
      |                        ;
   11 |     }
      |     ~                   
main.c:13:25: error: expected ';' before '}' token
   13 |         printf("a==b\n")
      |                         ^
      |                         ;
   14 |     }
      |     ~
Language: C

#include <stdio.h>

int main(void)
{

    int a,b;

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

    if (a < b)
    {
        printf("a < b\n");
    }

    if (a > b)
    {
        printf("a > b");
    }

    else
        (a = b)
        {
            printf("a == b");
        }

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:21:16: error: expected ';' before '{' token
   21 |         (a = b)
      |                ^
      |                ;
   22 |         {
      |         ~
Language: C

#include <stdio.h>

int main(void)
{

    int a,b;

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

    if (a < b)
    {
        printf("a < b\n");
    }

    if (a > b)
    {
        printf("a > b\n");
    }

    else
        (a = b)
        {
            printf("a == b\n");
        }

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:21:16: error: expected ';' before '{' token
   21 |         (a = b)
      |                ^
      |                ;
   22 |         {
      |         ~
Language: C

#!include <stdio.h>

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

printf(a<b,a>b,a==b)
return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    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");
      | ^~~~~
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");
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 | printf(a<b,a>b,a==b)
      | ^~~~~~
main.c:7:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 | printf(a<b,a>b,a==b)
      |        ~^~
      |         |
      |         int
main.c:7:9: note: expected 'const char *' but argument is of type 'int'
main.c:7:21: error: expected ';' before 'return'
    7 | printf(a<b,a>b,a==b)
      |                     ^
      |                     ;
    8 | return 0;
      | ~~~~~~
Language: C

#!include<stdio.h>

int main(){
int a,b,c;
scanf("%d,%d,%d",&a,&b,&c);
if(a<b&&b<c)printf("Yes")else printf("No")
printf("\n")
return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    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,%d",&a,&b,&c);
      | ^~~~~
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,%d",&a,&b,&c);
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | if(a<b&&b<c)printf("Yes")else printf("No")
      |             ^~~~~~
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:26: error: expected ';' before 'else'
    6 | if(a<b&&b<c)printf("Yes")else printf("No")
      |                          ^~~~
      |                          ;
Language: C

#!include<stdio.h>

int main(){
int a,b,c;
scanf("%d,%d,%d",&a,&b,&c);
if(a<b&&b<c)printf("Yes")
else printf("No")
printf("\n")
return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    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,%d",&a,&b,&c);
      | ^~~~~
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,%d",&a,&b,&c);
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | if(a<b&&b<c)printf("Yes")
      |             ^~~~~~
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:26: error: expected ';' before 'else'
    6 | if(a<b&&b<c)printf("Yes")
      |                          ^
      |                          ;
    7 | else printf("No")
      | ~~~~
Language: C

#!include<stdio.h>

int main(){
int a,b,c;
scanf("%d,%d,%d",&a,&b,&c);
if(a<b&&b<c)printf("Yes")
else printf("No")
return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    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,%d",&a,&b,&c);
      | ^~~~~
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,%d",&a,&b,&c);
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | if(a<b&&b<c)printf("Yes")
      |             ^~~~~~
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:26: error: expected ';' before 'else'
    6 | if(a<b&&b<c)printf("Yes")
      |                          ^
      |                          ;
    7 | else printf("No")
      | ~~~~
Language: C

#!include<stdio.h>

int main(){
int a,b,c;
scanf("%d,%d,%d",&a,&b,&c);
if(a<b&&b<c)printf("Yes\n")
else printf("No\n")
return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #!
    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,%d",&a,&b,&c);
      | ^~~~~
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,%d",&a,&b,&c);
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 | if(a<b&&b<c)printf("Yes\n")
      |             ^~~~~~
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:28: error: expected ';' before 'else'
    6 | if(a<b&&b<c)printf("Yes\n")
      |                            ^
      |                            ;
    7 | else printf("No\n")
      | ~~~~
Language: C

#include <stdio.h>

int a, b;

int main(){

  scanf("%d %d", &a, &b);
  if (a > b){
    printf("a > b");
  }els if(b < a){
    printf("b < a");
  }else{
    printf("a == b");
  }

  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:10:4: error: 'els' undeclared (first use in this function)
   10 |   }els if(b < a){
      |    ^~~
main.c:10:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:7: error: expected ';' before 'if'
   10 |   }els if(b < a){
      |       ^~~
      |       ;
Language: C


#include <stdio.h>
 
using namespace std;
 
int main(){
    int a,b;
    scanf("%d %d",&a,&b);
    if(a > b){
        printf("a > b\n");
    }else if(a < b){
        printf("a < b\n");
    }else{
        printf("a == b\n");
    }
}


Compiler output:
main.c:4:1: error: unknown type name 'using'
    4 | using namespace std;
      | ^~~~~
main.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    4 | using namespace std;
      |                 ^~~
Language: C

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

 if(a==b){
  printf("%d==%d\n",&a,&b);}
  else if(a>b){
   printf("%d>%d\n",&a,&b);}
   else{
    printf("%d<%d\n",%a,&b);}
 
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:22: error: expected expression before '%' token
   11 |     printf("%d<%d\n",%a,&b);}
      |                      ^
Language: C

a = gets.split(" ").map! {|i| i.to_i}
print "a "
print "<" if a[0] < a[1]
print "==" if a[0] == a[1]
print ">" if a[0] > a[1]
print " b\n"


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a = gets.split(" ").map! {|i| i.to_i}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:5: error: 'gets' undeclared here (not in a function)
    1 | a = gets.split(" ").map! {|i| i.to_i}
      |     ^~~~
main.c:1:24: error: expected ',' or ';' before '!' token
    1 | a = gets.split(" ").map! {|i| i.to_i}
      |                        ^
main.c:2:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
    2 | print "a "
      |       ^~~~
Language: C

int a,b;
  scanf("%d%d",&a,&b);
  if (a < b){ 
    printf("a < b\n"); 
  } else if("a > b\n") {
    printf("a > b\n");
  } else {
    printf("a == b\n");
  }
    return 0;

}








Compiler output:
main.c:2:9: error: expected declaration specifiers or '...' before string constant
    2 |   scanf("%d%d",&a,&b);
      |         ^~~~~~
main.c:2:16: error: expected declaration specifiers or '...' before '&' token
    2 |   scanf("%d%d",&a,&b);
      |                ^
main.c:2:19: error: expected declaration specifiers or '...' before '&' token
    2 |   scanf("%d%d",&a,&b);
      |                   ^
main.c:3:3: error: expected identifier or '(' before 'if'
    3 |   if (a < b){
      |   ^~
main.c:5:5: error: expected identifier or '(' before 'else'
    5 |   } else if("a > b\n") {
      |     ^~~~
main.c:7:5: error: expected identifier or '(' before 'else'
    7 |   } else {
      |     ^~~~
main.c:10:5: error: expected identifier or '(' before 'return'
   10 |     return 0;
      |     ^~~~~~
main.c:12:1: error: expected identifier or '(' before '}' token
   12 | }
      | ^
Language: C

#include <iostream>
using namespace std;
int main(void){
    int a, b;
    scanf("%d",&a);
    scanf("%d",&b);
    
    if(a < b){
        printf("a < b\n");
    }
    else if(a > b){
        printf("a > b\n");
    }
    else {
        printf("a == b\n");
    }
}



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 m, n;
    scanf("%d %d", &m, &n);
    
    if(m < n){
        printf("a < b\n");
    }else if(m > n){
        printf("a > b\n");
    }else{
        printf("a = b\n");
    }
        
    return 0;
}


Compiler output:
main.c:3:5: error: expected expression before 'int'
    3 |     int m, n;
      |     ^~~
Language: C

#include<stdio.h>

int main(void){
    int a, b

    scanf("%d %d", &a, &b);
    if(a < b){
        printf("a < b\n");
    }else if(a > b){
        printf("a > b\n");
    }else{
        printf("a = b\n");
    }
    return 0;
}


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

#include <sdio.h>
int main (void){
    int a,b;
    
    scanf(%d, &a);
    scanf(%d, &b);
    
    if (a > b )
    printf("a > b");
    
    else (a < b)
    printf("a < b");
    
    else (a == b);
    printf (a == b);
    
    
}


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

#include<stdio.h>
int main(void)
{
    int a,b;
    if(a<b){
        printf("a<b\n");
    }
    else(a>b){
        printf("a>b\n");
    }
    else{
        printf("a==b\n");
    }
    return 0;
}
         


Compiler output:
main.c: In function 'main':
main.c:8:14: error: expected ';' before '{' token
    8 |     else(a>b){
      |              ^
      |              ;
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    if(a<b){
        printf("a<b\n");
    }
    else(a>b) {
        printf("a>b\n");
    }
    else{
        printf("a==b\n");
    }
    return 0;
}
         


Compiler output:
main.c: In function 'main':
main.c:8:14: error: expected ';' before '{' token
    8 |     else(a>b) {
      |              ^~
      |              ;
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    if(a<b){
        printf("a<b\n");
    }
    {else(a>b){
        printf("a>b\n");
    }
    else{
        printf("a==b\n");
    }
    return 0;
}
         


Compiler output:
main.c: In function 'main':
main.c:8:6: error: 'else' without a previous 'if'
    8 |     {else(a>b){
      |      ^~~~
main.c:8:15: error: expected ';' before '{' token
    8 |     {else(a>b){
      |               ^
      |               ;
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:23: warning: missing terminating " character
    5 |     scanf("%d", &a, &b");
      |                       ^
main.c:5:23: error: missing terminating " character
    5 |     scanf("%d", &a, &b");
      |                       ^~~
main.c:5:23: error: expected ')' before 'if'
    5 |     scanf("%d", &a, &b");
      |          ~            ^
      |                       )
    6 |     if(a<b){
      |     ~~                 
main.c:15:14: error: expected ';' before '}' token
   15 |     return 0;
      |              ^
      |              ;
   16 | }
      | ~
Language: C

#include <stdio.h>

int main(void)
{
	int a, b;

	scanf("%d%d", &a,&b);
	
	if (-1000 <= a && b <= 1000)
	{
		if (a < b)
		{
			printf("a > b \n");
		}
		else if (a > b)
		{
			printf("a > b \n");
		}
		else if (a == b)
		{
			printf("a == b\n");
		}
		else
		{
			break;
		}
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:25:25: error: break statement not within loop or switch
   25 |                         break;
      |                         ^~~~~
Language: C

#include < stdio.h > 

int main() {
    int a, b; 
    scanf("%d%d",  & a,  & b); 
    if (a < b) {
        printf("a < b\n", ); 
    }else if (a > b) {
        printf("a > b\n", ); 
    }else if (a == b) {
        printf("a == b\n", ); 
    }

    return 0; 
}


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

#include < stdio.h > 

int main() {
    int a, b; 
    scanf("%d%d",  & a,  & b); 
    if (a < b) {
        printf("a < b\n"); 
    }else if (a > b) {
        printf("a > b\n"); 
    }else if (a == b) {
        printf("a == b\n"); 
    }

    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);
    if ( a - b < 0 )
         puts("a < b");
    else if ( a - b > 0)
         puts("a > b");
    else ( a - b = 0 )
         puts("a = b");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:18: error: lvalue required as left operand of assignment
   11 |     else ( a - b = 0 )
      |                  ^
main.c:11:23: error: expected ';' before 'puts'
   11 |     else ( a - b = 0 )
      |                       ^
      |                       ;
   12 |          puts("a = b");
      |          ~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:16:33: error: expected ';' before '}' token
   16 |                 printf("a==b\n")
      |                                 ^
      |                                 ;
   17 |         }
      |         ~
Language: C



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

	}
	else if (a < b)
	{
		printf("a<b");

	}
	else  (a == b)
	{
		printf("a==b");
	}
}




Compiler output:
main.c: In function 'main':
main.c:18:23: error: expected ';' before '{' token
   18 |         else  (a == b)
      |                       ^
      |                       ;
   19 |         {
      |         ~
Language: C

int a,b;
scanf("%d %d",&a,&b);
if(a<b)
{
printf("a<b")
}
else if(a>b)
{
printf("a>b");
}
else if(a==b)
{
printf("a==b");
}

return  0;




Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d %d",&a,&b);
      |       ^~~~~~~
main.c:2:15: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d",&a,&b);
      |               ^
main.c:2:18: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d %d",&a,&b);
      |                  ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if(a<b)
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else if(a>b)
      | ^~~~
main.c:11:1: error: expected identifier or '(' before 'else'
   11 | else if(a==b)
      | ^~~~
main.c:16:1: error: expected identifier or '(' before 'return'
   16 | return  0;
      | ^~~~~~
Language: C

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

    int a, b;
    
    scanf("%d %d"&a, &b);
  
    if(a>=b) printf("a > b \n");

    else if(a<=b) printf("a < b \n");

    else printf("a = b \n");

    return 0;

}


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

#include<stdio.h>
using namespace std;
int main(){

    int a, b;

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

    if(a>b){ printf("a > b \n");

    }else if(a<b){ printf("a < b \n");

    }else{ printf("a = b \n");
   
    }
 
}



Compiler output:
main.c:2:1: error: unknown type name 'using'
    2 | using namespace std;
      | ^~~~~
main.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    2 | using namespace std;
      |                 ^~~
Language: C

#include<stdio.h>
main(){

    int a, b;

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

    if(a<b)printf("a < b");

    else if(a>b) printf("a > b");

    else printf("a = b");

    \n

    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:14:5: error: stray '\' in program
   14 |     \n
      |     ^
main.c:14:6: error: 'n' undeclared (first use in this function)
   14 |     \n
      |      ^
main.c:14:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:7: error: expected ';' before 'return'
   14 |     \n
      |       ^
      |       ;
   15 | 
   16 |     return 0;
      |     ~~~~~~
Language: C

#include<stdio.h>
main(){

    int a, b;

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

    if(a<b)printf("a < b");

    else if(a>b) printf("a > b");

    else printf("a = b");

    printf("\n")

    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:14:17: error: expected ';' before 'return'
   14 |     printf("\n")
      |                 ^
      |                 ;
   15 | 
   16 |     return 0;
      |     ~~~~~~
Language: C

#include<stdio.h>
using namespace std;
main(){

    int a, b;

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

    if(a<b)printf("a < b \n");

    else if(a>b) printf("a > b \n");

    else printf("a == b \n");

    return 0;

}



Compiler output:
main.c:2:1: error: unknown type name 'using'
    2 | using namespace std;
      | ^~~~~
main.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    2 | using namespace std;
      |                 ^~~
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
Language: C

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


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

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

   if else (a > b) printf("a > b");

   else (a < b) printf(" a < b");

   return 0;

}
   
   



Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected '(' before 'else'
    8 |    if else (a > b) printf("a > b");
      |       ^~~~
      |       (
main.c:10:16: error: expected ';' before 'printf'
   10 |    else (a < b) printf(" a < b");
      |                ^~~~~~~
      |                ;
Language: C

#include<stdio.h>

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

if (a>b)
 printf("a > b\n");
else if ("a<b)
 printf("a < b\n");
else 
 printf("a == b\n);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:10: warning: missing terminating " character
   10 | else if ("a<b)
      |          ^
main.c:10:10: error: missing terminating " character
   10 | else if ("a<b)
      |          ^~~~~
main.c:11:19: error: expected ')' before ';' token
   11 |  printf("a < b\n");
      |                   ^
      |                   )
main.c:10:9: note: to match this '('
   10 | else if ("a<b)
      |         ^
main.c:13:9: warning: missing terminating " character
   13 |  printf("a == b\n);
      |         ^
main.c:13:9: error: missing terminating " character
   13 |  printf("a == b\n);
      |         ^~~~~~~~~~~
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>

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

if (a>b)
 printf("a > b\n");
else if (a<b)
 printf("a < b\n");
else 
 printf("a == b\n);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:9: warning: missing terminating " character
   13 |  printf("a == b\n);
      |         ^
main.c:13:9: error: missing terminating " character
   13 |  printf("a == b\n);
      |         ^~~~~~~~~~~
main.c:15:1: error: expected expression before 'return'
   15 | return 0;
      | ^~~~~~
main.c:15:10: error: expected ';' before '}' token
   15 | return 0;
      |          ^
      |          ;
   16 | }
      | ~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected expression before '%' token
    5 | scanf("%d %d",%a,%b);
      |               ^
main.c:10:8: error: expected '(' before '{' token
   10 | else if{printf("a==b");
      |        ^
      |        (
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:10:8: error: expected '(' before '{' token
   10 | else if{printf("a==b");
      |        ^
      |        (
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:10:8: error: expected '(' before '{' token
   10 | else if{printf("a==b\n");
      |        ^
      |        (
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:5: error: stray '\343' in program
    6 | if(a<U+3000><<U+3000>b){printf("a < b\n");
      |     ^~~~~~~~
main.c:6:8: error: stray '\343' in program
    6 | if(a<U+3000><<U+3000>b){printf("a < b\n");
      |              ^~~~~~~~
main.c:8:10: error: stray '\343' in program
    8 | else if(a<U+3000>><U+3000>b){printf("a ><U+3000>b\n");
      |          ^~~~~~~~
main.c:8:13: error: stray '\343' in program
    8 | else if(a<U+3000>><U+3000>b){printf("a ><U+3000>b\n");
      |                   ^~~~~~~~
main.c:10:10: error: stray '\343' in program
   10 | else if(a<U+3000>==<U+3000>b){printf("a<U+3000>==<U+3000>b\n");
      |          ^~~~~~~~
main.c:10:14: error: stray '\343' in program
   10 | else if(a<U+3000>==<U+3000>b){printf("a<U+3000>==<U+3000>b\n");
      |                    ^~~~~~~~