/ Vijos /

记录详情

Compile Error

/in/foo.cc:10:1: error: expected unqualified-id before ']' token
 ]={,,,-},dy[]={,-,,};
 ^
/in/foo.cc:10:9: error: expected unqualified-id before ',' token
 ]={,,,-},dy[]={,-,,};
         ^
/in/foo.cc:10:14: error: expected constructor, destructor, or type conversion before '=' token
 ]={,,,-},dy[]={,-,,};
              ^
/in/foo.cc:13:1: error: expected unqualified-id before ']' token
 ],y[],k;
 ^
/in/foo.cc: In function 'void _scanf()':
/in/foo.cc:23:10: error: expected primary-expression before ';' token
     w=w*+;h=h*+;
          ^
/in/foo.cc:23:16: error: expected primary-expression before ';' token
     w=w*+;h=h*+;
                ^
/in/foo.cc:24:6: error: 'i' was not declared in this scope
     ;i<=h+;i++)getline(cin,a[i]);
      ^
/in/foo.cc:24:11: error: expected primary-expression before ';' token
     ;i<=h+;i++)getline(cin,a[i]);
           ^
/in/foo.cc:25:11: error: expected primary-expression before ';' token
     ;i<=h+;i++)
           ^
/in/foo.cc:26:10: error: 'j' was not declared in this scope
         ;j<w;j++)
          ^
/in/foo.cc: In function 'void check()':
/in/foo.cc:43:6: error: 'i' was not declared in this scope
     ;i<=w;i++)][i]==||map[][i]==)bfs(,i);
      ^
/in/foo.cc: In function 'void initial()':
/in/foo.cc:58:6: error: 'i' was not declared in this scope
     ;i<=h;i++)
      ^
/in/foo.cc:59:10: error: 'j' was not declared in this scope
         ;j<=w;j++)
          ^
/in/foo.cc: In function 'void bfs(int, int)':
/in/foo.cc:70:15: error: expected primary-expression before ';' token
     ans[x][y]=;
               ^
/in/foo.cc:71:15: error: expected primary-expression before ';' token
     vis[x][y]=;
               ^
/in/foo.cc:78:10: error: 'i' was not declared in this scope
         ;i<;i++)
          ^
/in/foo.cc:78:12: error: expected primary-expression before ';' token
         ;i<;i++)
            ^
/in/foo.cc:92:16: error: expected primary-expression before ',' token
     memset(vis,,sizeof(vis));
                ^
/in/foo.cc: In function 'void _printf()':
/in/foo.cc:96:6: error: 'i' was not declared in this scope
     ;i<=h;i++)
      ^
/in/foo.cc:97:10: error: 'j' was not declared in this scope
         ;j<=w;j++)
          ^

信息

递交者
类型
递交
题目
P1434 简单的迷宫
语言
C++
递交时间
2020-05-27 09:47:43
评测时间
2020-05-27 09:47:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes