Блог пользователя arham_doshi

Автор arham_doshi, история, 4 года назад, По-английски

I am learning this topic of graph ,and i tried to solve basic problem of this to test my understanding.

i saw vedio from algorithms live and gone through cp algorithm blog.then i tried to solve problem in hacker earth this question and i got wa i tried till 2 hours to degub then left it this is my code.

then i tried another question on jans'light oj this problem but here also i got runtime errorthis is my code .

then i tried to solve a problem on spoj this question and again got wa my solution .

i am very demotivated now ,can some one find bug in any of my 3 plz ,plz help thanks in advance.

ps:i am not getting basic level question of cut point and bridges on code forces if you know plz share i would be very thank full.

  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится
»
4 года назад, # |
  Проголосовать: нравится +2 Проголосовать: не нравится

This blog explains the basic applications of dfs. Click

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

When you want to find articulation points, don't forget to check, if root is a articulation point.