Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×

TLE but same code as Editorial

Правка en2, от ghee_khatam, 2025-08-26 22:16:02

Hi everyone,

I have submitted a solution to the recent Codeforces Round 1045 Div 2 problem B (which was Add 0 or K) and my solution looks

similar to the editorial solution 2 yet my solution is giving TLE and Editorial code is getting Accepted can anyone guide me.

Link to my submission : https://codeforces.me/contest/2134/submission/335714240

update : orz qwertylkjhg pointed out the error and now it is Accepted.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ghee_khatam 2025-08-26 22:16:02 92
en1 Английский ghee_khatam 2025-08-26 21:48:17 384 Initial revision (published)