Turtle vs. Rabbit Race: Optimal Trainings
1933E1500· specialist5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
563 1 4 1 5 931 82 75 911011 195 10 9 6 8 3 10 7 358 561 129 31 275 4557 9 2 5 2101 372 93 334 324 152 24 22 193 72 7109 1 6 7 6 3 10 7 3 10510 433 239 36 85 14
Output
3 4 519 2 9 4 95 2 5 5 5 2 4 5 4 210 6 9 7 7
58%
1933E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)