Climbing the Leaderboard Hackerrank problem help

Правка en1, от jiraiya_777, 2020-05-25 20:30:58

Hello Codeforces, I was solving this problem on hackerrank.

I successfully solved it by submitting this. All test cases passed.

But this submission fails on thistest case. Why??

Also when i try to implement the above solutions on my computer they run indefinitely on other test cases(which got accepted on hackerrank) for large values of n and m.

Help!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский jiraiya_777 2020-05-26 14:20:32 0 (published)
en4 Английский jiraiya_777 2020-05-26 14:19:47 30 (saved to drafts)
en3 Английский jiraiya_777 2020-05-26 14:12:28 240 Tiny change: 'lp!!\n\n**UPD**- I have' -> 'lp!!\n\n**Note**- I have'
en2 Английский jiraiya_777 2020-05-26 11:15:10 423
en1 Английский jiraiya_777 2020-05-25 20:30:58 759 Initial revision (published)