./Main.java:1: error: class, interface, or enum expected
public static void main(String args[]){
^
./Main.java:3: error: class, interface, or enum expected
Scanner sc=new Scanner(System.in);
^
./Main.java:4: error: class, interface, or enum expected
s=sc.next();
^
./Main.java:5: error: class, interface, or enum expected
String s2="";
^
./Main.java:6: error: class, interface, or enum expected
int count=0;
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<s.length();i++)
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<s.length();i++)
^
./Main.java:7: error: class, interface, or enum expected
for(int i=0;i<s.length();i++)
^
./Main.java:10: error: class, interface, or enum expected
for(int j=i;j<s.length();j++)
^
./Main.java:10: error: class, interface, or enum expected
for(int j=i;j<s.length();j++)
^
./Main.java:10: error: class, interface, or enum expected
for(int j=i;j<s.length();j++)
^
./Main.java:12: error: class, interface, or enum expected
}
^
./Main.java:13: error: class, interface, or enum expected
for(int k=0;k<s2.length();k++)
^
./Main.java:13: error: class, interface, or enum expected
for(int k=0;k<s2.length();k++)
^
./Main.java:17: error: class, interface, or enum expected
}
^
15 errors
[Hydro](https://hydro.ac)提供评测服务