Ehsan_sShuvo's blog

By Ehsan_sShuvo, history, 6 years ago, In English

In Vanya and Exams problem ,minimum of min(avg * n - sum, r - ai) will be added to the answer . But why do we subtract ( r — ai ) ? Anyone else please help me .


Thanks in advance

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?