Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0;i<10;i++)
  ^~~
/in/foo.cc:12:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cout<<sum;
   ^~~~
/in/foo.cc:11:19: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(x>=a[i])sum++;
                   ^
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1623 1.6.2陶陶摘苹果
 - 比赛
 - 2021.5.26本周数组练习(学校社团专练)
 - 语言
 - C++
 - 递交时间
 - 2021-06-02 16:39:09
 - 评测时间
 - 2021-06-02 16:39:09
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 18ms
 - 峰值内存
 - 228.0 KiB