We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e4364 commit ddf777fCopy full SHA for ddf777f
data_structures/sparse_table.cpp
@@ -42,7 +42,7 @@ namespace sparse_table {
42
* function, for the given array `A`. The answer to queries are stored in the
43
* array ST.
44
*/
45
-const static uint32_t N = 12345; ///< the maximum size of the array.
+constexpr uint32_t N = 12345; ///< the maximum size of the array.
46
const static uint8_t M = 14; ///< ceil(log2(N)).
47
48
struct Sparse_table {
0 commit comments