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 1002. Phone Numbers

Who knows a faster algorithm? (1002)
Posted by Artur Mazgarov 25 Jan 2008 18:38
If I try to check every way of placing words, I get  'Time limit exceeded' on test 5, and if I just first sort the words by lengths, and then try to find the first way of placing words and give it as answer, I get 'Wrong answer' on test 3. Could you please help me?