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_14998614_17683.cpp: In function 'LL ask(int, int, int, int, int)':
0_0_14998614_17683.cpp:100:89: error: expected '}' at end of input
     if(p[1]+1<=p[2]-1) ret+=B.query(1,2,2*n,p[1]+1,p[2]-1).sum*(p[2]-1 - p[1]-1 +1 )*len;
                                                                                         ^


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-29 19:55:34, Gzip enabled