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

package com.example.itp1;

import java.util.NoSuchElementException;
import java.util.Scanner;

public class Watch {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        try {
            int s = Integer.parseInt(sc.nextLine());
            if (s >= 86400 || s < 0) {
                System.out.println("Input is incorrect");
                return;
            }
            int h = s / (60 * 60);
            int r = s % (60 * 60);
            int m = r / 60;
            r = s % 60;
            System.out.printf("%d:%d:%d\n", h, m, r);
        } catch (NoSuchElementException | NumberFormatException e) {
            System.out.println(e);
        }
    }
}



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

import java.util.Scanner;

public class Mei{

 public static void main (String[ ] args){

Scanner sc = new Scanner )System.in);

 int sum = sc.next Int( );

int h = Sum/3600;

int m = (sum%3600)/60;

int s = ((sum%3600)%60);

System.out.println(h+":"+m+":"+s);

}

}


Compiler output:
Main.java:7: error: '(' or '[' expected
Scanner sc = new Scanner )System.in);
                         ^
Main.java:7: error: not a statement
Scanner sc = new Scanner )System.in);
                                ^
Main.java:7: error: ';' expected
Scanner sc = new Scanner )System.in);
                                   ^
Main.java:9: error: ';' expected
 int sum = sc.next Int( );
                  ^
4 errors
Language: Java

import java.util.Scanner;

public class Mei{

 public static void main (String[ ] args){

Scanner s = new Scanner )System.in);

 int sum = s.next Int( );

int h = Sum/3600;

int m = (sum%3600)/60;

int s = ((sum%3600)%60);

System.out.println(h+":"+m+":"+s);

}

}


Compiler output:
Main.java:7: error: '(' or '[' expected
Scanner s = new Scanner )System.in);
                        ^
Main.java:7: error: not a statement
Scanner s = new Scanner )System.in);
                               ^
Main.java:7: error: ';' expected
Scanner s = new Scanner )System.in);
                                  ^
Main.java:9: error: ';' expected
 int sum = s.next Int( );
                 ^
4 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int h = S/3600;
      int m = (S-3600*h)/60;
      int s = S mod 3600;
      System.out.printf("%d %d %d\n" h,m,s)
      }
 }



Compiler output:
Main.java:9: error: ';' expected
      int s = S mod 3600;
               ^
Main.java:9: error: not a statement
      int s = S mod 3600;
                ^
Main.java:9: error: ';' expected
      int s = S mod 3600;
                   ^
Main.java:10: error: ')' or ',' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                    ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                     ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                      ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                       ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                        ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                         ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                          ^
10 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int h = S/3600;
      int m = (S-3600*h)/60;
      int s = S % 3600;
      System.out.printf("%d %d %d\n" h,m,s)
      }
 }



Compiler output:
Main.java:10: error: ')' or ',' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                    ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                     ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                      ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                       ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                        ^
Main.java:10: error: not a statement
      System.out.printf("%d %d %d\n" h,m,s)
                                         ^
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n" h,m,s)
                                          ^
7 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int h = S/3600;
      int m = (S-3600*h)/60;
      int s = S % 3600;
      System.out.printf("%d %d %d\n", h,m,s)
      }
 }



Compiler output:
Main.java:10: error: ';' expected
      System.out.printf("%d %d %d\n", h,m,s)
                                            ^
1 error
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int h = S/3600;
      int m = (S-3600*h)/60;
      int s = S % 3600;
      System.out.printf("%d %d %d\n", h,m,s);
      }
 }



Compiler output:
Main.java:7: error: bad operand types for binary operator '/'
      int h = S/3600;
               ^
  first type:  Scanner
  second type: int
Main.java:8: error: bad operand types for binary operator '-'
      int m = (S-3600*h)/60;
                ^
  first type:  Scanner
  second type: int
Main.java:9: error: bad operand types for binary operator '%'
      int s = S % 3600;
                ^
  first type:  Scanner
  second type: int
3 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int h = S;
      int m = S;
      int s = S;
      System.out.printf("%d %d %d\n", h,m,s);
      }
 }



