/ MYOJ /

记录详情

Memory Exceeded

foo.cc: In function 'std::vector<int> add(std::vector<int>&, std::vector<int>&)':
foo.cc:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     for (int i = 0; i < A.size(); i ++ )
      |                     ~~^~~~~~~~~~
foo.cc:15:15: 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 ≥7ms ≥24.0 KiB
#2 Memory Exceeded ≥6ms ≥20.0 KiB
#3 Memory Exceeded ≥6ms ≥24.0 KiB
#4 Memory Exceeded ≥6ms ≥20.0 KiB
#5 Memory Exceeded ≥10ms ≥24.0 KiB
#6 Memory Exceeded ≥10ms ≥24.0 KiB
#7 Memory Exceeded ≥11ms ≥24.0 KiB
#8 Memory Exceeded ≥7ms ≥24.0 KiB
#9 Memory Exceeded ≥7ms ≥24.0 KiB
#10 Memory Exceeded ≥9ms ≥24.0 KiB

信息

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