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

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.Lead.Line();  
		String str2 = br.Lead.Line();
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2);
		
		System.out.println(+ (a * b) +  + (2+(a * b)));
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
		String str1 =   br.Lead.Line();  
		                  ^
  symbol:   variable Lead
  location: variable br of type BufferedReader
Main.java:9: error: cannot find symbol
		String str2 = br.Lead.Line();
		                ^
  symbol:   variable Lead
  location: variable br of type BufferedReader
2 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		

		int x = Integer.parseInt(str1);
		int y = Integer.parseInt(str2); 
		
		System.out.println((x * y)  +  (2 + (x * y) );
	}
}

Compiler output:
Main.java:15: error: ')' or ',' expected
		System.out.println((x * y)  +  (2 + (x * y) );
		                                             ^
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		

		int x = Integer.parseInt(str1);
		int y = Integer.parseInt(str2); 
		
		System.out.println((x * y)   (2 + (x * y) );
	}
}

Compiler output:
Main.java:15: error: ')' or ',' expected
		System.out.println((x * y)   (2 + (x * y) );
		                          ^
Main.java:15: error: not a statement
		System.out.println((x * y)   (2 + (x * y) );
		                                     ^
Main.java:15: error: ';' expected
		System.out.println((x * y)   (2 + (x * y) );
		                                        ^
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		

		int x = Integer.parseInt(str1);
		int y = Integer.parseInt(str2); 
		
		System.out.println((x * y)   2+(x * y) );
	}
}

Compiler output:
Main.java:15: error: ')' or ',' expected
		System.out.println((x * y)   2+(x * y) );
		                          ^
Main.java:15: error: not a statement
		System.out.println((x * y)   2+(x * y) );
		                                  ^
Main.java:15: error: ';' expected
		System.out.println((x * y)   2+(x * y) );
		                                     ^
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		

		int x = Integer.parseInt(str1);
		int y = Integer.parseInt(str2); 
		
		System.out.println(x * y  2+(x * y) );
	}
}

Compiler output:
Main.java:15: error: ')' or ',' expected
		System.out.println(x * y  2+(x * y) );
		                        ^
Main.java:15: error: not a statement
		System.out.println(x * y  2+(x * y) );
		                               ^
Main.java:15: error: ';' expected
		System.out.println(x * y  2+(x * y) );
		                                  ^
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		

		int x = Integer.parseInt(str1);
		int y = Integer.parseInt(str2); 
		
		System.out.println((x * y(  (2+(x * y)) );
	}
}

