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_30151225_5468.cpp:9:1: error: 'll' does not name a type
 ll arr[MAXN];
 ^
0_0_30151225_5468.cpp: In function 'int main()':
0_0_30151225_5468.cpp:14:5: error: 'll' was not declared in this scope
     ll n;
     ^
0_0_30151225_5468.cpp:15:12: error: 'n' was not declared in this scope
     cin >> n;
            ^
0_0_30151225_5468.cpp:16:8: error: expected ';' before 'a'
     ll a,b,c;
        ^
0_0_30151225_5468.cpp:17:12: error: 'a' was not declared in this scope
     cin >> a >> b >> c;
            ^
0_0_30151225_5468.cpp:17:17: error: 'b' was not declared in this scope
     cin >> a >> b >> c;
                 ^
0_0_30151225_5468.cpp:17:22: error: 'c' was not declared in this scope
     cin >> a >> b >> c;
                      ^
0_0_30151225_5468.cpp:18:8: error: expected ';' before 'x'
     ll x = a*3600 + b*60 + c;
        ^
0_0_30151225_5468.cpp:22:9: error: 'arr' was not declared in this scope
         arr[i]=a*3600+b*60+c;
         ^
0_0_30151225_5468.cpp:24:8: error: expected ';' before 'ans'
     ll ans=0;
        ^
0_0_30151225_5468.cpp:25:10: error: 'arr' was not declared in this scope
     sort(arr,arr+n);
          ^
0_0_30151225_5468.cpp:26:8: error: 'x' was not declared in this scope
     if(x<=arr[0])
        ^
0_0_30151225_5468.cpp:27:9: error: 'ans' was not declared in this scope
         ans=arr[n-1]-x;
         ^
0_0_30151225_5468.cpp:29:9: error: 'ans' was not declared in this scope
         ans=x-arr[0];
         ^
0_0_30151225_5468.cpp:34:13: error: 'ans' was not declared in this scope
             ans=arr[n-1]-x;
             ^
0_0_30151225_5468.cpp:40:13: error: 'ans' was not declared in this scope
             ans=x-arr[0];
             ^
0_0_30151225_5468.cpp:45:21: error: 'ans' was not declared in this scope
     printf("%.1f\n",ans*6.0);
                     ^


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-09-29 13:18:06, Gzip enabled