I'm having a problem reading from "input.txt" and writing to "output.txt" in language Go. I'm trying to solve:
http://codeforces.net/problemset/problem/240/B
On my PC, the code creates output.txt with content '3'. However, the judge says it got the output 0. My submission is here 3810894. Any help would be greatly appreciated