Need help solving a problem

Revision en1, by Gordon-Freeman, 2024-08-22 20:02:42

i saw this problem and i'am bad at math problem can someone tell how to solve it? its from this gym : The 2024 Syrian Virtual University Collegiate Programming Contest problem H

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Gordon-Freeman 2024-08-22 20:02:42 157 Initial revision (published)