Counting Pairs
2051D1200· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
74 8 104 6 3 66 22 274 9 6 3 4 53 8 103 2 13 1 12 3 43 3 63 2 14 4 123 3 2 16 8 81 1 2 2 2 3
Output
4700156
58%
2051D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)