criyle/codenet-compile-errors huggingface dataset:
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;
       int r;
       double f;
       
       d = a / b;
       r = a % b;
       f = 1.0 * a / b;
       
       System.out.println(d + " " + r + " " + "%8f\n", f);
    }
}

Compiler output:
Main.java:15: error: no suitable method found for println(String,double)
       System.out.println(d + " " + r + " " + "%8f\n", 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;
class Main {
    public static void main(String[] args){
       Scanner scan = new Scanner(System.in);
       int a = scan.nextInt();
       int b = scan.nextInt();
       int d;
       int r;
       double f;
       
       d = a / b;
       r = a % b;
       f = 1.0 * a / b;
       
       System.out.print(d + " " + r + " ");
       System.out.println("%8f\n", f);
    }
}

Compiler output:
Main.java:16: error: no suitable method found for println(String,double)
       System.out.println("%8f\n", 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;
class Main {
    public static void main(String[] args){
       Scanner scan = new Scanner(System.in);
       int a = scan.nextInt();
       int b = scan.nextInt();
       int d;
       int r;
       double f;
       
       d = a / b;
       r = a % b;
       f = 1.0 * a / b;
       
       System.out.print(d + " " + r + " ");
       System.out.println("%.8f", f);
    }
}

Compiler output:
Main.java:16: error: no suitable method found for println(String,double)
       System.out.println("%.8f", 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;

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

       Scanner as = new Scanner(System.in);
	       
        int a;
        int b;
        int d,r;
        double f;

       
           
        a = as.nextInt();
        b = as.nextInt();

        d=a/b;
        r=a%b;
        double fa=(float)a;
        double fb=(float)b;
        f=fa/fb;
        
        //System.out.println(f);
        BigDecimal fr = new BigDecimal(f);
        
        
        //System.out.println(fr);
        
        fr = fr.setScale(6,BigDecimal.ROUND_HALF_UP);
        
        
       


        

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

           
   
 }
 
}

Compiler output:
Main.java:25: error: cannot find symbol
        BigDecimal fr = new BigDecimal(f);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:25: error: cannot find symbol
        BigDecimal fr = new BigDecimal(f);
                            ^
  symbol:   class BigDecimal
  location: class Main
Main.java:30: error: cannot find symbol
        fr = fr.setScale(6,BigDecimal.ROUND_HALF_UP);
                           ^
  symbol:   variable BigDecimal
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int numA = scan.nextInt();
		int numB = scan.nextInt();
		int quo = numA / numB;
		int rem = numA % numB;
		double de = 1.0*quo;
		String dec = String.format("%.8f", de);
		System.out.plintln(quo+" "+rem+" "+dec);
	}	
}

Compiler output:
Main.java:6: error: cannot find symbol
		int numA = scan.nextInt();
		           ^
  symbol:   variable scan
  location: class Main
Main.java:7: error: cannot find symbol
		int numB = scan.nextInt();
		           ^
  symbol:   variable scan
  location: class Main
Main.java:12: error: cannot find symbol
		System.out.plintln(quo+" "+rem+" "+dec);
		          ^
  symbol:   method plintln(String)
  location: variable out of type PrintStream
3 errors
Language: Java

import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int numA = scan.nextInt();
		int numB = scan.nextInt();
		int quo = numA / numB;
		int rem = numA % numB;
		double de = 1.0*numA / numB;
		String dec = String.format("%.8f", de);
		System.out.println(quo+" "+rem+" "+dec);
	}	
}

Compiler output:
Main.java:6: error: cannot find symbol
		int numA = scan.nextInt();
		           ^
  symbol:   variable scan
  location: class Main
Main.java:7: error: cannot find symbol
		int numB = scan.nextInt();
		           ^
  symbol:   variable scan
  location: class Main
2 errors
Language: Java

import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int quo = a / b;
		int rem = a % b;
		double de = 1.0 * a / b;
		String dec = String.format("%.8f", de);
		System.out.println(quo+" "+rem+" "+dec);
	}	
}

Compiler output:
Main.java:6: error: cannot find symbol
		int a = scan.nextInt();
		        ^
  symbol:   variable scan
  location: class Main
Main.java:7: error: cannot find symbol
		int b = scan.nextInt();
		        ^
  symbol:   variable scan
  location: class Main
2 errors
Language: Java

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        int num1 = Integer.parseInt(lines[0]);
        int num2 = Integer.parseInt(lines[1]);

        int ans1 = num1 / num2;
        int ans2 = num1 % num2;
        float ans3 = (float)num1 / (float)num2;

        System.out.println(ans1 + " " + ans2 + " " + ans3);

    }
}

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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        long num1 = Integer.parseInt(lines[0]);
        long num2 = Integer.parseInt(lines[1]);

        long ans1 = num1 / num2;
        long ans2 = num1 % num2;
        double ans = (double)num1 / (double)num2;
        BigDecimal value = new BigDecimal(ans);
        BigDecimal ans3 = value.setScale(9, RoundingMode.HALF_UP);
        
        System.out.println(ans1 + " " + ans2 + " " + ans3);


    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
Main.java:11: error: cannot find symbol
        BigDecimal value = new BigDecimal(ans);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:11: error: cannot find symbol
        BigDecimal value = new BigDecimal(ans);
                               ^
  symbol:   class BigDecimal
  location: class Main
Main.java:12: error: cannot find symbol
        BigDecimal ans3 = value.setScale(9, RoundingMode.HALF_UP);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:12: error: cannot find symbol
        BigDecimal ans3 = value.setScale(9, RoundingMode.HALF_UP);
                                            ^
  symbol:   variable RoundingMode
  location: class Main
6 errors
Language: Java

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        long num1 = Integer.parseInt(lines[0]);
        long num2 = Integer.parseInt(lines[1]);

        long ans1 = num1 / num2;
        long ans2 = num1 % num2;
        BigDecimal value1 = BigDecimal.valueOf(num1);
        BigDecimal value2 = BigDecimal.valueOf(num2);
        BigDecimal ans3 = value1.divide(value2, 2, RoundingMode.HALF_UP);
        
        System.out.println(ans1 + " " + ans2 + " " + ans3);


    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
Main.java:10: error: cannot find symbol
        BigDecimal value1 = BigDecimal.valueOf(num1);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:10: error: cannot find symbol
        BigDecimal value1 = BigDecimal.valueOf(num1);
                            ^
  symbol:   variable BigDecimal
  location: class Main
Main.java:11: error: cannot find symbol
        BigDecimal value2 = BigDecimal.valueOf(num2);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:11: error: cannot find symbol
        BigDecimal value2 = BigDecimal.valueOf(num2);
                            ^
  symbol:   variable BigDecimal
  location: class Main
Main.java:12: error: cannot find symbol
        BigDecimal ans3 = value1.divide(value2, 2, RoundingMode.HALF_UP);
        ^
  symbol:   class BigDecimal
  location: class Main
Main.java:12: error: cannot find symbol
        BigDecimal ans3 = value1.divide(value2, 2, RoundingMode.HALF_UP);
                                                   ^
  symbol:   variable RoundingMode
  location: class Main
8 errors
Language: Java

