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

import java.util.Scanner;

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

}

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

import java.util.Scanner;

public class Main2 {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		long a = scan.nextInt();
		long b = scan.nextInt();
		int d = (int) (a/b);
		int r = (int) (a%b);
		float f = (float)a/b;

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

	}

}

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

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner("3 2");
		// Scanner scanner = new Scanner(System.in);
		List<Double> list = new ArrayList<Double>();
		for (int i = 0; i < 2; i++) {
			list.add(scanner.nextDouble());
		}
		int d = (int) divide1(list.get(0), list.get(1));
		int r = (int) divide2(list.get(0), list.get(1));
		double f = divide3(list.get(0), list.get(1));
		System.out.println(d + " " + r + " " + f + "0000");
	}

	public static double divide1(double a, double b) {
		double ans = a / b;
		return ans;
	}

	public static double divide2(double a, double b) {
		double ans = a % b;
		return ans;
	}

	public static double divide3(double a, double b) {
		double ans1 = divide1(a, b);
		//double ans2 = divide2(a, b);
		return ans1;
		String ans2 = String.format("%.5f", ans1);
	
	}
}

Compiler output:
Main.java:33: error: unreachable statement
		String ans2 = String.format("%.5f", ans1);
		       ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(Sring[] 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 / b);

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

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(Sring[] args){
                          ^
  symbol:   class Sring
  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();
    int b = scan.nextInt();

    int d = a / b;
    int r = a % b;
    float f = 1.0* a / b;

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

Compiler output:
Main.java:11: error: incompatible types: possible lossy conversion from double to float
    float f = 1.0* 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();
    int b = scan.nextInt();

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

Compiler output:
Main.java:15: error: cannot find symbol
    System.out.println(d + " " + r + " " + f);
                                           ^
  symbol:   variable f
  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();
    int b = scan.nextInt();

    int d = a / b;
    int r = a % b;
    if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);}
    else {
    float f = (double) a / b; System.out.println(d + " " + r + " " + f);
    }
  }
}

Compiler output:
Main.java:13: error: incompatible types: possible lossy conversion from double to float
    float f = (double) a / b; System.out.println(d + " " + r + " " + f);
                         ^
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;
    if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);}
    else {
    float f = 1.00000 a / b; System.out.println(d + " " + r + " " + f);
    }
  }
}

Compiler output:
Main.java:13: error: ';' expected
    float f = 1.00000 a / b; System.out.println(d + " " + r + " " + f);
                     ^
Main.java:13: error: not a statement
    float f = 1.00000 a / b; System.out.println(d + " " + r + " " + f);
                        ^
2 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;
    if(r == 0){int f = a / b; System.out.println(d + " " + r + " " + f);}
    else {
    float f = 1.00000* a / b; System.out.println(d + " " + r + " " + f);
    }
  }
}

Compiler output:
Main.java:13: error: incompatible types: possible lossy conversion from double to float
    float f = 1.00000* a / b; System.out.println(d + " " + r + " " + f);
                         ^
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 / b;
    System.out.print(d + " " + r + " "); System.out.printf(%.5f%n,f);
    }
  }
}

Compiler output:
Main.java:12: error: illegal start of expression
    System.out.print(d + " " + r + " "); System.out.printf(%.5f%n,f);
                                                           ^
Main.java:15: error: class, interface, enum, or record expected
}
^
2 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 = (float) a / b;
    System.out.print(d + " " + r + " "); System.out.printf(%.5f,f);
    }
  }
}

Compiler output:
Main.java:12: error: illegal start of expression
    System.out.print(d + " " + r + " "); System.out.printf(%.5f,f);
                                                           ^
Main.java:15: error: class, interface, enum, or record expected
}
^
2 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 = (float) a / b;
    System.out.printf(%d%s%d%s%.5,d,r,f);
  }
}

Compiler output:
Main.java:12: error: illegal start of expression
    System.out.printf(%d%s%d%s%.5,d,r,f);
                      ^
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 / b;
    System.out.printf(%10d%s%10d%s%.5d,d,r,f);
  }
}

Compiler output:
Main.java:12: error: illegal start of expression
    System.out.printf(%10d%s%10d%s%.5d,d,r,f);
                      ^
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 / b;
    System.out.printf(%10d %10d %10.5f,d,r,f);
  }
}

Compiler output:
Main.java:12: error: illegal start of expression
    System.out.printf(%10d %10d %10.5f,d,r,f);
                      ^
1 error
Language: Java

import java.util.Scanner;
import java.math.*;

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 / (float)b;

		//String afterFloat = String.format("%.5f", f);

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

Compiler output:
Main.java:18: 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.util.Scanner;
import java.math.*;

public class ABProblem{
	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 / (float)b;

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

Compiler output:
Main.java:4: error: class ABProblem is public, should be declared in a file named ABProblem.java
public class ABProblem{
       ^
Main.java:16: 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)
2 errors
Language: Java

import java.util.Scanner;
import java.math.*;

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 / (float)b;

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

Compiler output:
Main.java:16: 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.util.Scanner;
import java.math.*;

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 / (float)b;

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

Compiler output:
Main.java:17: error: no suitable method found for println(String,float)
		System.out.println("%.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.util.Scanner;
import java.math.*;

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 / (float)b;

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

Compiler output:
Main.java:17: error: no suitable method found for println(String,float)
		System.out.println("%.5f\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

mport java.util.Scanner;

public class ABProblem{
	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 / (float)b;

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

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

import java.util.Scanner;

public class ABProblem{
	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 / (float)b;

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

Compiler output:
Main.java:3: error: class ABProblem is public, should be declared in a file named ABProblem.java
public class ABProblem{
       ^
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 a = scan.nextInt();
        int b = scan.nextInt();

        int d = a / b;
        int r = a % b;
        double f = 1.0 * x / y;
        BigDecimal g = new BigDecimal(f);
        g = g.setScale(5,BigDecimal.ROUND_HALF_UP);
        System.out.printf("%d" + " " + "%d" + " " + "%.5f",d, r, g);
    }
}

Compiler output:
Main.java:13: error: cannot find symbol
        double f = 1.0 * x / y;
                         ^
  symbol:   variable x
  location: class Main
Main.java:13: error: cannot find symbol
        double f = 1.0 * x / y;
                             ^
  symbol:   variable y
  location: class Main
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
Language: Java

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

Compiler output:
Main.java:1: error: ')' or ',' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println(a/b+" "+a%b+" "(double)a/(double)b);}}
                                                                                                                                                                            ^
Main.java:1: error: not a statement
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println(a/b+" "+a%b+" "(double)a/(double)b);}}
                                                                                                                                                                             ^
Main.java:1: error: ';' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println(a/b+" "+a%b+" "(double)a/(double)b);}}
                                                                                                                                                                                   ^
Main.java:1: error: not a statement
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println(a/b+" "+a%b+" "(double)a/(double)b);}}
                                                                                                                                                                                     ^
Main.java:1: error: ';' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println(a/b+" "+a%b+" "(double)a/(double)b);}}
                                                                                                                                                                                               ^
5 errors
Language: Java

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

Compiler output:
Main.java:1: error: ')' or ',' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println((a/b)+" "+(a%b)+" "((double)a/(double)b));}}
                                                                                                                                                                                ^
Main.java:1: error: not a statement
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println((a/b)+" "+(a%b)+" "((double)a/(double)b));}}
                                                                                                                                                                                  ^
Main.java:1: error: ';' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println((a/b)+" "+(a%b)+" "((double)a/(double)b));}}
                                                                                                                                                                                        ^
Main.java:1: error: not a statement
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println((a/b)+" "+(a%b)+" "((double)a/(double)b));}}
                                                                                                                                                                                          ^
Main.java:1: error: ';' expected
import java.util.*;class Main{public static void main(String args[]){Scanner s=new Scanner(System.in);int a=s.nextInt();int b=s.nextInt();System.out.println((a/b)+" "+(a%b)+" "((double)a/(double)b));}}
                                                                                                                                                                                                    ^
5 errors
Language: Java

import java.util.Scanner;


