/in/Main.java:1: error: illegal character: '#'
#include<stdio.h>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<stdio.h>
^
/in/Main.java:2: error: illegal character: '#'
#include<string.h>
^
/in/Main.java:6: error: class, interface, or enum expected
int len,ans=0;
^
/in/Main.java:7: error: class, interface, or enum expected
scanf("%s",ch);
^
/in/Main.java:8: error: class, interface, or enum expected
len=strlen(ch);
^
/in/Main.java:9: error: class, interface, or enum expected
for(int i=0;i<len;i++)
^
/in/Main.java:9: error: class, interface, or enum expected
for(int i=0;i<len;i++)
^
/in/Main.java:9: error: class, interface, or enum expected
for(int i=0;i<len;i++)
^
/in/Main.java:10: error: class, interface, or enum expected
for(int j=i+1;j<len;j++)
^
/in/Main.java:10: error: class, interface, or enum expected
for(int j=i+1;j<len;j++)
^
/in/Main.java:11: error: class, interface, or enum expected
for(int k=j+1;k<len;k++)
^
/in/Main.java:11: error: class, interface, or enum expected
for(int k=j+1;k<len;k++)
^
/in/Main.java:14: error: class, interface, or enum expected
printf("%d\n",ans);
^
/in/Main.java:15: error: class, interface, or enum expected
}
^
15 errors