class main {
    public static void main(String[] args) {
        System.out.prinltn(args[0]);
        System.out.prinltn(args[1]);
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        System.out.prinltn(args[0]);
                  ^
  symbol:   method prinltn(String)
  location: variable out of type PrintStream
Main.java:4: error: cannot find symbol
        System.out.prinltn(args[1]);
                  ^
  symbol:   method prinltn(String)
  location: variable out of type PrintStream
2 errors
Language: Java

class main {
    public static void main(String[] args) {
        Integer a = Integer.parseInt(args[0]);
        Integer b = Integer.parseInt(args[0]);

        Integer d = a / b;
        Integer r = a % b;
        Float f = Float.parseFloat(args[0]) / Float.parseFloat(args[1]);

        System.out.println( String.format("%d %d %04f", d, r, f));
        return 0;
    }
}

Compiler output:
Main.java:11: error: incompatible types: unexpected return value
        return 0;
               ^
1 error
Language: Java

import java.util.Scanner;

public class j {

	public static void main(String[] arges) {

		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		String[] k = line.split(" ");
		int v = Integer.parseInt(k[0]);
		int v2 = Integer.parseInt(k[1]);
		int p = v / v2;
		int r = v % v2;

		double f = Integer.parseInt(k[0])+0.000000000;
		double f2 = Integer.parseInt(k[1])+0.000000000;
		double ff = f / f2;
		
		System.out.print(p);
		System.out.print(" " + r);
		System.out.println(" " + ff);
	}
}

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

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

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

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

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;
        double f = a / b;

        System.out.println(d + " " + r + "" + f)

        }
}

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

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

Compiler output:
Main.java:5: error: cannot find symbol
int a=nextInt();
      ^
  symbol:   method nextInt()
  location: class Main
Main.java:6: error: cannot find symbol
int b=nextInt();
      ^
  symbol:   method nextInt()
  location: class Main
Main.java:7: error: cannot find symbol
int d=nextInt();
      ^
  symbol:   method nextInt()
  location: class Main
Main.java:8: error: cannot find symbol
int r=nextInt();
      ^
  symbol:   method nextInt()
  location: class Main
Main.java:9: error: cannot find symbol
double f=nextInt();
         ^
  symbol:   method nextInt()
  location: class Main
5 errors
Language: Java

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

Compiler output:
Main.java:5: error: cannot find symbol
int a=sc.nextInt();
      ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
int b=sc.nextInt();
      ^
  symbol:   variable sc
  location: class Main
2 errors
Language: Java

import java.util.*;
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;
f.format("%/7f",(double)a/b)
System.out.println(d+" "+r+" "+f);
}}

Compiler output:
Main.java:9: error: ';' expected
f.format("%/7f",(double)a/b)
                            ^
1 error
Language: Java

import java.util.*;
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;
frm.format("%/7f",(double)a/b)
System.out.println(d+" "+r+" "+frm);
}}

Compiler output:
Main.java:9: error: ';' expected
frm.format("%/7f",(double)a/b)
                              ^
1 error
Language: Java

import java.util.*;
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;
f.format("%.7f",(double)a/b)
System.out.println(d+" "+r+" "+f);
}}

Compiler output:
Main.java:9: error: ';' expected
f.format("%.7f",(double)a/b)
                            ^
1 error
Language: Java

import java.util.*;
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;
frm.format("%.7f",(double)a/b)
System.out.println(d+" "+r+" "+frm);
}}

Compiler output:
Main.java:9: error: ';' expected
frm.format("%.7f",(double)a/b)
                              ^
1 error
Language: Java

import java.util.*;
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;
f.format("%.5f",(double)a/b)
System.out.println(d+" "+r+" "+f);
}}

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

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

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

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

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

import java.util.*;
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;
f.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+f);
}}

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

import java.util.*;
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;
frm.format("%.5f",(double)a/b);
System.out.println(d+" "+r+" "+frm);
}}

Compiler output:
Main.java:9: error: cannot find symbol
frm.format("%.5f",(double)a/b);
^
  symbol:   variable frm
  location: class Main
Main.java:10: error: cannot find symbol
System.out.println(d+" "+r+" "+frm);
                               ^
  symbol:   variable frm
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main{
	public static void main(String [] args){
		Scanner sc = new Scanner(System.in);
		long a,b;
		a = sc.nextLong();
		b = sc.nextLong();
		System.out.printf("%d %d %.6f\n",a/b,a%b,(double)a/(double)b));
		
	}
}

Compiler output:
Main.java:9: error: ';' expected
		System.out.printf("%d %d %.6f\n",a/b,a%b,(double)a/(double)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();
		int b = scan.nextInt();
		int d = a/b;
		int r = a%b;
		float f = ((float)a*10000/b)/10000;

		System,out,println(d +" "+ r +" "+ f);

	}
}

