0_0_31150976_26270.cpp: In function 'int main()':
0_0_31150976_26270.cpp:34:28: error: the value of 'N' is not usable in a constant expression
bitset<N>b (x);
^
0_0_31150976_26270.cpp:27:19: note: 'N' was not initialized with a constant expression
const int N=nn;
^
0_0_31150976_26270.cpp:34:29: error: the value of 'N' is not usable in a constant expression
bitset<N>b (x);
^
0_0_31150976_26270.cpp:27:19: note: 'N' was not initialized with a constant expression
const int N=nn;
^
0_0_31150976_26270.cpp:34:29: note: in template argument for type 'long long unsigned int'
bitset<N>b (x);
^
0_0_31150976_26270.cpp:34:32: error: invalid type in declaration before '(' token
bitset<N>b (x);
^
0_0_31150976_26270.cpp:36:31: error: invalid types 'int[int]' for array subscript
if(b[k]==0){
^
0_0_31150976_26270.cpp:65:20: error: the value of 'N' is not usable in a constant expression
bitset<N>b(a[i]);
^
0_0_31150976_26270.cpp:27:19: note: 'N' was not initialized with a constant expression
const int N=nn;
^
0_0_31150976_26270.cpp:65:21: error: the value of 'N' is not usable in a constant expression
bitset<N>b(a[i]);
^
0_0_31150976_26270.cpp:27:19: note: 'N' was not initialized with a constant expression
const int N=nn;
^
0_0_31150976_26270.cpp:65:21: note: in template argument for type 'long long unsigned int'
bitset<N>b(a[i]);
^
0_0_31150976_26270.cpp:65:23: error: invalid type in declaration before '(' token
bitset<N>b(a[i]);
^
0_0_31150976_26270.cpp:69:23: error: invalid types 'int[int]' for array subscript
if(b[x]==0){
^
|