Language: C++

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:1:37: error: expected ':' before 'static'
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                     ^~~~~~~
      |                                     :
a.cc:1:55: error: 'String' has not been declared
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                                       ^~~~~~
a.cc:1:159: error: expected ';' after class definition
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                                                                                                                                               ^
      |                                                                                                                                                               ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:1:80: error: expected type-specifier before 'Scanner'
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                                                                ^~~~~~~
a.cc:1:109: error: 'System' was not declared in this scope
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                                                                                             ^~~~~~
a.cc:1:146: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
    1 | import java.util.*;class Main{public static void main(String args[]){int x=new Scanner(System.in).nextInt();System.out.println(x/3600+":"+x/60%60+":"+x%60);}}
      |                                                                                                                                ~~~~~~~~~~~~~~~~~~^~~~
      |                                                                                                                                          |        |
      |                                                                                                                                          |        const char [2]
      |                                                                                                                                          const char*