/ 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 Memory Exceeded ≥890ms ≥512.016 MiB
#2 Accepted 3ms 384.0 KiB
#3 Memory Exceeded ≥919ms ≥512.016 MiB
#4 Time Exceeded ≥1100ms ≥384.0 KiB
#5 Time Exceeded ≥1056ms ≥512.016 MiB
#6 Time Exceeded ≥1121ms ≥512.016 MiB
#7 Time Exceeded ≥1100ms ≥384.0 KiB
#8 Time Exceeded ≥1117ms ≥512.016 MiB
#9 Time Exceeded ≥1101ms ≥384.0 KiB
#10 Time Exceeded ≥1100ms ≥384.0 KiB
#11 Time Exceeded ≥1001ms ≥256.0 KiB
#12 Time Exceeded ≥1100ms ≥512.0 KiB
#13 Time Exceeded ≥1031ms ≥512.016 MiB
#14 Time Exceeded ≥1168ms ≥512.016 MiB
#15 Accepted 211ms 384.0 KiB
#16 Time Exceeded ≥1099ms ≥384.0 KiB
#17 Time Exceeded ≥1100ms ≥384.0 KiB
#18 Time Exceeded ≥1115ms ≥512.016 MiB
#19 Time Exceeded ≥1088ms ≥512.016 MiB
#20 Time Exceeded ≥1085ms ≥512.016 MiB

信息

递交者
类型
递交
题目
P1505 信息学老师的失误
语言
C++
递交时间
2022-07-19 17:10:06
评测时间
2022-07-19 18:01:04
评测机
分数
10
总耗时
≥19514ms
峰值内存
≥512.016 MiB