Circular Dungeon
1380G2600· international gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
21 2
Output
499122177 0
Sample 2of 2
Input
810 4 3 6 5 10 7 5
Output
499122193 249561095 249561092 873463811 499122178 124780545 623902721 0
58%
1380G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)