emotionles's blog

By emotionles, history, 9 years ago, In English

Can anyone give me some links through which I can learn siblings dp? And also please provide me some problems related to it. Thanks in advanced...

Full text and comments »

Tags dp, tree
  • Vote: I like it
  • +11
  • Vote: I do not like it

By emotionles, 9 years ago, In English

I am trying to solve this problem for this input. My code is here. My codeblocks compiler gives output 3. And also a online compiler "ideone" (code) gives output 3. But in my submission it gives output 2. I don't know why this kind different output in different compilers. Please anyone help me. Thanks in advanced.

Full text and comments »

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