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_32157879_20710.cpp: In function 'STAT dfs(int, int, int, bool)':
0_0_32157879_20710.cpp:15:50: error: no matching function for call to 'STAT::STAT(<brace-enclosed initializer list>)'
     if (pos==-1) return STAT{0,0,digsum && presum};  
                                                  ^
0_0_32157879_20710.cpp:15:50: note: candidates are:
0_0_32157879_20710.cpp:10:8: note: constexpr STAT::STAT()
 struct STAT {
        ^
0_0_32157879_20710.cpp:10:8: note:   candidate expects 0 arguments, 3 provided
0_0_32157879_20710.cpp:10:8: note: constexpr STAT::STAT(const STAT&)
0_0_32157879_20710.cpp:10:8: note:   candidate expects 1 argument, 3 provided
0_0_32157879_20710.cpp:10:8: note: constexpr STAT::STAT(STAT&&)
0_0_32157879_20710.cpp:10:8: note:   candidate expects 1 argument, 3 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-09-30 09:18:54, Gzip enabled