Compiler output:
Main.java:7: error: incompatible types: Scanner cannot be converted to int
      int h = S;
              ^
Main.java:8: error: incompatible types: Scanner cannot be converted to int
      int m = S;
              ^
Main.java:9: error: incompatible types: Scanner cannot be converted to int
      int s = S;
              ^
3 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int time= S.nextInt();

      System.out.printf("%d %d %d\n", h,m,s);
      }
 }


Compiler output:
Main.java:9: error: cannot find symbol
      System.out.printf("%d %d %d\n", h,m,s);
                                      ^
  symbol:   variable h
  location: class Main
Main.java:9: error: cannot find symbol
      System.out.printf("%d %d %d\n", h,m,s);
                                        ^
  symbol:   variable m
  location: class Main
Main.java:9: error: cannot find symbol
      System.out.printf("%d %d %d\n", h,m,s);
                                          ^
  symbol:   variable s
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int time= S.nextInt();
      int h = time/ 3600;
      int m = (time - h*3600)/60
      int s =  time - h*3600 - m*60
      System.out.printf("%d %d %d\n", h,m,s);
      }
 }


Compiler output:
Main.java:9: error: ';' expected
      int m = (time - h*3600)/60
                                ^
Main.java:10: error: ';' expected
      int s =  time - h*3600 - m*60
                                   ^
2 errors
Language: Java

import java.util.Scanner;
class Main
 {
   public static void main(String[] args)
      {
      Scanner S = new Scanner(System.in);
      int time= S.nextInt();
      int h = time/ 3600;
      int m = (time - h*3600)/60;
      int s =  S % 60;
      System.out.printf("%d %d %d\n", h,m,s);
      }
 }


Compiler output:
Main.java:10: error: bad operand types for binary operator '%'
      int s =  S % 60;
                 ^
  first type:  Scanner
  second type: int
1 error
Language: Java

import java.util.Scanner;
package lesson;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int h = S / 3600;
		int m = S / 60;
		int s = S - h - m;
		System.out.print("h+:");
		System.out.print("m+:");
		System.out.print("s+:");
	}
}



Compiler output:
Main.java:2: error: class, interface, enum, or record expected
package lesson;
^
1 error
Language: Java

public class Test {
	static int hour(int i) {
		return i / 3600;
	}

	static int minits(int i) {
		int a = i % 3600;
		return a / 60;
	}

	static int sec(int i) {
		int a = i % 3600;
		int b = a % 60;
		return b ;
	}

	public static void main(String[] args) {
		int i = 46979;

		System.out.println("h :" + hour(i) + "m :" + minits(i) + "s :" + sec(i));
	}

}


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

class Test{
	static int hour(int i) {
		return i / 3600;
	}

	static int minits(int i) {
		int a = i % 3600;
		return a / 60;
	}

	static int sec(int i) {
		int a = i % 3600;
		int b = a % 60;
		return b ;
	}

	public static void main(String[] args) {
		

		System.out.println(" h :" + hour(i) + " m :" + minits(i) + " s :" + sec(i));
	}

}


Compiler output:
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(i) + " m :" + minits(i) + " s :" + sec(i));
		                                 ^
  symbol:   variable i
  location: class Test
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(i) + " m :" + minits(i) + " s :" + sec(i));
		                                                      ^
  symbol:   variable i
  location: class Test
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(i) + " m :" + minits(i) + " s :" + sec(i));
		                                                                        ^
  symbol:   variable i
  location: class Test
3 errors
Language: Java

class Test{
	static int hour(int i) {
		return i / 3600;
	}

	static int minits(int i) {
		int a = i % 3600;
		return a / 60;
	}

	static int sec(int i) {
		int a = i % 3600;
		int b = a % 60;
		return b ;
	}

	public static void main(String[] args) {
		int S;

		System.out.println(" h :" + hour(s) + " m :" + minits(s) + " s :" + sec(s));
	}

}


Compiler output:
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(s) + " m :" + minits(s) + " s :" + sec(s));
		                                 ^
  symbol:   variable s
  location: class Test
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(s) + " m :" + minits(s) + " s :" + sec(s));
		                                                      ^
  symbol:   variable s
  location: class Test
