A Good Problem
2119C1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
91 4 4 13 1 3 34 6 9 24 6 9 34 6 7 42 5 5 12 3 6 2999999999999999999 1000000000000000000 1000000000000000000 9999999999999999991000000000000000000 1 999999999999999999 1000000000000000000
Output
4168-1-1-110000000000000000002
58%
2119C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)