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

Автор monera, 9 лет назад, По-английски

http://codeforces.com/problemset/problem/339/C

Can anyone suggest methods on how to solve such problems using dfs. I am not able to get the idea how to implement dfs to get the solution to such problems.

Полный текст и комментарии »

Теги dfs
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор monera, 9 лет назад, По-английски

http://codeforces.com/problemset/problem/446/A

Can anyone help with the approach to this problem. Read the tutorial but wasn't able to get the idea.

Полный текст и комментарии »

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