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_35548199_18106.cpp: In function 'int main()':
0_0_35548199_18106.cpp:38:13: error: 'ci' was not declared in this scope
             ci=(num-1)/k+1;       
             ^
0_0_35548199_18106.cpp:38:17: error: 'num' was not declared in this scope
             ci=(num-1)/k+1;       
                 ^
0_0_35548199_18106.cpp:39:27: error: 'hour' was not declared in this scope
             time=max(time,hour)+t*ci;  
                           ^
0_0_35548199_18106.cpp:41:28: error: 'id' was not declared in this scope
             if(num%k==0)sk[id]=0;   
                            ^
0_0_35548199_18106.cpp:42:21: error: 'id' was not declared in this scope
             else sk[id]=k-num%k;   
                     ^
0_0_35548199_18106.cpp:43:16: error: 'id' was not declared in this scope
             lt[id]=time-t;         
                ^
0_0_35548199_18106.cpp:45:12: error: 'ti' was not declared in this scope
         if(ti!=T)printf("\n");
            ^
0_0_35548199_18106.cpp: At global scope:
0_0_35548199_18106.cpp:47:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_35548199_18106.cpp:48:1: error: expected declaration before '}' token
 }
 ^


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-29 10:02:53, Gzip enabled