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_17310735_19396.cpp:1:1: error: 'include' does not name a type
 include<cstdio>
 ^
0_0_17310735_19396.cpp: In function 'void solve()':
0_0_17310735_19396.cpp:4:14: error: 'margin' was not declared in this scope
 void solve(){margin=(mm+K-h)%K;
              ^
0_0_17310735_19396.cpp:4:22: error: 'mm' was not declared in this scope
 void solve(){margin=(mm+K-h)%K;
                      ^
0_0_17310735_19396.cpp:4:27: error: 'h' was not declared in this scope
 void solve(){margin=(mm+K-h)%K;
                           ^
0_0_17310735_19396.cpp:5:26: error: 'a' was not declared in this scope
 if(margin>=21600){if(120*a<=K-margin)mm=h+((K-margin)-120*a)/11;
                          ^
0_0_17310735_19396.cpp:6:46: error: 'a' was not declared in this scope
 else mm=h+((K-margin)+120*a)/11;}else{if(120*a>=margin)mm=h+(120*a-margin)/11;
                                              ^
0_0_17310735_19396.cpp:7:72: error: 'cas' was not declared in this scope
 else mm=h+((K-margin)-120*a)/11;}printf("Case #%d: %02d:%02d:%02d\n",++cas,mm/3600%12,mm/60%60,mm%60);}
                                                                        ^
0_0_17310735_19396.cpp:7:101: error: 'printf' was not declared in this scope
 else mm=h+((K-margin)-120*a)/11;}printf("Case #%d: %02d:%02d:%02d\n",++cas,mm/3600%12,mm/60%60,mm%60);}
                                                                                                     ^
0_0_17310735_19396.cpp: In function 'int main()':
0_0_17310735_19396.cpp:8:40: error: 'h' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                        ^
0_0_17310735_19396.cpp:8:43: error: 'm' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                           ^
0_0_17310735_19396.cpp:8:46: error: 's' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                              ^
0_0_17310735_19396.cpp:8:49: error: 'a' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                                 ^
0_0_17310735_19396.cpp:8:50: error: 'scanf' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                                  ^
0_0_17310735_19396.cpp:8:53: error: 'mm' was not declared in this scope
 int main(){while(~scanf("%d:%d:%d %d",&h,&m,&s,&a)){mm=(m*720+12*s+12); 
                                                     ^


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 12:26:19, Gzip enabled