Brainless_Loco's blog

By Brainless_Loco, history, 4 years ago, In English

I was trying to solve Shortest Routes I problem using Dijkstra Algorithm. But I am getting TLE Verdict on 2 test cases and the rests were accepted. My Solution Link. I saw some solutions on online but i didn't understand those. Can anyone please let me know the problem with my code,how can i modify this code to get accepted?

Thanks in advance.

Full text and comments »

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

By Brainless_Loco, history, 4 years ago, In English

Can anyone suggest a resource where there is a serial of topic that should be learnt by beginner one after one.

There is a lot of videos and blogs where all talk about a way for beginner,like first a language,then data structure and algorithm and so on. But I am unable to find a resource where it is tol,d a serial like first learn X algo,then Y algo and so on. It may be sounds lame but this would be useful for beginners like us.

Thanks in advance.

Full text and comments »

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

By Brainless_Loco, history, 4 years ago, In English

Hello all.

I was giving a VP on ABC 118. I tried task D with DP approach.

But it's showing me WA on 4 test cases out of 29.

Can anyone let me know if there is any mistake of my SOLUTION or my approach is wrong actually! It passed 25 test cases already.

I can't understand editorial and unable to understand iterative DP. Thanks in advance.

Full text and comments »

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

By Brainless_Loco, history, 4 years ago, In English

I don't know why it's getting MLE. Can you please tell me the reason.

MLE submission

Problem Link: D. Solve The Maze

Thanks in advance.

Full text and comments »

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

By Brainless_Loco, history, 4 years ago, In English

Hello there.

Recently I became specialist on Codeforces. But still I find problems with ratting 1400+ difficult to solve. Whenever I try to solve them,it usually takes at least 3-4 or more hours to solve and most of the time I actually can't solve them. I know that for being 1600+, I just don't need to learn any algorithms. But I want to learn how can I become easy with problems with ratting below 1600.

I want to use this quarantine days with my best.Whatever I need to do,I am ready.I just want to become good in CP.

So,I need a better suggestion so that I never have to go back to pupil area again [just a wish!I know it isn't bad actually] and become a better problem solver and good in contests.Please provide me a good suggestion,I am being depressed day by day as I am trying to solve those problems. And suggest me which topic I should learn as soon as possible.

For your betterment, I don't know any algorithms.

Thank you in advance.

Full text and comments »

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