记录详情

Wrong Answer

foo.cc: In function 'int total(int*, int)':
foo.cc:34:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<n;i++)
  ^~~
foo.cc:37:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   return cnt;
   ^~~~~~
foo.cc: In function 'int main()':
foo.cc:9:13: warning: 'x' is used uninitialized in this function [-Wuninitialized]
  int x,y,a[x],b[y];
             ^
foo.cc:9:18: warning: 'y' is used uninitialized in this function [-Wuninitialized]
  int x,y,a[x],b[y];
                  ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 1ms 400.0 KiB
#2 Wrong Answer Read 0, expect 4. 2ms 404.0 KiB
#3 Wrong Answer Read 1, expect 4. 1ms 404.0 KiB
#4 Wrong Answer Read 1, expect 8. 1ms 412.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A9-5 数组中最小值的个数
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-07 20:54:56
评测时间
2021-03-07 20:54:56
评测机
分数
20
总耗时
9ms
峰值内存
412.0 KiB