Compiler output:
Main.java:12: error: not a statement
		System,out,println(d +" "+ r +" "+ f);
		^
Main.java:12: error: ';' expected
		System,out,println(d +" "+ r +" "+ f);
		      ^
Main.java:12: error: not a statement
		System,out,println(d +" "+ r +" "+ f);
		       ^
Main.java:12: error: ';' expected
		System,out,println(d +" "+ r +" "+ f);
		          ^
4 errors
Language: Java

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

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;
  double f = a / b;

  System.out.println(d + " " +  r + " " + "%.5f"f);
  }
}

Compiler output:
Main.java:15: error: ')' or ',' expected
  System.out.println(d + " " +  r + " " + "%.5f"f);
                                                ^
Main.java:15: error: ';' expected
  System.out.println(d + " " +  r + " " + "%.5f"f);
                                                 ^
2 errors
Language: Java

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

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;
  double f = "%.5f", a / b;

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

Compiler output:
Main.java:13: error: ';' expected
  double f = "%.5f", a / b;
                      ^
Main.java:13: error: not a statement
  double f = "%.5f", a / b;
                         ^
2 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

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

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

Compiler output:
Main.java:14: error: ')' expected
  frm.format= ("%.5f",(double)a / b);
                     ^
Main.java:14: error: not a statement
  frm.format= ("%.5f",(double)a / b);
                       ^
Main.java:14: error: ';' expected
  frm.format= ("%.5f",(double)a / b);
                             ^
Main.java:14: error: not a statement
  frm.format= ("%.5f",(double)a / b);
                                ^
Main.java:14: error: ';' expected
  frm.format= ("%.5f",(double)a / b);
                                   ^
5 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

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

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

Compiler output:
Main.java:14: error: ';' expected
  int f.format= ("%.5f",(double)a / b);
       ^
Main.java:14: error: ')' expected
  int f.format= ("%.5f",(double)a / b);
                       ^
Main.java:14: error: not a statement
  int f.format= ("%.5f",(double)a / b);
                         ^
Main.java:14: error: ';' expected
  int f.format= ("%.5f",(double)a / b);
                               ^
Main.java:14: error: not a statement
  int f.format= ("%.5f",(double)a / b);
                                  ^
Main.java:14: error: ';' expected
  int f.format= ("%.5f",(double)a / b);
                                     ^
6 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

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

  System.out.printf(d + " " + r + " " + '%.5f',f);
  }
}

Compiler output:
Main.java:16: error: unclosed character literal
  System.out.printf(d + " " + r + " " + '%.5f',f);
                                        ^
Main.java:16: error: unclosed character literal
  System.out.printf(d + " " + r + " " + '%.5f',f);
                                             ^
Main.java:16: error: not a statement
  System.out.printf(d + " " + r + " " + '%.5f',f);
                                               ^
Main.java:16: error: ';' expected
  System.out.printf(d + " " + r + " " + '%.5f',f);
                                                ^
4 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

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

  System.out.println(d + " " + r + " " + '%.5f',f);
  }
}

Compiler output:
Main.java:16: error: unclosed character literal
  System.out.println(d + " " + r + " " + '%.5f',f);
                                         ^
Main.java:16: error: unclosed character literal
  System.out.println(d + " " + r + " " + '%.5f',f);
                                              ^
Main.java:16: error: not a statement
  System.out.println(d + " " + r + " " + '%.5f',f);
                                                ^
Main.java:16: error: ';' expected
  System.out.println(d + " " + r + " " + '%.5f',f);
                                                 ^
4 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

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

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

Compiler output:
Main.java:7: error: cannot find symbol
  Formatter frm = new formatter();
                      ^
  symbol:   class formatter
  location: class Main
1 error
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

  int d = a / b;
  int r = a % b;
  frm.formatter = ("%.5f",(double)a / b);

  System.out.printf(d + " " + r + " " + frm);
  }
}

