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

import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double x = Math.PI;
        double r = sc.nextInt();
        
        double m=r*r*x;
        double n=(r+r)*x;
        
        System.out.printf("%.6f %6.f\n",m,n);
    }
}
    
}


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

import java.io.*;
 import java.util.*;
public class aoj{
  static public void main(String args[]){
 try {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf = br.readLine();

String[] tmp = buf.split(" ",0);

Calculate calc = new Calculate(Integer.parseInt(tmp[0]),
								Integer.parseInt(tmp[1]));
	calc.show();
    } catch(IOException e) {
      System.err.println(e.getMessage());
    }
}
}

class Calculate{
	int a;
	int b;
  Calculate(int x, int y) {
  	a=x;
	b=y;
  }
	public void show(){
	System.out.printf("%d %d %.6f", a/b, a%b, (double)a/b);
}

}

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 Test {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		System.out.printf("%d %d %6f",a/b,a%b,(double)a/b);
	}
		
	}

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

import java.util.Scanner;
public class Test {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		System.out.printf("%d %d %f",a/b,a%b,(double)a/b);
	}
		
	}

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

public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String data[] = reader.readLine().split(" ");
		int a= Integer.parseInt(data[0]);
		double b= Double.parseDouble(data[1]);
			
		System.out.println(Integer.toString((int)(a/b))+" "+Integer.toString((int)(a%b))+ " " + Double.toString(a/b));
	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String args[]) throws IOException{
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:3: error: cannot find symbol
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		                                               ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

import java.util.*;
  
class Main{
  public static void main(String[] args){
    Scanner stdId = new Scanner(System.in);
    long a = stdId.nextlong(); 
    long b = stdId.nextlong(); 
    int d,r;
    double f;
    d = a/b;
    r = a%b;
    f = (double)a/b;
    System.out.println(d+" "+r+" "+f);
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    long a = stdId.nextlong(); 
                  ^
  symbol:   method nextlong()
  location: variable stdId of type Scanner
Main.java:7: error: cannot find symbol
    long b = stdId.nextlong(); 
                  ^
  symbol:   method nextlong()
  location: variable stdId of type Scanner
Main.java:10: error: incompatible types: possible lossy conversion from long to int
    d = a/b;
         ^
Main.java:11: error: incompatible types: possible lossy conversion from long to int
    r = a%b;
         ^
4 errors
Language: Java

import java.util.*;
  
class Main{
  public static void main(String[] args){
    Scanner stdId = new Scanner(System.in);
    long a = stdId.nextLong(); 
    long b = stdId.nextLong(); 
    int d,r;
    double f;
    d = a/b;
    r = a%b;
    f = (double)a/b;
    System.out.println(d+" "+r+" "+f);
  }
}

Compiler output:
Main.java:10: error: incompatible types: possible lossy conversion from long to int
    d = a/b;
         ^
Main.java:11: error: incompatible types: possible lossy conversion from long to int
    r = a%b;
         ^
2 errors
Language: Java

package aizuonlinejudge;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class HelloWorld {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        String[] ln = line.split(" ");
        BigDecimal a = new BigDecimal(new Integer(ln[0]));
        BigDecimal b = new BigDecimal(new Integer(ln[1]));
        System.out.println((a.divideToIntegralValue(b)).toString() + " " + (a.remainder(b)).toString() +" " + a.divide(b).toString());

    }
}

Compiler output:
Main.java:7: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld {
       ^
Main.java:12: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        BigDecimal a = new BigDecimal(new Integer(ln[0]));
                                      ^
Main.java:13: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        BigDecimal b = new BigDecimal(new Integer(ln[1]));
                                      ^
1 error
2 warnings
Language: Java

import java.util.*;

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

		int kaisu = 2;
		int[] num = new int[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}

		int d = num[0] / num[1];
		int r = num[0] % num[1];
		float f = num[0] / (float)num[1];
		System.out.println(d + " " + r + " " + f);

　}
}

Compiler output:
Main.java:19: error: illegal character: '\u3000'
?}
^
1 error
Language: Java

