Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for(int i=0;i<str.size();i++)
      |                     ~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 5ms 412.0 KiB
#4 Accepted 5ms 412.0 KiB
#5 Accepted 4ms 420.0 KiB
#6 Accepted 14ms 444.0 KiB
#7 Accepted 39ms 412.0 KiB
#8 Accepted 53ms 508.0 KiB
#9 Accepted 518ms 1.391 MiB
#10 Wrong Answer Read 92679939, expect 4387647235. 699ms 2.309 MiB

信息

递交者
类型
递交
题目
P2460 亲朋数
比赛
2023CSP热身2
语言
C++
递交时间
2023-10-01 20:48:27
评测时间
2023-10-03 12:53:16
评测机
分数
90
总耗时
1348ms
峰值内存
2.309 MiB