Gleb and Boating
2091G2300· international master3s256 MB⌨ stdin/stdout
#brute force#constructive algorithms#data structures#dp#graphs#greedy#math#number theory#shortest paths
Examples
Sample 1of 1multi-test • hover to link
Input
89 610 724 2123456 7776 499 610 499 4
Output
4127751422
58%
2091G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…