Main.java:20: error: cannot find symbol
		System.out.println(" h :" + hour(s) + " m :" + minits(s) + " s :" + sec(s));
		                                                                        ^
  symbol:   variable s
  location: class Test
3 errors
Language: Java

class Test{
	static int hour(int i) {
		return i / 3600;
	}

	static int minits(int i) {
		int a = i % 3600;
		return a / 60;
	}

	static int sec(int i) {
		int a = i % 3600;
		int b = a % 60;
		return b ;
	}

	public static void main(String[] args) {
		int S = new java.utill.Scanner(System.in).nextInt();

		System.out.println( hour(S) + " :" + minits(S) + ":" + sec(S));
	}

}


Compiler output:
Main.java:18: error: package java.utill does not exist
		int S = new java.utill.Scanner(System.in).nextInt();
		                      ^
1 error
Language: Java

public class Time
{
    public String whatTime(int seconds)
    {
	if(seconds == 0)
	    {
		return "0:0:0";
	    }

	int sec = seconds % 60;
	int min =(seconds/60) % 60;
	int hour = (seconds / 3600 ) & 3600;

	return String.format("%d:%d:%d" , hour, min, sec);
    }
}

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

class Main
{
    public static void main(String[] args) throws IOException
    {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int seconds = Integer.parseInt(str);
	if(seconds == 0)
	    {
		System.out.println("0:0:0");
	    }else{
	int sec = seconds % 60;
	int min =(seconds/60) % 60;
	int hour = (seconds / 3600 ) & 3600;

	System.out.println(hour + ":" + min + ":" + sec);
        }
    }
}

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

import java.io.*;
class Main{
   public static void main(String[] args)throws java.io.IOException{
      BufferedReader input = new BufferedReader(new InputStreamReader(System in));
      
      String tmp = input.readLine();
      int S = Integer.parseInt(tmp);

      int h=0,m=0;s=0;

      
      s = S%60;
      m = (S/60)%60;
      h = S/3600;

      System.out.println(h+":"+m+":"+s);
    }
}

Compiler output:
Main.java:4: error: ')' or ',' expected
      BufferedReader input = new BufferedReader(new InputStreamReader(System in));
                                                                            ^
Main.java:4: error: not a statement
      BufferedReader input = new BufferedReader(new InputStreamReader(System in));
                                                                             ^
Main.java:4: error: ';' expected
      BufferedReader input = new BufferedReader(new InputStreamReader(System in));
                                                                               ^
3 errors
Language: Java

import java.io.*;
class Main{
   public static void main(String[] args)throws java.io.IOException{
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
       
      String tmp = input.readLine();
      int S = Integer.parseInt(tmp);
 
      int h=0,m=0;s=0;
 
       
      s = S%60;
      m = (S/60)%60;
      h = S/3600;
 
      System.out.println(h+":"+m+":"+s);
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
      int h=0,m=0;s=0;
                  ^
  symbol:   variable s
  location: class Main
Main.java:12: error: cannot find symbol
      s = S%60;
      ^
  symbol:   variable s
  location: class Main
Main.java:16: error: cannot find symbol
      System.out.println(h+":"+m+":"+s);
                                     ^
  symbol:   variable s
  location: class Main
3 errors
Language: Java

package test;

import java.util.Scanner;

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

		Scanner scanner = new Scanner(System.in);
		int second = scanner.nextInt();
		int h;
		int m;
		int s;
        h = second / 3600;
        second = second - h * 3600;
        m = second / 60;
        second = second - m * 60;
        s = second;
        System.out.println(h + ":" + m + ":" + s);



	}
}

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

import java.io.IOException;
import java.util.Scanner;

public class mofu {

	public static void main(String[] args) throws IOException {
			
	   Scanner sc = new Scanner(System.in);
	   int S = sc.nextInt();
	  
	   System.out.println(S%60);
	   System.out.println((S%60)%60);
		
	}
}

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

import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
			
	   Scanner sc = new Scanner(System.in);
	   int S = sc.nextInt();
	  
	   int H = System.out.println(S%60);
	   int M = System.out.println((S%60)%60);
            System.out.println("S:H:M");
		
	}
}

