Codeforces Scoreboard
1787H3300· legendary gm3s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
4410000 1000000000 200610000 1000000000 99992 999991010 10101000000000 1000000000 99999999961 8 19 29 42 14 34 13 12 19 510 12 584 10 14 19 81 14 34 15 62 9 61 11 102 19 124 19 14105 12 75 39 122 39 113 23 155 30 113 17 135 29 143 17 113 36 183 9 8
Output
39999610035378180
58%
1787H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)