題號:640 - Self Nubmers
遇到的問題:RE
有問題的code:
http://nopaste.csie.org/07604
補充說明:
不知道為什麼
其實上傳到ACM是AC的
但是上傳到ZeroJudge就RE了
ZeroJudge: http://zerojudge.tw/ShowProblem?problemid=d044
請問我這樣哪邊會有超出範圍?
然後還想問個問題就是我的 int x[1000001]={0};
如果放到main function裡面好像太大所以會出錯,那為什麼拿出來放就不會呢?
謝謝!
--
Profanity is the one language that all programmers understand.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.199.112
※ 編輯: adks3489 來自: 140.117.199.112 (05/08 16:55)