dominator1234's blog

By dominator1234, history, 3 years ago, In English

I think everybody must be having same problem in Problem D having time limit exceeded on Test case 15. The time limit is too strict for the problem. I am tired of optimizing it further now and I have seen exactly same logic being accepted. I am tired and frustrated now. Somebody pls tell how to optimize it from here on.

Here is my Code:

(https://codeforces.com/contest/1499/submission/110388552)

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it