Weak Test Cases for Problem 1061-B of Round #523 (Div-2)
Ashishgup
2 1000000000
1 1000000000
takes more than given time limit on AC solutions like this.
Thank You
Just copied the code and run it in codeforces custom test section. It took only 15ms
Try to add any loop of 10^10 or more and then again run custom test, still that will show 15ms, I don't know why custom test section is not giving right execution time. Logically it should give TLE.
Added the test case for practice
Compiler optimizations do their thing too, so it should run fast enough
Just copied the code and run it in codeforces custom test section. It took only 15ms
Try to add any loop of 10^10 or more and then again run custom test, still that will show 15ms, I don't know why custom test section is not giving right execution time. Logically it should give TLE.
Added the test case for practice
Compiler optimizations do their thing too, so it should run fast enough