0_0_22160427_15271.cpp:10:7: error: expected nested-name-specifier before 'namespace'
using namespace std;
^
0_0_22160427_15271.cpp:11:1: error: 'string' does not name a type
string x[100007];
^
0_0_22160427_15271.cpp:48:1: error: expected '}' at end of input
}
^
0_0_22160427_15271.cpp: In member function 'int obj::main()':
0_0_22160427_15271.cpp:13:11: error: 'cin' was not declared in this scope
int n;cin.tie(0);
^
0_0_22160427_15271.cpp:13:11: note: suggested alternative:
In file included from 0_0_22160427_15271.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
0_0_22160427_15271.cpp:14:5: error: 'ios' has not been declared
ios::sync_with_stdio(0);
^
0_0_22160427_15271.cpp:23:21: error: request for member 'size' in '((obj*)this)->obj::x[i]', which is of non-class type 'int'
if(x[i].size()>x[k].size())
^
0_0_22160427_15271.cpp:23:33: error: request for member 'size' in '((obj*)this)->obj::x[k]', which is of non-class type 'int'
if(x[i].size()>x[k].size())
^
0_0_22160427_15271.cpp:29:29: error: request for member 'c_str' in '((obj*)this)->obj::x[i]', which is of non-class type 'int'
if(x[i].c_str()[p]==0) goto B;
^
0_0_22160427_15271.cpp:30:29: error: request for member 'c_str' in '((obj*)this)->obj::x[k]', which is of non-class type 'int'
if(x[k].c_str()[j+p]==0) goto WA;
^
0_0_22160427_15271.cpp:31:29: error: request for member 'c_str' in '((obj*)this)->obj::x[i]', which is of non-class type 'int'
if(x[i].c_str()[p]!=x[k].c_str()[j+p]) break;
^
0_0_22160427_15271.cpp:31:46: error: request for member 'c_str' in '((obj*)this)->obj::x[k]', which is of non-class type 'int'
if(x[i].c_str()[p]!=x[k].c_str()[j+p]) break;
^
0_0_22160427_15271.cpp:39:19: error: request for member 'c_str' in '((obj*)this)->obj::x[k]', which is of non-class type 'int'
puts(x[k].c_str());
^
0_0_22160427_15271.cpp: At global scope:
0_0_22160427_15271.cpp:48:1: error: expected unqualified-id at end of input
}
^
|