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

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

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


Compiler output:
main.c: In function 'main':
main.c:5:2: error: expected declaration specifiers before 'scanf'
    5 |  scanf("%d", &a);
      |  ^~~~~
main.c:6:2: error: expected declaration specifiers before 'scanf'
    6 |  scanf("%d", &b);
      |  ^~~~~
main.c:7:2: error: expected declaration specifiers before 'scanf'
    7 |  scanf("%d", &c);
      |  ^~~~~
main.c:9:2: error: expected declaration specifiers before 'if'
    9 |  if(a < b&&b < c)
      |  ^~
main.c:11:2: error: expected declaration specifiers before 'else'
   11 |  else if(b < a&&a < c)
      |  ^~~~
main.c:13:2: error: expected declaration specifiers before 'else'
   13 |  else if(a <c&&c < b)
      |  ^~~~
main.c:15:2: error: expected declaration specifiers before 'else'
   15 |  else if(b < c&&c <a)
      |  ^~~~
main.c:17:2: error: expected declaration specifiers before 'else'
   17 |  else if(c < a&&a < b)
      |  ^~~~
main.c:19:2: error: expected declaration specifiers before 'else'
   19 |  else (c < b&&b < a);
      |  ^~~~
main.c:20:2: error: expected declaration specifiers before 'printf'
   20 |  printf("c b a\n");
      |  ^~~~~~
main.c:22:2: error: expected declaration specifiers before 'return'
   22 |  return 0;
      |  ^~~~~~
main.c:23:1: error: expected declaration specifiers before '}' token
   23 | }
      | ^
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:24: error: expected '{' at end of input
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:13:5: error: 'else' without a previous 'if'
   13 |     else(a<b) a=A; b=B; {
      |     ^~~~
main.c:13:14: error: expected ';' before 'a'
   13 |     else(a<b) a=A; b=B; {
      |              ^~
      |              ;
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:21:9: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
   21 |         getch();
      |         ^~~~~
      |         getc
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ';' before 'a'
    5 |     if(a>b) tmp=a a=b b=tmp;
      |                  ^~
      |                  ;
main.c:6:18: error: expected ';' before 'b'
    6 |     if(b>c) tmp=b b=c c=tmp;
      |                  ^~
      |                  ;
main.c:7:18: error: expected ';' before 'a'
    7 |     if(a>b) tmp=a a=b b=tmp;
      |                  ^~
      |                  ;
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ';' before 'a'
    5 |     if(a>b) tmp=a a=b b=tmp;
      |                  ^~
      |                  ;
main.c:6:18: error: expected ';' before 'b'
    6 |     if(b>c) tmp=b b=c c=tmp;
      |                  ^~
      |                  ;
main.c:7:18: error: expected ';' before 'a'
    7 |     if(a>b) tmp=a a=b b=tmp;
      |                  ^~
      |                  ;
Language: C

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

   
   printf("%d %d %d\n",a,b,c);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:1: error: stray '\302' in program
    3 | <U+00A0> <U+00A0>int a,b,c,X;
      | ^~~~~~~~
main.c:3:3: error: stray '\302' in program
    3 | <U+00A0> <U+00A0>int a,b,c,X;
      |          ^~~~~~~~
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0> <U+00A0>scanf("%d",&a);
      | ^~~~~~~~
main.c:4:3: error: stray '\302' in program
    4 | <U+00A0> <U+00A0>scanf("%d",&a);
      |          ^~~~~~~~
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>scanf("%d",&b);
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>scanf("%d",&b);
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>scanf("%d",&c);
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>scanf("%d",&c);
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>if(a>b) X=a; a=b; b=X;
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>if(a>b) X=a; a=b; b=X;
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%d %d %d\n",a,b,c);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%d %d %d\n",a,b,c);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>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("%d %d %d\n",a,b,c);
 }else if(a < c && c < b){
 printf("%d %d %d\n",a,c,b);
 }else if(b < a && a < c){
 printf("%d %d %d\n",b,a,c);
 }else if(b < c && c < a ){
 printf("%d %d %d\n",b,c,a);
 }else if(c < a && a < b ){
 printf("%d %d %d\n",c,a,b);
 }else if(c < b && b < a ){
 printf("%d %d %d\n",c,b,a);
 }
   return 0;
}



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

