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

GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h: In instantiation of `std::map<int, TEAM&, std::less<int>, std::allocator<std::pair<const int, TEAM&> > >':
0_0_5187261_32679.cpp:29:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_map.h:332: error: forming reference to reference type `TEAM&'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h: In instantiation of `std::pair<const int, TEAM&>':
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 int, TEAM&> >'
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 = int, _Val = std::pair<const int, TEAM&>, _KeyOfValue = std::_Select1st<std::pair<const int, TEAM&> >, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, TEAM&> >]'
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 = int, _Val = std::pair<const int, TEAM&>, _KeyOfValue = std::_Select1st<std::pair<const int, TEAM&> >, _Compare = std::less<int>, _Alloc = std::allocator<std::pair<const int, TEAM&> >]'
0_0_5187261_32679.cpp:29:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:85: error: forming reference to reference type `TEAM&'
0_0_5187261_32679.cpp: In function `int main()':
0_0_5187261_32679.cpp:46: error: no matching function for call to `std::pair<int, TEAM&>::pair(int&, TEAM&)'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, TEAM&>::pair(const std::pair<int, TEAM&>&)
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:81: note:                 std::pair<_T1, _T2>::pair() [with _T1 = int, _T2 = TEAM&]


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 09:39:17, Gzip enabled