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_30401973_24791.cpp: In function 'int suan(int, int, int, int, int)':
0_0_30401973_24791.cpp:62:10: error: 'struct Node' has no member named 'query'
     r+=A.query(A.rk[l],A.rk[r+1]);
          ^
0_0_30401973_24791.cpp:63:10: error: 'struct Node' has no member named 'query'
     l-=B.query(B.rk[len+1-r],B.rk[len-l+2]);
          ^
0_0_30401973_24791.cpp: In function 'int main()':
0_0_30401973_24791.cpp:85:24: error: 'n' was not declared in this scope
         for(int i=1;i<=n/2;i++){
                        ^
0_0_30401973_24791.cpp:95:26: error: 'n' was not declared in this scope
         if(k==1) ans=1ll*n*(n+1)/2;
                          ^


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-25 18:42:52, Gzip enabled