[问题] UVa 300 一直Runtime Error

楼主: Brothre23 (哈姆妍)   2016-11-27 20:24:38
开发平台(Platform): (Ex: Win10, Linux, ...)
Sublime Text 3
问题(Question):
uDebug上的测资都测过正确了
丢上UVa就一直Runtime Error = =
程式码(Code):(请善用置底文网页, 记得排版)
http://luckycat.kshs.kh.edu.tw/homework/q300.htm 题目 (中)
https://goo.gl/ZXVdZ3 题目 (英)
http://pastebin.com/1Vz4irg0 程式码
补充说明(Supplement):
Runtime Error好像通常是阵列或指标出问题?
可是我看了半天找不出这种错误啊QQ
作者: pttworld (批踢踢世界)   2016-11-27 20:29:00
cday的测资有. 不晓得会否影响,这是format
作者: firejox (Tangent)   2016-11-27 22:37:00
在全域宣告?
作者: kyfish (fish)   2016-11-28 03:51:00
没仔细看其他是否有错 不过应该不用对n宣告阵列吧?n笔测资可以分开执行 需要的变量重复使用就好了
楼主: Brothre23 (哈姆妍)   2016-11-28 10:01:00
三楼说的我同学有跟我说过只是我懒得改XD 我会试试看也谢谢二楼的建议~

Links booklink

Contact Us: admin [ a t ] ucptt.com