#include<stdio.h>
main(){
  int a,b,c,tmp;
  scanf("%d %d %d",&a,&b,&c);
  if(a>b){
    tmp=a;
    a=b;
    b=;
  }
  if(b>c){
    tmp=b;
    b=c;
    c=tmp;
  }
  if(a>b){
    tmp=a;
    a=b;
    b=tmp;
  }
  printf("%d %d %d\n",a,b,c);
  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:8:7: error: expected expression before ';' token
    8 |     b=;
      |       ^
Language: C

#include <stdio>
using namespace std;
  
int main(void)
{
 
  int i, j, tmp;
 
  /* 数値を格納する配列 */
  int number[100];
 
  /* 数値の総数を入力 */
  int total;
  printf("入力する数値の総数 = ");
  scanf("%d", &total);
 
  /* 配列に格納する数値を入力 */
  printf("%d個の数値を入力 \n", total);
  for (i=0; i<total; ++i)
    scanf("%d", &number[i]);
 
  /* 数値を昇順にソート */
  for (i=0; i<total; ++i) {
    for (j=i+1; j<total; ++j) {
      if (number[i] > number[j]) {
        tmp =  number[i];
        number[i] = number[j];
        number[j] = tmp;
      }
    }
  }
 
  /* 昇順ソートした数値を出力 */
  printf("昇順ソートした数値\n");
  for (i=0; i<total; ++i)
    printf("%d\n", number[i]);
}



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

#include <stdio>
using namespace std;
  
int main(void)
{
 
  int i, j, tmp;
 
  /* 数値を格納する配列 */
  int number[100];
 
  /* 数値の総数を入力 */
  int total;
  printf("入力する数値の総数 = ");
  scanf("%d", &total);
 
  /* 配列に格納する数値を入力 */
  printf("%d個の数値を入力 \n", total);
  for (i=0; i<total; ++i)
    scanf("%d", &number[i]);
 
  /* 数値を昇順にソート */
  for (i=0; i<total; ++i) {
    for (j=i+1; j<total; ++j) {
      if (number[i] > number[j]) {
        tmp =  number[i];
        number[i] = number[j];
        number[j] = tmp;
      }
    }
  }
 
  /* 昇順ソートした数値を出力 */
  printf();
  for (i=0; i<total; ++i)
    printf("%d\n", number[i]);
}



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

#include<stdio.h>
#include<stdlib.h>
#define N 3

int main(void){
  int i = 0;
  int wk = 0;
  int num[3] = {0};
  int srotflag = 0;
  scanf("%d %d %d", &num[0], &num[1], &num[2]);
  
  do{
    sortflag = 0;
    for(i = 0 ; i < N - 1 ; i++)[
      if(num[i] < num[i + 1]){
        wk = num[i];
        num[i] = num[i + 1];
        num[i + 1] = wk;
        sortflag = 1;
      }
    }
  }while(sortflag = 0);
  
  printf("%d %d %d", num[0], num[1], num[2]);
  return 0
}


Compiler output:
main.c: In function 'main':
main.c:13:5: error: 'sortflag' undeclared (first use in this function); did you mean 'srotflag'?
   13 |     sortflag = 0;
      |     ^~~~~~~~
      |     srotflag
main.c:13:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:33: error: expected expression before '[' token
   14 |     for(i = 0 ; i < N - 1 ; i++)[
      |                                 ^
main.c:20:8: error: expected ';' before '}' token
   20 |       }
      |        ^
      |        ;
   21 |     }
      |     ~   
main.c:22:3: error: expected 'while' before '}' token
   22 |   }while(sortflag = 0);
      |   ^
main.c:25:11: error: expected ';' before '}' token
   25 |   return 0
      |           ^
      |           ;
   26 | }
      | ~
Language: C

#include<stdio.h>
#include<stdlib.h>
#define N 3

