作者:
linwebs (linwebs)
2019-11-16 16:44:48開發平台(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,不確定到底是哪裡有問題,麻煩各位大大幫我看看~感激不盡~