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_27076187_20242.cpp: In function 'int dij(int, int)':
0_0_27076187_20242.cpp:13:15: error: request for member 'size' in 'G', which is of non-class type 'std::vector<node> [1000007]'
     int n = G.size();
               ^
0_0_27076187_20242.cpp: In function 'int main()':
0_0_27076187_20242.cpp:90:40: error: invalid conversion from 'std::vector<node>*' to 'int' [-fpermissive]
         cout << dij(G, 0, n * m * 4 + 1) << '\n';
                                        ^
0_0_27076187_20242.cpp:90:40: error: too many arguments to function 'int dij(int, int)'
0_0_27076187_20242.cpp:12:5: note: declared here
 int dij(int s, int t) {
     ^


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-22 13:04:02, Gzip enabled