[問題] 超長正整數
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
dev_v
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
無
問題(Question):
Quirksome Squares
N=2,4,6,8(最多到8)
例如(30+25)(3025)=3025
餵入的資料(Input):
N=2
00
01
81
00
01
81
N=8會破表
預期的正確結果(Expected Output):
a= 10^8 b=10^8
也就是 0~ 10^16
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/9eiSueRz N=8會出現錯誤
補充說明(Supplement):
M文的超長整數 #0v65Ux00 (C_and_CPP) 連結似乎失效了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.8.99
※ 編輯: kingofsdtw 來自: 122.117.8.99 (05/09 16:22)
→
05/09 16:41, , 1F
05/09 16:41, 1F
推
05/09 16:49, , 2F
05/09 16:49, 2F
→
05/09 17:23, , 3F
05/09 17:23, 3F
→
05/09 18:01, , 4F
05/09 18:01, 4F
推
05/09 19:42, , 5F
05/09 19:42, 5F
→
05/10 22:42, , 6F
05/10 22:42, 6F