Compiler output:
Main.java:14: error: ')' expected
  frm.formatter = ("%.5f",(double)a / b);
                         ^
Main.java:14: error: not a statement
  frm.formatter = ("%.5f",(double)a / b);
                           ^
Main.java:14: error: ';' expected
  frm.formatter = ("%.5f",(double)a / b);
                                 ^
Main.java:14: error: not a statement
  frm.formatter = ("%.5f",(double)a / b);
                                    ^
Main.java:14: error: ';' expected
  frm.formatter = ("%.5f",(double)a / b);
                                       ^
5 errors
Language: Java

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

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

  int a = scan.nextInt();
  int b = scan.nextInt();

  int d = a / b;
  int r = a % b;
  frm.formatter = ("%.5f".(double)a / b);

  System.out.println(d + " " + r + " " + frm);
  }
}

Compiler output:
Main.java:14: error: <identifier> expected
  frm.formatter = ("%.5f".(double)a / b);
                          ^
Main.java:14: error: '.class' expected
  frm.formatter = ("%.5f".(double)a / b);
                                 ^
Main.java:14: error: ')' expected
  frm.formatter = ("%.5f".(double)a / b);
                                  ^
Main.java:14: error: not a statement
  frm.formatter = ("%.5f".(double)a / b);
                                    ^
Main.java:14: error: ';' expected
  frm.formatter = ("%.5f".(double)a / b);
                                       ^
5 errors
Language: Java

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

public class ITP1_4_A {

	public static void main(String[] args) {

		int inta = 0;
		int intb = 0;

		//?§£????????°
		int intd = 0;
		int intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Integer> NumList = new ArrayList<Integer>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Integer.parseInt(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println(intd + " " + intr + " " + dbf);
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}

}

Compiler output:
Main.java:6: 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.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.5f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}

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

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

public class Main {

	public static void main(String[] args) {

		double inta = 0;
		double intb = 0;

		//?§£????????°
		double intd = 0;
		double intr = 0;
		double dbf = 0.0;

		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String strInput = br.readLine();

			ArrayList<Double> NumList = new ArrayList<Double>();

			String[] strNumList = strInput.split(" ", 0);

			for (int i = 0; i < strNumList.length; i++) {
				NumList.add(Double.parseDouble(strNumList[i]));
			}

			inta = NumList.get(0);
			intb = NumList.get(1);

			intd = inta / intb;
			intr = inta % intb;
			dbf = (double)inta / (double)intb;

			System.out.println((int)intd + " " + intr + " " + String.format("%.8f", dbf));
		} catch (IOException e) {
			System.out.println(e);
		}catch (NumberFormatException e) {
			System.out.println(e);
		}
	}

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

import java.util.*;

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

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] l = line.split(" ");
        int a = Integer.parseInt(l[0]);
        int b = Integer.parseInt(l[1]);

        int d = (int)a / b;
        int r = (int)a % b;
        float f = (float)a / b;
        System.out.print(d + " " + r + " ");
        System.out.println(f);                                                                       
    }   
}

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

import java.util.*;                                                                                  

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

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        String[] l = line.split(" ");
        float a = Float.parseFloat(l[0]);
        float b = Float.parseFloat(l[1]);

        int d = (int)Math.floor(a / b); 
        int r = (int)Math.floor(a % b); 
        float f = (float)a / b;
        System.out.println(d + " " + r + " " + f); 
    }   
}

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

import java.io.*;

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

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

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

        int d = a / b;
        int r = a % b;
        float f = a / b;
        String f = String.format("%.6f", f);

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

Compiler output:
Main.java:16: error: variable f is already defined in method main(String[])
        String f = String.format("%.6f", f);
               ^
1 error
Language: Java

import java.util.*;

class Main{
	Scanner scan = new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	public Main(){
		int d=a/b;
		int r=a%b;
		float x=(float)a;
		float y=(float)b;
		float f=x/y;
		System.out.printf(d+" "+r+" "+("%8f\n",f));
	}
	public static void main(String[] args){
		new Main();
	}
}

