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 1353. Milliard Vasya's Function

It's very easy to overcome TLE.
Posted by balandini 23 Jun 2012 19:51
If you have program which gives right answer for the problem, but it's too slow and gets TLE, then you may just calculate answers for every possible input(there are only 81 possible variants of input, so you can calculate them all) and then create another program: put array of 81 possible answers in this program and them just read s from input and write in output corresponding answer from the array.
I had made such program and it got AC.
Re: It's very easy to overcome TLE.
Posted by keepwalking 27 Jan 2013 17:19
That's cheating!
Re: It's very easy to overcome TLE.
Posted by Mr.Creative 25 Feb 2018 04:48
In this case what is the use solving this problem.

Edited by author 25.02.2018 04:48

Edited by author 25.02.2018 04:49

Edited by author 25.02.2018 04:49

Edited by author 25.02.2018 04:49
Re: It's very easy to overcome TLE.
Posted by Mr.Creative 25 Feb 2018 04:49
In this case what is the use solving this problem.