cf/mirror

Divide Square

CF
1401E2400· grandmaster2s384 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3 3
2 3 1000000
4 0 4
3 0 1000000
4 0 1
2 0 5
3 1 1000000
Output
7
1401E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)