int main(void){
  int i = 0;
  int wk = 0;
  int num[3] = {0};
  int srotflag = 0;
  scanf("%d %d %d", &num[0], &num[1], &num[2]);
  
  do{
    sortflag = 0;
    for(i = 0 ; i < N - 1 ; i++)[
      if(num[i] < num[i + 1]){
        wk = num[i];
        num[i] = num[i + 1];
        num[i + 1] = wk;
        sortflag = 1;
      }
    }
  }while(sortflag = 0);
  
  printf("%d %d %d", num[0], num[1], num[2]);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:5: error: 'sortflag' undeclared (first use in this function); did you mean 'srotflag'?
   13 |     sortflag = 0;
      |     ^~~~~~~~
      |     srotflag
main.c:13:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:33: error: expected expression before '[' token
   14 |     for(i = 0 ; i < N - 1 ; i++)[
      |                                 ^
main.c:20:8: error: expected ';' before '}' token
   20 |       }
      |        ^
      |        ;
   21 |     }
      |     ~   
main.c:22:3: error: expected 'while' before '}' token
   22 |   }while(sortflag = 0);
      |   ^
Language: C

#include <stdio.h>
int checkAB();
int checkBC();

int a, b, c, temp;

int main(){
  scanf("%d %d %d", &a, &b, &c);
checkAB(a, b);
checkBC(b, c);
checkAB(a, b);
  printf("%d %d %d\n", a, b, c);

  return 0;
}

int checkAB(a, b){
  if (a > b){
    temp = a;
    a = b;
    b = temp;
  }
  return answer;
}

int checkBC(b, c){
  if (b > c){
    temp = b;
    b = c;
    c = temp;
  }
  return answer;
}



Compiler output:
main.c: In function 'checkAB':
main.c:17:5: error: type of 'a' defaults to 'int' [-Wimplicit-int]
   17 | int checkAB(a, b){
      |     ^~~~~~~
main.c:17:5: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:23:10: error: 'answer' undeclared (first use in this function)
   23 |   return answer;
      |          ^~~~~~
main.c:23:10: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function 'checkBC':
main.c:26:5: error: type of 'b' defaults to 'int' [-Wimplicit-int]
   26 | int checkBC(b, c){
      |     ^~~~~~~
main.c:26:5: error: type of 'c' defaults to 'int' [-Wimplicit-int]
main.c:32:10: error: 'answer' undeclared (first use in this function)
   32 |   return answer;
      |          ^~~~~~
Language: C

#include < stdio.h>

int  main（void）{
int a、b、c;
    int tmp;
    scanf（"％d％d％d ",＆??a,＆b,＆c）;
    if（a> b）{
        tmp = a;
        a = b;
        b = tmp;
    }
    if（b> c）{
        tmp = b;
        b = c;
        c = tmp;
    }
    if（a> b）{
        tmp = a;
        a = b;
        b = tmp;
    }
    printf（"％d％d％d \ n ",a,b,c）;
     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,c;
    int tmp;
    scanf（"％d％d％d ",&a,&b,&c）;
    if（a> b）{
        tmp = a;
        a = b;
        b = tmp;
    }
    if（b> c）{
        tmp = b;
        b = c;
        c = tmp;
    }
    if（a> b）{
        tmp = a;
        a = b;
        b = tmp;
    }
    printf（"%d %d %d\n",a,b,c）;
     return(0)
}


Compiler output:
main.c:3:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | int  main（void）{
      |                  ^
Language: C

#include<stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'scanf\U0000ff08' undeclared (first use in this function); did you mean 'scanf'?
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |     ^~~~~~~
      |     scanf
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: expected ';' before string constant
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |            ^~~~~~~~~
      |            ;
main.c:23:15: error: expected ';' before '}' token
   23 |      return(0)
      |               ^
      |               ;
   24 | }
      | ~
Language: C

#include<stdio.h>

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



Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'scanf\U0000ff08' undeclared (first use in this function); did you mean 'scanf'?
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |     ^~~~~~~
      |     scanf
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: expected ';' before string constant
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |            ^~~~~~~~~
      |            ;
main.c:23:15: error: expected ';' before '}' token
   23 |      return(0)
      |               ^
      |               ;
   24 | }
      | ~
Language: C

#include<stdio.h>

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



Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'scanf\U0000ff08' undeclared (first use in this function); did you mean 'scanf'?
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |     ^~~~~~~
      |     scanf
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: expected ';' before string constant
    6 |     scanf（"%d%d%d ",&a,&b,&c）;
      |            ^~~~~~~~~
      |            ;
main.c:23:15: error: expected ';' before '}' token
   23 |      return(0)
      |               ^
      |               ;
   24 | }
      | ~
