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_17024981_26072.cpp: In function 'void init()':
0_0_17024981_26072.cpp:5:19: error: 'MAX' was not declared in this scope
     for(int i=1;i<MAX;i++)
                   ^
0_0_17024981_26072.cpp:11:13: error: 'd' was not declared in this scope
             d[i][j]=1;
             ^
0_0_17024981_26072.cpp:13:13: error: 'c' was not declared in this scope
             c[i][j]=lowbit(i)*lowbit(j);
             ^
0_0_17024981_26072.cpp:13:29: error: 'lowbit' was not declared in this scope
             c[i][j]=lowbit(i)*lowbit(j);
                             ^
0_0_17024981_26072.cpp: In function 'int sum(int, int)':
0_0_17024981_26072.cpp:25:32: error: 'lowbit' was not declared in this scope
     for(int x=i;x>0;x-=lowbit(x))
                                ^
0_0_17024981_26072.cpp:31:18: error: 'c' was not declared in this scope
             tot+=c[x][y];
                  ^
0_0_17024981_26072.cpp: In function 'void add(int, int, int)':
0_0_17024981_26072.cpp:43:19: error: 'MAX' was not declared in this scope
     for(int x=i;x<MAX;x+=lowbit(x))
                   ^
0_0_17024981_26072.cpp:43:34: error: 'lowbit' was not declared in this scope
     for(int x=i;x<MAX;x+=lowbit(x))
                                  ^
0_0_17024981_26072.cpp:49:13: error: 'c' was not declared in this scope
             c[x][y]+=v;
             ^


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-13 14:41:46, Gzip enabled