记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:31:4: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
    x=getchar();
    ^
/in/foo.cc:31:15: error: expected ',' before ';' token
    x=getchar();
               ^
/in/foo.cc:31:15: error: expected identifier before ';' token
/in/foo.cc:31:15: error: expected ']' before ';' token
/in/foo.cc: In lambda function:
/in/foo.cc:31:15: error: expected '{' before ';' token
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:9: error: 'i' was not declared in this scope
    step[i][j]=1;
         ^
/in/foo.cc:34:12: error: 'j' was not declared in this scope
    step[i][j]=1;
            ^
/in/foo.cc:36:9: error: 'i' was not declared in this scope
    step[i][j]=0;
         ^
/in/foo.cc:36:12: error: 'j' was not declared in this scope
    step[i][j]=0;
            ^
/in/foo.cc:37:3: error: expected primary-expression before ']' token
   ]
   ^

信息

递交者
类型
递交
题目
死胡同
题目数据
下载
语言
C++
递交时间
2018-10-29 23:55:51
评测时间
2018-10-29 23:55:51
评测机
分数
0
总耗时
1181ms
峰值内存
133.094 MiB