cf/mirror

Swap Columns and Find a Path

CF
2046A1200· pupil2s512 MB⌨ stdin/stdout

Examples

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