public class Warizan {

    
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int Ans1, Ans2;
        double Ans3;
        String str[];
        str = new String[2];
        int num[];
        num = new int[2];
        for(int i=0; i<=1; i++)
            {
            str[i] = in.next();
            num[i] = Integer.parseInt(str[i]);
            }
        Ans1 = num[0]/num[1];
        Ans2 = num[0]%num[1];
        
        Ans3 = (double)num[0]/(double)num[1];
        System.out.println(Ans1+" "+Ans2+" "+Ans3);
    }
    
}

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

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

		int a=scan.nextInt();
		int b=scan.nextInt();
		String str;
		
		int sum1=a/b;
		int sum2=a%b;
		str = String.format("%.5f", ((double)a / (double)b));
		System.out.println(sum1+" "+sum2+" "+sum3);
		
	}
}

Compiler output:
Main.java:15: error: cannot find symbol
		System.out.println(sum1+" "+sum2+" "+sum3);
		                                     ^
  symbol:   variable sum3
  location: class Main
1 error
Language: Java

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

		int a=scan.nextInt();
		int b=scan.nextInt();
		String str;
		
		int sum1=a/b;
		int sum2=a%b;
		str = String.format("%.5f", ((double)a / (double)b));
		int sum3=str;
		System.out.println(sum1+" "+sum2+" "+sum3);
		
	}
}

Compiler output:
Main.java:15: error: incompatible types: String cannot be converted to int
		int sum3=str;
		         ^
1 error
Language: Java

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

		int a=scan.nextInt();
		int b=scan.nextInt();
		String str;
		
		int sum1=a/b;
		int sum2=a%b;
		str = String.format("%.5f", ((double)a / (double)b));
		double sum3=str;
		System.out.println(sum1+" "+sum2+" "+sum3);
		
	}
}

Compiler output:
Main.java:15: error: incompatible types: String cannot be converted to double
		double sum3=str;
		            ^
1 error
Language: Java

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int d;
        int r;
        double f;

        d = a / b;
        r = a % b;
        f = 1.0 * a / b;
        System.out.println(f);

        DecimalFormat df = new DecimalFormat("0.00000");
        
        String n = df.format(f);
        System.out.println(d + " " + r + " " + n);
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
        Scanner scanner = new Scanner(System.in);
                              ^
  symbol:   class Scanner
  location: class Main
Main.java:16: error: cannot find symbol
        DecimalFormat df = new DecimalFormat("0.00000");
        ^
  symbol:   class DecimalFormat
  location: class Main
Main.java:16: error: cannot find symbol
        DecimalFormat df = new DecimalFormat("0.00000");
                               ^
  symbol:   class DecimalFormat
  location: class Main
4 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();
		
		System.out.println(%d %r %f, a / b, a % b, (double) a / b);
	}
}

Compiler output:
Main.java:11: error: illegal start of expression
		System.out.println(%d %r %f, a / b, a % b, (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();
		int b = scan.nextInt();
		
		System.out.println(%d %d %f, a / b, a % b, (double) a / b);
	}
}

Compiler output:
Main.java:11: error: illegal start of expression
		System.out.println(%d %d %f, a / b, a % b, (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();
		int b = scan.nextInt();
		
		System.out.printf(%d %d %f, a / b, a % b, (double) a / b);
	}
}

Compiler output:
Main.java:11: error: illegal start of expression
		System.out.printf(%d %d %f, a / b, a % b, (double) a / b);
		                  ^
1 error
Language: Java

import java.util.Scanner;
public class Num {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int d = a/b;
    	    int r = a%b;
    	    double f =(double) a/b;
    	    buf.append(d).append(" ").append(r).append(" ").append(String.format("%6.5f",f));
    	    //String s=String.format("%.2f",r);
    	System.out.println(buf);
    	    //System.out.printf("%6.5f",f);
    }
}

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

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		
		System.out.printf("%d %d %.5f",(a/b),(a%b), a/(b*1.0) );
		
		scanner.close();
	}

}

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

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

        int ansA = a / b;
        int ansB = a % b;
        double ansC = a / b;
        
        System.out.println(ansA + " " + ansB + " " + ansC);
    }
} 

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

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

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

        int ansA = a / b;
        int ansB = a % b;
        double ansC = a / b;
        
        System.out.println(ansA + " " + ansB + " " + ansC);
    }
} 

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

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

