Help

Revision en2, by Hadras, 2021-12-13 22:21:11

why he made this condition in his code in this problem : https://codeforces.com/contest/1512/problem/E if(s — i >= 1LL * (len — 1) * len / 2 && len > 0) i am talking about s-i =>(len-1)*(len)/2 code : https://ideone.com/sPISxq

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Hadras 2021-12-13 22:21:11 1137
en1 English Hadras 2021-12-13 22:20:23 1377 Initial revision (published)