/in/Main.java:1: error: illegal character: '#'
#include <iostream>
^
/in/Main.java:1: error: class, interface, or enum expected
#include <iostream>
^
/in/Main.java:2: error: illegal character: '#'
#include <algorithm>
^
/in/Main.java:6: error: class, interface, or enum expected
int n;
^
/in/Main.java:7: error: class, interface, or enum expected
long long num[1000000]={0};
^
/in/Main.java:9: error: class, interface, or enum expected
int main()
^
/in/Main.java:12: error: class, interface, or enum expected
int i;
^
/in/Main.java:13: error: class, interface, or enum expected
for(i=0;i<n;i++)
^
/in/Main.java:13: error: class, interface, or enum expected
for(i=0;i<n;i++)
^
/in/Main.java:13: error: class, interface, or enum expected
for(i=0;i<n;i++)
^
/in/Main.java:16: error: class, interface, or enum expected
}
^
/in/Main.java:18: error: class, interface, or enum expected
for(i=0;i<n;i+=2)
^
/in/Main.java:18: error: class, interface, or enum expected
for(i=0;i<n;i+=2)
^
/in/Main.java:18: error: class, interface, or enum expected
for(i=0;i<n;i+=2)
^
/in/Main.java:23: error: class, interface, or enum expected
break;
^
/in/Main.java:24: error: class, interface, or enum expected
}
^
/in/Main.java:27: error: class, interface, or enum expected
}
^
17 errors