要考虑N为0,1,2的情况

P1255 数楼梯

小妮 @ 2016-09-14 16:23:24

写完程序感觉完美,却只得80分,有两个点不过,说运行时出错,思考再三才发现是因为没考虑输入的楼梯个数为0,1,2的情况导致。


by 妮妮 @ 2016-11-18 21:05:35

看我id


by tututu @ 2017-01-02 15:21:29

+1


|