Wrong Answer

foo.cc: In function ‘bool is_similar(std::string, std::string)’:
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<a.size();i++)
      |                     ~^~~~~~~~~
foo.cc:23:1: warning: control reaches end of non-void function [-Wreturn-type]
   23 | }
      | ^
# 状态 耗时 内存占用
#1 Wrong Answer Read not, expect similar. 2ms 324.0 KiB
#2 Wrong Answer User output longer than standard answer. 3ms 320.0 KiB
#3 Wrong Answer Read not, expect similar. 3ms 536.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P2628 相似字符串4级1 2024.3
语言
C++
递交时间
2024-06-27 14:04:16
评测时间
2024-06-27 14:04:16
评测机
分数
0
总耗时
14ms
峰值内存
536.0 KiB