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_12970578_11976.cpp:13: error: ISO C++ forbids initialization of member `N'
0_0_12970578_11976.cpp:13: error: making `N' static
0_0_12970578_11976.cpp:14: error: ISO C++ forbids initialization of member `M'
0_0_12970578_11976.cpp:14: error: making `M' static
0_0_12970578_11976.cpp: In function `int sap(int, int, int)':
0_0_12970578_11976.cpp:48: error: ISO C++ forbids declaration of `ehead' with no type
0_0_12970578_11976.cpp:48: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'int*'
0_0_12970578_11976.cpp:49: error: ISO C++ forbids declaration of `edge' with no type
0_0_12970578_11976.cpp:49: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'Graph<1005, 200010>::Edge*'
0_0_12970578_11976.cpp:58: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:58: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:60: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:67: error: invalid conversion from `int' to `const void*'
0_0_12970578_11976.cpp:67: error:   initializing argument 2 of `void* memcpy(void*, const void*, size_t)'
0_0_12970578_11976.cpp:74: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:75: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:75: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:80: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:81: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:89: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:90: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:98: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:98: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:100: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:101: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:105: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp: In function `void Dijkstra(int, GraphDist&)':
0_0_12970578_11976.cpp:122: error: ISO C++ forbids declaration of `ehead' with no type
0_0_12970578_11976.cpp:122: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'int*'
0_0_12970578_11976.cpp:123: error: ISO C++ forbids declaration of `edge' with no type
0_0_12970578_11976.cpp:123: error: invalid initialization of non-const reference of type 'int&' from a temporary of type 'Graph<1005, 100005>::Edge*'
0_0_12970578_11976.cpp:134: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:134: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:136: error: invalid types `int[int]' for array subscript
0_0_12970578_11976.cpp:138: error: invalid types `int[int]' for array subscript


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.001000(s) query 1, Server time : 2025-02-18 19:47:50, Gzip enabled