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

nickolas stoudemire Who can tell me the way to make the solution faster? [2] // Problem 1165. Subnumber 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.
Razdolbay from SIS Re: Who can tell me the way to make the solution faster? [1] // Problem 1165. Subnumber 26 Aug 2007 14:31
What is complexity of your solution? O(n^3)?
Why O(n^3)   What's "n"