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 1119. Metro

ЫЫЫ! My solve O(n^2) time and 3 * O(n^2) memory.
Posted by Ilya Mitin (2) 24 Jun 2008 15:37
I used simple bfs and bitset - get AC!

http://acm.timus.ru/status.aspx?space=1&num=1119&author=66708

:)))
Re: ЫЫЫ! My solve O(n^2) time and 3 * O(n^2) memory.
Posted by Winner 23 Oct 2008 01:14
Yo!!!! My solve O(n^2)... and 2N memory...

Very very simple problem...

http://acm.timus.ru/status.aspx?space=1&author=53522&status=accepted