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_38629173_21015.cpp: In function 'void dij(long long int, long long int)':
0_0_38629173_21015.cpp:83:21: error: no matching function for call to 'node::node(long long int&, int)'
     q.push(node(sx,0));
                     ^
0_0_38629173_21015.cpp:54:8: note: candidate: 'node::node()'
 struct node{
        ^~~~
0_0_38629173_21015.cpp:54:8: note:   candidate expects 0 arguments, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(const node&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(node&&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:100:36: error: no matching function for call to 'node::node(long long int&, int)'
                     q.push(node(y,1));
                                    ^
0_0_38629173_21015.cpp:54:8: note: candidate: 'node::node()'
 struct node{
        ^~~~
0_0_38629173_21015.cpp:54:8: note:   candidate expects 0 arguments, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(const node&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(node&&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:104:32: error: no matching function for call to 'node::node(long long int&, int)'
                 q.push(node(y,0));
                                ^
0_0_38629173_21015.cpp:54:8: note: candidate: 'node::node()'
 struct node{
        ^~~~
0_0_38629173_21015.cpp:54:8: note:   candidate expects 0 arguments, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(const node&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(node&&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:112:32: error: no matching function for call to 'node::node(long long int&, int)'
                 q.push(node(y,1));
                                ^
0_0_38629173_21015.cpp:54:8: note: candidate: 'node::node()'
 struct node{
        ^~~~
0_0_38629173_21015.cpp:54:8: note:   candidate expects 0 arguments, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(const node&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided
0_0_38629173_21015.cpp:54:8: note: candidate: 'constexpr node::node(node&&)'
0_0_38629173_21015.cpp:54:8: note:   candidate expects 1 argument, 2 provided


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.000000(s) query 1, Server time : 2025-01-10 23:50:53, Gzip enabled