https://onlinegdb.com/HkIpMGUVD pls tell the possibly wrong custom input where code is getting wrong only 1 test case is failing

this is my code , if possible make changes in my code and provide the edited code through

Hey @asinghal1_be19
Failing for test cases like this :
1
100000000000000 1

So when k =1 simply print n