import java.util.*;

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

		int kaisu = 2;
		int[] num = new int[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextInt();
		}

		int d = num[0] / num[1];
		int r = num[0] % num[1];
		double f = num[0] / (double)num[1];
		System.out.println(d + " " + r + " " + f);

　}
}

Compiler output:
Main.java:19: error: illegal character: '\u3000'
?}
^
1 error
Language: Java

import java.util.*;

class Main{

    public static void main(String[] args){
        int d,r;
        double a,b,f;
        Scanner in = new Scanner(System.in);
        a = in.nextInt();
        b = in.nextInt();
        if( b==0 ){
            b = 1;
        }
        d = (int)(a/b);
        r = (int)(a%b);
        f = 1/b;
        System.out.println(String.valueOf(d) + " " + String.valueOf(r) + " " + String.valueOf(f))
   }
}

Compiler output:
Main.java:17: error: ';' expected
        System.out.println(String.valueOf(d) + " " + String.valueOf(r) + " " + String.valueOf(f))
                                                                                                 ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.*;

public class Main{
	public static void main(String[] args)throws Exception{
		Bufferdreader br = new Bufferdreade(new InputStreamReader(Sydtem.in));
		String line = br.readLine();
		String[] in = line.split(" ");
		BigDecimal a = new BigDecimal(new Integer(ln[0]));
		BigDecimal b = new BigDecimal(new Integer(ln[1]));
		System.out.println(a.divideToIntegralValue(b).toPlainString() + " " + a.remainder(b).toPlainString() + " " a.divide(b,10,RoundingMode.HALF_UP).toPlainString());
	}
}

Compiler output:
Main.java:12: error: ')' or ',' expected
		System.out.println(a.divideToIntegralValue(b).toPlainString() + " " + a.remainder(b).toPlainString() + " " a.divide(b,10,RoundingMode.HALF_UP).toPlainString());
		                                                                                                          ^
Main.java:12: error: ';' expected
		System.out.println(a.divideToIntegralValue(b).toPlainString() + " " + a.remainder(b).toPlainString() + " " a.divide(b,10,RoundingMode.HALF_UP).toPlainString());
		                                                                                                                                                              ^
2 errors
Language: Java

import java.util.*;
public class CP_AB{
	Scanner sc = new Scanner(System.in);
	int a;
	int b;
	
	void ab(){
		a=sc.nextInt();
		b=sc.nextInt();
		
		System.out.print(a/b);
		System.out.print(" ");
		System.out.print(a%b);
		System.out.print(" ");
		System.out.println((float)a/b);
		
	}
	
	public static void main(String[] args){     
		new CP_AB().ab();     
		} 
	}

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

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner in = new Scanner(System.in);
    int a = nextInt();
    int b = nextInt();
    int d = a / b;
    int r = a % b;
    double f = a / b;
    
    System.out.println(""+d+" "+r+" "+f+"");
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    int a = nextInt();
            ^
  symbol:   method nextInt()
  location: class Main
Main.java:7: error: cannot find symbol
    int b = nextInt();
            ^
  symbol:   method nextInt()
  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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.println(""+d+" "+r+" "%05f",f");
  }
}

Compiler output:
Main.java:12: error: ')' or ',' expected
    System.out.println(""+d+" "+r+" "%05f",f");
                                         ^
1 error
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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.println("%d" "%d" "%.5f",d,r,f);
  }
}

Compiler output:
Main.java:12: error: ')' or ',' expected
    System.out.println("%d" "%d" "%.5f",d,r,f);
                           ^
Main.java:12: error: not a statement
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                        ^
Main.java:12: error: ';' expected
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                         ^
Main.java:12: error: not a statement
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                          ^
Main.java:12: error: ';' expected
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                           ^
Main.java:12: error: not a statement
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                            ^
Main.java:12: error: ';' expected
    System.out.println("%d" "%d" "%.5f",d,r,f);
                                             ^
7 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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.println("%d %d %.5f",d,r,f);
  }
}

Compiler output:
Main.java:12: error: no suitable method found for println(String,int,int,double)
    System.out.println("%d %d %.5f",d,r,f);
              ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.println("%d %d %.5f",+d,+r,+f);
  }
}

