记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |         for (int i = 0; i < s.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 < t.size(); i++)
      |                         ~~^~~~~~~~~~
foo.cc:35:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |         for (i = 0, j = 0; j < t.size() && i < s.size(); i++)
      |                            ~~^~~~~~~~~~
foo.cc:35:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |         for (i = 0, j = 0; j < t.size() && i < s.size(); i++)
      |                                            ~~^~~~~~~~~~
foo.cc:37:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   37 |         if (j == t.size())
      |             ~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 3ms 268.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 344.0 KiB
#7 Accepted 2ms 328.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Accepted 2ms 284.0 KiB
#10 Accepted 2ms 304.0 KiB
#11 Accepted 9ms 580.0 KiB
#12 Accepted 6ms 540.0 KiB
#13 Accepted 2ms 284.0 KiB
#14 Accepted 2ms 332.0 KiB
#15 Accepted 2ms 284.0 KiB
#16 Accepted 3ms 284.0 KiB
#17 Accepted 3ms 284.0 KiB
#18 Accepted 3ms 284.0 KiB
#19 Accepted 3ms 284.0 KiB
#20 Accepted 11ms 460.0 KiB

信息

递交者
类型
递交
题目
P1402 Problem 4B. 后缀机器
比赛
悬赏令第四周
语言
C++
递交时间
2023-05-15 19:22:12
评测时间
2023-05-15 19:22:12
评测机
分数
120
总耗时
73ms
峰值内存
580.0 KiB