My code is identical to Tourist's code for the problem Slay the Dragon, but mine is getting TLE on the 6th test case. Can someone help me figure out why this is happening?

Revision en3, by Riaru_Covece, 2021-09-21 23:59:53

Here is the link to my submission: link and here is the link to Tourist's submission: link

I am new to CF, or if there's a better way to ask my questions or if I am violating any rules please do let me know.

Tags contest, tourist, c++, doubt, help me


  Rev. Lang. By When Δ Comment
en3 English Riaru_Covece 2021-09-21 23:59:53 1 Tiny change: 'bmission: ![link](htt' -> 'bmission: [link](htt'
en2 English Riaru_Covece 2021-09-21 23:58:39 5 Tiny change: 'ission: ![ ](https://' -> 'ission: ![link](https://'
en1 English Riaru_Covece 2021-09-21 23:19:10 501 Initial revision (published)