Compiler output:
Main.java:12: error: no suitable method found for println(String,int,int,double)
    System.out.println("%d %d %.5f",+d,+r,+f);
              ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.println("+%d %d %.5f",d,r,f);
  }
}

Compiler output:
Main.java:12: error: no suitable method found for println(String,int,int,double)
    System.out.println("+%d %d %.5f",d,r,f);
              ^
    method PrintStream.println() is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.println(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.print("%d %d %.5f",d,r,f);
  }
}

Compiler output:
Main.java:12: error: no suitable method found for print(String,int,int,double)
    System.out.print("%d %d %.5f",d,r,f);
              ^
    method PrintStream.print(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
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();
    int d = a / b;
    int r = a % b;
    double f = 1.0 * a / b;
    
    System.out.print("%d %d %.5f",d,r,(double)f);
  }
}

Compiler output:
Main.java:12: error: no suitable method found for print(String,int,int,double)
    System.out.print("%d %d %.5f",d,r,(double)f);
              ^
    method PrintStream.print(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.text.DecimalFormat;
import java.util.Scanner;

public class ITP1_4_A {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		String a = scan.next();
		String b = scan.next();

		int result1 = Integer.parseInt(a) / Integer.parseInt(b);
		int result2 = Integer.parseInt(a) % Integer.parseInt(b);
		double result3 = Double.parseDouble(a) / Double.parseDouble(b);

		System.out.println(result1 + " " + result2 + " " + df.format(result3));

		scan.close();

	}
}

Compiler output:
Main.java:4: error: class ITP1_4_A is public, should be declared in a file named ITP1_4_A.java
public class ITP1_4_A {
       ^
1 error
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 d = a / b
		int r = a % b
		float f = a / Float.valueOf(b)
		
		System.out.println(String.Format("%d %d %f", d, r, f))
	}
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
Main.java:4: 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:5: error: ';' expected
		Scanner scan = new Scanner(System.in)
		                                     ^
Main.java:6: error: ';' expected
		int a = scan.nextInt
		                    ^
Main.java:7: error: ';' expected
		int b = scan.nextInt
		                    ^
Main.java:9: error: ';' expected
		int d = a / b
		             ^
Main.java:10: error: ';' expected
		int r = a % b
		             ^
Main.java:11: error: ';' expected
		float f = a / Float.valueOf(b)
		                              ^
Main.java:13: error: ';' expected
		System.out.println(String.Format("%d %d %f", d, r, f))
		                                                      ^
Main.java:15: error: class, interface, enum, or record expected
}
^
10 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 d = a / b;
		int r = a % b;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.Format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
Class Main {
^
Main.java:4: 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:15: error: class, interface, enum, or record expected
}
^
3 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 d = a / b;
		int r = a % b;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.Format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		int a = scan.nextInt;
		            ^
  symbol:   variable nextInt
  location: variable scan of type Scanner
Main.java:7: error: cannot find symbol
		int b = scan.nextInt;
		            ^
  symbol:   variable nextInt
  location: variable scan of type Scanner
Main.java:13: error: cannot find symbol
		System.out.println(String.Format("%d %d %f", d, r, f));
		                         ^
  symbol:   method Format(String,int,int,float)
  location: class String
3 errors
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		
		int d = a / b;
		int r = a % b;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.Format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:13: error: cannot find symbol
		System.out.println(String.Format("%d %d %f", d, r, f));
		                         ^
  symbol:   method Format(String,int,int,float)
  location: class String
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		
		int d = a / b;
		int r %= a / b;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:10: error: ';' expected
		int r %= a / b;
		     ^
Main.java:10: error: not a statement
		int r %= a / b;
		           ^
2 errors
Language: Java

import java.util.Scanner;
import java.math.BigInteger

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = New BigInteger(a).mod(New BigInteger(b));
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:2: error: ';' expected
import java.math.BigInteger
                           ^
Main.java:11: error: ';' expected
		long r = New BigInteger(a).mod(New BigInteger(b));
		            ^