Compiler output:
Main.java:15: error: ')' expected
		System.out.println((x * y(  (2+(x * y)) );
		                                         ^
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br = 
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		System.out.println((a * b(  (2+(a * b)) );
	}
}

Compiler output:
Main.java:14: error: ')' expected
		System.out.println((a * b(  (2+(a * b)) );
		                                         ^
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		Scanner sc = new Scanner ( System.in );
		String str1 =   sc.nextInt();
		String str2 =   sc.nextInt();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		System.out.println( a * b );
		System.out.println( 2+(a * b) );
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner ( System.in );
		^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
		Scanner sc = new Scanner ( System.in );
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader reader =
		new BuffereddReader(new Input StreamReader(System.in);
		String str1 =   sc.nextInt();
		String str2 =   sc.nextInt();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( a * b );
		
	}
}

Compiler output:
Main.java:7: error: '(' or '[' expected
		new BuffereddReader(new Input StreamReader(System.in);
		                              ^
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br =
		new BufferedReader(new Input StreamReader(System.in);
		String str1 =   sc.nextInt();
		String str2 =   sc.nextInt();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( a * b );
		
	}
}

Compiler output:
Main.java:7: error: '(' or '[' expected
		new BufferedReader(new Input StreamReader(System.in);
		                             ^
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br =
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   sc.nextInt();
		String str2 =   sc.nextInt();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( a * b );
		
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
		String str1 =   sc.nextInt();
		                ^
  symbol:   variable sc
  location: class Main
Main.java:9: error: cannot find symbol
		String str2 =   sc.nextInt();
		                ^
  symbol:   variable sc
  location: class Main
2 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br =
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLIne();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( a * b );
		
	}
}

Compiler output:
Main.java:9: error: cannot find symbol
		String str2 =   br.readLIne();
		                  ^
  symbol:   method readLIne()
  location: variable br of type BufferedReader
1 error
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader br =
		new BufferedReader(new InputStreamReader(System.in));
		String str1 =   br.readLine();
		String str2 =   br.readLine();
		
		int a = Integer.parseInt(str1);
		int b = Integer.parseInt(str2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( men " " syu);
		
	}
}

Compiler output:
Main.java:16: error: ')' or ',' expected
		System.out.println( men " " syu);
		                       ^
Main.java:16: error: not a statement
		System.out.println( men " " syu);
		                            ^
Main.java:16: error: ';' expected
		System.out.println( men " " syu);
		                               ^
3 errors
Language: Java

import java.io.*;

class Main
{
	public static void main ( String[] args ) throws IOException{
		BufferedReader reader =
		new BufferedReader(new InputStreamReader(System.in));
		String[] line = reader.readLine().split(" ");
		
		
		int a = Integer.parseInt(line1);
		int b = Integer.parseInt(line2); 
		
		int men = a * b;
		int syu = ( a + b ) * 2;
		System.out.println( men  + " " + syu);
		
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
		int a = Integer.parseInt(line1);
		                         ^
  symbol:   variable line1
  location: class Main
Main.java:12: error: cannot find symbol
		int b = Integer.parseInt(line2); 
		                         ^
  symbol:   variable line2
  location: class Main
2 errors
Language: Java

imput java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        int a=Integer.parseInt(tate);
        int b=Integer.parseInt(yoko);
        try{
            System.out.println(a*b+" "+a*2+b*2); 
        }catch(NumberFormatException){
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
imput java.io.*;
^
Main.java:11: error: <identifier> expected
        }catch(NumberFormatException){
                                    ^
2 errors
Language: Java

input java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        int a=Integer.parseInt(tate);
        int b=Integer.parseInt(yoko);
        try{
            System.out.println(a*b+" "+a*2+b*2); 
        }catch(NumberFormatException){
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
input java.io.*;
^
Main.java:11: error: <identifier> expected
        }catch(NumberFormatException){
                                    ^
2 errors
Language: Java

input java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        int a=Integer.parseInt(tate);
        int b=Integer.parseInt(yoko);
        try{
            System.out.println(a*b+" "+a*2+b*2); 
        } catch(NumberFormatException) {
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
input java.io.*;
^
Main.java:11: error: <identifier> expected
        } catch(NumberFormatException) {
                                     ^
2 errors
Language: Java

input java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        try{
            int a=Integer.parseInt(tate);
            int b=Integer.parseInt(yoko);
        
            System.out.println(a*b+" "+a*2+b*2); 
        }catch(NumberFormatException) {
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
input java.io.*;
^
Main.java:12: error: <identifier> expected
        }catch(NumberFormatException) {
                                    ^
2 errors
Language: Java

import java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        try{
            int a=Integer.parseInt(tate);
            int b=Integer.parseInt(yoko);
        
            System.out.println(a*b+" "+a*2+b*2); 
        }catch(NumberFormatException) {
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:12: error: <identifier> expected
        }catch(NumberFormatException) {
                                    ^
1 error
Language: Java

import java.io.*;

public class Main {
    public static void main(String args[]) throws IOException {
        BufferedReader tate=new BufferedReader(new InputStreamReader(System.in));
        BufferedReader yoko=new BufferedReader(new InputStreamReader(System.in));
        try{
            int a=Integer.parseInt(tate);
            int b=Integer.parseInt(yoko);
        
            System.out.println(a*b+" "+a*2+b*2); 
        }catch(NumberFormatException e) {
            e.printStackTrace();
        }
    }
}

Compiler output:
Main.java:8: error: incompatible types: BufferedReader cannot be converted to String
            int a=Integer.parseInt(tate);
                                   ^
Main.java:9: error: incompatible types: BufferedReader cannot be converted to String
            int b=Integer.parseInt(yoko);
                                   ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.io.*;
 
class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
        String s = b.readLine();
        String[] spl = str.split(" ");
        int tate =  Integer.parseInt(spl[0]);
        int yoko =  Integer.parseInt(spl[1]);
        System.out.println(tate*yoko + " "+ 2*(tate+yoko));
    }   
}

Compiler output:
Main.java:7: error: cannot find symbol
        String[] spl = str.split(" ");
                       ^
  symbol:   variable str
  location: class Main
1 error
Language: Java

public class Rectangle {
	public static void main(String[] args){
		java.util.Scanner scan = new java.util.Scanner( System.in);
		int a  = scan.nextInt();
		int b  = scan.nextInt();
		System.out.print(a*b);
		System.out.print(" ");
		System.out.println(2*a+2*b);
	}

}

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

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int menseki = 0;
    int syu = 0;
    
    menseki =  a*b;
    syu = (a+b)*2;
    
    System.out.println(a+" "+b);
   }
}
    

Compiler output:
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int menseki = 0;
    int syu = 0;
    
    menseki =  a * b;
    syu = (a+b) * 2;
    
    System.out.println(menskeki +" "+ syu);
   }
}
    

Compiler output:
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:14: error: cannot find symbol
    System.out.println(menskeki +" "+ syu);
                       ^
  symbol:   variable menskeki
  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 menseki = 0;
    int syu = 0;
    
    menseki =  a * b;
    syu = (a+b) * 2;
    
    System.out.println(menskeki +" "+ syu);
   }
}
    

