Chopping Carrots (Easy Version)
1706D11700· expert4s64 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
75 24 5 6 8 115 124 5 6 8 113 12 9 157 32 3 5 5 6 9 106 5654 286 527 1436 2450 26813 9516 340 22412 21 3
Output
20131470
58%
1706D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)