记录详情

Wrong Answer

foo.cc: In function 'int shu(char*)':
foo.cc:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:9:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%[^\n]%[^\n]",s1,s2);
    ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int shu(char*)':
foo.cc:18:10: warning: 'i' is used uninitialized in this function [-Wuninitialized]
  for(;s[i]!=0 ;i++)
          ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 9, expect -13. 2ms 384.0 KiB
#2 Wrong Answer Read 17, expect -26. 2ms 404.0 KiB
#3 Wrong Answer Read 17, expect -28. 2ms 412.0 KiB
#4 Wrong Answer Read 33, expect -56. 2ms 400.0 KiB
#5 Wrong Answer Read 65, expect -112. 2ms 384.0 KiB

信息

递交者
类型
递交
比赛
2020苏青奥赛集训营(2021-3-28课后作业)
语言
C++
递交时间
2021-03-30 13:55:30
评测时间
2021-03-30 13:55:30
评测机
分数
0
总耗时
10ms
峰值内存
412.0 KiB