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

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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << "a>b"<< endl;}
      |     ^~~~
a.cc:5:21: error: 'endl' was not declared in this scope
    5 |     cout << "a>b"<< endl;}
      |                     ^~~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << "a<b" << endl;
      |     ^~~~
a.cc:7:22: error: 'endl' was not declared in this scope
    7 |     cout << "a<b" << endl;
      |                      ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "a==b" << endl;
      |         ^~~~
a.cc:10:27: error: 'endl' was not declared in this scope
   10 |         cout << "a==b" << endl;
      |                           ^~~~
Language: C++

#include<iostream>

using namespase std;

int main(){

if ( a < b ) {

cout << a < b << endl;

} else ( a > b ) { 

cout << a > b << endl;

} else ( a = b ) {

cout << a = b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:6: error: 'a' was not declared in this scope
    7 | if ( a < b ) {
      |      ^
a.cc:7:10: error: 'b' was not declared in this scope
    7 | if ( a < b ) {
      |          ^
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | cout << a < b << endl;
      | ^~~~
      | std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:3: error: 'else' without a previous 'if'
   15 | } else ( a = b ) {
      |   ^~~~
a.cc:15:10: error: 'a' was not declared in this scope
   15 | } else ( a = b ) {
      |          ^
a.cc:15:14: error: 'b' was not declared in this scope
   15 | } else ( a = b ) {
      |              ^
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

if ( a < b ) {

cout << a < b << endl;

} else ( a > b ) { 

cout << a > b << endl;

} else ( a = b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:6: error: 'a' was not declared in this scope
    7 | if ( a < b ) {
      |      ^
a.cc:7:10: error: 'b' was not declared in this scope
    7 | if ( a < b ) {
      |          ^
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | cout << a < b << endl;
      | ^~~~
      | std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:3: error: 'else' without a previous 'if'
   15 | } else ( a = b ) {
      |   ^~~~
a.cc:15:10: error: 'a' was not declared in this scope
   15 | } else ( a = b ) {
      |          ^
a.cc:15:14: error: 'b' was not declared in this scope
   15 | } else ( a = b ) {
      |              ^
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

if ( a < b ) {

cout << a < b << endl;

} else ( a > b ) { 

cout << a > b << endl;

} else ( a == b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:6: error: 'a' was not declared in this scope
    7 | if ( a < b ) {
      |      ^
a.cc:7:10: error: 'b' was not declared in this scope
    7 | if ( a < b ) {
      |          ^
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | cout << a < b << endl;
      | ^~~~
      | std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:3: error: 'else' without a previous 'if'
   15 | } else ( a == b ) {
      |   ^~~~
a.cc:15:10: error: 'a' was not declared in this scope
   15 | } else ( a == b ) {
      |          ^
a.cc:15:15: error: 'b' was not declared in this scope
   15 | } else ( a == b ) {
      |               ^
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){



if ( a < b ) {

cout << a < b << endl;

} else ( a > b ) { 

cout << a > b << endl;

} else ( a == b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:6: error: 'a' was not declared in this scope
    9 | if ( a < b ) {
      |      ^
a.cc:9:10: error: 'b' was not declared in this scope
    9 | if ( a < b ) {
      |          ^
a.cc:11:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 | cout << a < b << endl;
      | ^~~~
      | std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:3: error: 'else' without a previous 'if'
   17 | } else ( a == b ) {
      |   ^~~~
a.cc:17:10: error: 'a' was not declared in this scope
   17 | } else ( a == b ) {
      |          ^
a.cc:17:15: error: 'b' was not declared in this scope
   17 | } else ( a == b ) {
      |               ^
a.cc:21:2: error: expected '}' at end of input
   21 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

cin >> a b 

if ( a < b ) {

cout << a < b << endl;



} else ( a > b ) { 

cout << a > b << endl;

} else ( a == b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | cin >> a b
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:8: error: 'a' was not declared in this scope
    7 | cin >> a b
      |        ^
a.cc:15:3: error: 'else' without a previous 'if'
   15 | } else ( a > b ) {
      |   ^~~~
a.cc:15:14: error: 'b' was not declared in this scope
   15 | } else ( a > b ) {
      |              ^
a.cc:19:3: error: 'else' without a previous 'if'
   19 | } else ( a == b ) {
      |   ^~~~
a.cc:23:2: error: expected '}' at end of input
   23 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

int a b;

cin >> a b;

if ( a < b ) {

cout << a < b << endl;



} else ( a > b ) { 

cout << a > b << endl;

} else ( a == b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:7: error: expected initializer before 'b'
    7 | int a b;
      |       ^
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:8: error: 'a' was not declared in this scope
    9 | cin >> a b;
      |        ^
a.cc:11:10: error: 'b' was not declared in this scope
   11 | if ( a < b ) {
      |          ^
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout << a < b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:3: error: 'else' without a previous 'if'
   21 | } else ( a == b ) {
      |   ^~~~
a.cc:21:15: error: 'b' was not declared in this scope
   21 | } else ( a == b ) {
      |               ^
a.cc:25:2: error: expected '}' at end of input
   25 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

int a , b;

cin >> a , b;

if ( a < b ) {

cout << a < b << endl;



} else ( a > b ) { 

cout << a > b << endl;

} else ( a == b ) {

cout << a == b  << endl;

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout << a < b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout << a < b << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:17: error: expected ';' before '{' token
   17 | } else ( a > b ) {
      |                 ^~
      |                 ;
a.cc:21:3: error: 'else' without a previous 'if'
   21 | } else ( a == b ) {
      |   ^~~~
a.cc:21:18: error: expected ';' before '{' token
   21 | } else ( a == b ) {
      |                  ^~
      |                  ;
a.cc:25:2: error: expected '}' at end of input
   25 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

int a , b;

cin >> a , b;

if ( a < b ) {

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


} else ( a > b ) { 

cout << a << ">" << b << endl;

} else ( a == b ) {

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

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:16:17: error: expected ';' before '{' token
   16 | } else ( a > b ) {
      |                 ^~
      |                 ;
a.cc:20:3: error: 'else' without a previous 'if'
   20 | } else ( a == b ) {
      |   ^~~~
a.cc:20:18: error: expected ';' before '{' token
   20 | } else ( a == b ) {
      |                  ^~
      |                  ;
a.cc:24:2: error: expected '}' at end of input
   24 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

int a , b;

cin >> a , b;

if ( a < b ) {

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

} else ( a > b ) { 

cout << a << ">" << b << endl;

} else ( a == b ) {

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

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:17: error: expected ';' before '{' token
   15 | } else ( a > b ) {
      |                 ^~
      |                 ;
a.cc:19:3: error: 'else' without a previous 'if'
   19 | } else ( a == b ) {
      |   ^~~~
a.cc:19:18: error: expected ';' before '{' token
   19 | } else ( a == b ) {
      |                  ^~
      |                  ;
a.cc:23:2: error: expected '}' at end of input
   23 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include<iostream>

using namespase std;

int main(){

int a , b;

cin >> a , b;

if ( a < b ) {

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

} else ( a > b ) { 

cout << a << ">" << b << endl;

} else ( a == b ) {

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

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:17: error: expected ';' before '{' token
   15 | } else ( a > b ) {
      |                 ^~
      |                 ;
a.cc:19:3: error: 'else' without a previous 'if'
   19 | } else ( a == b ) {
      |   ^~~~
a.cc:19:18: error: expected ';' before '{' token
   19 | } else ( a == b ) {
      |                  ^~
      |                  ;
Language: C++

#include<iostream>

using namespase 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;

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << a << ">" << b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << a << ">" << b << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout << a << "==" <<  b  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 | cout << a << "==" <<  b  << endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

using namespase 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 ( a == b ) {

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

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << a << ">" << b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << a << ">" << b << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout << a << "==" <<  b  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 | cout << a << "==" <<  b  << endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

using namespase 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 ( a == b ) {

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

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a , b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << a << ">" << b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << a << ">" << b << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout << a << "==" <<  b  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 | cout << a << "==" <<  b  << endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

using namespase 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 ( a == b ) {

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

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << a << ">" << b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << a << ">" << b << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout << a << "==" <<  b  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 | cout << a << "==" <<  b  << endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

using namespase 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;

}

}

 



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout <<  a<< "<" <<  b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout <<  a<< "<" <<  b << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << a << ">" << b << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << a << ">" << b << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout << a << "==" <<  b  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 | cout << a << "==" <<  b  << endl;
      |                             ^~~~
      |                             std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

using namespase 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;

}

}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout << "a < b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout << "a < b"  << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << "a >b" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << "a >b" << endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout <<　 "a == b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | cout <<　 "a == b"  << endl;
      |        ^~
Language: C++

#include<iostream>

using namespase 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;

}

}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout << "a < b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout << "a < b"  << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << "a > b" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << "a > b" << endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout <<　 "a == b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | cout <<　 "a == b"  << endl;
      |        ^~
Language: C++

#include<iostream>

using namespase 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;

    }
   retrun 0;
}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin >> a >> b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 | cout << "a < b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 | cout << "a < b"  << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:17:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   17 | cout << "a > b" << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:17:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   17 | cout << "a > b" << endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:21:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 | cout <<　 "a == b"  << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | cout <<　 "a == b"  << endl;
      |        ^~
a.cc:24:4: error: 'retrun' was not declared in this scope
   24 |    retrun 0;
      |    ^~~~~~
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;

    }

}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc: In function 'int main()':
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | 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;

}  if ( a == b ) {

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

    }

return()

}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc: In function 'int main()':
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | cout <<　 "a == b"  << endl;
      |        ^~
a.cc:25:8: error: expected primary-expression before ')' token
   25 | return()
      |        ^
a.cc:25:9: error: expected ';' before '}' token
   25 | return()
      |         ^
      |         ;
   26 | 
   27 | }
      | ~
Language: C++

#include<iostream>
usingm\ namespace std;

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


Compiler output:
a.cc:2:7: error: stray '\' in program
    2 | usingm\ namespace std;
      |       ^
a.cc:2:1: error: 'usingm' does not name a type
    2 | usingm\ namespace std;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |       cout<<"a>b"<<endl;
      |       ^~~~
      |       std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |       cout<<"a>b"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |      cout<<"a<b"<<endl;
      |      ^~~~
      |      std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |      cout<<"a<b"<<endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout<<"a==b"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout<<"a==b"<<endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
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;

    }
}

 



Compiler output:
a.cc:21:8: error: extended character 　 is not valid in an identifier
   21 | cout <<　 "a == b"  << endl;
      |        ^
a.cc: In function 'int main()':
a.cc:21:8: error: '\U00003000' was not declared in this scope
   21 | 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;
}  if ( a == b ) {
cout <<　 "a == b"  << endl;
    }
}

 



Compiler output:
a.cc:12:8: error: extended character 　 is not valid in an identifier
   12 | cout <<　 "a == b"  << endl;
      |        ^
a.cc: In function 'int main()':
a.cc:12:8: error: '\U00003000' was not declared in this scope
   12 | 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;
    }  if ( a == b ) {
    cout <<　"a == b"  << endl;
    }
}

 



Compiler output:
a.cc:13:12: error: extended character 　 is not valid in an identifier
   13 |     cout <<　"a == b"  << endl;
      |            ^
a.cc: In function 'int main()':
a.cc:13:12: error: '\U00003000' was not declared in this scope
   13 |     cout <<　"a == b"  << endl;
      |            ^~
Language: C++

#include<iostream>
using namespace std;

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



Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
    9 |       sep = "=";
      |             ^~~
      |             |
      |             const char*
a.cc:11:13: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   11 |       sep = ">";
      |             ^~~
      |             |
      |             const char*
a.cc:13:13: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   13 |       sep = "<";
      |             ^~~
      |             |
      |             const char*
a.cc:15:28: error: expected ';' before 'endl'
   15 |   cout << "a" << sep << "b" endl;
      |                            ^~~~~
      |                            ;
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before '<<' token
    6 | else if(a>b)<<"a>b"<<endl;
      |             ^~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before '<<' token
    6 | else if(a>b)<<"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)<<"a>b"<<endl;
else cout<<"a==b"<<endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '<<' token
    7 | else if(a>b)<<"a>b"<<endl;
      |             ^~