Need Help: Why can't di exist more than 2 times?

Revision en1, by simp_pro, 2022-07-20 10:10:21

Problem link: https://codeforces.com/problemset/problem/1478/C

In the editorial its given that di exist twice. The proof is given for the existence of pair. Why can't there be 4 values of same di?

Tags help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English simp_pro 2022-07-20 10:10:21 247 Initial revision (published)