Language: C

include <stdio.h>
int main(void){
    // Your code here!
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
   if (a < b)
if (c < a)
printf("%d %d %d\n", c, a, b);
else if(b < c)
printf("%d %d %d\n", a, b, c);
else
printf("%d %d %d\n", a, c, b);

}


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

#include <stdio.h>

 int main(void){

    int a,b,c,t;

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

    if(a>b){ 
    t=a; 
    a=b;
    b=t;}

　  if(b>c){
    t=b; 
    b=c; 
    c=t; }

　  if(a>b){ 
    t=a; 
    a=b; 
    b=t; }

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

   return 0; 

}  


Compiler output:
main.c: In function 'main':
main.c:14:1: error: stray '\343' in program
   14 | <U+3000>  if(b>c){
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>  if(a>b){
      | ^~~~~~~~
Language: C



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


Compile Error Logs: 

 



Compiler output:
main.c:3:19: warning: extra tokens at end of #include directive
    3 | #include<stdio.h> int main(void){ int a,b,c,i; scanf("%d%d%d",&a,&b,&c); if(a>b){ i=a; a=b; b=i; } if(b>c){ i=b; b=c; c=i; } if(a>b){ i=a; a=b; b=i; } printf("%d %d %d\n",a,b,c); return 0; }
      |                   ^~~
main.c:6:1: error: unknown type name 'Compile'
    6 | Compile Error Logs:
      | ^~~~~~~
main.c:6:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
    6 | Compile Error Logs:
      |               ^~~~
Language: C

int main(void){

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

    if (a > b){
        d = a;
        a = b;
        b = d;
    }
    if (b > c){
        d = b;
        b = c;
        c = d;
    }
    if (a < c){
        d = a;
        a = c;
        c = d;
    }

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

    return 0;
    
}


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

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





Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>if ( b < c ) {
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){
    
    int i,j,n=3,tmp;
    int x[];
    
    for (i=0;i<n;i++)
    printf("%2d",x[i]);
    putchar('\n');
    
    for(j=n-1;j>0;j--){
        for(i=0;i<j;i++){
            if(x[i]>x[i+1]){
                tmp=x[i];
                x[i]=x[i+1];
                x[i+1]=tmp;
            }
        }
    }
    
    for(i=0;i<3;i++)
    printf("%2d",x[i]);
    putchar('\n');
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:9: error: array size missing in 'x'
    5 |     int x[];
      |         ^
Language: C

#include<stdio.h>
int main(){
    int x[3];
    int instance;
    scanf("%d %d %d",&x[0],&x[1],&x[2]);
    
    for(i=0;i<2;i++){
        if(x[i] >x[i+1]){
            instance = x[i];
            x[i] = x[i+1];
            x[i+1] = instance;
        }
    }
    printf("%d %d %d\n",x[0],x[1],x[2]);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:7:9: error: 'i' undeclared (first use in this function)
    7 |     for(i=0;i<2;i++){
      |         ^
main.c:7:9: 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;
    scanf("%d", &a);
    scanf("%d", &b);
    scanf("%d", &c);
    if (a > b && b > c ) puts("%d %d %d", c, b, a);
    else if ( a > c && c > b ) puts("%d %d %d", b, c, a);
    else if ( b > a && a > c ) puts("%d %d %d", c, a, b);
    else if ( b > c && c > a ) puts("%d %d %d", a, c, b);
    else if ( c > a && a > b ) puts("%d %d %d", b, a, c);
    else puts("%d %d %d", a, b, c);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:8:26: error: too many arguments to function 'puts'
    8 |     if (a > b && b > c ) puts("%d %d %d", c, b, a);
      |                          ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:9:32: error: too many arguments to function 'puts'
    9 |     else if ( a > c && c > b ) puts("%d %d %d", b, c, a);
      |                                ^~~~
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:10:32: error: too many arguments to function 'puts'
   10 |     else if ( b > a && a > c ) puts("%d %d %d", c, a, b);
      |                                ^~~~
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:11:32: error: too many arguments to function 'puts'
   11 |     else if ( b > c && c > a ) puts("%d %d %d", a, c, b);
      |                                ^~~~
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:12:32: error: too many arguments to function 'puts'
   12 |     else if ( c > a && a > b ) puts("%d %d %d", b, a, c);
      |                                ^~~~
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
main.c:13:10: error: too many arguments to function 'puts'
   13 |     else puts("%d %d %d", a, b, c);
      |          ^~~~
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:38:22: error: expected ')' before 'a'
   38 |     printf("%d %d %d" a,b,c);
      |           ~          ^~
      |                      )
Language: C

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


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

#include <stdio.h>

int main(void){
int a;
int aa;
int b;
int bb;
int c;
scanf("%d %d %d",&a,&b,&c);
if(a > b){
aa=a;
a=b;
b=aa;
}
if(b > c){
bb=b;
b=c;
c=bb;
}
if(a > b){
bb=a;
a=b;
b=bb;
}


Compiler output:
main.c: In function 'main':
main.c:24:1: error: expected declaration or statement at end of input
   24 | }
      | ^
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:21:27: error: expected ';' before '{' token
   21 |     else (b < c && c <= a){
      |                           ^
      |                           ;
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'if'
    6 |     1 <= a,b,c <=10000
      |                       ^
      |                       ;
    7 | 
    8 |     if(a <= b && b <= c) {
      |     ~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'if'
    6 |     1 <= a,b,c <=10000
      |                       ^
      |                       ;
    7 | 
    8 |     if(a <= b && b <= c) {
      |     ~~
Language: C

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




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

#include<stdio.h>

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

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

    if (a > b){

    tmp = a,a = b,b = tmp;
    }#include<stdio.h>

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

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

    if (a > b){

    tmp = a,a = b,b = tmp;
    }
    if (b > c){
        tmp = b,b = c,c = tmp;
    }
    if(a>b){
        tmp = a,a = b,b = tmp;
    }

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

    return 0;
}
    if (b > c){
        tmp = b,b = c,c = tmp;
    }


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

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:6: error: stray '#' in program
   11 |     }#include<stdio.h>
      |      ^
main.c:11:7: error: 'include' undeclared (first use in this function)
   11 |     }#include<stdio.h>
      |       ^~~~~~~
main.c:11:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:15: error: 'stdio' undeclared (first use in this function); did you mean 'stdin'?
   11 |     }#include<stdio.h>
      |               ^~~~~
      |               stdin
main.c:13:1: error: expected expression before 'int'
   13 | int main(void){
      | ^~~
Language: C

#include<stdio.h>
int main(void)
{
	int data[3],asc;
	scanf("%d %d %d",&data[0],&data[1],&data[2]);
	while(data[0]>data[1]||data[1]>data[2])
	{
		if(data[0]>data[1])
		{
			asc=data[0];
			data[0]=data[1];
			data[1]=asc;
		}
		if(data[1]>data[i])
		{
			asc=data[1];
			data[1]=data[2];
			data[2]=asc;
		}
	}
	printf("%d %d %d\n",data[0],data[1],data[2]);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:33: error: 'i' undeclared (first use in this function)
   14 |                 if(data[1]>data[i])
      |                                 ^
main.c:14:33: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

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

 if(a<b){
 z=a;
 a=b;
 b=z;
} if(b<c){
 z=b
 b=c;
 c=z;
}if(a<b){
 z=a;
 a=b;
 b=z;
}

 printf("%d %d %d\n",a ,b ,c);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:5: error: expected ';' before 'b'
   14 |  z=b
      |     ^
      |     ;
   15 |  b=c;
      |  ~
Language: C

#include<stdio.h>

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

 if(a<b){
 d=a;
 a=b;
 b=d;
} if(b<c){
 d=b
 b=c;
 c=d;
}if(a<b){
 d=a;
 a=b;
 b=d;
}

 printf("%d %d %d\n",a ,b ,c);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:5: error: expected ';' before 'b'
   14 |  d=b
      |     ^
      |     ;
   15 |  b=c;
      |  ~
Language: C

#include<stdio.h>

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

 if(a<b){
 d=a;
 a=b;
 b=d;
} if(b<c){
 d=b
 b=c;
 c=d;
}if(a<b){
 d=a;
 a=b;
 b=d;
}

 printf("%d %d %d\n",a ,b ,c);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:5: error: expected ';' before 'b'
   13 |  d=b
      |     ^
      |     ;
   14 |  b=c;
      |  ~
Language: C

#include<stdio.h>

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

 if(a<b){
 d=a;
 a=b;
 b=d;
} if(b<c){
 d=b
 b=c;
 c=d;
}if(a<b){
 d=a;
 a=b;
 b=d;
}

 printf("%d %d %d\n",a ,b ,c);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:5: error: expected ';' before 'b'
   13 |  d=b
      |     ^
      |     ;
   14 |  b=c;
      |  ~
Language: C

#include<stdio.h>

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

 if(a < b){
 d=a;
 a=b;
 b=d;
} if(b < c){
 d=b
 b=c;
 c=d;
}if(a < b){
 d=a;
 a=b;
 b=d;
}

 printf("%d %d %d\n",a ,b ,c);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:5: error: expected ';' before 'b'
   13 |  d=b
      |     ^
      |     ;
   14 |  b=c;
      |  ~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:11: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    5 |    scanf(a>b,a>c,b>c)
      |          ~^~
      |           |
      |           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:22: error: expected ';' before 'printf'
    5 |    scanf(a>b,a>c,b>c)
      |                      ^
      |                      ;
    6 |    printf(a b c\n);
      |    ~~~~~~             
main.c:6:16: error: stray '\' in program
    6 |    printf(a b c\n);
      |                ^
main.c:8:15: error: expected ')' before 'a'
    8 |       printf(b a c\n);
      |             ~ ^~
      |               )
main.c:8:19: error: stray '\' in program
    8 |       printf(b a c\n);
      |                   ^
main.c:8:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |       printf(b a c\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:11:15: error: expected ')' before 'c'
   11 |       printf(a c b\n);
      |             ~ ^~
      |               )
main.c:11:19: error: stray '\' in program
   11 |       printf(a c b\n);
      |                   ^
main.c:11:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   11 |       printf(a c b\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:11: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    5 |    scanf(a>b,a>c,b>c)
      |          ~^~
      |           |
      |           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:22: error: expected ';' before 'printf'
    5 |    scanf(a>b,a>c,b>c)
      |                      ^
      |                      ;
    6 |    printf(a b c%f\n);
      |    ~~~~~~             
main.c:6:18: error: stray '\' in program
    6 |    printf(a b c%f\n);
      |                  ^
main.c:8:15: error: expected ')' before 'a'
    8 |       printf(b a %fc\n);
      |             ~ ^~
      |               )
main.c:8:21: error: stray '\' in program
    8 |       printf(b a %fc\n);
      |                     ^
main.c:8:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |       printf(b a %fc\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:11:15: error: expected ')' before 'c'
   11 |       printf(a c b%f\n);
      |             ~ ^~
      |               )
main.c:11:21: error: stray '\' in program
   11 |       printf(a c b%f\n);
      |                     ^
main.c:11:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   11 |       printf(a c b%f\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:11: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    5 |    scanf(a>b,a>c,b>c)
      |          ~^~
      |           |
      |           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:22: error: expected ';' before 'printf'
    5 |    scanf(a>b,a>c,b>c)
      |                      ^
      |                      ;
    6 |    printf(a b c%d\n);
      |    ~~~~~~             
main.c:6:18: error: stray '\' in program
    6 |    printf(a b c%d\n);
      |                  ^
main.c:8:15: error: expected ')' before 'a'
    8 |       printf(b a %dc\n);
      |             ~ ^~
      |               )
main.c:8:21: error: stray '\' in program
    8 |       printf(b a %dc\n);
      |                     ^
main.c:8:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |       printf(b a %dc\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:11:15: error: expected ')' before 'c'
   11 |       printf(a c b%d\n);
      |             ~ ^~
      |               )
main.c:11:21: error: stray '\' in program
   11 |       printf(a c b%d\n);
      |                     ^
main.c:11:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   11 |       printf(a c b%d\n);
      |              ^
      |              |
      |              int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:5: error: expected declaration or statement at end of input
    5 |     scanf("%d %d %d", &a, &b, &c);
      |     ^~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:5:25: error: expected expression before '%' token
    5 |     scanf("%d %d %d",&a,%b,&c);
      |                         ^
main.c:5:25: error: expected declaration or statement at end of input
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:6:25: error: expected expression before '%' token
    6 |     scanf("%d %d %d",&a,%b,&c);
      |                         ^
main.c:6:25: error: expected declaration or statement at end of input
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:5:25: error: expected expression before '%' token
    5 |     scanf("%d %d %d",&a,%b,&c);
      |                         ^
main.c:9:20: error: stray '\' in program
    9 |        printf(b<a<c\n);
      |                    ^
main.c:9:20: error: expected ')' before 'n'
    9 |        printf(b<a<c\n);
      |              ~     ^~
      |                    )
main.c:9:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    9 |        printf(b<a<c\n);
      |               ~~~^~
      |                  |
      |                  int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:20: error: stray '\' in program
   12 |        printf(a<c<b\n);
      |                    ^
main.c:12:20: error: expected ')' before 'n'
   12 |        printf(a<c<b\n);
      |              ~     ^~
      |                    )
main.c:12:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 |        printf(a<c<b\n);
      |               ~~~^~
      |                  |
      |                  int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:9:20: error: stray '\' in program
    9 |        printf(b<a<c\n);
      |                    ^
main.c:9:20: error: expected ')' before 'n'
    9 |        printf(b<a<c\n);
      |              ~     ^~
      |                    )
main.c:9:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    9 |        printf(b<a<c\n);
      |               ~~~^~
      |                  |
      |                  int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:20: error: stray '\' in program
   12 |        printf(a<c<b\n);
      |                    ^
main.c:12:20: error: expected ')' before 'n'
   12 |        printf(a<c<b\n);
      |              ~     ^~
      |                    )
