10分求,急

P2615 [NOIP2015 提高组] 神奇的幻方

建议在主函数内加一行 ```C++ memset(hf, 0, sizeof(hf)); ``` 28,29行,正下方应该是y+1,不是x+1,应改为 ```C++ hf[x][y+1]=cnt; y++; ```
by chenqile @ 2023-12-03 12:35:17


好像28,29行没搞反
by chenqile @ 2023-12-03 12:38:56


thanks
by xkdd @ 2023-12-03 13:34:12


|