[問題] 關於 Closest Pair Problem
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Dev C
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
問題(Question):
這是我的某次作業
要改成讀檔方式(讀數數個座標)然後找出closest pair
問題點在讀檔我不會寫><
餵入的資料(Input):
讀入.txt檔案包含數個座標
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
http://codepad.org/jSK3Z0qB
補充說明(Supplement):
板上有神人可以幫幫我嗎Q_Q
--
→
03/18 15:39,
03/18 15:39
→
03/18 15:41,
03/18 15:41
→
03/18 15:43,
03/18 15:43
→
03/18 15:44,
03/18 15:44
→
03/18 15:45,
03/18 15:45
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.110.125.154
→
05/28 15:07, , 1F
05/28 15:07, 1F
已修改 抱歉第一次發文@@
→
05/28 15:16, , 2F
05/28 15:16, 2F
※ 編輯: LJWen 來自: 123.110.125.154 (05/28 15:47)
→
05/28 19:00, , 3F
05/28 19:00, 3F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章