Different output in cpp.sh vs InterviewBit console for the same code


#1

http://cpp.sh/433k4

For the very same code, I’m getting 319770 as output for 15, 9 input in the cpp.sh. But here in the InterviewBit console I’m getting 1.

Would someone please explain why?