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_13806180_2285.cpp:6:1: error: '_int64' does not name a type
 _int64 le[Max], ri[Max], h[Max];
 ^
0_0_13806180_2285.cpp: In function 'int main()':
0_0_13806180_2285.cpp:13:3: error: 'h' was not declared in this scope
   h[0] = h[n+1] = -1;
   ^
0_0_13806180_2285.cpp:18:4: error: 'le' was not declared in this scope
    le[i] = i;
    ^
0_0_13806180_2285.cpp:24:4: error: 'ri' was not declared in this scope
    ri[i] = i;
    ^
0_0_13806180_2285.cpp:28:3: error: '_int64' was not declared in this scope
   _int64 max = 0;
   ^
0_0_13806180_2285.cpp:31:11: error: expected ';' before 'temp'
    _int64 temp = (ri[i] - le[i] + 1) * h[i];
           ^
0_0_13806180_2285.cpp:32:16: error: 'temp' was not declared in this scope
    max = max > temp ? max : temp;
                ^
0_0_13806180_2285.cpp:34:24: error: overloaded function with no contextual type information
   printf("%I64d\n", max);
                        ^


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-27 00:34:05, Gzip enabled