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_37036534_10804.cpp: In function 'int main()':
0_0_37036534_10804.cpp:19:9: error: 'a' was not declared in this scope
         a[i].shun = ((h * 60 + m) * 360 + s * 6 + MOD - tmp) % MOD;
         ^
0_0_37036534_10804.cpp:22:10: error: 'a' was not declared in this scope
     sort(a + 1, a + n + 1, cmp);
          ^
0_0_37036534_10804.cpp:22:28: error: 'cmp' was not declared in this scope
     sort(a + 1, a + n + 1, cmp);
                            ^
0_0_37036534_10804.cpp:25:6: error: 'res1' was not declared in this scope
      res1 = MOD - a[1].shun;
      ^
0_0_37036534_10804.cpp:26:6: error: 'res2' was not declared in this scope
      res2 = MOD - a[n].ni;
      ^


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 08:26:53, Gzip enabled