You could use 2 for loops. Check if the current coordinates are from the border items. The border condition is: at least one of i, j, n-i-1, ...
確定! 回上一頁