prog.cpp:3:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.util.*;
^~~~~~
short
prog.cpp:4:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.lang.*;
^~~~~~
short
prog.cpp:5:1: error: ‘import’ does not name a type; did you mean ‘short’?
import java.io.*;
^~~~~~
short
prog.cpp:10:8: error: expected ‘:’ before ‘static’
public static void main (String[] args) throws java.lang.Exception
^~~~~~~
:
prog.cpp:10:27: error: ‘String’ has not been declared
public static void main (String[] args) throws java.lang.Exception
^~~~~~
prog.cpp:10:36: error: expected ‘,’ or ‘...’ before ‘args’
public static void main (String[] args) throws java.lang.Exception
^~~~
prog.cpp:10:40: error: expected ‘;’ at end of member declaration
public static void main (String[] args) throws java.lang.Exception
^
;
prog.cpp:10:42: error: ‘throws’ does not name a type
public static void main (String[] args) throws java.lang.Exception
^~~~~~
prog.cpp:22:1: error: expected ‘}’ at end of input
}
^
prog.cpp:9:1: note: to match this ‘{’
{
^
prog.cpp:22:1: error: expected unqualified-id at end of input
}
^