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_38539926_24782.cpp:8:7: error: 'N' was not declared in this scope
 int t[N],d[N];
       ^
0_0_38539926_24782.cpp:8:12: error: 'N' was not declared in this scope
 int t[N],d[N];
            ^
0_0_38539926_24782.cpp: In function 'int main()':
0_0_38539926_24782.cpp:78:26: error: 't' was not declared in this scope
    for(int i=1;i<=n;i++) t[i]=D[i].t;
                          ^
0_0_38539926_24782.cpp:79:31: error: 'd' was not declared in this scope
         for(int i=1;i<=n;i++) d[i]=D[i].d;
                               ^
0_0_38539926_24782.cpp:85:23: error: 'd' was not declared in this scope
         while(top>=1&&d[stk[top]]+t[stk[top]]<d[i]+t[i]) top--;
                       ^
0_0_38539926_24782.cpp:85:35: error: 't' was not declared in this scope
         while(top>=1&&d[stk[top]]+t[stk[top]]<d[i]+t[i]) top--;
                                   ^


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-05-20 14:45:08, Gzip enabled