Compiler output:
Main.java:13: error: ')' expected
		System.out.printf(d+" "+r+" "+("%8f\n",f));
		                                      ^
Main.java:13: error: ';' expected
		System.out.printf(d+" "+r+" "+("%8f\n",f));
		                                         ^
2 errors
Language: Java

import java.util.*;

class Main{
	Scanner scan = new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	public Main(){
		int d=a/b;
		int r=a%b;
		float x=(float)a;
		float y=(float)b;
		float f=x/y;
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
	}
	public static void main(String[] args){
		new Main();
	}
}

Compiler output:
Main.java:13: error: ')' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                       ^
Main.java:13: error: ';' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                          ^
2 errors
Language: Java

import java.util.*;

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

Compiler output:
Main.java:12: error: ')' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                       ^
Main.java:12: error: ';' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                          ^
2 errors
Language: Java

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

class Main{
	Scanner scan = new Scanner(System.in);
	int a=scan.nextInt();
	int b=scan.nextInt();
	public Main(){
		int d=a/b;
		int r=a%b;
		float x=(float)a;
		float y=(float)b;
		float f=x/y;
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
	}
	public static void main(String[] args){
		new Main();
	}
}

Compiler output:
Main.java:14: error: ')' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                       ^
Main.java:14: error: ';' expected
		System.out.printf(d+" "+r+" "+("%.5f\n",f));
		                                          ^
2 errors
Language: Java

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

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

Compiler output:
Main.java:12: error: variable f is already defined in constructor Main()
		float f=x/y;
		      ^
Main.java:12: error: cannot find symbol
		float f=x/y;
		        ^
  symbol:   variable x
  location: class Main
Main.java:12: error: cannot find symbol
		float f=x/y;
		          ^
  symbol:   variable y
  location: class Main
3 errors
Language: Java

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

class Mian{		//?????£??????

	int a;
	int b;

	public Main(){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();

		int x = a / b;
		int y = a % b;
		double z = (double)a / (double)b;

		System.out.printf("%d %d %.5f", x, y, z);
		//System.out.println("");
	}
	public static void main(String[] args){
		new Main();
	}
}

Compiler output:
Main.java:9: error: invalid method declaration; return type required
	public Main(){
	       ^
1 error
Language: Java

import java.util.Scanner;

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

		System.out.println("???????????\?????????????????????");

		//??°?????\???
		Scanner sc = new Scanner(System.in);
		String a1 = sc.next();
		String b1 = sc.next();


		//???????????°???
		int a = Integer.parseInt(a1);
		int b = Integer.parseInt(b1);

		//?¨??????????
		int d = a/b;
		int r = a%b;
		double f = a/(double)b;

		System.out.println(d);
		System.out.println(r);

		//?°???°?????\??????000?????¨?????§?????????
		System.out.println(f);

	}
}

Compiler output:
Main.java:6: error: illegal escape character
		System.out.println("???????????\?????????????????????");
		                                ^
1 error
Language: Java

mport java.math.BigDecimal;
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;
		double f = (double)a / b;
		System.out.println(d + " " + r + " " + BigDecimal.valueOf(f).toPlainString());

	}

}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.math.BigDecimal;
^
Main.java:2: error: class, interface, enum, or record expected
import java.util.Scanner;
^
2 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String[] s = sc.nextLine().split(" ");
		int in[] = new int[s.length];
		for(int i=0;i<s.length;i++){
			in[i] = Integer.parseInt(s[i]);
		}
		if(in[0]%in[1]){
			System.out.println(in[0]/in[1]+" "+(double)in[0]/in[1]);
		}else{
			System.out.println(in[0]/in[1]+" "+in[0]%in[1]+" "+(double)in[0]/in[1]);
		}
	}
}

