Count the Trains
1690G2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
34 26 2 3 73 24 75 410 13 5 2 62 45 21 53 213 4769 514 336 173 181 373 519 338 985 709 729 702 16812 5816 2227 2335 117
Output
3 44 4 2 35 6 6 5
58%
1690G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)