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_18212185_14531.cpp: In function 'void update(int, int, int)':
0_0_18212185_14531.cpp:52:1: error: expected ';' before '}' token
 }
 ^
0_0_18212185_14531.cpp: In function 'int query(int, int, int)':
0_0_18212185_14531.cpp:55:24: error: 'c' was not declared in this scope
     if(l <= t[rt].l && c[rt].r <= r) return t[rt].sum;
                        ^
0_0_18212185_14531.cpp:59:40: error: 'quert' was not declared in this scope
     if(l <= mid) le = quert(rt<<1, l, r);
                                        ^
0_0_18212185_14531.cpp:60:41: error: 'quert' was not declared in this scope
     if(mid < r) re = quert(rt<<1|1, l, r);
                                         ^
0_0_18212185_14531.cpp: In function 'void work()':
0_0_18212185_14531.cpp:66:27: error: 'memset' was not declared in this scope
     memset(t, 0, sizeof(t));
                           ^


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-07-02 13:41:40, Gzip enabled