/ 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:7: warning: statement is a reference, not call, to function 'exit' [-Waddress]
   exit;
       ^
/in/foo.cc:8:7: warning: statement has no effect [-Wunused-value]
/in/foo.cc:11:7: error: 'board' was not declared in this scope
   if (board[h+1])
       ^~~~~
/in/foo.cc:22:6: warning: statement is a reference, not call, to function 'exit' [-Waddress]
  exit;
      ^
/in/foo.cc:22:6: warning: statement has no effect [-Wunused-value]
/in/foo.cc:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

信息

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