记录详情

Runtime Error

foo.cc: In function 'bool Judge1(int, int, int, int, std::string)':
foo.cc:10:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |   for(int i=0;i<t.length();i++)
      |               ~^~~~~~~~~~~
foo.cc:15:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |         for(int j=i;j<t.length();j++)
      |                     ~^~~~~~~~~~~
foo.cc:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |         for(int j=i;j<t.length();j++)
      |                     ~^~~~~~~~~~~
foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
   29 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 412.0 KiB

信息

递交者
类型
自测
题目
P1424 1-2 狗和猫
语言
C++
递交时间
2023-07-03 09:46:55
评测时间
2023-07-03 09:46:55
评测机
分数
0
总耗时
4ms
峰值内存
412.0 KiB