void 油漆桶擴散的DFS遞迴函式(int x,int y) { if( x,y座標都沒超過邊界且a[x][y]剛好是空格) { 1. 將a[x][y]上色2. call 油漆桶擴散的遞迴函式(x,y+1); 3.
確定! 回上一頁