[問題] UVA245 Wrong answer
開發平台(Platform): (Ex: Win10, Linux, ...)
MacOS 使用 codeblocks 撰寫
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
GCC
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
無
問題(Question):
C++寫UVA 245 Wrong answer
https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=181
餵入的資料(Input):
https://www.udebug.com/UVa/245
預期的正確結果(Expected Output):
https://www.udebug.com/UVa/245
錯誤結果(Wrong Output):
UVA 顯示 Wrong answer
程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔)
https://glot.io/snippets/fhwcaao3u9
補充說明(Supplement):
我寫一個link list的class來放入及拿取資料,若是數字,先放入後會檢查list內原先有的那個項目把它刪除,但是uDebug的測資測出來都是正確的,上傳UVA後卻是Wrong answer,不確定到底是哪裡有問題,麻煩各位大大幫我看看~感激不盡~
--
linwebs
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.164.215.119 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1573893899.A.1DB.html
→
11/18 10:51,
5年前
, 1F
11/18 10:51, 1F
→
11/19 15:17,
5年前
, 2F
11/19 15:17, 2F
→
11/19 15:18,
5年前
, 3F
11/19 15:18, 3F
※ 編輯: linwebs (218.164.215.119 臺灣), 11/19/2019 15:18:36
→
11/19 19:34,
5年前
, 4F
11/19 19:34, 4F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章