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);
^
|