Time Exceeded

foo.cc: In function 'int main()':
foo.cc:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |         for(int i=0;i<s.size();i++)
      |                     ~^~~~~~~~~
foo.cc:14:30: 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<s.size();j++)
      |                             ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 408.0 KiB
#3 Accepted 9ms 412.0 KiB
#4 Accepted 22ms 412.0 KiB
#5 Accepted 365ms 432.0 KiB
#6 Accepted 991ms 412.0 KiB
#7 Time Exceeded ≥1601ms ≥412.0 KiB
#8 Time Exceeded ≥1601ms ≥412.0 KiB
#9 Time Exceeded ≥1601ms ≥1.422 MiB
#10 Time Exceeded ≥1600ms ≥1.43 MiB

信息

递交者
类型
递交
题目
P2460 亲朋数
比赛
2023CSP热身2
语言
C++
递交时间
2023-10-01 20:40:50
评测时间
2023-10-03 12:51:10
评测机
分数
60
总耗时
≥7802ms
峰值内存
≥1.43 MiB