看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) C::B 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 想請問如果不用字串讀入 然後再分別提出各個數字 這樣有其他方法嗎? 錯誤結果(Wrong Output): WA 程式碼(Code):(請善用置底文網頁, 記得排版) http://pastie.org/1787263 補充說明(Supplement): 知道問題是在當輸入很大例如9999999999999999999999這種時 印出時會變成100000000000000000000 那還有其他辦法嗎? 不用到字串讀入的方法 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.123.101.139 ※ 編輯: lions0164 來自: 140.123.101.139 (04/12 23:26)
firejox:假如不用讀字元 你想用什麼? 04/13 00:14
scwg:刻大數? 雖然完全用不到... 04/13 06:11