cf/mirror

Tokitsukaze and Strange Inequality

CF
1677A1600· expert1.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
6
5 3 6 1 4 2
4
1 2 3 4
10
5 1 6 2 8 3 4 10 9 7
Output
3
0
28
1677A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)