0_0_16572406_1545.cpp:6:1: error: 'usiang' does not name a type
usiang namespace std;
^
0_0_16572406_1545.cpp: In function 'int main()':
0_0_16572406_1545.cpp:11:1: error: 'cin' was not declared in this scope
cin >> N;
^
0_0_16572406_1545.cpp:11:1: note: suggested alternative:
In file included from 0_0_16572406_1545.cpp:1: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_16572406_1545.cpp:12:1: error: 'vector' was not declared in this scope
vector<string> temp;
^
0_0_16572406_1545.cpp:12:1: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_16572406_1545.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^
0_0_16572406_1545.cpp:12:8: error: 'string' was not declared in this scope
vector<string> temp;
^
0_0_16572406_1545.cpp:12:8: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_16572406_1545.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:33: note: 'std::string'
typedef basic_string<char> string;
^
0_0_16572406_1545.cpp:12:16: error: 'temp' was not declared in this scope
vector<string> temp;
^
0_0_16572406_1545.cpp:14:12: error: expected ';' before 'str'
string str;
^
0_0_16572406_1545.cpp:15:12: error: 'str' was not declared in this scope
cin >> str;
^
0_0_16572406_1545.cpp:19:20: error: '::iterator' has not been declared
for (vector<string>::iterator it = temp.begin(); it != temp.end(); ++it) {
^
0_0_16572406_1545.cpp:19:20: note: suggested alternatives:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:65:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_16572406_1545.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator'
struct iterator
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_types.h:118:12: note: 'std::iterator'
0_0_16572406_1545.cpp:19:50: error: 'it' was not declared in this scope
for (vector<string>::iterator it = temp.begin(); it != temp.end(); ++it) {
^
0_0_16572406_1545.cpp:20:5: error: 'string' is not a class, namespace, or enumeration
string::size_type front = 0;
^
0_0_16572406_1545.cpp:21:5: error: 'string' is not a class, namespace, or enumeration
string::size_type last;
^
0_0_16572406_1545.cpp:22:12: error: 'front' was not declared in this scope
while (front <(*it).size() ) {
^
0_0_16572406_1545.cpp:23:9: error: 'last' was not declared in this scope
last = (*it).find_last_of(*it)[front]);
^
0_0_16572406_1545.cpp:26:13: error: 'cout' was not declared in this scope
cout << t;
^
0_0_16572406_1545.cpp:26:13: note: suggested alternative:
In file included from 0_0_16572406_1545.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_16572406_1545.cpp:27:9: error: 'cout' was not declared in this scope
cout << (*it)[front];
^
0_0_16572406_1545.cpp:27:9: note: suggested alternative:
In file included from 0_0_16572406_1545.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_16572406_1545.cpp:30:5: error: 'cour' was not declared in this scope
cour << endl;
^
0_0_16572406_1545.cpp:30:13: error: 'endl' was not declared in this scope
cour << endl;
^
0_0_16572406_1545.cpp:30:13: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_16572406_1545.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
|