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_21639914_19998.cpp: In function 'int main()':
0_0_21639914_19998.cpp:29:7: error: 'dp' was not declared in this scope
       dp[t][x]++;
       ^
0_0_21639914_19998.cpp:34:7: error: 'dp' was not declared in this scope
       dp[i][0]=dp[i][0]+max(dp[i+1][1],dp[i+1][0]);
       ^
0_0_21639914_19998.cpp:41:15: error: 'dp' was not declared in this scope
   printf("%d",dp[0][5]);
               ^


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-18 13:21:19, Gzip enabled