why am i getting wrong ans/TLE? PLZZ HELP!!

Правка en1, от Me_iS_NooB, 2025-02-21 13:37:38

i was trying to solve this problem:- https://codeforces.net/contest/2064/problem/D

My solution :- 307112876

I am getting wrong ans verdict in my solution even tho i think my logic is correct. Can anyone please find and explain what did i do wrong?

plzz help :,(

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Me_iS_NooB 2025-02-21 13:38:12 47
en1 Английский Me_iS_NooB 2025-02-21 13:37:38 315 Initial revision (published)