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_33687913_3340.cpp: In member function 'void BIT::add(int, int)':
0_0_33687913_3340.cpp:44:32: error: 'c' was not declared in this scope
   for(; i < N; i += lowbit(x)) c[i] += x;
                                ^
0_0_33687913_3340.cpp: In member function 'int BIT::get()':
0_0_33687913_3340.cpp:50:18: error: 'c' was not declared in this scope
    if(k == add + c[k]) {
                  ^
0_0_33687913_3340.cpp: In function 'void clear()':
0_0_33687913_3340.cpp:194:7: error: 'struct BIT' has no member named 'c'
   bit.c[i] = rb[i] = 0;
       ^


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-09-28 06:23:08, Gzip enabled