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_37777761_3002.cpp:13:22: error: invalid use of non-static data member 'L_B::BASE'
 {   const int BASE = 65;
                      ^
0_0_37777761_3002.cpp:14:17: error: from this location
     long long d[BASE], p[BASE];
                 ^
0_0_37777761_3002.cpp:13:22: error: invalid use of non-static data member 'L_B::BASE'
 {   const int BASE = 65;
                      ^
0_0_37777761_3002.cpp:14:26: error: from this location
     long long d[BASE], p[BASE];
                          ^
0_0_37777761_3002.cpp: In member function 'void L_B::init()':
0_0_37777761_3002.cpp:18:16: error: 'd' was not declared in this scope
         memset(d, 0, sizeof(d));
                ^
0_0_37777761_3002.cpp:19:16: error: 'p' was not declared in this scope
         memset(p, 0, sizeof(p));
                ^
0_0_37777761_3002.cpp: In member function 'bool L_B::insert(long long int)':
0_0_37777761_3002.cpp:29:22: error: 'd' was not declared in this scope
                 if (!d[i])
                      ^
0_0_37777761_3002.cpp:34:24: error: 'd' was not declared in this scope
                 val ^= d[i];
                        ^
0_0_37777761_3002.cpp: In member function 'long long int L_B::query_max()':
0_0_37777761_3002.cpp:46:24: error: 'd' was not declared in this scope
             if ((res ^ d[i]) > res)
                        ^
0_0_37777761_3002.cpp: In member function 'long long int L_B::query_min()':
0_0_37777761_3002.cpp:57:17: error: 'd' was not declared in this scope
             if (d[i])
                 ^
0_0_37777761_3002.cpp: In member function 'void L_B::rebuild()':
0_0_37777761_3002.cpp:67:21: error: 'd' was not declared in this scope
                 if (d[i] & (1ll << j))
                     ^
0_0_37777761_3002.cpp:73:17: error: 'd' was not declared in this scope
             if (d[i])
                 ^
0_0_37777761_3002.cpp:74:17: error: 'p' was not declared in this scope
                 p[cnt++] = d[i];
                 ^
0_0_37777761_3002.cpp: In member function 'long long int L_B::kthquery(long long int)':
0_0_37777761_3002.cpp:89:24: error: 'p' was not declared in this scope
                 res ^= p[i];
                        ^
0_0_37777761_3002.cpp: In member function 'void L_B::Merge(const L_B&)':
0_0_37777761_3002.cpp:96:19: error: 'const struct L_B' has no member named 'd'
             if (b.d[i])
                   ^
0_0_37777761_3002.cpp:97:26: error: 'const struct L_B' has no member named 'd'
                 insert(b.d[i]);
                          ^


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-10-06 00:32:53, Gzip enabled