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_38376651_15742.cpp: In function 'll dfs(int, int, int, bool)':
0_0_38376651_15742.cpp:13:19: error: 'lead' was not declared in this scope
     if(!limit && !lead && dp[pos][state]!=-1) return dp[pos][state];
                   ^
0_0_38376651_15742.cpp:28:5: error: expected ';' before '}' token
     }
     ^
0_0_38376651_15742.cpp: In function 'll solve(ll)':
0_0_38376651_15742.cpp:42:57: error: expected primary-expression before ',' token
     return dfs(pos-1/*从最高位开始枚举*/,/*一系列状态 */,true,true);//刚开始最高位都是有限制并且有前导零的,显然比最高位还要高的一位视为0嘛
                                                         ^


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-20 09:00:48, Gzip enabled