cf/mirror

Minimum Sum

CF
120J1900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5
-7 -3
9 0
-8 6
7 -8
4 -5
Output
3 2 4 2
Sample 2of 2
Input
5
3 2
-4 7
-6 0
-8 4
5 1
Output
3 4 5 4
120J.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)