Need help in a problem

Revision en1, by vd__coder, 2023-02-07 10:55:07

I was solving a problem and it led to a sub problem which goes like:

given A,B>0, minimise: 2*x+B%(A+x) , x>=0

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vd__coder 2023-02-07 11:27:49 6 Tiny change: '\n\ngiven A,B>0,\nmi' -> '\n\ngiven 10^9>=A,B>0,\nmi'
en1 English vd__coder 2023-02-07 10:55:07 137 Initial revision (published)