/ Vijos /

记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |      for(len=1;len<=s.size();len++)
      |                ~~~^~~~~~~~~~
foo.cc:33:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |         for(i=0;i<s.size();++i)
      |                 ~^~~~~~~~~
foo.cc:35:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 |         if(i>=s.size()) break;
      |            ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1123ms ≥421.492 MiB
#2 Accepted 5ms 384.0 KiB
#3 Time Exceeded ≥1129ms ≥432.867 MiB
#4 Time Exceeded ≥1097ms ≥384.0 KiB
#5 Memory Exceeded ≥693ms ≥512.02 MiB
#6 Memory Exceeded ≥544ms ≥512.02 MiB
#7 Time Exceeded ≥1099ms ≥384.0 KiB
#8 Memory Exceeded ≥681ms ≥512.02 MiB
#9 Time Exceeded ≥1098ms ≥512.0 KiB
#10 Time Exceeded ≥1065ms ≥384.0 KiB
#11 Time Exceeded ≥1097ms ≥512.0 KiB
#12 Time Exceeded ≥1100ms ≥384.0 KiB
#13 Memory Exceeded ≥480ms ≥512.02 MiB
#14 Memory Exceeded ≥593ms ≥512.02 MiB
#15 Accepted 303ms 384.0 KiB
#16 Time Exceeded ≥1100ms ≥384.0 KiB
#17 Time Exceeded ≥1100ms ≥384.0 KiB
#18 Memory Exceeded ≥798ms ≥512.02 MiB
#19 Memory Exceeded ≥768ms ≥512.02 MiB
#20 Memory Exceeded ≥644ms ≥512.02 MiB

信息

递交者
类型
递交
题目
P1505 信息学老师的失误
语言
C++
递交时间
2022-04-30 22:38:15
评测时间
2022-04-30 22:38:15
评测机
分数
10
总耗时
≥16526ms
峰值内存
≥512.02 MiB