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_12122183_6541.cpp: In function `void bfs(int, int, int)':
0_0_12122183_6541.cpp:27: error: ISO C++ forbids declaration of `status' with no type
0_0_12122183_6541.cpp:27: error: cannot convert `std::pair<int, int>' to `int' in initialization
0_0_12122183_6541.cpp:31: error: ISO C++ forbids declaration of `to_status' with no type
0_0_12122183_6541.cpp:31: error: `first' has not been declared
0_0_12122183_6541.cpp:31: error: request for member of non-aggregate type before '+' token
0_0_12122183_6541.cpp:31: error: `second' has not been declared
0_0_12122183_6541.cpp:31: error: request for member of non-aggregate type before '+' token
0_0_12122183_6541.cpp:32: error: `first' has not been declared
0_0_12122183_6541.cpp:32: error: request for member of non-aggregate type before '>' token
0_0_12122183_6541.cpp:32: error: `second' has not been declared
0_0_12122183_6541.cpp:32: error: request for member of non-aggregate type before '>' token
0_0_12122183_6541.cpp:32: error: no match for 'operator[]' in 'vis[to_status]'
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::pair<int, int>, _Tp = int, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >]
0_0_12122183_6541.cpp:34: error: no match for 'operator[]' in 'MAP[to_status]'
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::pair<int, int>, _Tp = int, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >]
0_0_12122183_6541.cpp:39: error: no match for 'operator=' in 'q[(++r)] = to_status'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_pair.h:69: note: candidates are: std::pair<int, int>& std::pair<int, int>::operator=(const std::pair<int, int>&)
0_0_12122183_6541.cpp:41: error: no match for 'operator[]' in 'vis[to_status]'
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::pair<int, int>, _Tp = int, _Compare = std::less<std::pair<int, int> >, _Alloc = std::allocator<std::pair<const std::pair<int, int>, int> >]
0_0_12122183_6541.cpp: In function `int main()':
0_0_12122183_6541.cpp:82: error: expected primary-expression before "auto"
0_0_12122183_6541.cpp:82: error: expected `;' before "auto"
0_0_12122183_6541.cpp:88: error: expected primary-expression before '}' token
0_0_12122183_6541.cpp:88: error: expected `)' before '}' token
0_0_12122183_6541.cpp:88: error: expected primary-expression before '}' token
0_0_12122183_6541.cpp:88: error: expected `;' before '}' token


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-10-31 19:21:12, Gzip enabled