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_35631624_17383.cpp: In function 'void grid()':
0_0_35631624_17383.cpp:19:5: error: 'SS' was not declared in this scope
     SS+=t;
     ^
0_0_35631624_17383.cpp:21:9: error: 'MM' was not declared in this scope
         MM=MM+SS%60;
         ^
0_0_35631624_17383.cpp:24:13: error: 'HH' was not declared in this scope
             HH=HH+MM%60;
             ^
0_0_35631624_17383.cpp:28:8: error: 'HH' was not declared in this scope
     if(HH>12) printf("%02d:%02d:%02d pm\n",HH,MM,SS);
        ^
0_0_35631624_17383.cpp:28:47: error: 'MM' was not declared in this scope
     if(HH>12) printf("%02d:%02d:%02d pm\n",HH,MM,SS);
                                               ^
0_0_35631624_17383.cpp:29:42: error: 'MM' was not declared in this scope
     else printf("%02d:%02d:%02d am\n",HH,MM,SS);
                                          ^


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-10-02 02:00:01, Gzip enabled