Problem bananafarm
User Kiameimon
Submission Time 2024-01-17 21:31:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bananafarm.cpp: In static member function ‘static uint32_t wavelet_matrix_median::BitVector<n, IdxType, WORD_SIZE>::rank(uint32_t, uint32_t)’:
bananafarm.cpp:45:37: error: there are no arguments to ‘_bzhi_u32’ that depend on a template parameter, so a declaration of ‘_bzhi_u32’ must be available [-fpermissive]
45 | return bitCount32((uint32_t)_bzhi_u32(x, i));
| ^~~~~~~~~
bananafarm.cpp:45:37: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
bananafarm.cpp: In static member function ‘static uint32_t wavelet_matrix_median::BitVector<n, IdxType, WORD_SIZE>::rank(uint64_t, uint32_t)’:
bananafarm.cpp:48:37: error: there are no arguments to ‘_bzhi_u64’ that depend on a template parameter, so a declaration of ‘_bzhi_u64’ must be available [-fpermissive]
48 | return bitCount64((uint64_t)_bzhi_u64(x, i));
|