Greedy Grid Counting
2122E2600· international gm4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
34 32 1 -1 22 -1 1 35 41 3 -1 4 2-1 3 4 2 -110 10-1 -1 -1 -1 -1 -1 -1 -1 -1 -1-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
Output
664123782927
58%
2122E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)