Wrong Answer

foo.cc: In function 'int longestS(std::string)':
foo.cc:17:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   17 |   if(maxs.length()>maxn)
      |      ~~~~~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,7d0 < a -1 < a 0 < a 0 < a 0 4ms 384.0 KiB
#2 Wrong Answer 1,7d0 < s -1 < sj -1 < sjd -1 3ms 384.0 KiB
#3 Wrong Answer 1,16d0 < k -1 < ku -1 < kud -1 2ms 384.0 KiB
#4 Wrong Answer 1,11d0 < a -1 < ab -1 < abc -1 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1108 无重复最长子串
语言
C++
递交时间
2022-07-18 13:17:52
评测时间
2022-07-18 13:17:52
评测机
分数
0
总耗时
11ms
峰值内存
384.0 KiB