记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:10: error: 'i' was not declared in this scope
     for (i=2+N;i<=2*N+1;i++)    board[i]='B';
          ^
/in/foo.cc:15:10: error: 'i' was not declared in this scope
     for (i=1;i<=M;i++)
          ^
/in/foo.cc:41:10: error: 'i' was not declared in this scope
     for (i=1;i<=2*N+1;i++)  cout<<board[i];
          ^

信息

递交者
类型
递交
题目
(lpj 1-3)Shuttle game
语言
C++
递交时间
2019-03-06 17:41:06
评测时间
2019-03-06 17:41:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes