记录详情

Wrong Answer

foo.cc: In function 'bool check(std::string&, int)':
foo.cc:23:34: 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 = s.size() - k; i < s.size(); ++i) {
      |                                ~~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   43 |         for (int i = 0; i <= str.size() - k; ++i) {
      |                         ~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read Yes, expect No. 7624ms 752.0 KiB
#2 Wrong Answer Read Yes, expect No. 8181ms 672.0 KiB
#3 Wrong Answer Read Yes, expect No. 7815ms 708.0 KiB
#4 Wrong Answer Read Yes, expect No. 9967ms 668.0 KiB
#5 Wrong Answer Read Yes, expect No. 7862ms 692.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-17 16:23:26
评测时间
2021-12-17 16:23:26
评测机
分数
0
总耗时
41451ms
峰值内存
752.0 KiB