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 1102. Strange Dialog

How to make program fast ?
Posted by Varun Sharma 18 Nov 2009 10:59
Hi,

I implemented it using DFA and it is taking around 0.8 seconds. However I can see that some people have done it in 0.03 seconds (that's 27 times faster)? How can it made faster ?

Thanks

Varun

Edited by author 08.03.2010 06:17
Re: How to make program fast ?
Posted by JAVATAR 15 Apr 2012 23:10
Hello,

Could you please give me same states of the DFA machine?

Thanks in advance