traynmslf's blog

By traynmslf, history, 7 years ago, In English

Does anyone know if SGU online judge(http://acm.sgu.ru/) is down permanently? Or may be website address changed?

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By traynmslf, history, 8 years ago, In English

Hi Everyone,

I'm a newbie here.I just started solving Div 2 A problems. I solved the following problem using a brute force approach. http://codeforces.net/problemset/problem/194/A

I was looking at the editorial here — http://codeforces.net/blog/entry/4673 I don't understand the logic behind "3n-k" being used.

Can anyone please help?

Full text and comments »

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