Fix some bugs

Fix when the power is 0, the result will be wrong.
Fix when the base number is 0, the result will be wrong.
Fix when the number does not have point, the result will be wrong.
Merge branch 'master' of https://github.com/tat757/PKU_JudgeOnline_1001