cf/mirror

Slice to Survive

CF
2109B1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
8
2 2 1 1
3 3 2 2
2 7 1 4
2 7 2 2
8 9 4 6
9 9 5 5
2 20 2 11
22 99 20 70
Output
2
4
4
3
6
8
6
10
2109B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)