Compiler output:
Main.java:11: error: incompatible types: void cannot be converted to int
	   int H = System.out.println(S%60);
	                             ^
Main.java:12: error: incompatible types: void cannot be converted to int
	   int M = System.out.println((S%60)%60);
	                             ^
2 errors
Language: Java

public class Watch {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int S = Integer.parseInt(str);
		int h = S / 3600;
		S = S % 3600;
		int m = S / 60;
		int s = S % 60;
		System.out.println(h + ":" + m + ":" + s);
		br.close();
	}
}

Compiler output:
Main.java:1: error: class Watch is public, should be declared in a file named Watch.java
public class Watch {
       ^
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Watch
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Watch
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Watch
Main.java:3: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Watch
5 errors
Language: Java

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

public class Main{
    publis static void main(String args[]){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //変数に配列を代入
        int s =Integer.parseInt(line);
        int h = s / 3600;
        int m = (s % 3600) / 60;
        s = s % 60;
        System.out.println(h+":"+m+":"+s);
    }
}

Compiler output:
Main.java:5: error: <identifier> expected
    publis static void main(String args[]){
          ^
1 error
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 line = br.readLine();
        //変数に配列を代入
        int s =Integer.parseInt(line);
        int h = s / 3600;
        int m = (s % 3600) / 60;
        s = s % 60;
        System.out.println(h+":"+m+":"+s);
    }
}

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

import java.util.*;

