|
|
вернуться в форумI've Got Time Limit Expected I have used the same program which was given in the problem.. By Just using a count and checking the input string.. i got the value.. But still i am getting TLE Is there anyway in which i can optimise it?? LOL Послано G 19 май 2009 05:08 Your program works with O(n!) time: of course, it's TL. Find the rule in which the next one is got. |
|
|