Compiler output:
Main.java:15: error: cannot find symbol
    System.out.println(menskeki +" "+ syu);
                       ^
  symbol:   variable menskeki
  location: class Main
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 menseki = 0;
    int syu = 0;
    
    System.out.println(a +" "+ b);
    
    menseki =  a * b;
    syu = (a+b) * 2;
    
    System.out.println(menskeki +" "+ syu);
   }
}
    

Compiler output:
Main.java:17: error: cannot find symbol
    System.out.println(menskeki +" "+ syu);
                       ^
  symbol:   variable menskeki
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Rectangle{
	static public void main (String args[]){
		Scanner scan = new Scanner(System.in);
		int val1 = scan.nextInt();
		int val2 = scan.nextInt();

		int area = 0; //??¢???
		int around = 0; //??¨?????????

		area = val1*val2;
		around = (val1 + val2)*2;
		System.out.println(area);
		System.out.println(around);
	}
}

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

import java.util.Scanner;

public class Rectangle{
	static public void main (String args[]){
		Scanner scan = new Scanner(System.in);
		int val1 = scan.nextInt();
		int val2 = scan.nextInt();

		int area = 0; //??¢???
		int around = 0; //??¨?????????

		area = val1*val2;
		around = (val1 + val2)*2;
		System.out.print(area+" "+around);
	}
}

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

import java.util.Scanner;
public class Rectangle {

