[HackerEarth] Given an array A of N numbers, find the number of distinct pairs (i, j) such that j ≥i and A[i] = A[j]. - 题解

暂无题解