Counting Triplets With All Pair Sums Divisible by K

Company: AMD_30sep

Difficulty: medium