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_15041935_21374.cpp: In function 'int qua(int)':
0_0_15041935_21374.cpp:50:84: error: 'res' was not declared in this scope
 inline int qua (int x) {for (int res = 0; x; x -= lowbit (x)) res += aa[x]; return res;}
                                                                                    ^
0_0_15041935_21374.cpp: In function 'int qub(int)':
0_0_15041935_21374.cpp:51:84: error: 'res' was not declared in this scope
 inline int qub (int x) {for (int res = 0; x; x -= lowbit (x)) res += bb[x]; return res;}
                                                                                    ^


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