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_24471830_7578.cpp:23:6: error: no matching function for call to 'train::train()'
 }b[15];
      ^
0_0_24471830_7578.cpp:23:6: note: candidates are:
0_0_24471830_7578.cpp:16:5: note: train::train(int, int, int, int, int)
     train(int x,int y,int z,int a,int b){
     ^
0_0_24471830_7578.cpp:16:5: note:   candidate expects 5 arguments, 0 provided
0_0_24471830_7578.cpp:13:8: note: constexpr train::train(const train&)
 struct train{
        ^
0_0_24471830_7578.cpp:13:8: note:   candidate expects 1 argument, 0 provided
0_0_24471830_7578.cpp:13:8: note: constexpr train::train(train&&)
0_0_24471830_7578.cpp:13:8: note:   candidate expects 1 argument, 0 provided


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-06-29 12:13:42, Gzip enabled