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

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin>>a>>b;
  if(a<b){cout<<"a<b"<<endl;}
  elseif(a==b){cout<<"a==b"<<endl;}
  else{cout<<"a>b"<<endl;}
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'elseif' was not declared in this scope
    8 |   elseif(a==b){cout<<"a==b"<<endl;}
      |   ^~~~~~
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{cout<<"a>b"<<endl;}
      |   ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin>>a>>b;
  if(a<b){cout<<"a<b"<<endl;}
  elseif(a>b){cout<<"a>b"<<endl;}
  else(a==b){cout<<"a==b"<<endl;}
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'elseif' was not declared in this scope
    8 |   elseif(a>b){cout<<"a>b"<<endl;}
      |   ^~~~~~
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else(a==b){cout<<"a==b"<<endl;}
      |   ^~~~
a.cc:9:13: error: expected ';' before '{' token
    9 |   else(a==b){cout<<"a==b"<<endl;}
      |             ^
      |             ;
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b = 0;
	cin >> a >> b;
	if (a > b){
		cout << "a>b" << endl;
	}
	if (a < b){
		cout << "a<b" << endl;
	}
	else if{
		cout << "a==b" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: expected '(' before '{' token
   12 |         else if{
      |                ^
      |                (
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b = 0;
	cin >> a >> b;
	if (a > b){
		cout << "a>b" << endl;
	}
	if (a < b){
		cout << "a<b" << endl;
	}
	if{
		cout << "a==b" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: expected '(' before '{' token
   12 |         if{
      |           ^
      |           (
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b;
	cin >> a >> b;
	if (a < b){
		cout << " a < b " << endl;
	}
	if (a>b){
		cout << " a > b " << endl;
	}
	if(a==b){
		cout << " a == b " << endl;
	}
	return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected '}' at end of input
   15 |         return 0;
      |                  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

import java.io.*;
  
public class Main {
  public static void main(String[] args) throws Exception {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String[] inputs = br.readLine().split(" ");
    int a = Integer.parseInt(inputs[0]), b = Integer.parseInt(inputs[1]);

    if (a == b) {
      System.out.println("a == b");
    } else if (a > b) {
      System.out.println("a > b");
    } else {
      System.out.println("a < b");
    }
  }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

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:
a.cc: In function 'int main()':
a.cc:3:5: error: 'scanf' was not declared in this scope
    3 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:5:9: error: 'printf' was not declared in this scope
    5 |         printf("a < b\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void){
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("a > b\n");
      |         ^~~~~~
a.cc:8:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("a == b\n");
      |         ^~~~~~
a.cc:11:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
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:
a.cc: In function 'int main()':
a.cc:4:25: error: expected ';' before 'if'
    4 |     scanf("%d %d",&a,&b)
      |                         ^
      |                         ;
    5 |     if(a<b)printf("a<b\n");
      |     ~~                   
a.cc:6:5: error: 'else' without a previous 'if'
    6 |     else if(a>b)printf("a>b\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(a==b)printf("a==b\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected ';' before 'printf'
    7 |     else(a==b)printf("a==b\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");
    elseprintf("a==b\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'elseprintf' was not declared in this scope; did you mean 'vsprintf'?
    7 |     elseprintf("a==b\n");
      |     ^~~~~~~~~~
      |     vsprintf
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int a;
	int b;
	
	//??\???
	cin >> a b;
	
	
	if (a < b){
		cout << "a < b\n"
	}
	
	else if (a > b){
		cout << "a > b\n"
	}
	
	else{
		cout << "a == b"
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before 'b'
   10 |         cin >> a b;
      |                 ^~
      |                 ;
a.cc:14:34: error: expected ';' before '}' token
   14 |                 cout << "a < b\n"
      |                                  ^
      |                                  ;
   15 |         }
      |         ~                         
a.cc:18:34: error: expected ';' before '}' token
   18 |                 cout << "a > b\n"
      |                                  ^
      |                                  ;
   19 |         }
      |         ~                         
a.cc:22:33: error: expected ';' before '}' token
   22 |                 cout << "a == b"
      |                                 ^
      |                                 ;
   23 |         }
      |         ~
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'print' was not declared in this scope; did you mean 'printf'?
    7 |     print("a == b\n");
      |     ^~~~~
      |     printf
a.cc:9:5: error: 'print' was not declared in this scope; did you mean 'printf'?
    9 |     print("a < b\n");
      |     ^~~~~
      |     printf
a.cc:11:5: error: 'print' was not declared in this scope; did you mean 'printf'?
   11 |     print("a > b\n");
      |     ^~~~~
      |     printf
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b;

	if (a < b) cout << "a < b" << endl;
	if else (a > b) cout << "a > b" << endl;
	else  cout << "a == b" << endl;

	return 0 ;
		  }

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected '(' before 'else'
    9 |         if else (a > b) cout << "a > b" << endl;
      |            ^~~~
      |            (
a.cc:10:9: error: 'else' without a previous 'if'
   10 |         else  cout << "a == b" << endl;
      |         ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b;

	if (a < b) cout << "a < b" << endl;
	else if (a > b) cout << "a > b" << endl;
	else  cout << "a == b" << endl;

	return 0 ;

Compiler output:
a.cc: In function 'int main()':
a.cc:12:19: error: expected '}' at end of input
   12 |         return 0 ;
      |                   ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a, b;
	cin >> a >> b;

	if (a < b) cout << "a < b" << endl;
	if (a > b) cout << "a > b" << endl;
	if cout << "a == b" << endl;

	return 0 ;
		  }

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected '(' before 'cout'
   10 |         if cout << "a == b" << endl;
      |            ^~~~
      |            (
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b ;

	if(a < b) cout << "a < b" << endl;
	if(a > b) cout << "a > b" << endl;
	else if cout << "a == b" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected '(' before 'cout'
   10 |         else if cout << "a == b" << endl;
      |                 ^~~~
      |                 (
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:
a.cc:12:5: error: expected unqualified-id before 'return'
   12 |     return 0;
      |     ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
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
        printf("a==b\n");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: expected '(' before 'printf'
   13 |         printf("a==b\n");
      |         ^~~~~~
      |         (
Language: C++

a, b = map(int, raw_input().split())
if a > b:
  print "a > b"
else if a < b:
  print "a < b"
else:
  print "a == b"

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, raw_input().split())
      | ^
Language: C++

#include <iostream>

using namespace std;

int main(){
 int a, b;
 cin >> a >> b;
 if(a > b){
  cout << "a < b" << endl;
 }else if(){
  cout << "a > b" << endl;
 }else{
  cout << "a == b" << endl;
 }
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: expected primary-expression before ')' token
   10 |  }else if(){
      |           ^
Language: C++

include<iostream>
using namespace std;

int main(){
  int a, b;
  cin >> a >> b;

  if(a<b) cout << "a < b" << endl;
  else if(a>b) cout << "a > b" << endl;
  else cout << "a == b" << endl;

 return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:8:11: error: 'cout' was not declared in this scope
    8 |   if(a<b) cout << "a < b" << endl;
      |           ^~~~
a.cc:8:30: error: 'endl' was not declared in this scope
    8 |   if(a<b) cout << "a < b" << endl;
      |                              ^~~~
a.cc:9:16: error: 'cout' was not declared in this scope
    9 |   else if(a>b) cout << "a > b" << endl;
      |                ^~~~
a.cc:9:35: error: 'endl' was not declared in this scope
    9 |   else if(a>b) cout << "a > b" << endl;
      |                                   ^~~~
a.cc:10:8: error: 'cout' was not declared in this scope
   10 |   else cout << "a == b" << endl;
      |        ^~~~
a.cc:10:28: error: 'endl' was not declared in this scope
   10 |   else cout << "a == b" << endl;
      |                            ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a, b;
  cin >> a >> b;

  if(a<b) cout << "a < b" << endl;
  else if(a>b) cout << "a > b" << endl;
  else cout << "a == b" << endl;

}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:8:11: error: 'cout' was not declared in this scope
    8 |   if(a<b) cout << "a < b" << endl;
      |           ^~~~
a.cc:8:30: error: 'endl' was not declared in this scope
    8 |   if(a<b) cout << "a < b" << endl;
      |                              ^~~~
a.cc:9:16: error: 'cout' was not declared in this scope
    9 |   else if(a>b) cout << "a > b" << endl;
      |                ^~~~
a.cc:9:35: error: 'endl' was not declared in this scope
    9 |   else if(a>b) cout << "a > b" << endl;
      |                                   ^~~~
a.cc:10:8: error: 'cout' was not declared in this scope
   10 |   else cout << "a == b" << endl;
      |        ^~~~
a.cc:10:28: error: 'endl' was not declared in this scope
   10 |   else cout << "a == b" << endl;
      |                            ^~~~
Language: C++

a, b = map(int, input().split())
if a < b:
    print('a < b')
elif a > b:
    print('a > b')
elif a == b:
    print('a == b')

Compiler output:
a.cc:3:11: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    3 |     print('a < b')
      |           ^~~~~~~
a.cc:5:11: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    5 |     print('a > b')
      |           ^~~~~~~
a.cc:7:11: warning: multi-character literal with 6 characters exceeds 'int' size of 4 bytes
    7 |     print('a == b')
      |           ^~~~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'print' was not declared in this scope; did you mean 'printf'?
    9 | print("a > b");
      | ^~~~~
      | printf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'print' was not declared in this scope; did you mean 'printf'?
    9 | print("a > b");
      | ^~~~~
      | printf
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a,b;
	cin >> a >> b;
	if (a < b){
		cout << "a<b" << endl;
	}
	if (a>b){
		cout << "a>b" << endl;
	}
	if (a == b){
		cout << "a==b" << endl;
	}
	return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected '}' at end of input
   15 |         return 0;
      |                  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a,b;
	cin >> a >> b;
	if (a < b){
		cout << a"<"b << endl;
	}
	if (a>b){
		cout << a">"b << endl;
	}
	if (a == b){
		cout << a"=="b << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: expected ';' before user-defined string literal
    7 |                 cout << a"<"b << endl;
      |                          ^~~~
      |                          ;
a.cc:10:26: error: expected ';' before user-defined string literal
   10 |                 cout << a">"b << endl;
      |                          ^~~~
      |                          ;
a.cc:13:26: error: expected ';' before user-defined string literal
   13 |                 cout << a"=="b << endl;
      |                          ^~~~~
      |                          ;
Language: C++

a, b = map(int, input().split())
if (a > b):
	print(???a > b???)
elif (a < b):
	print(???a < b???)
elif (a == b):
	print(???a == b???)

Compiler output:
a.cc:3:24: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
    3 |         print(???a > b???)
a.cc:5:24: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
    5 |         print(???a < b???)
a.cc:7:25: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
    7 |         print(???a == b???)
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
Language: C++

# include<iostream>

using namespace std;
int main(){
	int a=0;
	int b=0;
	cin >> a >> b;
	if (a < b){
		cout << "a<b" << endl;
	}
	if (a > b){
		cout << "a>b" << endl;
	}
	if (a == b){
		cout << "a==b" << endl;
	}
	return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:17:18: error: expected '}' at end of input
   17 |         return 0;
      |                  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b;
	cin >> a >> b;
	if (a > b){
		cout << a << ">" << b << endl;
	}else if (a < b){
		cout << a << "<" << b << endl;
	}else (a == b){
		cout << a << "==" << b << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before '{' token
   10 |         }else (a == b){
      |                       ^
      |                       ;
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b;
	cin >> a >> b;
	if (a > b){
		cout << a << "<" << b << endl;
	}else if (a < b){
		cout << a << "<" << b << endl;
	}else (a == b){
		cout << a << "==" << b << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before '{' token
   10 |         }else (a == b){
      |                       ^
      |                       ;
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a, b;
	cin >> a >> b;
	if (a > b){
		cout << "a>b" << endl;
	}else if (a < b){
		cout << "a<b"<< endl;
	}else (a == b){
		cout <<"a==b"<< endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before '{' token
   10 |         }else (a == b){
      |                       ^
      |                       ;
Language: C++

a, b=gets.split(" ").map(&:to_f)

if a < b then
    print ("a < b")
end

if a > b then
    print ("a > b")
end

if a == b then
    print ("a == b")
end

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b=gets.split(" ").map(&:to_f)
      | ^
Language: C++

#include <iostream>
using namespace std;
    
int main(){
    int a,b;
    
    cin >> a;
   
    if((a>b){
    
       cout << "a > b" << endl;
   
    }else if (a<b){
   
       cout << "a < b" << endl;

    }else{

       cout << "a == b" << endl;   

    };
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected ';' before '{' token
    9 |     if((a>b){
      |             ^
      |             ;
a.cc:13:6: error: expected primary-expression before 'else'
   13 |     }else if (a<b){
      |      ^~~~
a.cc:13:6: error: expected ')' before 'else'
   13 |     }else if (a<b){
      |      ^~~~
      |      )
a.cc:9:7: note: to match this '('
    9 |     if((a>b){
      |       ^
Language: C++

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");
}
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'scanf' was not declared in this scope
    3 |   scanf("%d %d",&a,&b)
      |   ^~~~~
a.cc:7:3: error: 'else' without a previous 'if'
    7 |   else if(a<b){
      |   ^~~~
a.cc:8:3: error: 'printf' was not declared in this scope
    8 |   printf("a < b\n");
      |   ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void){
a.cc:10:2: error: 'printf' was not declared in this scope
   10 |  printf("a == b");
      |  ^~~~~~
a.cc:10:2: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(int argc,const char*argv[])
{
    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:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:7:9: error: 'printf' was not declared in this scope
    7 |         printf("a < b");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc,const char*argv[])
a.cc:9:9: error: 'printf' was not declared in this scope
    9 |         printf("a > b");
      |         ^~~~~~
a.cc:9:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("a = b");
      |         ^~~~~~
a.cc:11:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(int argc,const char*argv[])
{
    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:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:6:9: error: 'printf' was not declared in this scope
    6 |         printf("a < b\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc,const char*argv[])
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("a > b\n");
      |         ^~~~~~
a.cc:8:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:9: error: 'printf' was not declared in this scope
   10 |         printf("a = b\n");
      |         ^~~~~~
a.cc:10:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(int argc,const char*argv[])
{
    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:
a.cc: In function 'int main(int, const char**)':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d %d",&a,&b);
      |     ^~~~~
a.cc:6:9: error: 'printf' was not declared in this scope
    6 |         printf("a < b\n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(int argc,const char*argv[])
a.cc:8:9: error: 'printf' was not declared in this scope
    8 |         printf("a > b\n");
      |         ^~~~~~
a.cc:8:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:9: error: 'printf' was not declared in this scope
   10 |         printf("a == b\n");
      |         ^~~~~~
a.cc:10:9: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include<iostream>
using namespace std;

int main(){
 cin >> a, b;
  if ( a = b ){
  cout << "a == b" << endl
} else if ( a < b ){
  cout << "a < b" << endl
} else ( a > b ){
  cout << "a > b" << endl
};
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'a' was not declared in this scope
    5 |  cin >> a, b;
      |         ^
a.cc:5:12: error: 'b' was not declared in this scope
    5 |  cin >> a, b;
      |            ^
a.cc:7:27: error: expected ';' before '}' token
    7 |   cout << "a == b" << endl
      |                           ^
      |                           ;
    8 | } else if ( a < b ){
      | ~                          
a.cc:9:26: error: expected ';' before '}' token
    9 |   cout << "a < b" << endl
      |                          ^
      |                          ;
   10 | } else ( a > b ){
      | ~
Language: C++

#include<iostream>
using namespace std;

int main(){
 cin >> a, b;
  if ( a = b ){
  cout << "a == b" << endl
} else if ( a < b ){
  cout << "a < b" << endl
} else ( a > b ){
  cout << "a > b" << endl
}
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'a' was not declared in this scope
    5 |  cin >> a, b;
      |         ^
a.cc:5:12: error: 'b' was not declared in this scope
    5 |  cin >> a, b;
      |            ^
a.cc:7:27: error: expected ';' before '}' token
    7 |   cout << "a == b" << endl
      |                           ^
      |                           ;
    8 | } else if ( a < b ){
      | ~                          
a.cc:9:26: error: expected ';' before '}' token
    9 |   cout << "a < b" << endl
      |                          ^
      |                          ;
   10 | } else ( a > b ){
      | ~
Language: C++

#include<iostream>
using namespace std;

int main(){
 cin >> a >> b;
  if ( a = b ){
  cout << "a == b" << endl
} else if ( a < b ){
  cout << "a < b" << endl
} else ( a > b ){
  cout << "a > b" << endl
};
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'a' was not declared in this scope
    5 |  cin >> a >> b;
      |         ^
a.cc:5:14: error: 'b' was not declared in this scope
    5 |  cin >> a >> b;
      |              ^
a.cc:7:27: error: expected ';' before '}' token
    7 |   cout << "a == b" << endl
      |                           ^
      |                           ;
    8 | } else if ( a < b ){
      | ~                          
a.cc:9:26: error: expected ';' before '}' token
    9 |   cout << "a < b" << endl
      |                          ^
      |                          ;
   10 | } else ( a > b ){
      | ~
Language: C++

#include<iostream>
using namespace std;

int main(){
 cin >> a >> b;
  if ( a = b ){
  cout << "a == b" << endl
}; else if ( a < b ){
  cout << "a < b" << endl
}; else ( a > b ){
  cout << "a > b" << endl
};
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'a' was not declared in this scope
    5 |  cin >> a >> b;
      |         ^
a.cc:5:14: error: 'b' was not declared in this scope
    5 |  cin >> a >> b;
      |              ^
a.cc:7:27: error: expected ';' before '}' token
    7 |   cout << "a == b" << endl
      |                           ^
      |                           ;
    8 | }; else if ( a < b ){
      | ~                          
a.cc:8:4: error: 'else' without a previous 'if'
    8 | }; else if ( a < b ){
      |    ^~~~
a.cc:9:26: error: expected ';' before '}' token
    9 |   cout << "a < b" << endl
      |                          ^
      |                          ;
   10 | }; else ( a > b ){
      | ~                         
a.cc:10:4: error: 'else' without a previous 'if'
   10 | }; else ( a > b ){
      |    ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
 int a, b;
 cin >> a >> b;
 if ( a = b ){
 cout << "a == b" << endl
}; else if ( a < b ){
  cout << "a < b" << endl
}; else ( a > b ){
  cout << "a > b" << endl
};
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected ';' before '}' token
    8 |  cout << "a == b" << endl
      |                          ^
      |                          ;
    9 | }; else if ( a < b ){
      | ~                         
a.cc:9:4: error: 'else' without a previous 'if'
    9 | }; else if ( a < b ){
      |    ^~~~
a.cc:10:26: error: expected ';' before '}' token
   10 |   cout << "a < b" << endl
      |                          ^
      |                          ;
   11 | }; else ( a > b ){
      | ~                         
a.cc:11:4: error: 'else' without a previous 'if'
   11 | }; else ( a > b ){
      |    ^~~~
a.cc:11:18: error: expected ';' before '{' token
   11 | }; else ( a > b ){
      |                  ^
      |                  ;
Language: C++

#include<iostream>
using namespace std;

int main(){
 int a, b;
 cin >> a >> b;
 if ( a = b ) cout << "a == b" << endl;
 else if ( a < b ) cout << "a < b" << endl;
 else ( a > b ) cout << "a > b" << endl;

 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'cout'
    9 |  else ( a > b ) cout << "a > b" << endl;
      |                ^~~~~
      |                ;
Language: C++

#include<iostream>
using namespace std;

int main(){
 int a, b;
 cin >> a >> b;

 if ( a = b ) cout << "a == b" << endl;
 else if ( a < b ) cout << "a < b" << endl;
 else ( a > b ) cout << "a > b" << endl;

 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: expected ';' before 'cout'
   10 |  else ( a > b ) cout << "a > b" << endl;
      |                ^~~~~
      |                ;
Language: C++

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		if(a<b){
			System.out.println("a < b");
		}else if (a==b){
			System.out.println("a == b");
		}else{
			System.out.println("a > b");
		}
	}
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

#include<stdio.h>
int main()
{
 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:
a.cc: In function 'int main()':
a.cc:5:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    5 |  scanf("%d"&a);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:6:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |  scanf("%d"&b);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:9:2: error: expected '}' before 'else'
    9 |  else if(a>b){
      |  ^~~~
a.cc:7:9: note: to match this '{'
    7 |  if(a<b){
      |         ^
a.cc:11:2: error: expected '}' before 'else'
   11 |  else
      |  ^~~~
a.cc:9:14: note: to match this '{'
    9 |  else if(a>b){
      |              ^
Language: C++

#include<stdio.h>
int main()
{
 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:
a.cc: In function 'int main()':
a.cc:5:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    5 |  scanf("%d"&a);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:6:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |  scanf("%d"&b);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:8:18: error: expected ';' before 'else'
    8 |   printf("a<b\n")
      |                  ^
      |                  ;
    9 |  else if(a>b){
      |  ~~~~             
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:7:9: note: to match this '{'
    7 |  if(a<b){
      |         ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++


#include<stdio.h>
int main()
{
 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:
a.cc: In function 'int main()':
a.cc:6:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |  scanf("%d"&a);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:7:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    7 |  scanf("%d"&b);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:9:18: error: expected ';' before '}' token
    9 |   printf("a<b\n")}
      |                  ^
      |                  ;
a.cc:11:18: error: expected ';' before '}' token
   11 |   printf("a>b\n")}
      |                  ^
      |                  ;
Language: C++

#include<stdio.h>
int main()
{
 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:
a.cc: In function 'int main()':
a.cc:5:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    5 |  scanf("%d"&a);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:6:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |  scanf("%d"&b);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
Language: C++

#include<stdio.h>
int main()
{
 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");
return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    5 |  scanf("%d"&a);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
a.cc:6:12: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
    6 |  scanf("%d"&b);
      |        ~~~~^~
      |        |    |
      |        |    int
      |        const char [3]
Language: C++

#include <stdio.n>
int main()
{
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 (a = b)
printf("a = b\n");
return 0;
}

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

#include <stdio.n>
int main()
{
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 (a == b)
printf("a == b\n");
return 0;
}

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

#include <stdio.h>
int main()
{
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 (a == b)
printf("a == b\n");
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected ';' before 'printf'
   14 | else (a == b)
      |              ^
      |              ;
   15 | printf("a == b\n");
      | ~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main() {
	int a;
	int b;
	cin >> a >> b;
	if (a < b) {
		cout << a <<" "<< "<" <<" "<< b << endl;
	}
	if (a == b) {
		cout << a <<" "<< "==" <<" "<< b << endl;
	}
	if (a > b) {
		cout << a <<" "<< ">" <<" "<< b << endl;
	}
	return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:16:18: error: expected '}' at end of input
   16 |         return 0;
      |                  ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define FOR(i,a,b) for(ll i=(ll)(a);i<(ll)(b);i++)
#define REP(i,n) FOR(i,0,n)
#define REP1(i,n) FOR(i,1,n)
using namespace std;
 /*temp*/
 
 
int main(){
	int a;
	cin >> a >> b;
	cout << a << " ";
	if(a < b)
		cout << "<";
	else if(a == b)
		cout << "==";
	else if(a < b)
		cout << ">";
	cout << " " << b << '\n';
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: 'b' was not declared in this scope
   12 |         cin >> a >> b;
      |                     ^
Language: C++

#include <iostream>
using namespace std;

int main(void)
{
	int a,b;
	cin >> a >> b;
	if(a < b) cout << "a < b" << endl;
	else if(a > b) cout << "a > b" << endl;
	else (a == b) cout << "a == b" << endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ';' before 'cout'
   10 |         else (a == b) cout << "a == b" << endl;
      |                      ^~~~~
      |                      ;
Language: C++

#include <iostream>
using namespace std;

int main(void)
{
	int a,b;
	cin>> a >> b;
	if(a < b) cout << "a < b" << endl;
	else if(a > b) cout << "a > b" << endl;
	else (a == b) cout << "a == b" << endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ';' before 'cout'
   10 |         else (a == b) cout << "a == b" << endl;
      |                      ^~~~~
      |                      ;
Language: C++

[a, b] = map(int, input().split())
if a < b:
    print("a < b")
elif a > b:
    print("a > b")
else:
    print("a == 0")

Compiler output:
a.cc:1:1: error: expected unqualified-id before '[' token
    1 | [a, b] = map(int, input().split())
      | ^
Language: C++

[a, b] = map(int, input().split())
if a < b:
    print("a < b")
elif a > b:
    print("a > b")
elif a ==0:
    print("a == 0")

Compiler output:
a.cc:1:1: error: expected unqualified-id before '[' token
    1 | [a, b] = map(int, input().split())
      | ^
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int a ,b;
	cin >> a >> b;

	if( a < b ) cout << " a < b " << endl;
	else if ( a > b ) cout << " a > b " << endl;
	else if cout << " a = b " << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected '(' before 'cout'
   11 |         else if cout << " a = b " << endl;
      |                 ^~~~
      |                 (
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int a ,b;
	cin >> a >> b;

	if( a < b ) cout << " a < b " << endl;
	else if ( a > b ) cout << " a > b " << endl;
	else if cout << " a == b " << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected '(' before 'cout'
   11 |         else if cout << " a == b " << endl;
      |                 ^~~~
      |                 (
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int a ,b;
	cin >> a >> b;

	if( a < b) cout << "a < b" << endl;
	else if ( a > b ) cout << "a > b" << endl;
	else if cout << "a == b" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected '(' before 'cout'
   11 |         else if cout << "a == b" << endl;
      |                 ^~~~
      |                 (
Language: C++

input_data = [int(i) for i in input.split()]
if input_data[0] > input_data[1]:
 print(input_data[0],">",input_data[1])
elif input_data[0] < input_data[1]:
 print(input_data[0],"<",input_data[1])
else :
 print(input_data[0],"==",input_data[1])

Compiler output:
a.cc:1:1: error: 'input_data' does not name a type
    1 | input_data = [int(i) for i in input.split()]
      | ^~~~~~~~~~
Language: C++

input_data = [int(i) for i in int(input.split())]
if input_data[0]) > input_data[1]:
 print(input_data[0],">",input_data[1])
elif input_data[0] < input_data[1]:
 print(input_data[0],"<",input_data[1])
else :
 print(input_data[0],"==",input_data[1])

Compiler output:
a.cc:1:1: error: 'input_data' does not name a type
    1 | input_data = [int(i) for i in int(input.split())]
      | ^~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b;
	if(a > b)cout << "a < b";
	if else(b > a)cout << "a > b";
	else(a == b)cout << "a == b";

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected '(' before 'else'
    8 |         if else(b > a)cout << "a > b";
      |            ^~~~
      |            (
a.cc:9:9: error: 'else' without a previous 'if'
    9 |         else(a == b)cout << "a == b";
      |         ^~~~
a.cc:9:21: error: expected ';' before 'cout'
    9 |         else(a == b)cout << "a == b";
      |                     ^~~~
      |                     ;
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a,b;
	cin >> a >> b;
	if(a > b)cout << "a < b" << endl;
	if else(b > a)cout << "a > b" << endl;
	else cout << "a == b" << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected '(' before 'else'
    8 |         if else(b > a)cout << "a > b" << endl;
      |            ^~~~
      |            (
a.cc:9:9: error: 'else' without a previous 'if'
    9 |         else cout << "a == b" << endl;
      |         ^~~~
Language: C++

include<cstdio>

int main(){
        int a,b;
        scanf("%d%d",&a,&b);
        char ch;
        ch=(a<=b?(a<b?'<':'='):'>');
        printf("a %c b\n",ch);
        return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<cstdio>
      | ^~~~~~~
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:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before '}' token
    7 | printf("a > b\n")};
      |                  ^
      |                  ;
a.cc:8:1: error: 'else' without a previous 'if'
    8 | else if (a == b){
      | ^~~~
a.cc:9:18: error: expected ';' before '}' token
    9 | printf("a = b\n")};
      |                  ^
      |                  ;
a.cc:10:1: error: 'else' without a previous 'if'
   10 | else {
      | ^~~~
a.cc:11:18: error: expected ';' before '}' token
   11 | printf("a < b\n")};
      |                  ^
      |                  ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:16: error: 'a' was not declared in this scope
    4 |  scanf("%d %d",a,b);
      |                ^
a.cc:4:18: error: 'b' was not declared in this scope
    4 |  scanf("%d %d",a,b);
      |                  ^
a.cc:9:5: error: expected '(' before 'else'
    9 |  if else
      |     ^~~~
      |     (
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:
a.cc: In function 'int main()':
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
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);
eise
printf(a = b);
return 0;
}

Compiler output:
a.cc:6:13: error: stray '\' in program
    6 | printf(a > b\n);
      |             ^
a.cc:8:13: error: stray '\' in program
    8 | printf(a < b\n);
      |             ^
a.cc: In function 'int main()':
a.cc:6:13: error: expected ')' before 'n'
    6 | printf(a > b\n);
      |       ~     ^~
      |             )
a.cc:6:10: error: cannot convert 'bool' to 'const char*'
    6 | printf(a > b\n);
      |        ~~^~~
      |          |
      |          bool
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:8:13: error: expected ')' before 'n'
    8 | printf(a < b\n);
      |       ~     ^~
      |             )
a.cc:8:10: error: cannot convert 'bool' to 'const char*'
    8 | printf(a < b\n);
      |        ~~^~~
      |          |
      |          bool
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:9:1: error: 'eise' was not declared in this scope
    9 | eise
      | ^~~~
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);
eise
printf(a == b);
return 0;
}

Compiler output:
a.cc:6:13: error: stray '\' in program
    6 | printf(a > b\n);
      |             ^
a.cc:8:13: error: stray '\' in program
    8 | printf(a < b\n);
      |             ^
a.cc: In function 'int main()':
a.cc:6:13: error: expected ')' before 'n'
    6 | printf(a > b\n);
      |       ~     ^~
      |             )
a.cc:6:10: error: cannot convert 'bool' to 'const char*'
    6 | printf(a > b\n);
      |        ~~^~~
      |          |
      |          bool
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:8:13: error: expected ')' before 'n'
    8 | printf(a < b\n);
      |       ~     ^~
      |             )
a.cc:8:10: error: cannot convert 'bool' to 'const char*'
    8 | printf(a < b\n);
      |        ~~^~~
      |          |
      |          bool
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:9:1: error: 'eise' was not declared in this scope
    9 | eise
      | ^~~~
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);
eise
printf(a == b);
return 0;
}

Compiler output:
a.cc:6:13: error: stray '\' in program
    6 | printf(a < b\n);
      |             ^
a.cc:8:13: error: stray '\' in program
    8 | printf(a > b\n);
      |             ^
a.cc: In function 'int main()':
a.cc:6:13: error: expected ')' before 'n'
    6 | printf(a < b\n);
      |       ~     ^~
      |             )
a.cc:6:10: error: cannot convert 'bool' to 'const char*'
    6 | printf(a < b\n);
      |        ~~^~~
      |          |
      |          bool
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:8:13: error: expected ')' before 'n'
    8 | printf(a > b\n);
      |       ~     ^~
      |             )
a.cc:8:10: error: cannot convert 'bool' to 'const char*'
    8 | printf(a > b\n);
      |        ~~^~~
      |          |
      |          bool
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:9:1: error: 'eise' was not declared in this scope
    9 | eise
      | ^~~~