When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

vd__coder's blog

By vd__coder, history, 13 months ago, In English

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

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

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

constraints ?

»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by vd__coder (previous revision, new revision, compare).

»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Can you provide problem source?