USACO help

Please someone explain why this1 code is giving 3 outputs ?
11(on my PC correct)
16(on USACO judge)
12(on CodeChef IDE)