Need help in problem D. Multipliers

Revision en2, by saurabh247, 2020-04-25 13:23:53

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

My Submission https://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!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English saurabh247 2020-04-25 13:23:53 149
en1 English saurabh247 2020-04-25 13:20:55 250 Initial revision (published)