记录详情

Accepted

foo.cc: In function 'bool check()':
foo.cc:23:20: 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<s.length(); i++) {
      |                   ~^~~~~~~~~~~
foo.cc:39:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   39 |     for (int i=0; i<t.length(); i++) {
      |                   ~^~~~~~~~~~~
foo.cc: In function 'bool solve()':
foo.cc:48:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   48 |     for (int i=0; i<t.size(); i++) {
      |                   ~^~~~~~~~~
foo.cc:51:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   51 |         if(k==_map[t[i]].size()) return 0;
      |            ~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 2ms 328.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Accepted 2ms 284.0 KiB
#10 Accepted 2ms 284.0 KiB
#11 Accepted 14ms 1.027 MiB
#12 Accepted 7ms 540.0 KiB
#13 Accepted 2ms 284.0 KiB
#14 Accepted 3ms 284.0 KiB
#15 Accepted 3ms 412.0 KiB
#16 Accepted 3ms 456.0 KiB
#17 Accepted 4ms 412.0 KiB
#18 Accepted 4ms 412.0 KiB
#19 Accepted 6ms 540.0 KiB
#20 Accepted 17ms 1.152 MiB

信息

递交者
类型
递交
题目
P1402 Problem 4B. 后缀机器
比赛
悬赏令第四周
语言
C++
递交时间
2023-05-17 09:43:22
评测时间
2023-05-17 09:43:22
评测机
分数
120
总耗时
93ms
峰值内存
1.152 MiB