class Main {
	public static void main(String[] args){
		
		int inputTime = newScanner(System.in);
		int h = inputTime / 3600;
		int amari = inputTime % 3600;
		int m = amari / 60;
		int s = amari % 60;
		
		System.out.println(h + ":" + m + ":" + s);
		
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		int inputTime = newScanner(System.in);
		                ^
  symbol:   method newScanner(InputStream)
  location: class Main
1 error
Language: Java

import java.util.*;

class Main {
	public static void main(String[] args){
		
		Scanner inputTime = newScanner(System.in);
		int h = inputTime / 3600;
		int amari = inputTime % 3600;
		int m = amari / 60;
		int s = amari % 60;
		
		System.out.println(h + ":" + m + ":" + s);
		
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		Scanner inputTime = newScanner(System.in);
		                    ^
  symbol:   method newScanner(InputStream)
  location: class Main
Main.java:7: error: bad operand types for binary operator '/'
		int h = inputTime / 3600;
		                  ^
  first type:  Scanner
  second type: int
Main.java:8: error: bad operand types for binary operator '%'
		int amari = inputTime % 3600;
		                      ^
  first type:  Scanner
  second type: int
3 errors
Language: Java

import java.util.*;

public class Watch {
	public static void main(String[] args){
		try{
			
		Scanner inputTime = new Scanner(System.in);
		int input = inputTime.nextInt();
		int h = input / 3600;
		int amari = input % 3600;
		int m = amari / 60;
		int s = amari % 60;
		
		System.out.println(h + ":" + m + ":" + s);
		
		}catch(InputMismatchException e){
			System.out.println("数字を入力してください。");
		}
	}
}

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

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int h,m,s;
        Scanner timeScan = new Scanner(System.in);

        h = 0;
        m = 0;
        s = 0;

        if(time < 0 || 86400 < time) {
            throw new RuntimeException("範囲外");
        }
        s = time % 60;
        m = (time / 60) % 60;
        h = (time / 60) / 60;

        System.out.println(h+":"+m+":"+s);
    }
}

Compiler output:
Main.java:12: error: cannot find symbol
        if(time < 0 || 86400 < time) {
           ^
  symbol:   variable time
  location: class Main
Main.java:12: error: cannot find symbol
        if(time < 0 || 86400 < time) {
                               ^
  symbol:   variable time
  location: class Main
Main.java:15: error: cannot find symbol
        s = time % 60;
            ^
  symbol:   variable time
  location: class Main
Main.java:16: error: cannot find symbol
        m = (time / 60) % 60;
             ^
  symbol:   variable time
  location: class Main
Main.java:17: error: cannot find symbol
        h = (time / 60) / 60;
             ^
  symbol:   variable time
  location: class Main
5 errors
Language: Java

import java.io.IOException;
import java.util.Scanner;




public class Mainmill {

	public static void main (String[] args) throws IOException{
		Scanner S = new Scanner(System.in);
		String Str = S.nextLine();
		int SI = Integer.parseInt(Str);
		int seconds = SI%60;
		int hour = SI/3600;
		int minute = SI / 60 - hour * 60;
		System.out.println(hour + ":" + minute + ":" + seconds );
		
	}	
}

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

import java.util.Scanner;

public class Main {

    private static Scanner scanner;
    private static final int HH_TIME = 3600;
    private static final int MM_TIME = 60;

    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        System.out.print(timeChangeHMS(scanner.nextInt());
    }

    /*
     * 秒数からHH:MM:SSで変換します。
     */
    private static String timeChangeHMS(int input) {
        Integer hh = 0;
        Integer mm = 0;
        Integer ss = 0;
        if (input >= HH_TIME) {
            Integer mm_s = 0;
            hh = input / HH_TIME;
            mm_s = input % HH_TIME;
            if (mm_s >= MM_TIME) {
                mm = mm_s / MM_TIME;
                ss = mm_s % MM_TIME;
            } else {
                ss = mm_s;
            }
        } else {
            mm = input / MM_TIME;
            ss = input % MM_TIME;
        }
        return hh.toString() + ":" + mm.toString() + ":" + ss.toString();
    }
}

Compiler output:
Main.java:11: error: ')' or ',' expected
        System.out.print(timeChangeHMS(scanner.nextInt());
                                                         ^
1 error
Language: Java


import java.util.Scanner;

public class Test1 {

    private static Scanner scanner;
    private static final int HH_TIME = 3600;
    private static final int MM_TIME = 60;

    public static void main(String[] args) {
        scanner = new Scanner(System.in);
        System.out.print(timeChangeHMS(scanner.nextInt()));
    }

    /*
     * 秒数からHH:MM:SSで変換します。
     */
    private static String timeChangeHMS(int input) {
        Integer hh = 0;
        Integer mm = 0;
        Integer ss = 0;
        if (input >= HH_TIME) {
            Integer mm_s = 0;
            hh = input / HH_TIME;
            mm_s = input % HH_TIME;
            if (mm_s >= MM_TIME) {
                mm = mm_s / MM_TIME;
                ss = mm_s % MM_TIME;
            } else {
                ss = mm_s;
            }
        } else {
            mm = input / MM_TIME;
            ss = input % MM_TIME;
        }
        return hh.toString() + ":" + mm.toString() + ":" + ss.toString();
    }
}

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

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String s;
	int x;
	s= buf.readLine();
	x= Integer.parseInt(s);
	int a = x/3600;
	int b = (x%3600)/60;
	int c = (x%3600)%60;
	System.out.println(a+":"+b+":"+c);
	}
}

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

import java.io.BufferedReader;

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String s;
	int x;
	s= buf.readLine();
	x= Integer.parseInt(s);
	int a = x/3600;
	int b = (x%3600)/60;
	int c = (x%3600)%60;
	System.out.println(a+":"+b+":"+c);
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
	public static void main(String[] args)throws IOException{
	                                             ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		                                            ^
  symbol:   class InputStreamReader
  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);
	int a = sc.nextInt();
	if(a >= 0 && a < 86400){
	    double h = a / 3600;
	    double m = a % 3600 / 60;
	    double s = a % 60;
        }
	System.out.println(h+":"+m+":"+s);
    }
}

Compiler output:
Main.java:12: error: cannot find symbol
	System.out.println(h+":"+m+":"+s);
	                   ^
  symbol:   variable h
  location: class Main
Main.java:12: error: cannot find symbol
	System.out.println(h+":"+m+":"+s);
	                         ^
  symbol:   variable m
  location: class Main
Main.java:12: error: cannot find symbol
	System.out.println(h+":"+m+":"+s);
	                               ^
  symbol:   variable s
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
public class main{
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int S=sc.nextInt();
		
