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_20848148_24947.cpp: In function 'int main()':
0_0_20848148_24947.cpp:25:5: error: 'sum' was not declared in this scope
     sum=0;
     ^
0_0_20848148_24947.cpp:33:19: error: 'dp' was not declared in this scope
         while(max(dp[r]+1,i-r)==dp[i])
                   ^
0_0_20848148_24947.cpp:38:19: error: 'dp' was not declared in this scope
         while(max(dp[l]+1,i-l)>dp[i])
                   ^
0_0_20848148_24947.cpp:48:15: error: 'dp' was not declared in this scope
         cout<<dp[b-a+1]<<" "<<c[b-a+1]<<endl;
               ^


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-07-05 04:38:58, Gzip enabled