hungrytired's blog

By hungrytired, history, 6 years ago, In English

I am not very experienced with graphs,dp,shortest paths,dsu etc since i am a noob. So in problemset just like there is a *combine tags by OR, there should be a option *combine by NOT. So i can choose graphs,dp and all high level topics to get excluded from problemset. It would be really helpful.

Full text and comments »

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

By hungrytired, history, 6 years ago, In English

There are many different types of DP questions — Bottom-up DP,Classical DP,Multi-Dimensional DP. These topics are covered by many tutorials and blogs. But types like Grid DP,Digit DP,DP on trees are not found.Please if someone can post links on such rare topics.Thank you

Full text and comments »

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

By hungrytired, history, 6 years ago, In English

I was trying out this question on AtCoder, https://atcoder.jp/contests/abc169/tasks/abc169_c. Actually in cpp i was doing double a = 9.79 and then long long b = 9.79*100 and weird thing b was assigned 978 not 979. I am confused why is this happening. If someone can put a blog link which might explain the problem further. Thanks a lot.

Full text and comments »

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

By hungrytired, history, 6 years ago, In English

How does the contribution change on CodeForces? If someone upvotes/downvotes comments then how much does that change contribution and what happens in case of blogs? If anyone can give a link to a blog which explains the rules then that would be very nice. Thank you. Hope all is well. High Ratings.

Full text and comments »

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

By hungrytired, history, 6 years ago, In English

Hello everyone. I just started CP a few weeks ago. I keep seeing the number 1337 being repeated in many testcases. In many problems in some form or another. Why is that so? Does it have a relation with the torrent search engine 1337x or it is just a pure coincidence?

Full text and comments »

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