81749180 The same c++ code on different c++ compiler is giving different output
Try with the given below testcase :
1
999977 17 499998
The correct answer as per the given testcases is 499981
This is the 14th testcase of 4 test file(Test #4) of given submission