		int h=S/3600;
		int m=(S-3600*h)/60;
		int s=S-3600*h-60*m;
		
		System.out.println(h+":"+m+":"+s);
	}
	public static void main(String[] args){
		main obj=new main();
		obj.solve();
	}
}

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

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

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    s = in.nextInt();
       int    h = s / 3600;
              s = s - 3600*h;
              m = s /60;
              s = s - 60s;

       System.out.println(h + ":" + m + ":" + s);
   }
}

Compiler output:
Main.java:11: error: ';' expected
              s = s - 60s;
                        ^
1 error
Language: Java

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

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    s = in.nextInt();
       int    h = s / 3600;
              s = s - 3600*h;
              m = s /60;
              s = s - 60s;

       System.out.println(h:m:s);
   }
} 

Compiler output:
Main.java:11: error: ';' expected
              s = s - 60s;
                        ^
Main.java:13: error: ')' or ',' expected
       System.out.println(h:m:s);
                           ^
Main.java:13: error: not a statement
       System.out.println(h:m:s);
                              ^
Main.java:13: error: ';' expected
       System.out.println(h:m:s);
                               ^
4 errors
Language: Java

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

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    s = in.nextInt();
       int    h = s / 3600;
              s = s - 3600*h;
              m = s / 60;
              s = s - 60*s;

       System.out.println(h + ":" + m + ":" + s);
   }
}

Compiler output:
Main.java:10: error: cannot find symbol
              m = s / 60;
              ^
  symbol:   variable m
  location: class Main
Main.java:13: error: cannot find symbol
       System.out.println(h + ":" + m + ":" + s);
                                    ^
  symbol:   variable m
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

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

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

class Main{ 
public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int t = Integer.parseInt(str);
         int h = t/3600;
          int m = (t%3600)/60;
           int s = (t%3600)%60;
         System.out.println(h + ":" + m + ":" + S);       
 }
}
        

Compiler output:
Main.java:2: error: cannot find symbol
public static void main(String[] args)throws IOException{
                                             ^
  symbol:   class IOException
  location: class Main
Main.java:3: error: cannot find symbol
        BufferedReader 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
Main.java:9: error: cannot find symbol
         System.out.println(h + ":" + m + ":" + S);       
                                                ^
  symbol:   variable S
  location: class Main
5 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();
        int t = Integer.parseInt(str);
         int h = t/3600;
          int m = (t%3600)/60;
           int s = (t%3600)%60;
         System.out.println(h + ":" + m + ":" + S);       
 }
}
        

Compiler output:
Main.java:11: error: cannot find symbol
         System.out.println(h + ":" + m + ":" + S);       
                                                ^
  symbol:   variable S
  location: class Main
1 error
Language: Java

import java.util.Scanner;
class AOJ_GS4{
	
    Scanner sc = new Scanner(System.in);
	int S;
	int h,m,s;
	void goo(){
		S = sc.nextInt();
		h=S/3600;
		m=S%3600/60;
		s=S%60;
		System.out.println(h+":"+m+":"+s);
	}
	public static void main(String[]agrs){
		new AOJ_GS4.goo();
	}
}

Compiler output:
Main.java:15: error: cannot find symbol
		new AOJ_GS4.goo();
		           ^
  symbol:   class goo
  location: class AOJ_GS4
1 error
Language: Java

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

class Main
{
	public static void main (String[] args) throws IOException
	{
		String S;
		int time,h,m,s;
		
		Scanner in = new Scanner(System.in);
		
		S = in.nextLine();
		
		time = Integer.parseInt(S);
		
		h = time / 3600;
		m = (time - h * 3600) / 60;
		s = (time - h * 3600) % 60;
		
		System.out.println(h + ":"  + m + ":" + s);
	}

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

import java.io.*;


public class Main {  
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		Main m = new Main();
		String line = br.readLine();
		int num = Integer.parseInt(line);
		m.SecToTime(num);
	}
????????????
????????????public void SecToTime(int sec){
		int h = 0,m = 0;
		
		while(sec >= 3600){
			h++;
			sec -= 3600;
		}
		
		while(sec >= 60){
			m++;
			sec -= 60;
		}
		
		System.out.println(h+":"+m+":"+sec);
	}

}

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

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

        String line = reader.readLine();
        int S = Integer.parseInt(line);
        if (S > 0 && S < 86400) {
            int hour = S / 3600;
            S %= 3600;
            int minute = S / 60;
            int second = S % 60;
            System.out.println(hour + ":" + minute + ":" + second);
        }
    }
}

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

