/ Vijos /

记录详情

Compile Error

/in/foo.cc:5:15: error: redefinition of 'int ans'
    5 | int ans=0,n,m,ans=0;
      |               ^~~
/in/foo.cc:5:5: note: 'int ans' previously defined here
    5 | int ans=0,n,m,ans=0;
      |     ^~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:8:32: error: 'a' was not declared in this scope
    8 |         if(x<1||x>n||y<1||y>m||a[x][y]!='#')return;
      |                                ^
/in/foo.cc:9:5: error: 'a' was not declared in this scope
    9 |     a[x][y]='-';
      |     ^

信息

递交者
类型
递交
题目
P1051 送给圣诞夜的极光
语言
C++
递交时间
2025-02-07 21:10:54
评测时间
2025-02-07 21:10:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes