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_24494745_27491.cpp: In function 'int solve()':
0_0_24494745_27491.cpp:77:9: error: 'll' was not declared in this scope
         ll sum = 0;
         ^
0_0_24494745_27491.cpp:79:13: error: 'sum' was not declared in this scope
             sum += (len-1)-sa.sa[i]-max(sa.height[i],sa.height[i+1]);
             ^
0_0_24494745_27491.cpp:81:16: error: 'sum' was not declared in this scope
         return sum;
                ^
0_0_24494745_27491.cpp:84:5: error: 'll' was not declared in this scope
     ll ans = 0;
     ^
0_0_24494745_27491.cpp:89:9: error: 'ans' was not declared in this scope
         ans += RMQ(i,i+k-2)-max(RMQ(i-1,i+k-2), RMQ(i,i+k-1));
         ^
0_0_24494745_27491.cpp:92:12: error: 'ans' was not declared in this scope
     return ans;
            ^


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-12-02 13:57:28, Gzip enabled