cf/mirror

Abnormal Permutation Pairs (easy version)

CF
1542E12400· grandmaster1s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4 403458273
Output
17
1542E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)