/ 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 ≥672ms ≥512.016 MiB
#2 Accepted 3ms 284.0 KiB
#3 Memory Exceeded ≥696ms ≥512.016 MiB
#4 Time Exceeded ≥1100ms ≥284.0 KiB
#5 Memory Exceeded ≥552ms ≥512.016 MiB
#6 Memory Exceeded ≥517ms ≥512.016 MiB
#7 Time Exceeded ≥1100ms ≥284.0 KiB
#8 Memory Exceeded ≥576ms ≥512.016 MiB
#9 Time Exceeded ≥1101ms ≥284.0 KiB
#10 Time Exceeded ≥1100ms ≥284.0 KiB
#11 Time Exceeded ≥1001ms ≥284.0 KiB
#12 Time Exceeded ≥1101ms ≥284.0 KiB
#13 Memory Exceeded ≥446ms ≥512.016 MiB
#14 Memory Exceeded ≥469ms ≥512.016 MiB
#15 Accepted 291ms 336.0 KiB
#16 Time Exceeded ≥1100ms ≥284.0 KiB
#17 Time Exceeded ≥1100ms ≥284.0 KiB
#18 Memory Exceeded ≥463ms ≥512.016 MiB
#19 Memory Exceeded ≥431ms ≥512.016 MiB
#20 Memory Exceeded ≥572ms ≥512.016 MiB

信息

递交者
类型
递交
题目
P1505 信息学老师的失误
语言
C++
递交时间
2023-05-15 18:45:54
评测时间
2023-05-15 18:45:54
评测机
分数
10
总耗时
≥14401ms
峰值内存
≥512.016 MiB