记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:2: error: expected initializer before 'int'
  int b=0;
  ^~~
/in/foo.cc:11:8: error: 'a' was not declared in this scope
   cin>>a[i];
        ^
/in/foo.cc:12:3: error: 'b' was not declared in this scope
   b=b+a[i];
   ^
/in/foo.cc:14:8: error: 'b' was not declared in this scope
  cout<<b;
        ^

信息

递交者
类型
递交
题目
文化测试
语言
C++
递交时间
2021-02-24 20:25:18
评测时间
2021-02-24 20:25:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes