Hadras's blog

By Hadras, history, 6 weeks ago, In English

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

Read more »

 
 
 
 
  • Vote: I like it
  • -1
  • Vote: I do not like it

By Hadras, 4 months ago, In English

Hi , i want to learn algorithms Is Algorithm specialization course for Tim Roughgarden  good or there are better than it ?

Read more »

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