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_30158071_2441.cpp: In function 'int main()':
0_0_30158071_2441.cpp:13:5: error: 'i' was not declared in this scope
   t[i] = (h%12)*3600 + m*60 + s - t0;
     ^
0_0_30158071_2441.cpp:16:11: error: 'n' was not declared in this scope
  sort(t,t+n);
           ^
0_0_30158071_2441.cpp:19:3: error: 'x1' was not declared in this scope
   x1=min(x1,t[i]*2+inf-t[i+1]);
   ^
0_0_30158071_2441.cpp:21:3: error: 'x1' was not declared in this scope
   x1=min(x1,2*(inf-t[i])+t[i-1]);
   ^
0_0_30158071_2441.cpp:22:19: error: 'x1' was not declared in this scope
  printf("%d.00\n",x1*6);
                   ^


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