ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1323. Classmates

Ilya Rasenstein (8 class) How? [1] // Problem 1323. Classmates 29 May 2004 18:00
Can I solve dis with dinamic and match in bigraph?
Peter Ivanov Re: How? // Problem 1323. Classmates 1 Dec 2006 04:25
I think this is possible. Initially I started writing some dp with O(2^n * n * 2^n * something_for_the_bigraph). It is too complex for a problem that can be solved using only a dfs. But the idea is still good!