Compile Error

foo.cc: In function ‘void dfs(int, int, int)’:
foo.cc:10:9: error: ‘a’ was not declared in this scope
   10 |         a[x][y]=dep;
      |         ^
foo.cc: In function ‘int main()’:
foo.cc:28:31: error: ‘a’ was not declared in this scope
   28 |                         cout<<a[i][j]<<' ';
      |                               ^

信息

递交者
类型
递交
题目
P1409 神奇的幻方 pta202405T2
语言
C++
递交时间
2026-05-01 09:51:35
评测时间
2026-05-01 09:51:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes