Skip to content

Commit 762b667

Browse files
committed
make mod constexpr instead
1 parent 01ed64f commit 762b667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/math/mod_int.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
const int mod = 998244353;
2+
constexpr int mod = 998244353;
33
//! https://github.com/kth-competitive-programming/kactl/blob/main/content/number-theory/ModularArithmetic.h
44
//! https://codeforces.com/blog/entry/122714
55
struct mint {

0 commit comments

Comments
 (0)