记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |         for (int i = 0; i < str2.size(); i++)
      |                         ~~^~~~~~~~~~~~~
foo.cc:23:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |         for (int i = 0; i < str1.size(); i++)
      |                         ~~^~~~~~~~~~~~~
foo.cc:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |                 if (j < str2.size()&&str1[i] == str2[j])
      |                     ~~^~~~~~~~~~~~~
foo.cc:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   40 |                 if (j == str2.size())
      |                     ~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 332.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 3ms 284.0 KiB
#8 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#9 Accepted 2ms 284.0 KiB
#10 Wrong Answer Read automation, expect automaton. 2ms 328.0 KiB
#11 Accepted 13ms 540.0 KiB
#12 Accepted 9ms 540.0 KiB
#13 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#14 Wrong Answer Read automation, expect automaton. 3ms 284.0 KiB
#15 Wrong Answer Read automation, expect automaton. 3ms 332.0 KiB
#16 Accepted 3ms 284.0 KiB
#17 Accepted 3ms 284.0 KiB
#18 Accepted 4ms 348.0 KiB
#19 Wrong Answer Read automation, expect automaton. 4ms 332.0 KiB
#20 Accepted 13ms 460.0 KiB

信息

递交者
类型
递交
题目
P1402 Problem 4B. 后缀机器
比赛
悬赏令第四周
语言
C++
递交时间
2023-05-16 10:40:45
评测时间
2023-05-16 10:40:45
评测机
分数
78
总耗时
87ms
峰值内存
540.0 KiB