HDOJ1506: AC

Be careful to the 64bit integer on the OJ machine