Skip to content

Commit ddf777f

Browse files
Update data_structures/sparse_table.cpp
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
1 parent d5e4364 commit ddf777f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/sparse_table.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace sparse_table {
4242
* function, for the given array `A`. The answer to queries are stored in the
4343
* array ST.
4444
*/
45-
const static uint32_t N = 12345; ///< the maximum size of the array.
45+
constexpr uint32_t N = 12345; ///< the maximum size of the array.
4646
const static uint8_t M = 14; ///< ceil(log2(N)).
4747

4848
struct Sparse_table {

0 commit comments

Comments
 (0)