cf/mirror

SUMdamental Decomposition

CF
2108B1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
8
2 1
3 6
1 0
2 0
5 0
2 27
15 43
12345678 9101112
Output
5
8
-1
2
8
27
55
21446778
2108B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)