VK Cup Qualification Problem D

Revision en2, by i_will_become_red, 2015-06-18 06:37:57

Hello, everyone I was trying to solve this from VK Cup Qualification round, after trying for a hour I gave up and read editorial, but it was not clearly explained, Plz can anybody explain in more detail why we are taking factors it to me as it will be very helpful to me. Thank you.

Tags vk cup, round, qualification round

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English i_will_become_red 2015-06-18 06:37:57 49
en1 English i_will_become_red 2015-06-18 06:36:34 311 Initial revision (published)