	public static void main(String[] args) {
		int a;
		int b = 0;
		Scanner data1 = new Scanner(System.in);
	    a = data1.nextInt();
	    b = data1.nextInt();
		int area;
		int total;
		area = (a * b);
		total = ((a + b) * 2);
		System.out.println(area + " " + total );
	}

}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
    public static void main(String[] args)throws IOException{
        BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
        while(st.hasMoreTokens()){
            int a = st.nextToken();
            int b = st.nextToken();
            System.out.println(a*b+" "+2*(a+b));
        }
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
		StringTokenizer st = new StringTokenizer(br.readLine());
		^
  symbol:   class StringTokenizer
  location: class Main
Main.java:7: error: cannot find symbol
		StringTokenizer st = new StringTokenizer(br.readLine());
		                         ^
  symbol:   class StringTokenizer
  location: class Main
Main.java:7: error: cannot find symbol
		StringTokenizer st = new StringTokenizer(br.readLine());
		                                         ^
  symbol:   variable br
  location: class Main
3 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main{
    public static void main(String[] args)throws IOException{
        BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
        while(st.hasMoreTokens()){
            int a = st.nextToken();
            int b = st.nextToken();
            System.out.println(a*b+" "+2*(a+b));
        }
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
		StringTokenizer st = new StringTokenizer(br.readLine());
		                                         ^
  symbol:   variable br
  location: class Main
Main.java:10: error: incompatible types: String cannot be converted to int
            int a = st.nextToken();
                                ^
Main.java:11: error: incompatible types: String cannot be converted to int
            int b = st.nextToken();
                                ^
3 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main{
    public static void main(String[] args)throws IOException{
        BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
        while(st.hasMoreTokens()){
            int a = Integer.parseInt(st.nextToken());
            int b = Integer.parseInt(st.nextToken());
            System.out.println(a*b+" "+2*(a+b));
        }
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
		StringTokenizer st = new StringTokenizer(br.readLine());
		                                         ^
  symbol:   variable br
  location: class Main
1 error
Language: Java

using namespace std;
int main(){
   int a, b;
    
   cin >> a >> b;
    
   cout << a * b << " " << 2*(a + b)  << endl;
} 

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
using namespace std;
^
Main.java:5: error: not a statement
   cin >> a >> b;
            ^
Main.java:7: error: not a statement
   cout << a * b << " " << 2*(a + b)  << endl;
                                      ^
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
4 errors
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int a,b;
        //?¨??????\??????????????????????????§????????????
    	Scanner scanner = new Scanner(System.in);
    	//??\????????????int??????????????????
    	a = scanner.nextInt();
    	b = scanner.nextInt();
        System.out.println(x*y);
    }
}

Compiler output:
Main.java:11: error: cannot find symbol
        System.out.println(x*y);
                           ^
  symbol:   variable x
  location: class Main
Main.java:11: error: cannot find symbol
        System.out.println(x*y);
                             ^
  symbol:   variable y
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int a,b,length,area;
        //?¨??????\??????????????????????????§????????????
    	Scanner scanner = new Scanner(System.in);
    	//??\????????????int??????????????????
    	a = scanner.nextInt();
    	b = scanner.nextInt();
    	//??¨?????????????????¢???????¨????
    	length = 2*(a+b);
    	area   = a*b;
        System.out.println(length + " " + area);
    }
}
}

Compiler output:
Main.java:17: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int a,b,length,area;
        //?¨??????\??????????????????????????§????????????
    	Scanner scanner = new Scanner(System.in);
    	//??\????????????int??????????????????
    	a = scanner.nextInt();
    	b = scanner.nextInt();
    	//??¨?????????????????¢???????¨????
    	length = 2*(a+b);
    	area   = a*b;
        System.out.println(area+ " " +length);
    }
}
}

Compiler output:
Main.java:17: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.io.*;

class Rectangle {
        public static void main(String[] args) throws IOException {
                BufferedReader br = new BufferedReader(new InputStreamReader(Sys
tem.in));

                String[] str = br.readLine().split(" ");

                int x = Integer.parseInt(str[0]);
                int y = Integer.parseInt(str[1]);
                System.out.println((x*y) + " " + (x+y)*2);
        }
}

Compiler output:
Main.java:5: error: ')' or ',' expected
                BufferedReader br = new BufferedReader(new InputStreamReader(Sys
                                                                                ^
Main.java:6: error: not a statement
tem.in));
   ^
Main.java:6: error: ';' expected
tem.in));
      ^
3 errors
Language: Java

import java.util.Scanner;

public class AOJ {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        String xy = stdIn.nextLine();
        int x = Character.getNumericValue(xy.charAt(0));
        int y = Character.getNumericValue(xy.charAt(2));
        System.out.println((x*y)+" "+(2*x+2*y));   
    }   
}

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

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		
		
		Scanner a = new Scanner(System.in);

		String str = a.next();
		
		int b = Integer.parseInt(str);
		
	    str = a.next();
	    
	    int c = Integer.parseInt(str); 
		System.out.println(c + b);
		
	}
}

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

import java.util.Scanner;

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

    Scanner a = new Scanner(System.in);
    String str = a.next();
    int b = Integer.parseInt(str);
    str = a.next();
    int c = Integer.parseInt(str);
    System.out.println(c + b);

    
  }
}

Compiler output:
Main.java:4: error: <identifier> expected
  pubic static void main(String[] args) {
       ^
1 error
Language: Java

package test01;

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		
		
		Scanner a = new Scanner(System.in);

		String str = a.next();
		
		int b = Integer.parseInt(str);
		
	    str = a.next();
	    
	    int c = Integer.parseInt(str); 
		System.out.println(c + b);
		
	}
}

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

