记录详情

Wrong Answer

foo.cc: In function 'int geshu(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:16: warning: 'n1' is used uninitialized in this function [-Wuninitialized]
  int n1,n2,a[n1],b[n2];
                ^
foo.cc:9:22: warning: 'n2' is used uninitialized in this function [-Wuninitialized]
  int n1,n2,a[n1],b[n2];
                      ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 1ms 384.0 KiB
#2 Wrong Answer Read 1, expect 2. 2ms 400.0 KiB
#3 Wrong Answer Read 1, expect 4. 2ms 384.0 KiB
#4 Wrong Answer Read 1, expect 8. 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-07 14:11:36
评测时间
2021-03-07 14:11:36
评测机
分数
20
总耗时
9ms
峰值内存
400.0 KiB