Distinct Pair Sums

Distinct Pair Sums CodeChef Solution

Problem  You are given a range of integers  \{L, L+1, \ldots, R\} { L , L + 1 , … , R } . An integer  X X  is said to be  reachable  if it can be represented as a sum of two  not necessarily distinct  integers in this range. Find…

Load More
That is All