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_25823148_5962.cpp: In function 'int main()':
0_0_25823148_5962.cpp:42:23: error: 'j' was not declared in this scope
                 dp[i][j]=(1ll<<60);
                       ^
0_0_25823148_5962.cpp:45:21: error: 'k' was not declared in this scope
                 for(k=1; k<=2*n; k+=2)
                     ^
0_0_25823148_5962.cpp:46:59: error: 'maxx' was not declared in this scope
                     if(i<=a[k].x && a[k+1].x<=j && a[k].w>maxx)
                                                           ^
0_0_25823148_5962.cpp:49:25: error: 'xx' was not declared in this scope
                         xx=a[k].x, yy=a[k+1].x;
                         ^
0_0_25823148_5962.cpp:49:36: error: 'yy' was not declared in this scope
                         xx=a[k].x, yy=a[k+1].x;
                                    ^
0_0_25823148_5962.cpp:51:20: error: 'maxx' was not declared in this scope
                 if(maxx==-1)
                    ^
0_0_25823148_5962.cpp:57:63: error: 'maxx' was not declared in this scope
                     dp[i][j]=min(dp[i][j],dp[i][j]+dp[k+1][j]+maxx);
                                                               ^


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-29 09:22:30, Gzip enabled