记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:18: warning: 's1' is used uninitialized in this function [-Wuninitialized]
  for(int i=0; a[i]!=0 && a[i+1]!=0; i++)
               ~~~^
foo.cc:28:31: warning: '*((void*)& s1 +1)' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int i=0; a[i]!=0 && a[i+1]!=0; i++)
                          ~~~~~^
foo.cc:28:18: warning: 's2' is used uninitialized in this function [-Wuninitialized]
  for(int i=0; a[i]!=0 && a[i+1]!=0; i++)
               ~~~^
foo.cc:28:31: warning: '*((void*)& s2 +1)' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int i=0; a[i]!=0 && a[i+1]!=0; i++)
                          ~~~~~^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect -13. 1ms 384.0 KiB
#2 Wrong Answer Read 0, expect -26. 1ms 384.0 KiB
#3 Wrong Answer Read 0, expect -28. 1ms 384.0 KiB
#4 Wrong Answer Read 0, expect -56. 1ms 384.0 KiB
#5 Wrong Answer Read 0, expect -112. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A8-3 字符串的统计函数
比赛
2020苏青奥赛集训营(2021-3-28课后作业)
语言
C++
递交时间
2021-03-28 13:19:27
评测时间
2021-03-28 13:19:27
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB