F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_3040649_25774.cpp:1:2: invalid preprocessing directive #inclkude
0_0_3040649_25774.cpp: In function `int main()':
0_0_3040649_25774.cpp:53: error: no match for 'operator[]' in 'list[s]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:332: note: candidates are: _Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = node, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, node> >]
0_0_3040649_25774.cpp:56: error: `scnaf' undeclared (first use this function)
0_0_3040649_25774.cpp:56: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_3040649_25774.cpp:63: error: no match for 'operator[]' in 'g[last]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:332: note: candidates are: _Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = std::vector<std::string, std::allocator<std::string> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >]
0_0_3040649_25774.cpp:71: error: expected `;' before '}' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const std::string, int>':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:135:   instantiated from `std::_Rb_tree_node<std::pair<const std::string, int> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:1064:   instantiated from `void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = std::string, _Val = std::pair<const std::string, int>, _KeyOfValue = std::_Select1st<std::pair<const std::string, int> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, int> >]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:565:   instantiated from `std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = std::string, _Val = std::pair<const std::string, int>, _KeyOfValue = std::_Select1st<std::pair<const std::string, int> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, int> >]'
0_0_3040649_25774.cpp:72:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73: error: `std::pair<_T1, _T2>::first' has incomplete type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `const struct std::string'
0_0_3040649_25774.cpp: In function `int main()':
0_0_3040649_25774.cpp:75: error: expected primary-expression before '!=' token
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const std::string, node>':
0_0_3040649_25774.cpp:76:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73: error: `std::pair<_T1, _T2>::first' has incomplete type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `const struct std::string'
0_0_3040649_25774.cpp: In function `int main()':
0_0_3040649_25774.cpp:77: error: 'struct std::pair<const std::string, node>' has no member named 'first'
0_0_3040649_25774.cpp:78: error: 'struct std::pair<const std::string, node>' has no member named 'first'
0_0_3040649_25774.cpp:82: error: expected primary-expression before '!=' token
0_0_3040649_25774.cpp:84: error: 'struct std::pair<const std::string, node>' has no member named 'first'
0_0_3040649_25774.cpp:85: error: 'struct std::pair<const std::string, node>' has no member named 'first'
0_0_3040649_25774.cpp:89: error: expected primary-expression before '!=' token
0_0_3040649_25774.cpp:92: error: 'struct std::pair<const std::string, node>' has no member named 'first'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const std::string, std::string>':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:135:   instantiated from `std::_Rb_tree_node<std::pair<const std::string, std::string> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:1064:   instantiated from `void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = std::string, _Val = std::pair<const std::string, std::string>, _KeyOfValue = std::_Select1st<std::pair<const std::string, std::string> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::string> >]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:565:   instantiated from `std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = std::string, _Val = std::pair<const std::string, std::string>, _KeyOfValue = std::_Select1st<std::pair<const std::string, std::string> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::string> >]'
0_0_3040649_25774.cpp:93:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73: error: `std::pair<_T1, _T2>::first' has incomplete type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `const struct std::string'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:74: error: `std::pair<_T1, _T2>::second' has incomplete type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `struct std::string'
0_0_3040649_25774.cpp: In function `int main()':
0_0_3040649_25774.cpp:95: error: variable `std::string stmp' has initializer but incomplete type
0_0_3040649_25774.cpp:96: error: expected `;' before ')' token
0_0_3040649_25774.cpp:99: error: invalid use of undefined type `struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
0_0_3040649_25774.cpp:100: error: invalid use of undefined type `struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: At global scope:
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > >':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:135:   instantiated from `std::_Rb_tree_node<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:1064:   instantiated from `void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree_node<_Val>*) [with _Key = std::string, _Val = std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > >, _KeyOfValue = std::_Select1st<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_tree.h:565:   instantiated from `std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = std::string, _Val = std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > >, _KeyOfValue = std::_Select1st<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:148:   instantiated from `std::map<_Key, _Tp, _Compare, _Alloc>::map() [with _Key = std::string, _Tp = std::vector<std::string, std::allocator<std::string> >, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, std::vector<std::string, std::allocator<std::string> > > >]'
0_0_3040649_25774.cpp:12:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:73: error: `std::pair<_T1, _T2>::first' has incomplete type
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stringfwd.h:56: error: declaration of `const struct std::string'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 05:50:39, Gzip enabled