/in/Main.java:1: error: class, interface, or enum expected
public static void main(String[] args) {
^
/in/Main.java:4: error: class, interface, or enum expected
int maxNum=scan.nextInt();
^
/in/Main.java:5: error: class, interface, or enum expected
int findNum=scan.nextInt();
^
/in/Main.java:6: error: class, interface, or enum expected
int jishu=0;
^
/in/Main.java:7: error: class, interface, or enum expected
for(int i=1;i<=maxNum;i++){
^
/in/Main.java:7: error: class, interface, or enum expected
for(int i=1;i<=maxNum;i++){
^
/in/Main.java:7: error: class, interface, or enum expected
for(int i=1;i<=maxNum;i++){
^
/in/Main.java:9: error: class, interface, or enum expected
for(int j=0;j<tempStr.length();j++){
^
/in/Main.java:9: error: class, interface, or enum expected
for(int j=0;j<tempStr.length();j++){
^
/in/Main.java:9: error: class, interface, or enum expected
for(int j=0;j<tempStr.length();j++){
^
/in/Main.java:12: error: class, interface, or enum expected
}
^
/in/Main.java:15: error: class, interface, or enum expected
}
^
12 errors