ac-library-python
Data Structures:
Fenwick Tree
Segment Tree
Lazy Segment Tree
String Algorithms
Math:
Math
atcoder.math.inv_mod
atcoder.math.crt
atcoder.math.floor_sum
atcoder.math.pow_mod
pow_mod()
Convolution
Modint
Graphs:
Disjoint Union Set
Maximum Flow
Minimum-Cost Flow
Strongly Connected Components
2-SAT
ac-library-python
Math
atcoder.math.pow_mod
View page source
atcoder.math.pow_mod
atcoder.math.
pow_mod
(
x
:
int
,
n
:
int
,
m
:
int
)
→
int