ysymyth's blog

By ysymyth, 10 years ago, In English

Hi everyone! when I try to solve a problem using treap of size 100000, I use something like

struct node { ... node * ch[2]; }

and I keep MLE (see http://mirror.codeforces.com/contest/431/submission/6702556)

... and when I switch the language to C++0x, I got AC ( see http://mirror.codeforces.com/contest/431/submission/6702604)

so I got confused about differences of those two language. Can anyone explain it to me ? Thank you in advance!

Full text and comments »

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

By ysymyth, 11 years ago, In English

hi fellas is there any good problems of DP in your mind ? better be on CF and not be too easy to solve i will certainly thank you all very much

Full text and comments »

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