记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(int i=0;i<N;++i)
 ^~~
/in/foo.cc:9:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  int a;cin>>a[i];
        ^~~
/in/foo.cc:9:6: warning: unused variable 'a' [-Wunused-variable]
  int a;cin>>a[i];
      ^
/in/foo.cc:9:13: error: 'a' was not declared in this scope
  int a;cin>>a[i];
             ^
/in/foo.cc:9:15: error: 'i' was not declared in this scope
  int a;cin>>a[i];
               ^

信息

递交者
类型
递交
题目
0
语言
C++
递交时间
2018-07-04 21:37:17
评测时间
2018-07-04 21:37:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes