0_0_6767033_1917\Main.java:1: illegal character: \35
#include <stdio.h>
^
0_0_6767033_1917\Main.java:2: illegal character: \35
#include <algorithm>
^
0_0_6767033_1917\Main.java:3: illegal character: \35
#include <vector>
^
0_0_6767033_1917\Main.java:5: class, interface, or enum expected
vector<int> vc;
^
0_0_6767033_1917\Main.java:6: class, interface, or enum expected
vector<int>::iterator it;
^
0_0_6767033_1917\Main.java:7: class, interface, or enum expected
int n,x;
^
0_0_6767033_1917\Main.java:8: class, interface, or enum expected
int main(){
^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
for(int i=1;i<=n;i++){
^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
for(int i=1;i<=n;i++){
^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
for(int i=1;i<=n;i++){
^
0_0_6767033_1917\Main.java:13: class, interface, or enum expected
vc.push_back(x);
^
0_0_6767033_1917\Main.java:14: class, interface, or enum expected
}
^
0_0_6767033_1917\Main.java:16: class, interface, or enum expected
bool flag=1,i;
^
0_0_6767033_1917\Main.java:17: class, interface, or enum expected
while(flag&&!vc.empty()){
^
0_0_6767033_1917\Main.java:18: class, interface, or enum expected
int x=*vc.begin();flag=0;
^
0_0_6767033_1917\Main.java:19: class, interface, or enum expected
vc.erase(vc.begin());
^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
^
0_0_6767033_1917\Main.java:22: class, interface, or enum expected
}
^
0_0_6767033_1917\Main.java:24: class, interface, or enum expected
}
^
0_0_6767033_1917\Main.java:26: class, interface, or enum expected
}
|