Main.java:11: error: ')' or ',' expected
		long r = New BigInteger(a).mod(New BigInteger(b));
		                                  ^
Main.java:11: error: ';' expected
		long r = New BigInteger(a).mod(New BigInteger(b));
		                                                ^
4 errors
Language: Java

import java.util.Scanner;
import java.math.BigInteger

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = New BigInteger(a).mod(New BigInteger(b)).longValue() ;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:2: error: ';' expected
import java.math.BigInteger
                           ^
Main.java:11: error: ';' expected
		long r = New BigInteger(a).mod(New BigInteger(b)).longValue() ;
		            ^
Main.java:11: error: ')' or ',' expected
		long r = New BigInteger(a).mod(New BigInteger(b)).longValue() ;
		                                  ^
Main.java:11: error: ';' expected
		long r = New BigInteger(a).mod(New BigInteger(b)).longValue() ;
		                                                ^
4 errors
Language: Java

import java.util.Scanner;
import java.math.BigInteger

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = new BigInteger(a).mod(new BigInteger(b)).longValue() ;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:2: error: ';' expected
import java.math.BigInteger
                           ^
1 error
Language: Java

import java.util.Scanner;
import java.math.BigInteger;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = new BigInteger(a).mod(new BigInteger(b)).longValue() ;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:11: error: no suitable constructor found for BigInteger(long)
		long r = new BigInteger(a).mod(new BigInteger(b)).longValue() ;
		                               ^
    constructor BigInteger.BigInteger(byte[]) is not applicable
      (argument mismatch; long cannot be converted to byte[])
    constructor BigInteger.BigInteger(int[]) is not applicable
      (argument mismatch; long cannot be converted to int[])
    constructor BigInteger.BigInteger(String) is not applicable
      (argument mismatch; long cannot be converted to String)
    constructor BigInteger.BigInteger(long) is not applicable
      (BigInteger(long) has private access in BigInteger)
Main.java:11: error: no suitable constructor found for BigInteger(long)
		long r = new BigInteger(a).mod(new BigInteger(b)).longValue() ;
		         ^
    constructor BigInteger.BigInteger(byte[]) is not applicable
      (argument mismatch; long cannot be converted to byte[])
    constructor BigInteger.BigInteger(int[]) is not applicable
      (argument mismatch; long cannot be converted to int[])
    constructor BigInteger.BigInteger(String) is not applicable
      (argument mismatch; long cannot be converted to String)
    constructor BigInteger.BigInteger(long) is not applicable
      (BigInteger(long) has private access in BigInteger)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
2 errors
Language: Java

import java.util.Scanner;
import java.math.BigInteger;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = new BigInteger(a.toString()).mod(new BigInteger(b.toString())).longValue() ;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:11: error: long cannot be dereferenced
		long r = new BigInteger(a.toString()).mod(new BigInteger(b.toString())).longValue() ;
		                                                          ^
Main.java:11: error: long cannot be dereferenced
		long r = new BigInteger(a.toString()).mod(new BigInteger(b.toString())).longValue() ;
		                         ^
2 errors
Language: Java

import java.util.Scanner;
import java.math.BigInteger;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = (new BigInteger(String.valueOf(a)).mod(new BigInteger(String.valueOf(b))).longValue() ;
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:11: error: ')' expected
		long r = (new BigInteger(String.valueOf(a)).mod(new BigInteger(String.valueOf(b))).longValue() ;
		                                                                                              ^
1 error
Language: Java

import java.util.Scanner;
import java.math.BigInteger;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextLong();
		long b = scan.nextLong();
		
		long d = a / b;
		long r = (new BigInteger(String.valueOf(a)).mod(new BigInteger(String.valueOf(b))).longValue();
		float f = a / Float.valueOf(b);
		
		System.out.println(String.format("%d %d %f", d, r, f));
	}
}

Compiler output:
Main.java:11: error: ')' expected
		long r = (new BigInteger(String.valueOf(a)).mod(new BigInteger(String.valueOf(b))).longValue();
		                                                                                              ^
1 error
Language: Java

    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int d, r;
		double f;
		int a = scan.nextInt();
		int b = scan.nextInt();
		
		d = a / b;
		r = a % b;
		f = (double)a / b;
		
		System.out.println(d + " " + r + " " + String.format("%.5d", f));
        scan.close();
    }

}

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:16: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.text.NumberFormat;
import java.util.Scanner;