package mondai;

public class mondai1 {

	public static void main(String[] args){

		int byou=46979;
		System.out.println((byou/3600)+":"+((byou%3600)/60)+":"+(byou%60));

	}

}

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

package mondai;
public class mondai1 {
public static void main(String[] args){
int byou=46979;
System.out.println((byou/3600)+":"+((byou%3600)/60)+":"+(byou%60));
}
}

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

n = input()
s = n % 60
m =((n % 3600) - s) / 60
int(h) = n / 3600
print '%d:%d:%d' % (h, m, s)

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
n = input()
^
Main.java:5: error: unclosed character literal
print '%d:%d:%d' % (h, m, s)
      ^
Main.java:5: error: unclosed character literal
print '%d:%d:%d' % (h, m, s)
               ^
3 errors
Language: Java

import java.util.Scanner;
public class ITP1_1D {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int x = stdIn.nextInt();
		int h,m,s;
			h = x / 3600;
			m = ( x - h * 3600 ) / 60;
			s = x - h * 3600 - m * 60;
		System.out.println(h + ":" + m + ":" + s);
	}

}

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

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int S = in.nextInt();
        int h = S/(60*60);
        S -= h*60*60;
        int m = S/60;
        s -= m*60;
        System.out.println(h + ":" + m + ":" + s);
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        s -= m*60;
        ^
  symbol:   variable s
  location: class Main
Main.java:11: error: cannot find symbol
        System.out.println(h + ":" + m + ":" + s);
                                               ^
  symbol:   variable s
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int S = in.nextInt();
        int h = S/(60*60);
        S -= h*60*60;
        int m = S/60;
        int s -= m*60;
        System.out.println(h + ":" + m + ":" + s);
    }
}

Compiler output:
Main.java:10: error: ';' expected
        int s -= m*60;
             ^
Main.java:10: error: not a statement
        int s -= m*60;
                  ^
2 errors
Language: Java

class Main{

	public static void main(String[] args) throws IOException {
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		int second = Integer.parseInt(reader.readLine());
		if (second >= 0 && second < 86400) {
			int hh = second / 3600;
			int mm = (second % 3600) / 60;
			int ss = second % 60;
			System.out.println(hh + ":" + mm + ":" + ss);
		}
	}
}

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

import java.io.IOException;
import java.util.Scanner;

//????????????????????????hms???????????????
public class test{

	public static void main(String[] args) throws IOException{

		Scanner in = new Scanner(System.in);
		int x=in.nextInt();
		hms(x);
		in.close();

	}

	public static void hms(int num){
		int h=num/3600;
		int m=(num%3600)/60;
		int s=(num%3600)%60;
		System.out.println(h +":"+m+":"+s+"");

	}

}

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

class Main {
 public static void main(String[] args){
 
  Scanner scan = new Scanner(System.in);
  
  int x= scan.nextInt(),h=x/3600,m,s;
  x%=3600;
  m=x/60;
  x%=60; 
  s=x;
 
  System.out.println(h+":"+m+":"+s);
 }
}

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

import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int s = in.nextInt();
        int h = s/3600;
        int m = s%3600/60; 
        int S = s%3600%60;
        System.out.println(h + ":" + m + ":" + S);

Compiler output:
Main.java:10: error: reached end of file while parsing
        System.out.println(h + ":" + m + ":" + S);
                                                  ^
1 error
Language: Java

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int s = scanner.nextInt();
        int m=s/60;
        int h=m/60;
        int ss=s%60;
        
        System.out.println(h+ ":" +m+":"+ss);
    }
}

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) {
        Scanner scanner = new Scanner(System.in);
        int s = scanner.nextInt();
        if (0 < s && s < 86400) {

            int m = s / 60;
            int h = m / 60;
            int hh=h%60;
            int ss = s % 60;

            System.out.println(h + ":" + m + ":" + ss);
        }
    }
}

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

