Hungry Games
1994C1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
54 21 1 1 13 21 2 31 6106 31 2 1 4 3 85 999999999999999999 999999998 1000000000 1000000000 500000000
Output
820107
58%
1994C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)