public class Main {


    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		NumberFormat nfNum = NumberFormat.getNumberInstance();

		nfNum.setMinimumFractionDigits(5);
		nfNum.setMaximumFractionDigits(5);

		long d, r;
		double f;
		long a = scan.nextInt();
		int b = scan.nextInt();

		d = a / b;
		r = a % b;
		f = (double)a / b;
		nfNum.format(f);

		System.out.println(d + " " + r + " " + f);
        scan.close();
    }

}
}

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

# -*- coding: utf-8 -*-

a, b = map(int, raw_input().split())
print "%d %d %f" %(a/b, a%b, float(a)/b)

Compiler output:
Main.java:1: error: illegal character: '#'
# -*- coding: utf-8 -*-
^
Main.java:1: error: class, interface, enum, or record expected
# -*- coding: utf-8 -*-
   ^
2 errors
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int y = sc.nextInt();
        double dx = (double) x;
        System.out.println(x/y+" "+x%y+" "+dx/dy);
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
        System.out.println(x/y+" "+x%y+" "+dx/dy);
                                              ^
  symbol:   variable dy
  location: class Main
1 error
Language: Java

/ ITP1_4

import java.util.Scanner;
import java.io.*;

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

		double a = 0.0;
		double b = 0.0;
		int d = 0;
		int r = 0;
		double f = 0.0;

		a = sc.nextInt ();
		b = sc.nextInt ();
		
		d = ( int )a / ( int )b;
		r = ( int )a % ( int )b;
		f = a / b;

		System.out.println ( d + " " + r + " " + String.format ( "%7f", f ) );
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
/ ITP1_4
^
Main.java:4: error: class, interface, enum, or record expected
import java.io.*;
^
2 errors
Language: Java

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

public class ABProblem {
	public static void main( String[] args ) {
		try {
			BufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );
			String tmp = br.readLine();
			String[] undevidedNumbers = tmp.split(" ");
			int[] inputNumbers = new int[2];
			inputNumbers[0] = Integer.parseInt(undevidedNumbers[0]);
			inputNumbers[1] = Integer.parseInt(undevidedNumbers[1]);

			int devidedInteger = inputNumbers[0] / inputNumbers[1];
			int rest = inputNumbers[0] % inputNumbers[1];
			double devidedDouble = ( (double) inputNumbers[0] / inputNumbers[1] );



			if(inputNumbers[0] >= 1 && inputNumbers[1] <= 1000000000) {
				System.out.print  (devidedInteger + " ");
				System.out.print  (rest + " ");
				System.out.println(devidedDouble);
			}
		} catch ( IOException e ) {
			e.printStackTrace();
		}
	}
}

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

import java.util.Scanner;                                                   
class Main {
 
    public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
                int a = in.nextInt();
                int b = in.nextInt();
                double d = (double)a/(double)b;
                System.out.println((a / b)  + " " + (a % b) + " " + string.format("%.5d", d));
        }
}

