cf/mirror

The BOSS Can Count Pairs

CF
1830B2000· candidate master4s512 MB⌨ stdin/stdout

Examples

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