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_11271084_3154.cpp:13: error: ISO C++ forbids declaration of `nbsp' with no type
0_0_11271084_3154.cpp:13: error: ISO C++ forbids declaration of `nbsp' with no type
0_0_11271084_3154.cpp:13: error: declaration of `int&Edge::nbsp'
0_0_11271084_3154.cpp:13: error: conflicts with previous declaration `int&Edge::nbsp'
0_0_11271084_3154.cpp: In function `void addEdge(int, int, int)':
0_0_11271084_3154.cpp:20: error: `nbsp' undeclared (first use this function)
0_0_11271084_3154.cpp:20: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_11271084_3154.cpp: In function `bool compare1(const Edge&, const Edge&)':
0_0_11271084_3154.cpp:29: error: `nbsp' undeclared (first use this function)
0_0_11271084_3154.cpp: In function `bool compare2(const Edge&, const Edge&)':
0_0_11271084_3154.cpp:35: error: `nbsp' undeclared (first use this function)
0_0_11271084_3154.cpp: In function `void dfs(int, int, int)':
0_0_11271084_3154.cpp:40: error: `nbsp' undeclared (first use this function)
0_0_11271084_3154.cpp: In function `int main()':
0_0_11271084_3154.cpp:80: error: `nbsp' undeclared (first use this function)
0_0_11271084_3154.cpp:85: error: name lookup of `i' changed for new ISO `for' scoping
0_0_11271084_3154.cpp:83: error:   using obsolete binding at `i'
0_0_11271084_3154.cpp:102: error: name lookup of `i' changed for new ISO `for' scoping
0_0_11271084_3154.cpp:100: error:   using obsolete binding at `i'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: In member function `Edge& Edge::operator=(const Edge&)':
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2148:   instantiated from `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Edge*, _Compare = bool (*)(const Edge&, const Edge&)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2220:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Edge*, _Compare = bool (*)(const Edge&, const Edge&)]'
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2593:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Edge*, _Compare = bool (*)(const Edge&, const Edge&)]'
0_0_11271084_3154.cpp:94:   instantiated from here
GCC/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:2148: error: non-static reference member `int&Edge::nbsp', can't use default assignment operator


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-16 20:49:10, Gzip enabled