Test Case for SUBINC

Could someone help me in finding out the error in my code for SUBINC. It has failed 1 out of 15 test cases.

Link to the submission : https://www.codechef.com/viewsolution/33223193

Thanks

    cin >> n;
    if (n == 1)
    {
        cout << 1 << '\n';
        return;
    }

Can you see a problem here?

Oh sorry. That was a careless mistake. Thanks for the correction. :sweat_smile: :sweat_smile: :grinning: