记录详情

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. 8273ms 636.0 KiB
#2 Wrong Answer Read Yes, expect No. 8081ms 756.0 KiB
#3 Wrong Answer Read Yes, expect No. 7888ms 604.0 KiB
#4 Wrong Answer Read Yes, expect No. 9202ms 704.0 KiB
#5 Wrong Answer Read Yes, expect No. 7597ms 596.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-17 16:15:28
评测时间
2021-12-17 16:15:28
评测机
分数
0
总耗时
41042ms
峰值内存
756.0 KiB