记录详情

Runtime Error

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

信息

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