/ MYOJ /

记录详情

Memory Exceeded

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

信息

递交者
类型
递交
题目
P1020 [7FOJ]高精度加法
语言
C++
递交时间
2022-06-18 15:09:09
评测时间
2022-06-18 15:09:09
评测机
分数
0
总耗时
≥98ms
峰值内存
≥24.0 KiB