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_36618484_19917.cpp: In function 'int main()':
0_0_36618484_19917.cpp:73:68: error: request for member 'top' in 'h', which is of non-class type 'int [2005]'
                     ans = max(ans, h[s.top()] * (j - h[(s.pop(), h.top())]));
                                                                    ^


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 11:21:49, Gzip enabled