cf/mirror

Tourist Problem

CF
340C1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
2 3 5
Output
22 3
340C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)