Codeforces functionality may be limited from June 18, 19:00 (UTC) to June 19, 3:00 AM (UTC) due to technical maintenance. Polygon will work as usual. ×

Thost's blog

By Thost, 13 years ago, In English
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=algorithmGames

Homework: What would be changed if a player had to move with every horse and would lose if he were not able to do so?

How to solve the problem about that?

Full text and comments »

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

By Thost, 13 years ago, In English

Could anyone help me to solve this problem?

I had tried several times,but failed.

Full text and comments »

Tags dp, tree
  • Vote: I like it
  • +8
  • Vote: I do not like it