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_39179849_5023.cpp: In function 'long long int dfs(long long int, long long int, bool, bool)':
0_0_39179849_5023.cpp:35:22: error: 'asd' was not declared in this scope
   35 |         int up=limit?asd[pos]:9,res=0;
      |                      ^~~
0_0_39179849_5023.cpp:38:25: error: 'res' was not declared in this scope
   38 |                         res+=dfs(pos-1,s,lead&&i==0,limit&&i==up);
      |                         ^~~
0_0_39179849_5023.cpp:41:25: error: 'res' was not declared in this scope
   41 |                         res+=dfs(pos-1,calc(s,L)|(1<<i),lead&&i==0,limit&&i==up);
      |                         ^~~
0_0_39179849_5023.cpp:44:30: error: 'res' was not declared in this scope
   44 |         if(!limit) f[pos][s]=res;
      |                              ^~~
0_0_39179849_5023.cpp:45:16: error: 'res' was not declared in this scope
   45 |         return res;
      |                ^~~
0_0_39179849_5023.cpp: In function 'int main()':
0_0_39179849_5023.cpp:51:50: error: 'solve' was not declared in this scope
   51 |                 printf("Case #%lld: %lld\n",++id,solve(r)-solve(l-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-11-23 23:33:24, Gzip enabled