记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(now5==str.size()-1) {
     ~~~~^~~~~~~~~~~~~~
foo.cc:13:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=now5;i!=str.size();i++)
             ~^~~~~~~~~~~~
foo.cc:8:35: warning: unused variable 'j' [-Wunused-variable]
  int last5=0,now5=str.find('5'),i,j;
                                   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Wrong Answer Read 38401, expect 41261. 1ms 384.0 KiB

信息

递交者
类型
自测
题目
P1290 C. Young Man Do Not Say Five
语言
C++
递交时间
2021-11-21 14:26:20
评测时间
2021-11-21 14:26:20
评测机
分数
20
总耗时
5ms
峰值内存
384.0 KiB