cf/mirror

Jeopardy of Dropped Balls

CF
1575J1500· specialist2s512 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5 5 3
1 2 3 3 3
2 2 2 2 2
2 2 2 2 2
2 2 2 2 2
2 2 2 2 2
1 2 1
Output
2 2 1
Sample 2of 2
Input
1 2 2
1 3
1 2
Output
1 2
1575J.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…