Can anyone tell me the logic of the code from AtCoder?

Revision en1, by into_the_world, 2022-12-04 09:09:29

In yesterday's AtCoder Beginner Contest 280 I didn't able to solve D. Then I was looking for solution and after seeing this submission I was shocked. Can anyone tell me how the logic work for this problem submission?

D — Factorial and Multiple

Submission

Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English into_the_world 2022-12-04 09:09:29 485 Initial revision (published)