public class Main {
    public static void main(String[] args) throws Exception {
        
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        String[] ary = line.split(" ");
        int a = Integer.parseInt(ary[0]);
        int b = Integer.parseInt(ary[1]);
        
        int ansA = a / b;
        int ansB = a % b;
        double ansC = (double)a / (double)b;
        
        
        System.out.print(ansA + " " + ansB + " ");
        System.out.printf("%.5f", ansC);
        System.out.pritnln("");
    }
}

Compiler output:
Main.java:21: error: cannot find symbol
        System.out.pritnln("");
                  ^
  symbol:   method pritnln(String)
  location: variable out of type PrintStream
1 error
Language: Java

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

Compiler output:
Main.java:9: error: incompatible types: possible lossy conversion from double to int
    int r = (double)a%(double)b;
                     ^
1 error
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:3: error: class Study01 is public, should be declared in a file named Study01.java
public class Study01 {	
       ^
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 c =a/b;
			int d =a%b;
           ?????????????????? double e = (double)a / (double)b;
			
			System.out.println(c+" "+d+" "+e);				
			}
	}

Compiler output:
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
           ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
            ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
             ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
              ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
               ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                 ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                  ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                   ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                    ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                     ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                      ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                       ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                        ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                         ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                          ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                           ^
Main.java:11: error: illegal start of expression
           ?????????????????? double e = (double)a / (double)b;
                            ^
Main.java:11: error: '.class' expected
           ?????????????????? double e = (double)a / (double)b;
                                     ^
Main.java:11: error: : expected
           ?????????????????? double e = (double)a / (double)b;
                                                              ^
20 errors
Language: Java

import java.io.*;

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

Compiler output:
Main.java:15: error: incompatible types: String cannot be converted to double
   f=String.format("%.5f", ((double)a / (double)b));    
                  ^
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:6: error: cannot find symbol
  string f;
  ^
  symbol:   class string
  location: class Main
1 error
Language: Java

import java.io.*;

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

Compiler output:
Main.java:17: error: incompatible types: double cannot be converted to String
   f = (double)a/(double)b;
                ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
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 = 1.0 * a / b;
		string keta =String.format("%.8f", r);
		System.out.println(d+" "+r+" "+keta);
	}
}

Compiler output:
Main.java:12: error: cannot find symbol
		string keta =String.format("%.8f", r);
		^
  symbol:   class string
  location: class Main
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;
        float f;

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

        d=a/b;
        r=a%b;
        float fa=(float)a
        float fb=(float)b
        f=fa/fb;


        

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

           
   
 }
 
}

Compiler output:
Main.java:20: error: ';' expected
        float fa=(float)a
                         ^
Main.java:21: error: ';' expected
        float fb=(float)b
                         ^
2 errors
Language: Java

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

Compiler output:
Main.java:13: error: ';' expected
       f = a/b
              ^
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 = (double)a / (double)b
       
       System.out.println(d + " " + r + " " + f);
    }
}

Compiler output:
Main.java:13: error: ';' expected
       f = (double)a / (double)b
                                ^
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 = (double)a / (double)b;
       
       System.out.println(d + " " + r + " " + "%.8f", f);
    }
}

Compiler output:
Main.java:15: error: no suitable method found for println(String,double)
       System.out.println(d + " " + r + " " + "%.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 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 = (double)a / (double)b;
       
       System.out.println(d + " " + r + " " + "%5f\n", f);
    }
}

Compiler output:
Main.java:15: error: no suitable method found for println(String,double)
       System.out.println(d + " " + r + " " + "%5f\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.println(d + " " + r + " " + "%.8lf\n", f);
    }
}

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

Compiler output:
Main.java:15: error: no suitable method found for println(String,double)
       System.out.println(d + " " + r + " " + "%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 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);
    }
}

Compiler output:
Main.java:15: error: illegal start of expression
       System.out.println(d + " " + r + " " + %8f);
                                              ^
1 error