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