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 1165. Subnumber

Who can tell me the way to make the solution faster?
Posted by nickolas stoudemire 25 Aug 2007 10:23
I tried to use ansistring to solve this problem.
But...
It seems that the program runs too slowly.
Who can tell me the way to make the solution faster?
Thank you very much.
Re: Who can tell me the way to make the solution faster?
Posted by Razdolbay from SIS 26 Aug 2007 14:31
What is complexity of your solution? O(n^3)?
Re: Who can tell me the way to make the solution faster?
Posted by =HPF= 8 Dec 2007 18:31
Why O(n^3)   What's "n"