Interview bit online judge gives different answer from local compiler


#1

When I run my program locally, i get an answer of 9 for a test case, while the same code with same inputs gives different answer. (c++11)


#2

koi baat nahi bhai! sab theek ho jaega