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_25823160_20152.cpp: In function 'int main()':
0_0_25823160_20152.cpp:42:23: error: 'j' was not declared in this scope
                 dp[i][j]=(1ll<<60);
                       ^
0_0_25823160_20152.cpp:45:21: error: 'k' was not declared in this scope
                 for(k=1; k<=2*n; k+=2)
                     ^
0_0_25823160_20152.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_25823160_20152.cpp:49:25: error: 'xx' was not declared in this scope
                         xx=a[k].x, yy=a[k+1].x;
                         ^
0_0_25823160_20152.cpp:49:36: error: 'yy' was not declared in this scope
                         xx=a[k].x, yy=a[k+1].x;
                                    ^
0_0_25823160_20152.cpp:51:20: error: 'maxx' was not declared in this scope
                 if(maxx==-1)
                    ^
0_0_25823160_20152.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-11-17 03:11:32, Gzip enabled