Need help in problem D. Multipliers

Правка en2, от saurabh247, 2020-04-25 13:23:53

Problem link https://mirror.codeforces.com/contest/615/problem/D

My Submission https://mirror.codeforces.com/contest/615/submission/78009885

Can anyone please tell why my submission is getting WA . I have read the editorial and got the solution but i would like to know why this approach is not working. I am trying this for a long time and have no clue. Please help!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский saurabh247 2020-04-25 13:23:53 149
en1 Английский saurabh247 2020-04-25 13:20:55 250 Initial revision (published)