import java.util.Scanner;

public class Main{

public static void main(String[] args) {

Scanner a = new Scanner(System.in);
sc.useDelimiter("\\s");
String str = a.next();
int b = Integer.parseInt(str);
String str2 = a.next();
int c = Integer.parseInt(str2); 
System.out.println(c + b);
}
}

Compiler output:
Main.java:8: error: cannot find symbol
sc.useDelimiter("\\s");
^
  symbol:   variable sc
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		
		
		Scanner a = new Scanner(System.in);

		String str = a.next();
		
		int b = Integer.parseInt(str);
		
	    str = a.next();
	    
	    int c = Integer.parseInt(str); 
		System.out.println(2 * c + 2 * b + " " + c * b / 2);
		
	}
}

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

import java.io.*;

class Main{
	public static void main(String[] args) throws IOException{
	
	BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
	

	String[] line = reader.readLine().split(" ");

	int a = Integer.parseInt(line[0]);
	int b = Integer.parseInt(line[1]);

	int c = a * b;
	int d = 2a+2b;

	System.out.println(c +" "+ b);
	}
}

Compiler output:
Main.java:15: error: ';' expected
	int d = 2a+2b;
	         ^
Main.java:15: error: not a statement
	int d = 2a+2b;
	          ^
Main.java:15: error: ';' expected
	int d = 2a+2b;
	            ^
3 errors
Language: Java

import java.io.*;

public class JavaApplication31 {

    public static void main(String[] args) throws IOException  {
        
        int a,b,x,y;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String st = br.readLine();
        a = Integer.parseInt(st.substring(0,1));
        b = Integer.parseInt(st.substring(2,3));
        x = a*b;
        y = 2*a + 2*b;
        System.out.printf(x+" "+y);        
    
    }
    
}

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

import java.io.*;

class Main {
  public static void main(String[] args){
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int a, b;
    a = Integer.parseInt(br.readLine());
    b = Integer.parseInt(br.readLine());
    
    System.out.println(a * b);
  }
}

Compiler output:
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
    a = Integer.parseInt(br.readLine());
                                    ^
Main.java:8: error: unreported exception IOException; must be caught or declared to be thrown
    b = Integer.parseInt(br.readLine());
                                    ^
2 errors
Language: Java

import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    
    int menseki = a * b;
    int syu = a * 2 + b * 2;
    System.out.println(menseki + " " + syu);
}

Compiler output:
Main.java:12: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());

		String value[] = inputed.split("[\\s]+");
		int tate = Integer.parseInt(value[0]);
		int yoko = Integer.parseInt(value[1]);

		int fill = tate * yoko;
		int around = tate * 2 + yoko * 2;

		System.out.println(fill + " " + around)



	}
}

Compiler output:
Main.java:15: error: ';' expected
		System.out.println(fill + " " + around)
		                                       ^
1 error
Language: Java

		int a = 2;
		int b = 5;
		int men = a * b;
		int syuu = (2*a)*(2*a);
		System.out.println(men+" "+syuu);

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
		int a = 2;
		^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
		System.out.println(men+" "+syuu);
		^
2 errors
Language: Java

public class main {
	public static void main(String[] args){
		int a = new java.util.Scanner(System.in).nextInt();
		int b = new java.util.Scanner(System.in).nextInt();
		System.out.print(a * b );
		System.out.print(" ");
		System.out.print((a + b)* 2 );
	}
}

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

public class main {
	public static void Main(String[] args){
		java.util.Scanner ab = new java.util.Scanner(System.in);
		
		int a = ab.nextInt();
		int b = ab.nextInt();
		System.out.print(a * b );
		System.out.print(" ");
		System.out.print((a + b)* 2 );
		
		
	}
}

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

