记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
P1402 Problem 4B. 后缀机器
比赛
悬赏令第四周
语言
C++
递交时间
2023-05-15 20:25:59
评测时间
2023-05-15 20:25:59
评测机
分数
90
总耗时
75ms
峰值内存
540.0 KiB