Solve: 112 - Tree Summing

It turned out that my codes were correct.  The online judge system had
bugs and rejected any submission.

(To "debug", I even conceived of illegal test cases with spaces between
a negative sign '-' and digits; see the GetInt() function.)