记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:22: 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 i=0;i<a.length();i++)
      |                     ~^~~~~~~~~~~
foo.cc:16:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |         for(int i=0;i<b.length();i++)
      |                     ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 13, expect -13. 3ms 764.0 KiB
#2 Wrong Answer Read 28, expect -28. 3ms 536.0 KiB
#3 Wrong Answer Read 26, expect -26. 3ms 324.0 KiB
#4 Wrong Answer Read 56, expect -56. 2ms 536.0 KiB
#5 Wrong Answer Read 112, expect -112. 2ms 328.0 KiB

信息

递交者
类型
递交
题目
P1028 A8-3 字符串的统计函数
语言
C++
递交时间
2024-03-21 13:54:11
评测时间
2024-03-21 13:54:11
评测机
分数
0
总耗时
15ms
峰值内存
764.0 KiB