public class main {
	public static void main(String[] args){
		java.util.Scanner ab = new java.util.Scanner(System.in);

		int a = ab.nextInt();
		int b = ab.nextInt();
		System.out.println(a);
		System.out.println(b);
		System.out.print(a * b);
		System.out.print(" ");
		System.out.print((a + b)* 2 );


	}
}

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

	public static void main(String[] args){
		java.util.Scanner ab = new java.util.Scanner(System.in);
		int a = ab.nextInt();
		int b = ab.nextInt();
		System.out.print(a * b);
		System.out.print(" ");
		System.out.print((a + b)* 2 );
	}
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args){
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:9: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

	public static void main(String[] args){
		java.util.Scanner ab = new java.util.Scanner(System.in);

		int a = ab.nextInt();
		int b = ab.nextInt();
		System.out.print(a * b);
		System.out.print(" ");
		System.out.print((a + b)* 2 );


	}
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args){
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:12: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner();

        int a = in.nextInt();
        int b = in.nextInt();
        int m = a * b;
        int s = 2 * a + 2 * b;
        System.out.println(m + " " + s);
    }
}

Compiler output:
Main.java:5: error: no suitable constructor found for Scanner(no arguments)
        Scanner in = new Scanner();
                     ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import static java.lang.System.out;
 public class Main {
     public static void main(String[] args){
          String str = new java.util.Scanner(System.in).nextLine();
          String[] tmp = str.split(" ");
          int a = Integer.parseInt(tmp[0]);
          int b = Integer.parseInt(tmp[1]);
 
          int area = a * b;
          int circu = (a + b) * 2;
          out.println(area);
          out.println(circu);                                                                                                               
 
 
     }
???}

Compiler output:
Main.java:16: error: illegal start of type
???}
^
1 error
Language: Java

import java.util.Scanner;


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

	Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        System.out.println(x*x*x);
		
	}
}

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

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

    String str = new java.util.Scanner(System.in).nextLine();
    String[] list = str.split(" ");

    String x = list[0];
    String y = list[1];

    int cm = (x + y) * 2;
    int cm2 = x * y;

    System.out.print(cm + " " cm2);
}

Compiler output:
Main.java:2: error: ';' expected
    public static void main(String[] args)
                                          ^
Main.java:13: error: <identifier> expected
    System.out.print(cm + " " cm2);
                    ^
Main.java:13: error: <identifier> expected
    System.out.print(cm + " " cm2);
                       ^
3 errors
Language: Java

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

    String str = new java.util.Scanner(System.in).nextLine();
    String[] list = str.split(" ");

    String x = list[0];
    String y = list[1];

    int cm = (x + y) * 2;
    int cm2 = x * y;

    out.print(cm + " " cm2);
}

Compiler output:
Main.java:2: error: ';' expected
    public static void main(String[] args)
                                          ^
Main.java:13: error: <identifier> expected
    out.print(cm + " " cm2);
             ^
Main.java:13: error: <identifier> expected
    out.print(cm + " " cm2);
                ^
3 errors
Language: Java

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

    String str = new java.util.Scanner(System.in).nextLine();
    String[] list = str.split(" ");

    String x = list[0];
    String y = list[1];

    int a = Integer.parseInt(x);
    int b = Integer.parseInt(y);

    int cm = (a + b) * 2;
    int sum = a * b;

    out.print(cm + " " sum);
}

Compiler output:
Main.java:2: error: ';' expected
    public static void main(String[] args)
                                          ^
Main.java:16: error: <identifier> expected
    out.print(cm + " " sum);
             ^
Main.java:16: error: <identifier> expected
    out.print(cm + " " sum);
                ^
3 errors
Language: Java

public class Main {
    public static void main(String...args) {
              String str = new Scanner(System.in).nextLine();
              String[] list = str.split(" ");
              String x = list[0];
              String y = list[1];
   
              int a = Integer.parseInt(x);
              int b = Integer.parseInt(y);
   
              int sum = a * b;
              int cm = (a + b) * 2;
   
              out.println(sum + " " + cm);

      }
}

Compiler output:
Main.java:3: error: cannot find symbol
              String str = new Scanner(System.in).nextLine();
                               ^
  symbol:   class Scanner
  location: class Main
Main.java:14: error: cannot find symbol
              out.println(sum + " " + cm);
              ^
  symbol:   variable out
  location: class Main
2 errors
Language: Java

public class Main {
    public static void main(String...args) {
              String str = new Scanner(System.in).nextLine();
              String[] list = str.split(" ");
              String x = list[0];
              String y = list[1];
   
              int a = Integer.parseInt(x);
              int b = Integer.parseInt(y);
   
              int sum = a * b;
              int cm = (a + b) * 2;
   
              System.out.println(sum + " " + cm);

      }
}

