/ MYOJ /

记录详情

Memory Exceeded

foo.cc: In function 'std::vector<int> subct(std::vector<int>&, std::vector<int>&)':
foo.cc:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |     for(int i = 0; i < A.size(); i++){ //从低位开始相减
      |                    ~~^~~~~~~~~~
foo.cc:26:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |      if(i<B.size()) t-=B[i];
      |         ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥8ms ≥24.0 KiB
#2 Memory Exceeded ≥7ms ≥20.0 KiB
#3 Memory Exceeded ≥7ms ≥20.0 KiB
#4 Memory Exceeded ≥7ms ≥24.0 KiB
#5 Memory Exceeded ≥6ms ≥24.0 KiB
#6 Memory Exceeded ≥6ms ≥24.0 KiB
#7 Memory Exceeded ≥8ms ≥24.0 KiB
#8 Memory Exceeded ≥6ms ≥24.0 KiB
#9 Memory Exceeded ≥7ms ≥24.0 KiB
#10 Memory Exceeded ≥6ms ≥24.0 KiB

信息

递交者
类型
递交
题目
P1021 [7FOJ]高精度减法
语言
C++
递交时间
2022-06-17 17:36:48
评测时间
2022-06-17 17:36:48
评测机
分数
0
总耗时
≥74ms
峰值内存
≥24.0 KiB