看板 b98902HW 關於我們 聯絡資訊
※ 引述《tonylo2ooo (Logo)》之銘言: : bit map 的colume & row座標系的建立是 : 左上角是1,1 : 提醒大家一下= =" : 因為如果你覺得是從零開始的話會剛好做相反 : 或是你覺得從左下角開始 : 這樣就會有八種要try@@""" 題目說"you need to remove those pixel that are in the even row and column" 也就是偶數個row及偶數個column都要刪掉 而不是index 是 odd/even 這回事 因此和大家想的會反過來 而圖是從底下存上來的 所以剛好第一個抓到的row是要刪掉的 至於column也是一樣的道理 index是奇數剛好就是我們說的even column 看一下題目網頁上的clarification.bmp有比較詳細的說明 --C2009 TA -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.44 ※ 編輯: ckclark 來自: 140.112.30.44 (11/26 23:03) ※ 編輯: ckclark 來自: 140.112.30.44 (11/26 23:04)