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_15527295_1381.cpp: In function 'void Dijkstra(int, int)':
0_0_15527295_1381.cpp:33:29: error: no matching function for call to 'qnode::qnode(int&, int, int)'
     que.push(qnode(start,0,0));
                             ^
0_0_15527295_1381.cpp:33:29: note: candidates are:
0_0_15527295_1381.cpp:17:5: note: qnode::qnode(int, int)
     qnode(int _v=0,int _c=0):v(_v),c(_c){}
     ^
0_0_15527295_1381.cpp:17:5: note:   candidate expects 2 arguments, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(const qnode&)
 struct qnode
        ^
0_0_15527295_1381.cpp:13:8: note:   candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(qnode&&)
0_0_15527295_1381.cpp:13:8: note:   candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp: In function 'void Dijkstra1(int, int)':
0_0_15527295_1381.cpp:61:29: error: no matching function for call to 'qnode::qnode(int&, int, int)'
     que.push(qnode(start,0,0));
                             ^
0_0_15527295_1381.cpp:61:29: note: candidates are:
0_0_15527295_1381.cpp:17:5: note: qnode::qnode(int, int)
     qnode(int _v=0,int _c=0):v(_v),c(_c){}
     ^
0_0_15527295_1381.cpp:17:5: note:   candidate expects 2 arguments, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(const qnode&)
 struct qnode
        ^
0_0_15527295_1381.cpp:13:8: note:   candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:13:8: note: constexpr qnode::qnode(qnode&&)
0_0_15527295_1381.cpp:13:8: note:   candidate expects 1 argument, 3 provided
0_0_15527295_1381.cpp:68:20: error: 'struct qnode' has no member named 'flag'
         int gg=tmp.flag+1;
                    ^


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-28 10:26:39, Gzip enabled