import java.io.*;
public class Main {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(
                new InputStreamReader (System.in));
        String line=br.readLine();
        String[] str = line.split(" ");
        int a=Integer.parseInt(str[0]);
       
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
    }
}

Compiler output:
Main.java:10: error: ')' or ',' expected
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
                                    ^
Main.java:10: error: not a statement
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
                                           ^
Main.java:10: error: ';' expected
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
                                               ^
Main.java:10: error: not a statement
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
                                                       ^
Main.java:10: error: ';' expected
        System.out.println( a / 3600 ":" a % 60 ":"  a % 3600);
                                                             ^
5 errors
Language: Java

import java.io.*;
public class Main {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(
                new InputStreamReader (System.in));
        String line=br.readLine();
        String[] str = line.split(" ");
        int a=Integer.parseInt(str[0]);
	
	int zkn = a / 3600;
	int hun = (a % 3600 ) / 60;
	int byo = a % 60
       
        System.out.println(zkn ":" hun ":" byo":");
    }
}

Compiler output:
Main.java:12: error: ';' expected
	int byo = a % 60
	                ^
Main.java:14: error: ')' or ',' expected
        System.out.println(zkn ":" hun ":" byo":");
                              ^
Main.java:14: error: not a statement
        System.out.println(zkn ":" hun ":" byo":");
                                   ^
Main.java:14: error: ';' expected
        System.out.println(zkn ":" hun ":" byo":");
                                      ^
Main.java:14: error: not a statement
        System.out.println(zkn ":" hun ":" byo":");
                                           ^
Main.java:14: error: ';' expected
        System.out.println(zkn ":" hun ":" byo":");
                                              ^
6 errors
Language: Java

import java.io.*;
public class Main {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(
                new InputStreamReader (System.in));
        String line=br.readLine();
        String[] str = line.split(" ");
        int a=Integer.parseInt(str[0]);
	
	int zkn = a / 3600;
	int hun = (a % 3600 ) / 60;
	int byo = a % 60
       
        System.out.println(zkn ":"+ hun +":" +byo);
    }
}

Compiler output:
Main.java:12: error: ';' expected
	int byo = a % 60
	                ^
Main.java:14: error: ')' or ',' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                              ^
Main.java:14: error: not a statement
        System.out.println(zkn ":"+ hun +":" +byo);
                                             ^
Main.java:14: error: ';' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                                                 ^
4 errors
Language: Java

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

public class Main {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(
                new InputStreamReader (System.in));
        String str=br.readLine();
        
        int suuti=Integer.parseInt(str);
	
	int zkn = suuti / 3600;
	int hun = (suuti % 3600 ) / 60;
	int byo = suuti % 60
       
        System.out.println(zkn ":"+ hun +":" +byo);
    }
}

Compiler output:
Main.java:3: error: ';' expected
import java.io.InputStreamReader
                                ^
Main.java:15: error: ';' expected
	int byo = suuti % 60
	                    ^
Main.java:17: error: ')' or ',' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                              ^
Main.java:17: error: not a statement
        System.out.println(zkn ":"+ hun +":" +byo);
                                             ^
Main.java:17: error: ';' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                                                 ^
5 errors
Language: Java

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


public class Main {
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(
                new InputStreamReader (System.in));
        String str=br.readLine();
        
        int suuti=Integer.parseInt(str);
	
	int zkn = suuti / 3600;
	int hun = (suuti % 3600 ) / 60;
	int byo = suuti % 60;
       
        System.out.println(zkn ":"+ hun +":" +byo);
    }
}

Compiler output:
Main.java:17: error: ')' or ',' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                              ^
Main.java:17: error: not a statement
        System.out.println(zkn ":"+ hun +":" +byo);
                                             ^
Main.java:17: error: ';' expected
        System.out.println(zkn ":"+ hun +":" +byo);
                                                 ^
3 errors