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_16213456_17430.cpp: In function 'int dfs(int, int, bool)':
0_0_16213456_17430.cpp:2:25: error: 'target_s' was not declared in this scope
     if(i==-1) return s==target_s;
                         ^
0_0_16213456_17430.cpp:3:15: error: 'f' was not declared in this scope
     if(!e && ~f[i][s]) return f[i][s];
               ^
0_0_16213456_17430.cpp:4:5: error: 'intres' was not declared in this scope
     intres = 0;
     ^
0_0_16213456_17430.cpp:5:5: error: 'intu' was not declared in this scope
     intu = e?num[i]:9;
     ^
0_0_16213456_17430.cpp:5:14: error: 'num' was not declared in this scope
     intu = e?num[i]:9;
              ^
0_0_16213456_17430.cpp:6:17: error: 'first' was not declared in this scope
     for(int d = first?1:0; d <= u; ++d)
                 ^
0_0_16213456_17430.cpp:6:33: error: 'u' was not declared in this scope
     for(int d = first?1:0; d <= u; ++d)
                                 ^
0_0_16213456_17430.cpp:7:8: error: 'res' was not declared in this scope
        res += dfs(i-1, new_s(s, d), e&&d==u);
        ^
0_0_16213456_17430.cpp:7:34: error: 'new_s' was not declared in this scope
        res += dfs(i-1, new_s(s, d), e&&d==u);
                                  ^
0_0_16213456_17430.cpp:8:13: error: 'res' was not declared in this scope
    return e?res:f[i][s]=res;
             ^
0_0_16213456_17430.cpp:8:17: error: 'f' was not declared in this scope
    return e?res:f[i][s]=res;
                 ^


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-30 05:38:06, Gzip enabled