0_0_26280164_3793.cpp:1:2: error: expected unqualified-id before 'for'
for(map<int,int>::iterator it=cnt.begin();it!=cnt.end();it++)
^
0_0_26280164_3793.cpp:1:44: error: 'it' does not name a type
for(map<int,int>::iterator it=cnt.begin();it!=cnt.end();it++)
^
0_0_26280164_3793.cpp:1:58: error: 'it' does not name a type
for(map<int,int>::iterator it=cnt.begin();it!=cnt.end();it++)
^
0_0_26280164_3793.cpp:12:15: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n",ans);
^
0_0_26280164_3793.cpp:13:1: error: expected declaration before '}' token
}
^
|