记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:2: error: expected initializer before 'int'
  int b,c,i;
  ^~~
/in/foo.cc:6:2: error: 'b' was not declared in this scope
  b=c=0;
  ^
/in/foo.cc:6:4: error: 'c' was not declared in this scope
  b=c=0;
    ^
/in/foo.cc:7:6: error: 'i' was not declared in this scope
  for(i=0;i<10;i++)
      ^
/in/foo.cc:9:6: error: 'i' was not declared in this scope
  for(i=0;i<10;i++)
      ^
/in/foo.cc:16:2: error: 'x' was not declared in this scope
  x=a[b];
  ^
/in/foo.cc:19:7: error: 'i' was not declared in this scope
   for(i=0;i<10;i++)
       ^

信息

递交者
类型
递交
题目
P1005 涛不会无缝E
语言
C++
递交时间
2019-06-12 14:45:11
评测时间
2019-06-12 14:45:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes