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

#include <cstdio>

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



Compiler output:
a.cc: In function 'int main()':
a.cc:6:28: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    6 |   std::scanf("%d %d %d",&a &b &c);
      |                         ~~ ^~
      |                         |   |
      |                         |   int
      |                         int*
Language: C++

#include <cstdio>

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



Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'b'
    5 |   int a b c;
      |         ^
a.cc:6:26: error: 'a' was not declared in this scope
    6 |   std::scanf("%d %d %d",&a &b &c);
      |                          ^
a.cc:6:29: error: 'b' was not declared in this scope
    6 |   std::scanf("%d %d %d",&a &b &c);
      |                             ^
a.cc:6:32: error: 'c' was not declared in this scope
    6 |   std::scanf("%d %d %d",&a &b &c);
      |                                ^
Language: C++

#include <cstdio>

int main() {
  //入力
  int a,b,c;
  std::scanf("%d %d %d",&a,&b,&c);
 
  if(a < b < c) {
    std::printf("Yes");
  }
  
  else if(a > b > c) {
    std::printf("No");
  }
   else if(a == b == c){
    std::printf("No")
  }

  
  
  std::printf("\n");
  
  
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:22: error: expected ';' before '}' token
   16 |     std::printf("No")
      |                      ^
      |                      ;
   17 |   }
      |   ~
Language: C++

#include <cstdio>

int main() {
  //入力
  int a,b,c;
  std::scanf("%d %d %d",&a,&b,&c);
 
  if(a < b < c) {
    std::printf("Yes");
  }
  
  else if(a > b > c) {
    std::printf("No");
  }
  else if(a == b == c){
    std::printf("No")
  }

  
  
  std::printf("\n");
  
  
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:22: error: expected ';' before '}' token
   16 |     std::printf("No")
      |                      ^
      |                      ;
   17 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;

int main()[
    int a,b,c;
    cin >> a >> b >> c;
    if(a < b && b << c){cout << "Yes" << endl;}
    else{cout << "No" << endl;}
    return o;
}


Compiler output:
a.cc:5:5: error: expected primary-expression before 'int'
    5 |     int a,b,c;
      |     ^~~
a.cc:4:12: error: expected ']' before 'int'
    4 | int main()[
      |            ^
      |            ]
    5 |     int a,b,c;
      |     ~~~     
a.cc:6:5: error: 'cin' does not name a type
    6 |     cin >> a >> b >> c;
      |     ^~~
a.cc:7:5: error: expected unqualified-id before 'if'
    7 |     if(a < b && b << c){cout << "Yes" << endl;}
      |     ^~
a.cc:8:5: error: expected unqualified-id before 'else'
    8 |     else{cout << "No" << endl;}
      |     ^~~~
a.cc:9:5: error: expected unqualified-id before 'return'
    9 |     return o;
      |     ^~~~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

#include<iostream>
using namespace std;

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    if(a < b && b << c){cout << "Yes" << endl;}
    else{cout << "No" << endl;}
    return o;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: 'o' was not declared in this scope
    9 |     return o;
      |            ^
Language: C++

#include <stdio.h>

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: 'c' was not declared in this scope
    5 | if(a<b&&b<c){
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: 'c' was not declared in this scope
    5 | if(a<b&&b<c){
      |           ^
Language: C++

import java.util.Scanner;

class Main {
 public static void main(String[] args){

Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

if (a < b && b < c){
System.out.println("Yes");
}else{
System.out.println("No");
}

}
}


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:4:8: error: expected ':' before 'static'
    4 |  public static void main(String[] args){
      |        ^~~~~~~
      |        :
a.cc:4:26: error: 'String' has not been declared
    4 |  public static void main(String[] args){
      |                          ^~~~~~
a.cc:4:35: error: expected ',' or '...' before 'args'
    4 |  public static void main(String[] args){
      |                                   ^~~~
a.cc:19:2: error: expected ';' after class definition
   19 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:6:1: error: 'Scanner' was not declared in this scope
    6 | Scanner sc = new Scanner(System.in);
      | ^~~~~~~
a.cc:8:13: error: 'sc' was not declared in this scope
    8 |     int a = sc.nextInt();
      |             ^~
a.cc:13:1: error: 'System' was not declared in this scope
   13 | System.out.println("Yes");
      | ^~~~~~
a.cc:15:1: error: 'System' was not declared in this scope
   15 | System.out.println("No");
      | ^~~~~~
Language: C++

#include <stdio.h>
#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: 'count' was not declared in this scope
    7 |         if (a < b < c) count << "Yes" << endl;
      |                        ^~~~~
Language: C++

#include <stdio.h>
#include <iostream>
using namespace std;

int main(void){
	int a, b, c; cin >> a >> b >> c;
	if (a < b && b < c) count << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: 'count' was not declared in this scope
    7 |         if (a < b && b < c) count << "Yes" << endl;
      |                             ^~~~~
Language: C++

#include "bits/stdc++.h"
using namespace std;
static const int MAX = 200000;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:27: error: 'c' was not declared in this scope
    8 |         if ((a < b)&&(b < c))cout << "Yes" << endl;
      |                           ^
Language: C++

#include "bits/stdc++.h"
using namespace std;
static const int MAX = 200000;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:18: error: expected primary-expression before ',' token
    6 |         int a, b;,c
      |                  ^
a.cc:6:19: error: 'c' was not declared in this scope
    6 |         int a, b;,c
      |                   ^
Language: C++

#include<iostream>
using namespace std;

int main()
{
    int a,b;

    cin >> a >> b >> c;

    if(a<b && b<c){
        cout << "Yes" << endl;
    }
    e]se{
        cout << "No" << endl;
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'c' was not declared in this scope
    8 |     cin >> a >> b >> c;
      |                      ^
a.cc:13:5: error: 'e' was not declared in this scope
   13 |     e]se{
      |     ^
Language: C++

#include<iostream>
using namespace std;

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

    cin >> a >> b >> c;

    if(a<b && b<c){
        cout << "Yes" << endl;
    }
    e]se{
        cout << "No" << endl;
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'e' was not declared in this scope
   13 |     e]se{
      |     ^
Language: C++

include <stdio.h>

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <stdio.h>
      | ^~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before '}' token
   10 |         return 0
      |                 ^
      |                 ;
   11 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before '}' token
   10 |         return 0
      |                 ^
      |                 ;
   11 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |         return 0
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |         return 0
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |         return 0
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |         return 0
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C++

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

	else cout << "Yes" << endl;
	
	return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected ';' before '}' token
   11 |         return 0
      |                 ^
      |                 ;
   12 | }
      | ~
Language: C++

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

	else cout << "No" << endl;
	
	return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected ';' before '}' token
   11 |         return 0
      |                 ^
      |                 ;
   12 | }
      | ~
Language: C++

#include<iostream>
using namespace std;

int main(){

	int a , b , c ;
	cin >> a >> b >> c ;

	if( a < b ){
	if ( b < c ){
	cout<< "Yes"<< endl;
	}else{
	cout<< "No"<< endl;
	}else{
	cout<< "No"<< endl;
	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:10: error: expected '}' before 'else'
   14 |         }else{
      |          ^~~~
a.cc:9:20: note: to match this '{'
    9 |         if( a < b ){
      |                    ^
Language: C++

#include <iostream>

using namespace

int main()

{
 int a,b,c
 cin >> a >> b >> c ;
 if (a<b<c)
   cout <<"Yes"<< endl;
 else
   cout <<"No"<< endl;}


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main()
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main()
      | ~~~             
a.cc: In function 'int main()':
a.cc:9:2: error: expected initializer before 'cin'
    9 |  cin >> a >> b >> c ;
      |  ^~~
a.cc:10:10: error: 'c' was not declared in this scope
   10 |  if (a<b<c)
      |          ^
a.cc:11:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |    cout <<"Yes"<< 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:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |    cout <<"Yes"<< 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:13:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |    cout <<"No"<< 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 <<"No"<< 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

int main()

{
 int a,b,c;
 cin >> a >> b >> c ;
 if (a<b<c)
   cout <<"Yes"<< endl;
 else
   cout <<"No"<< endl;}


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main()
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main()
      | ~~~             
a.cc: In function 'int main()':
a.cc:9:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |  cin >> a >> b >> c ;
      |  ^~~
      |  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:11:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |    cout <<"Yes"<< 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 <<"Yes"<< 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:13:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |    cout <<"No"<< 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 <<"No"<< 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

int main()

{
 int a,b,c;
 cin >> a >> b >> c ;
 if (a<b<c)
   cout <<"Yes"<< endl;
 else
   cout <<"No"<< endl;

return 0;
}


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main()
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main()
      | ~~~             
a.cc: In function 'int main()':
a.cc:9:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |  cin >> a >> b >> c ;
      |  ^~~
      |  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:11:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |    cout <<"Yes"<< 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 <<"Yes"<< 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:13:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |    cout <<"No"<< 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 <<"No"<< endl;
      |                  ^~~~
      |                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

import java.util.Scanner;
public class Main{
    public static void main(String args[]){
	Scanner in = new Scanner(System.in);
	int a = in.nextInt();
	int b = in.nextInt();
	int c = in.nextInt();
	if(a<b && b<c)System.out.println("Yes");
	else System.out.println("No");

    }
}



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:2:1: error: expected unqualified-id before 'public'
    2 | public class Main{
      | ^~~~~~
Language: C++

#include<iostream>
#include<string>
using namespace std;

void SME(int a,int b);

int main(){
    int a,b,c;
    cin>>a>>b>>c;
    SME(a,b,c);
    return 0;
}

void SME(int a,int b,int c){
    if(a<b<c){
        cout<<Yes<<endl;
    }
    else{
        cout<<No<<endl;
    }
}




Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: too many arguments to function 'void SME(int, int)'
   10 |     SME(a,b,c);
      |     ~~~^~~~~~~
a.cc:5:6: note: declared here
    5 | void SME(int a,int b);
      |      ^~~
a.cc: In function 'void SME(int, int, int)':
a.cc:16:15: error: 'Yes' was not declared in this scope
   16 |         cout<<Yes<<endl;
      |               ^~~
a.cc:19:15: error: 'No' was not declared in this scope
   19 |         cout<<No<<endl;
      |               ^~
Language: C++

#include<iostream>
#include<string>
using namespace std;

void SME(int a,int b,int c);

int main(){
    int a,b,c;
    cin>>a>>b>>c;
    SME(a,b,c);
    return 0;
}

void SME(int a,int b,int c){
    if(a<b<c){
        cout<<Yes<<endl;
    }
    else{
        cout<<No<<endl;
    }
}




Compiler output:
a.cc: In function 'void SME(int, int, int)':
a.cc:16:15: error: 'Yes' was not declared in this scope
   16 |         cout<<Yes<<endl;
      |               ^~~
a.cc:19:15: error: 'No' was not declared in this scope
   19 |         cout<<No<<endl;
      |               ^~
Language: C++

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


Compiler output:
a.cc:9:2: error: stray '#' in program
    9 | }#include <iostream>
      |  ^
a.cc:17:2: error: stray '#' in program
   17 | }#include <iostream>
      |  ^
a.cc:9:3: error: 'include' does not name a type
    9 | }#include <iostream>
      |   ^~~~~~~
a.cc:11:5: error: redefinition of 'int main()'
   11 | int main(){
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main(){
      |     ^~~~
a.cc:17:3: error: 'include' does not name a type
   17 | }#include <iostream>
      |   ^~~~~~~
a.cc:19:5: error: redefinition of 'int main()'
   19 | int main(){
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main(){
      |     ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: expected '}' before 'else'
   13 |     else
      |     ^~~~
a.cc:6:5: note: to match this '{'
    6 |     {
      |     ^
a.cc: At global scope:
a.cc:16:5: error: expected unqualified-id before 'return'
   16 |     return 0;
      |     ^~~~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: break statement not within loop or switch
    8 |             break;
      |             ^~~~~
a.cc:9:5: error: 'else' without a previous 'if'
    9 |     else
      |     ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: break statement not within loop or switch
    8 |             break;
      |             ^~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: break statement not within loop or switch
    9 |             break;
      |             ^~~~~
Language: C++

#include<iostream>

using namespace std;
int main()
{
	int a b c;
	cin >> a b c

		if (a < b && b < c) {
			cout << Yes << endl;

		}
		else {
			cout << No << endl;
		}



	





    return 0;
}

 


Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected initializer before 'b'
    6 |         int a b c;
      |               ^
a.cc:7:16: error: 'a' was not declared in this scope
    7 |         cin >> a b c
      |                ^
a.cc:13:17: error: 'else' without a previous 'if'
   13 |                 else {
      |                 ^~~~
a.cc:14:33: error: 'No' was not declared in this scope
   14 |                         cout << No << endl;
      |                                 ^~
Language: C++

#include <iostream>
#include<vector>
#include<cmath>
#include<algorithm>
using namespace std;
#define loop(i,n) for(int i = 0; i < (n); i++)
#define loops(i,f,n) for(int i = (f); i < (n); i++)
#define INF 1e9
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    else cout<<(a<b&&b<c?"Yes":"No")<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else cout<<(a<b&&b<c?"Yes":"No")<<endl;
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expected identifier before '(' token
    8 |         if (a < b) && (b < c)
      |                       ^
Language: C++

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

    return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: expected ';' before '{' token
    6 |         if ((a<b)&&(b<c){
      |                         ^
      |                         ;
a.cc:8:10: error: expected primary-expression before 'else'
    8 |         }else {
      |          ^~~~
a.cc:8:10: error: expected ')' before 'else'
    8 |         }else {
      |          ^~~~
      |          )
a.cc:6:12: note: to match this '('
    6 |         if ((a<b)&&(b<c){
      |            ^
Language: C++

#include<stdio.h>
int main(){
      int a,b,c;
      scan("%d%d%d",&a,&b,&c);
      if (a<b && b<c)
      printf("Yes\n");
      else printf("No\n");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: 'scan' was not declared in this scope; did you mean 'scanf'?
    4 |       scan("%d%d%d",&a,&b,&c);
      |       ^~~~
      |       scanf
Language: C++

#include<iostream>
using namespace std;

int a;
int b;
int c;

int main(){
	cin >> a;
	cin >> b;
	cin >> c;
	if ( a<b )and( b<c ) {
		cout << "Yes" << endl;
	} else {
		cout << "No" << endl;
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: expected identifier before '(' token
   12 |         if ( a<b )and( b<c ) {
      |                      ^
Language: C++

#include<iostream>
using namespace std;

int a;
int b;
int c;

int main(){
	cin >> a;
	cin >> b;
	cin >> c;
	if ( a<b )&&( b<c ) {
		cout << "Yes" << endl;
	} else {
		cout << "No" << endl;
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected identifier before '(' token
   12 |         if ( a<b )&&( b<c ) {
      |                     ^
Language: C++

#include<cstdio>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:30: error: 'c' was not declared in this scope
    5 |   scanf("%d %d %d", &a, &b, &c);;
      |                              ^
Language: C++

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

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

#include <iostream>

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

    if (a < b) && (b < c) {
        std::cout << "Yes" << std::endl;
    } else {
        std::cout << "No" << std::endl;
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected unqualified-id before ';' token
    5 |     int a, b, c,;
      |                 ^
a.cc:7:19: error: expected identifier before '(' token
    7 |     if (a < b) && (b < c) {
      |                   ^
Language: C++

#include<iostream>

using namespace std;

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

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

include <iostream>
using namespace std;

int main(){


  int a = 0 ,b = 0 ,c = 0;

  cin >> a >> b >> c;

  if(a > b && b > c){
    cout << "Yes\n";
  }else{
    cout << "No\n";
  }

    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:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b >> c;
      |   ^~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "Yes\n";
      |     ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "No\n";
      |     ^~~~
Language: C++

include <iostream>
using namespace std;

int main(){


  int a = 0 ,b = 0 ,c = 0;

  cin >> a >> b >> c;

  if(a < b && b < c){
    cout << "Yes\n";
  }else{
    cout << "No\n";
  }

    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:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b >> c;
      |   ^~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "Yes\n";
      |     ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "No\n";
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;

int main()
{
  int a, b, c;
  cin >> a >> b >> c;
 
  if(a < b && b < c){
    cout << "Yes" <<"\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include<iostream>
using namespace std;

int main()
{
  int# a, b, c;
  cin >> a >> b >> c;
 
  if(a < b && b < c){
    cout << "Yes" <<"\n";
}

Compiler output:
a.cc:6:6: error: stray '#' in program
    6 |   int# a, b, c;
      |      ^
a.cc: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include <iostream>

using namespace std;

int main(){

int a,b,c;

cin >> a >> b >> c;

cout << (a<b)?((b<c)?"Yes":"No"):"No" << endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:39: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 | cout << (a<b)?((b<c)?"Yes":"No"):"No" << endl;
      |                                  ~~~~~^~~~~~~
Language: C++

#include <iostream>

using namespace std;

int main(){

int a,b,c;

cin >> a >> b >> c;

cout << (a<b)?((b<c)?"Yes":"No";):"No"; << endl;

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:32: error: expected ')' before ';' token
   11 | cout << (a<b)?((b<c)?"Yes":"No";):"No"; << endl;
      |               ~                ^
      |                                )
a.cc:11:32: error: expected ':' before ';' token
   11 | cout << (a<b)?((b<c)?"Yes":"No";):"No"; << endl;
      |                                ^
      |                                :
a.cc:11:32: error: expected primary-expression before ';' token
a.cc:11:33: error: expected primary-expression before ')' token
   11 | cout << (a<b)?((b<c)?"Yes":"No";):"No"; << endl;
      |                                 ^
a.cc:11:41: error: expected primary-expression before '<<' token
   11 | cout << (a<b)?((b<c)?"Yes":"No";):"No"; << endl;
      |                                         ^~
Language: C++

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

Compiler output:
a.cc:9:2: error: expected unqualified-id before ')' token
    9 | })
      |  ^
Language: Java

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




  

 



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int main(void){
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
int main(void){
             ^
Main.java:4: error: illegal start of expression
scanf("%d %d %d",&a,&b,&c);
                 ^
Main.java:4: error: illegal start of expression
scanf("%d %d %d",&a,&b,&c);
                    ^
Main.java:4: error: illegal start of expression
scanf("%d %d %d",&a,&b,&c);
                       ^
5 errors
Language: Java

yijunang std;
 
int main(){
    int array[3];
    for(int i = 0; i < 3; i++) scanf("%d",&array[i]);
    for(int i = 2; i > 0; i--){
        for(int j = 0; j < i; j++){
            if(array[j] > array[j+1])swap(array[j],array[j+1]);
        }
    }
    printf("%d %d %d\n",array[0],array[1],array[2]);
}



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
yijunang std;
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: ']' expected
    int array[3];
              ^
Main.java:5: error: illegal start of expression
    for(int i = 0; i < 3; i++) scanf("%d",&array[i]);
                                          ^
3 errors
Language: Java

yijunang123 std;
 
int main(){
    int array[3];
    for(int i = 0; i < 3; i++) scanf("%d",&array[i]);
    for(int i = 2; i > 0; i--){
        for(int j = 0; j < i; j++){
            if(array[j] > array[j+1])swap(array[j],array[j+1]);
        }
    }
    printf("%d %d %d\n",array[0],array[1],array[2]);
}



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
yijunang123 std;
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: ']' expected
    int array[3];
              ^
Main.java:5: error: illegal start of expression
    for(int i = 0; i < 3; i++) scanf("%d",&array[i]);
                                          ^
3 errors
Language: Java

fun main(args: Array<String>){
  val scn=Scanner(System.in)
  println(generateSequence{scn.nextInt()}.take(3).sorted().joinToString(" "))
}



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
fun main(args: Array<String>){
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
fun main(args: Array<String>){
             ^
Main.java:1: error: class, interface, enum, or record expected
fun main(args: Array<String>){
                    ^
3 errors
Language: Java

fun main(args: Array<String>){
  val scn=java.lang.Scanner(System.in)
  println(generateSequence{scn.nextInt()}.take(3).sorted().joinToString(" "))
}



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
fun main(args: Array<String>){
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
fun main(args: Array<String>){
             ^
Main.java:1: error: class, interface, enum, or record expected
fun main(args: Array<String>){
                    ^
3 errors
Language: Java

fun main(args: Array<String>){
  val scn=java.util.Scanner(System.in)
  println(generateSequence{scn.nextInt()}.take(3).sorted().joinToString(" "))
}



Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
fun main(args: Array<String>){
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
fun main(args: Array<String>){
             ^
Main.java:1: error: class, interface, enum, or record expected
fun main(args: Array<String>){
                    ^
3 errors
Language: Java

import java.util.Scanner;

public class c2 {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

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

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

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

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

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

}


Compiler output:
Main.java:3: error: class c2 is public, should be declared in a file named c2.java
public class c2 {
       ^
1 error
Language: Java

import java.util.Scanner;

public class c2 {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<=b&&b<=c){
	    	 System.out.println(a + " " + b + " " +  c);

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

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

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

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

	     }

	     else if(b<=c&&c<=a){
	    	 System.out.println(b + " " + c + " " + a);

	     }
	}

}


Compiler output:
Main.java:3: error: class c2 is public, should be declared in a file named c2.java
public class c2 {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int p;
        if(a > b) {
        	p = a;
        	a = b;
        	b = p;
        	}
        if(b > c) {
        	p = b;
        	b = c;
        	c = p;
        	}
        if(a > ｃ) {
        	p = a;
        	a = ｃ;
        	ｃ = p;
        	}
        System.out.println( a + "  " + b + "  " + c );
	}

}


Compiler output:
Main.java:21: error: cannot find symbol
        if(a > ?) {
               ^
  symbol:   variable ?
  location: class Main
Main.java:23: error: cannot find symbol
        	a = ?;
        	    ^
  symbol:   variable ?
  location: class Main
Main.java:24: error: cannot find symbol
        	? = p;
        	^
  symbol:   variable ?
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

class Main {

	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int tmp;
        if(a > b) {
        	 = a;
        	a = b;
        	b = p;
        	}
        if(b > c) {
        	p = b;
        	b = c;
        	c = p;
        	}
        if(a > b) {
        	p = a;
        	a = b;
        	b = p;
        	}
        System.out.println( a + " " + b + " " + c );
	}

}


Compiler output:
Main.java:12: error: illegal start of expression
        	 = a;
        	 ^
1 error
Language: Java

import java.util.Scanner;

class Main {

	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int tmp;
        if(a > b) {
        	tmp = a;
        	a = b;
        	b = tem;
        	}
        if(b > c) {
        	tmp = b;
        	b = c;
        	c = tmp;
        	}
        if(a > b) {
        	tmp = a;
        	a = b;
        	b = tmp;
        	}
        System.out.println( a + " " + b + " " + c );
	}

}


Compiler output:
Main.java:14: error: cannot find symbol
        	b = tem;
        	    ^
  symbol:   variable tem
  location: class Main
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Array.sort(str2);
      System.out.println(str2[0] + " " + str2[1] + " " + str2[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:11: error: cannot find symbol
      Array.sort(str2);
      ^
  symbol:   variable Array
  location: class Main
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Array.sort(str2);
      System.out.println(str2[0] + " " + str2[1] + " " + str2[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
      Array.sort(str2);
      ^
  symbol:   variable Array
  location: class Main
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      int[] str2 = Integer.parseInt(str.split(" "));
      Array.sort(str2);
      System.out.println(str2[0] + " " + str2[1] + " " + str2[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:11: error: incompatible types: String[] cannot be converted to String
      int[] str2 = Integer.parseInt(str.split(" "));
                                             ^
Main.java:12: error: cannot find symbol
      Array.sort(str2);
      ^
  symbol:   variable Array
  location: class Main
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Int[] x;
      x[0] = Integer.parseInt(str2[0]);
      x[1] = Integer.parseInt(str2[1]);
      x[2] = Integer.parseInt(str2[2]);
      Array.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
      Int[] x;
      ^
  symbol:   class Int
  location: class Main
Main.java:16: error: cannot find symbol
      Array.sort(x);
      ^
  symbol:   variable Array
  location: class Main
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Int[] x = new int[3];
      x[0] = Integer.parseInt(str2[0]);
      x[1] = Integer.parseInt(str2[1]);
      x[2] = Integer.parseInt(str2[2]);
      Array.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
      Int[] x = new int[3];
      ^
  symbol:   class Int
  location: class Main
Main.java:16: error: cannot find symbol
      Array.sort(x);
      ^
  symbol:   variable Array
  location: class Main
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Int x[] = new int[3];
      x[0] = Integer.parseInt(str2[0]);
      x[1] = Integer.parseInt(str2[1]);
      x[2] = Integer.parseInt(str2[2]);
      Array.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
      Int x[] = new int[3];
      ^
  symbol:   class Int
  location: class Main
Main.java:16: error: cannot find symbol
      Array.sort(x);
      ^
  symbol:   variable Array
  location: class Main
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.Arrays;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Array.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:12: error: cannot find symbol
      Int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      ^
  symbol:   class Int
  location: class Main
Main.java:13: error: cannot find symbol
      Array.sort(x);
      ^
  symbol:   variable Array
  location: class Main
2 errors
Language: Java

import java.util.Arrays;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] args){
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      String str = br.readLine();
      String[] str2 = str.split(" ");
      Int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      Array.sort(x);
      System.out.println(x[0] + " " + x[1] + " " + x[2]);
    } catch (IOException e){
      System.err.println(e.toString());
    }
  }
}


Compiler output:
Main.java:13: error: cannot find symbol
      Int[] x = {Integer.parseInt(str2[0]), Integer.parseInt(str2[1]), Integer.parseInt(str2[2])};
      ^
  symbol:   class Int
  location: class Main
Main.java:14: error: cannot find symbol
      Array.sort(x);
      ^
  symbol:   variable Array
  location: class Main
2 errors