[HELP] Getting TLE in Problem 747E Comments (round #387)

Правка en1, от sam96, 2017-06-10 00:30:29

I have written an O(n) solution using DFS but still i am getting TLE on test number 29. I don't understand why and hence i am unable to resolve the issue. I also tried using fast cin and cout but still i am getting TLE. Here is the link to the problem and link to my solution.

Теги dfs and similar, expression parsing, time limit exceeded

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sam96 2017-06-10 00:30:29 410 Initial revision (published)