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_38376650_31855.cpp: In function 'll dfs(int, int, int, bool)':
0_0_38376650_31855.cpp:9:19: error: 'lead' was not declared in this scope
     if(!limit && !lead && dp[pos][state]!=-1) return dp[pos][state];
                   ^
0_0_38376650_31855.cpp:24:5: error: expected ';' before '}' token
     }
     ^
0_0_38376650_31855.cpp: In function 'll solve(ll)':
0_0_38376650_31855.cpp:38:57: error: expected primary-expression before ',' token
     return dfs(pos-1/*从最高位开始枚举*/,/*一系列状态 */,true,true);//刚开始最高位都是有限制并且有前导零的,显然比最高位还要高的一位视为0嘛
                                                         ^
0_0_38376650_31855.cpp: In function 'int main()':
0_0_38376650_31855.cpp:43:35: error: 'scanf' was not declared in this scope
     while(scanf("%lld%lld",&le,&ri), le || ri)
                                   ^
0_0_38376650_31855.cpp:46:46: error: 'printf' was not declared in this scope
         printf("%lld\n",solve(ri)-solve(le-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-09-20 08:58:35, Gzip enabled