记录详情

Time Exceeded

foo.cc: In function 'std::__cxx11::string left(std::__cxx11::string, int)':
foo.cc:18:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = len; i < x.length(); i++)
                    ~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:31:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < x.length(); i++) {
                  ~~^~~~~~~~~~~~
foo.cc:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < x.length(); i++)
                  ~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 440.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 1ms 396.0 KiB
#4 Accepted 1ms 436.0 KiB
#5 Accepted 2ms 548.0 KiB
#6 Accepted 2ms 656.0 KiB
#7 Time Exceeded ≥2013ms ≥118.02 MiB
#8 Time Exceeded ≥1943ms ≥109.359 MiB
#9 Time Exceeded ≥5559ms ≥255.164 MiB
#10 Time Exceeded ≥5379ms ≥192.258 MiB

信息

递交者
类型
递交
题目
P1301 H. String Shifting
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 15:55:01
评测时间
2021-11-21 15:55:01
评测机
分数
100
总耗时
≥14909ms
峰值内存
≥255.164 MiB