Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:11:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   11 |                 for(int j=1;j<=s.size();j++)
      |                             ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer On line 1: Read banana, expect apple. 2ms 504.0 KiB
#2 Wrong Answer On line 1: Read Apple, expect apple. 2ms 504.0 KiB
#3 Wrong Answer On line 1: Read banana, expect apple. 2ms 760.0 KiB
#4 Wrong Answer On line 1: Read banana, expect apple. 2ms 536.0 KiB
#5 Wrong Answer On line 1: Read banana, expect apple. 2ms 504.0 KiB
#6 Accepted 2ms 484.0 KiB
#7 Wrong Answer On line 1: Read Apple, expect apple. 1ms 492.0 KiB
#8 Wrong Answer On line 1: Read banana, expect apple. 2ms 504.0 KiB
#9 Wrong Answer On line 1: Read Apple, expect apple. 2ms 488.0 KiB
#10 Wrong Answer On line 1: Read Ooo, expect ooo. 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P2883 词频统计
语言
C++
递交时间
2025-04-05 15:21:48
评测时间
2025-04-05 15:21:48
评测机
分数
10
总耗时
23ms
峰值内存
760.0 KiB