Deterministic Heap (Hard Version)
2001E22900· international gm4s512 MB⌨ stdin/stdout
Examples
Sample 1of 3multi-test • hover to link
Input
62 1 9982443533 2 9982448533 3 9982443533 4 1000000374 2 1000000394 3 100000037
Output
2124010032224
Sample 2of 3multi-test • hover to link
Input
1100 500 100000037
Output
66681128
Sample 3of 3multi-test • hover to link
Input
287 63 10000003713 437 100000039
Output
8356656954517140
58%
2001E2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…