记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:8:8: error: 'a' was not declared in this scope
   cin>>a[i];
        ^
foo.cc:11:6: error: 'a' was not declared in this scope
   if(a[i]==s)
      ^
foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
foo.cc:13:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   return 0;
   ^~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)

信息

递交者
类型
递交
题目
二分查找(binary)
题目数据
下载
语言
C++
递交时间
2019-07-03 10:57:41
评测时间
2020-07-10 15:27:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes