alamin_2014's blog

By alamin_2014, history, 8 years ago, In English

simple dfs code.... why is it not working? please help input : 6 1 1 6 1 2 2 3 2 5 3 4 4 5 code : http://pastebin.com/EazYw5af my code run properly when I remove printf which is out of for loop in dfs function. If I write printf function... it does not work... strange..

Full text and comments »

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

By alamin_2014, history, 8 years ago, In English
  • Vote: I like it
  • +3
  • Vote: I do not like it

By alamin_2014, history, 8 years ago, In English

please, My code was absolutely right but I got Wa test no 37. Anybody can help me why my code got wa test case 37 . I did not find any bug. problem : http://codeforces.net/contest/711/problem/A my code: http://pastebin.com/x8JYay6J

Full text and comments »

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