k-Interesting Pairs Of Integers
769D1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 10 3 2 1
Output
4
Sample 2of 2
Input
6 0200 100 100 100 200 200
Output
6
58%
769D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
4 10 3 2 1
4
6 0200 100 100 100 200 200
6