cf/mirror

Game on Array

CF
2147D1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
3
2 1 1
5
3 3 3 5 5
4
9 9 9 9
Output
3 1
10 9
20 16
2147D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)