Compiler output:
Main.java:9: error: cannot find symbol
                System.out.println((a / b)  + " " + (a % b) + " " + string.format("%.5d", d));
                                                                    ^
  symbol:   variable string
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt() , b = scan.nextInt();

        int d = a / b;
        int r = a % b;

        String f = String.format("%.5f", ((double)a / b);
        System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
Main.java:11: error: ')' or ',' expected
        String f = String.format("%.5f", ((double)a / b);
                                                        ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt() , b = scan.nextInt();

        int d = a / b;
        int r = a % b;

        String f = String.format("%.5f", ((double)a / (double)b);
        System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
Main.java:11: error: ')' or ',' expected
        String f = String.format("%.5f", ((double)a / (double)b);
                                                                ^
1 error
Language: Java

import java.util.Scanner;

/**
 * Created by labuser on 2016/04/20.
 */
public class Main {
    public static void main(String[] args) {
        new Main().run();

    }

    private void run() {

        int a, b;
        double f;
        Scanner sc = new Scanner(System.in);
        String[] input = sc.nextLine().split(" ");
        a = Integer.parseInt(input[0]);
        b = Integer.parseInt(input[1]);
        f = 1.0 * a / b;
        System.out.printf("%d %d %.5f\n",a/b,a%b,f);3


    }


}

Compiler output:
Main.java:21: error: not a statement
        System.out.printf("%d %d %.5f\n",a/b,a%b,f);3
                                                    ^
Main.java:21: error: ';' expected
        System.out.printf("%d %d %.5f\n",a/b,a%b,f);3
                                                     ^
2 errors
Language: Java

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

public class test{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

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

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

			int d=a/b;
			int r=a%b;
			double f=(double)a/b;
			String after=String.format("%.5f", f);

			System.out.println(d+" "+r+" "+after);

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

}

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

import java.util.Scanner;

class Main{
	static public void main(String agrs[]){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int d,r=0;
		float f=0.0;

		d = a/b;
		r = a%b;
		f = (float)a / (float)b;
		System.out.printf("%d %d %.5f", d, r, f);
	}
}

Compiler output:
Main.java:9: error: incompatible types: possible lossy conversion from double to float
		float f=0.0;
		        ^
1 error
Language: Java

import java.util.Scanner;

class Main{
	static public void main(String agrs[]){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int d,r=0;
		float f=0.0;

		d = a/b;
		r = a%b;
		f = (float)a / (float)b;
		System.out.printf("%d %d %f", d, r, f);
	}
}

Compiler output:
Main.java:9: error: incompatible types: possible lossy conversion from double to float
		float f=0.0;
		        ^
1 error
Language: Java

import java.util.Scanner;

public class Calculate {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
	    int b = scan.nextInt();

	   	System.out.print(a % b + " " + a / b + " " );
	   	System.out.printf("%.5f",(double)a / (double)b );
	}

}

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

import java.util.Scanner;

public class Main{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	int a = scan.nextInt();
	int b = scan.nextInt();

	System.out.println((a/b)+" "+(a%b)+" "+((float)a/b));


    }

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

import java.util.Scanner;
import java.math.BigDecimal;

public class A{
    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	int a = scan.nextInt();
	int b = scan.nextInt();
	int d,r;
	double f;
		
	d = a / b;
	r = a % b;
	f = (double)a / b;
	
	BigDecimal x = new BigDecimal(f);
	x = x.setScale(6,BigDecimal.ROUND_HALF_UP);
	System.out.println(d+" "+r+" "+x);


    }
}

Compiler output:
Main.java:4: error: class A is public, should be declared in a file named A.java
public class A{
       ^
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int d,r;
		double f;
		d = a / b;
		r = a % b;
		f = (double)a / (double)b;
		String g = Staring.format("%.5f", f);
		System.out.println(d+" "+r+" "+g);
		
	}

}

Compiler output:
Main.java:13: error: cannot find symbol
		String g = Staring.format("%.5f", f);
		           ^
  symbol:   variable Staring
  location: class Main
1 error
Language: Java

class main {

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

		int a = cr.nextInt();
		int b = cr.nextInt();
		int c = a / b;
		int d = a % b;
		double e =  (double)a/(double)b;

		System.out.print(c +" "+d+" "+e);


	}

}

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


import java.util.Scanner;
public class main {

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

		int a = cr.nextInt();
		int b = cr.nextInt();
		int c = a / b;
		int d = a % b;
		double e =  (double)a/(double)b;

		System.out.print(c +" "+d+" "+e);


	}

}

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