Compiler output:
Main.java:3: error: cannot find symbol
              String str = new Scanner(System.in).nextLine();
                               ^
  symbol:   class Scanner
  location: class Main
1 error
Language: Java

import java.util.Scanner;


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

		Input test = new Input();
		test.num();

		
	}
}

class Input{
	void num() {
		
		Scanner sc=new Scanner(System.in);
        int x = sc.nextInt();
        int x2 = sc.nextInt();
        System.out.print(x*x2);
        System.out.print(" ");
        System.out.println((x+x2)*2);

	}
}

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

import static java.lang.System.out;
import java.util.Scanner;


public class Main {
      public static void main(String...args) {
                String str = new Scanner(System.in).nextLine();
                String[] list = str.split(" ");
                String x = list[0];
                String y = list[1];
 
                int a = Integer.parseInt(x);
                int b = Integer.parseInt(y);
 
                int area = a * b;
                int circu = (a + b) * 2;
 
                out.println(sum + " " + cm);
 
      }
 
 
}

Compiler output:
Main.java:18: error: cannot find symbol
                out.println(sum + " " + cm);
                            ^
  symbol:   variable sum
  location: class Main
Main.java:18: error: cannot find symbol
                out.println(sum + " " + cm);
                                        ^
  symbol:   variable cm
  location: class Main
2 errors
Language: Java

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();
         
        area = a*b;
        len = a*2+b*2;
         
        System.out.println(area);
????????????System.out.println(len);
    }
}

Compiler output:
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
 ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
  ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
   ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
    ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
     ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
      ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
       ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
        ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
         ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
          ^
Main.java:14: error: illegal start of expression
????????????System.out.println(len);
           ^
Main.java:14: error: : expected
????????????System.out.println(len);
                                   ^
13 errors
Language: Java

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();
         
        area = a*b;
        len = a*2+b*2;
         
        System.out.println(area+" "+len);

    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        area = a*b;
        ^
  symbol:   variable area
  location: class Main
Main.java:11: error: cannot find symbol
        len = a*2+b*2;
        ^
  symbol:   variable len
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println(area+" "+len);
                           ^
  symbol:   variable area
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println(area+" "+len);
                                    ^
  symbol:   variable len
  location: class Main
4 errors
Language: Java

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();
         
        area = a*b;
        len = a*2+b*2;
         
        System.out.println(area+" "+len);
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        area = a*b;
        ^
  symbol:   variable area
  location: class Main
Main.java:11: error: cannot find symbol
        len = a*2+b*2;
        ^
  symbol:   variable len
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println(area+" "+len);
                           ^
  symbol:   variable area
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println(area+" "+len);
                                    ^
  symbol:   variable len
  location: class Main
4 errors
Language: Java

public class Main{
    public static void main(String[] args){
        String str = new Scanner(System.in).nextLine();
        String[] list = str.split(" ");
        String x = list[0];
        String y = list[1];

        int a = Integer.parseInt(x);
        int b = Integer.parseInt(y);

        int sum = (a + b) * 2;
        int cm = a * b;
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        String str = new Scanner(System.in).nextLine();
                         ^
  symbol:   class Scanner
  location: class Main
1 error
Language: Java

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

public class Area{
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		calc(str);
	}

	public static void calc(String str){
		String[] result = str.split(" ");

		int num1 = Integer.parseInt(result[0]);
		int num2 = Integer.parseInt(result[1]);

		int res1 = num1*num2;
		int res2 = (num1+num2)*2;

		System.out.print(Integer.toString(res1)+" "+Integer.toString(res2));
		}
}

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

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

public class Area{
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		calc(str);
	}

	public static void calc(String str){
		String[] result = str.split(" ");

		int num1 = Integer.parseInt(result[0]);
		int num2 = Integer.parseInt(result[1]);

		int res1 = num1*num2;
		int res2 = (num1+num2)*2;

		System.out.println(Integer.toString(res1)+" "+Integer.toString(res2));
		}
}

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

import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val a = sc.nextInt()
  val b = sc.nextInt()
  val c = a * b
  val d = ( a + b ) * 2
  println(s"$c $d")
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error