main.c:12:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 |        printf(a<c<b\n);
      |               ~~~^~
      |                  |
      |                  int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:7:17: error: stray '\' in program
    7 |     printf(a<b<c\n);
      |                 ^
main.c:7:17: error: expected ')' before 'n'
    7 |     printf(a<b<c\n);
      |           ~     ^~
      |                 )
main.c:7:15: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |     printf(a<b<c\n);
      |            ~~~^~
      |               |
      |               int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:9:20: error: stray '\' in program
    9 |        printf(b<a<c\n);
      |                    ^
main.c:9:20: error: expected ')' before 'n'
    9 |        printf(b<a<c\n);
      |              ~     ^~
      |                    )
main.c:9:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    9 |        printf(b<a<c\n);
      |               ~~~^~
      |                  |
      |                  int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:20: error: stray '\' in program
   12 |        printf(a<c<b\n);
      |                    ^
main.c:12:20: error: expected ')' before 'n'
   12 |        printf(a<c<b\n);
      |              ~     ^~
      |                    )
main.c:12:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 |        printf(a<c<b\n);
      |               ~~~^~
      |                  |
      |                  int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:6:23: error: stray '\' in program
    6 |     printf(a<b,a<c,b<c\n);
      |                       ^
main.c:6:23: error: expected ')' before 'n'
    6 |     printf(a<b,a<c,b<c\n);
      |           ~           ^~
      |                       )
main.c:6:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     printf(a<b,a<c,b<c\n);
      |            ~^~
      |             |
      |             int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>else{
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>else{
      |         ^~~~~~~~
main.c:15:25: error: expected ';' before '}' token
   15 |        printf("b<c<a\n")
      |                         ^
      |                         ;
   16 | }
      | ~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>else{
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>else{
      |         ^~~~~~~~