public static Main {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();

        String data[] = reader.readLine().split(" ");
        int a = Integer.parseInt(data[0]);
        int b = Integer.parseInt(data[1]);
        int d;
        int r;
        String f;

        d = a / b;
        r = a % b;
        f = (String.format("%.5f", ((double) a / (double) b)));

        sb
                .append(d)
                .append(" ")
                .append(r)
                .append(" ")
                .append(f)
                .append("\n");
        System.out.println(sb);
    }

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public static Main {
              ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
        StringBuilder sb = new StringBuilder();
        ^
  (use --enable-preview to enable unnamed classes)
Main.java:6: error: class, interface, enum, or record expected
        String data[] = reader.readLine().split(" ");
        ^
Main.java:13: error: class, interface, enum, or record expected
        d = a / b;
        ^
Main.java:14: error: class, interface, enum, or record expected
        r = a % b;
        ^
Main.java:15: error: class, interface, enum, or record expected
        f = (String.format("%.5f", ((double) a / (double) b)));
        ^
Main.java:17: error: class, interface, enum, or record expected
        sb
        ^
Main.java:24: error: class, interface, enum, or record expected
        System.out.println(sb);
        ^
Main.java:25: error: class, interface, enum, or record expected
    }
    ^
9 errors
Language: Java

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

public class Main12 {

	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String strArray[] = str.split(" ");
		long a = Integer.parseInt(strArray[0]);
		long b = Integer.parseInt(strArray[1]);

		long d = a/b;
		long r = a%b;
		float f = (float)a/b;
		System.out.printf("%6f %6f %6f", d,r,f);
	}
}

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

import java.io.*;
import java.util.*;

class Main{
	
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringTokenizer st = new StringTokenizer(line," ");
		
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		
		int d = a/b;
		int r = a%b;
		float f a/b;
		
		System.out.println(d +" "+ r +" "+ f +"\n");
	}
}

Compiler output:
Main.java:16: error: ';' expected
		float f a/b;
		       ^
Main.java:16: error: not a statement
		float f a/b;
		         ^
2 errors
Language: Java

import java.io.*;
import java.util.*;

class Main{
	
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringTokenizer st = new StringTokenizer(line," ");
		
		int a = Integer.parseInt(st.nextToken());
		int b = Integer.parseInt(st.nextToken());
		
		int d = a/b;
		int r = a%b;
		String f = (String.format("%.5f",a/b);
		
		System.out.println(d +" "+ r +" "+ f +"\n");
	}
}

Compiler output:
Main.java:16: error: ')' expected
		String f = (String.format("%.5f",a/b);
		                                     ^
1 error
Language: Java

import java.util.Scanner;

public class kadai13 {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int d = x / y;
		int r = x % y;
		double a = x;
		double b = y;
		System.out.println(x/y + " " + x%y + " " + 1.0*a/b);
	}
}

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

import java.math.BigDecimal;
import java.util.Scanner;

class Main {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		double f = 1.0 * x / y;
		BigDecimal g = new BigDecimal(f);
		g = g.setScale(3,BigDecimal.ROUND_HALF_UP);
		System.out.printf(x/y + " " + x%y + " " + "%.3f",g);
	}

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

import java.io.*;

class Main{
    public static void main(String[] args) throws Excception{
        String str[], ans;
        int a, b;
        int d, r;
        String f;
        
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        
        d = a / b;
        r = a % b;
        f = String.format("%.5f", ((double)a / (double)b));
        System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(String[] args) throws Excception{
                                                  ^
  symbol:   class Excception
  location: class Main
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
??
public class Main {
    public static void main(String[] args) throws Exception{
        String str[], ans;
        int a, b;
        int d, r;
        String f;
        ??
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        str = br.readLine().split(" ");
        a = Integer.parseInt(str[0]);
        b = Integer.parseInt(str[1]);
        ??
        d = a / b;
        r = a % b;
        f = String.format("%.5f", ((double)a / (double)b));
        System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
Main.java:3: error: class, interface, enum, or record expected
??
^
Main.java:10: error: illegal start of expression
        ??
        ^
Main.java:10: error: illegal start of expression
        ??
         ^
Main.java:11: error: : expected
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                      ^
Main.java:11: error: : expected
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                                                                ^
Main.java:15: error: illegal start of expression
        ??
        ^
Main.java:15: error: illegal start of expression
        ??
         ^
Main.java:16: error: : expected
        d = a / b;
                 ^
8 errors