Hi there! Just finished another great contest, hope you enjoyed it too!
Nevertheless, I run into this strange problem, my submission on Codeforces says that output is '3', but on another IDE (codechef, cpp.sh or ideone.com) it says '2', which is the correct answer. I also have tried different versions of compiler, however result is the same. Do you know why this happened?
Link to my code on ideone.com — https://ideone.com/KZ76Aq
My submission — 39627475