0_0_32885388_22889.cpp: In function 'll read()':
0_0_32885388_22889.cpp:7:49: error: 'getchar' was not declared in this scope
ll x = 0, f = 1; register char ch = getchar();
^
0_0_32885388_22889.cpp: At global scope:
0_0_32885388_22889.cpp:12:1: error: 'string' does not name a type
string str[MAXN];
^
0_0_32885388_22889.cpp:13:16: error: 'string' does not name a type
bool cmp(const string &a,const string &b){
^
0_0_32885388_22889.cpp:13:32: error: 'string' does not name a type
bool cmp(const string &a,const string &b){
^
0_0_32885388_22889.cpp: In function 'bool cmp(const int&, const int&)':
0_0_32885388_22889.cpp:14:14: error: request for member 'length' in 'a', which is of non-class type 'const int'
return a.length()<b.length();
^
0_0_32885388_22889.cpp:14:25: error: request for member 'length' in 'b', which is of non-class type 'const int'
return a.length()<b.length();
^
0_0_32885388_22889.cpp: At global scope:
0_0_32885388_22889.cpp:17:5: error: 'string' does not name a type
string pre,suf;
^
0_0_32885388_22889.cpp:20:14: error: expected ')' before 'a'
Q(string a,string b,int _id){
^
0_0_32885388_22889.cpp:123:1: error: expected '}' at end of input
}
^
0_0_32885388_22889.cpp:19:9: error: expected unqualified-id at end of input
Q(){};
^
|