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 1669. Universal Word

Time Limit Exceeded - Test #14
Posted by Varun Sharma 30 Apr 2009 09:29
Hi,

For large test cases like n = 18 etc,  if the answer is Yes, does that mean that our program will need to test for all the 18 factorial possibilities ? That's like running the loop 10^16 times which is impossible within 3 seconds !

Thanks