Arrange the Numbers in a Circle
2230C1300· pupil2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
1141 1 1 332 3 461 1 1 1 3 431000000000 1000000000 100000000031 1 21222 231 1 141 1 2 231 1 491 1 1 1 1 1 1 1 7
Output
498300000000030404610
58%
2230C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)