On Codeforces Round #805 Div3 Problem C Train and Queries

Правка en1, от ayush_n, 2022-07-11 17:01:12

Hello Codeforces!!! Yesterday on solving the problem C Train & Queries In my Contest Submission It is Giving me TLE on test case 5 after upsolving the particular problem and doing a small change It got Accepted Plzzz see both of the code in my solve function and give reason why this is happening

https://mirror.codeforces.com/contest/1702/submission/163540539

Getting TLE on above

and https://mirror.codeforces.com/contest/1702/submission/163680546 Getting Accepted Thanks in advance !!!!!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ayush_n 2022-07-11 17:01:12 558 Initial revision (published)