|
|
back to boardIt's very easy to overcome TLE. 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. That's cheating! Re: It's very easy to overcome TLE. 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. In this case what is the use solving this problem. |
|
|