/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int mov(int, int)':
/in/foo.cc:5:10: error: 'a' was not declared in this scope
  if ((h==a)&&(v==b))
          ^
/in/foo.cc:5:18: error: 'b' was not declared in this scope
  if ((h==a)&&(v==b))
                  ^
/in/foo.cc:7:3: error: 'nfr' was not declared in this scope
   nfr++;
   ^~~
/in/foo.cc:8:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   return;
   ^~~~~~
/in/foo.cc:11:7: error: 'board' was not declared in this scope
   if (board[h+1])
       ^~~~~
/in/foo.cc:22:15: error: return-statement with no value, in function returning 'int' [-fpermissive]
          else return;
               ^~~~~~
/in/foo.cc:23:2: error: return-statement with no value, in function returning 'int' [-fpermissive]
  return;
  ^~~~~~

信息

递交者
类型
递交
题目
P1121 马拦过河卒
语言
C++
递交时间
2017-11-24 17:16:54
评测时间
2017-11-24 17:16:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes