Please help me to find mistake in my code

submission link
i passing the 2nd test case but not one

I’ve only just glanced at this problem, but is

1 2

a valid test input and if so, what should the answer be?

1 Like

1999999998 i think bro,

1 Like

sir it is showing 1999999998 .
submission link here i increase my min 1e11+9 .
actually sir i derive formula for this finding the x