https://coding-prep.com/2023/06/04/2023-%e5%b9%b4-6-%e6%9c%88-apcs-%e9%a1%8c%e8%a7%a3/
內層的雙迴圈ni只要 i-x ~ i+xnj只要 j-x ~ j+x就可以了