Compiler output:
Main.java:10: error: incompatible types: int cannot be converted to boolean
		if(in[0]%in[1]){
		        ^
1 error
Language: Java

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

public class Main {

	public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int a = Integer.parseInt(strNumber[0]);
			int b = Integer.parseInt(strNumber[1]);
			BigDecimal bdA = new BigDecimal(a);
			BigDecimal bdB = new BigDecimal(b);

			int d = a / b;
			int r = a % b;
			BigDecimal bdDivide = bdA.divide(bdB , 8 , BigDecimal.ROUND_HALF_UP).setScale(8, BigDecimal.ROUND_FLOOR);

            System.out.println(d + " " + r + " " + bdDivide.toString());

        } catch (IOException e) {
            e.printStackTrace();
        }


}

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

package AOJ4;

import java.util.Scanner;

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

		//??????
		int a = sc.nextInt();

		//??????
		int b = sc.nextInt();

		//?¨????
		int d = a / b;

		int Amari = a % b;

		double f = (double) a % (double) b;

		//??????????¨????
		System.out.println(d + ":" + Amari + ":" + f);
	}
}

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

public class Main {

    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in)) {
            BigDecimal a = scanner.nextBigDecimal();
            BigDecimal b = scanner.nextBigDecimal();
            System.out.printf("%s %s %s\n", a.divide(b).toBigInteger().toString(), a.remainder(b).toBigInteger().toString(), a.divide(b).toString());
        }
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        try (Scanner scanner = new Scanner(System.in)) {
             ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        try (Scanner scanner = new Scanner(System.in)) {
                                   ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
            BigDecimal a = scanner.nextBigDecimal();
            ^
  symbol:   class BigDecimal
  location: class Main
Main.java:6: error: cannot find symbol
            BigDecimal b = scanner.nextBigDecimal();
            ^
  symbol:   class BigDecimal
  location: class Main
4 errors
Language: Java

import java.util.Scanner;
public class Main { 
    public static void main(String[] args){
        Scanner scan = new java.util.Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int d = a / b;
        int r = a % b;
        flort f = a / b;
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
        flort f = a / b;
        ^
  symbol:   class flort
  location: class Main
1 error
Language: Java

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

Compiler output:
Main.java:10: error: illegal start of expression
        System.out.println(d +" " + r + " "+ (%.9f)f);
                                              ^
Main.java:10: error: ')' or ',' expected
        System.out.println(d +" " + r + " "+ (%.9f)f);
                                                   ^
Main.java:10: error: ';' expected
        System.out.println(d +" " + r + " "+ (%.9f)f);
                                                    ^
3 errors
Language: Java

import java.util.Scanner;
public class Main { 
    public static void main(String[] args){
        Scanner scan = new java.util.Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int d = a / b;
        int r = a % b;
        float f = (float)a / b;
        System.out.print(d +" " + r + " ");
        System.out.printf(%.9f\n, f);
    }
}

Compiler output:
Main.java:11: error: illegal start of expression
        System.out.printf(%.9f\n, f);
                          ^
Main.java:11: error: illegal character: '\'
        System.out.printf(%.9f\n, f);
                              ^
Main.java:11: error: not a statement
        System.out.printf(%.9f\n, f);
                               ^
Main.java:11: error: ';' expected
        System.out.printf(%.9f\n, f);
                                ^
Main.java:11: error: not a statement
        System.out.printf(%.9f\n, f);
                                  ^
Main.java:11: error: ';' expected
        System.out.printf(%.9f\n, f);
                                   ^
6 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 str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int d=a/b;
int r=a%b;
float f=a/b;
System.out.println(d+" "+r+" "+"%.5f",f);
br.close();
}
}

Compiler output:
Main.java:12: error: no suitable method found for println(String,float)
System.out.println(d+" "+r+" "+"%.5f",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.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int d=a/b;
int r=a%b;
float f=a/b;
System.out.println(d+" "+r+" "+("%.5f",f));
br.close();
}
}

Compiler output:
Main.java:12: error: ')' expected
System.out.println(d+" "+r+" "+("%.5f",f));
                                      ^
Main.java:12: error: ';' expected
System.out.println(d+" "+r+" "+("%.5f",f));
                                         ^
2 errors