/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'std::vector<int> iadd(std::vector<int>, std::vector<int>)':
foo.cc:11:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |         for(int i = 0; i < v2.size(); i++) {
      |                        ~~^~~~~~~~~~~
foo.cc:15:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |         for(int i = v2.size(); i < v1.size(); i++) {
      |                                ~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1a2,3 > 14 > 9828 4ms 412.0 KiB
#2 Runtime Error Segmentation fault 5ms 412.0 KiB
#3 Wrong Answer 1a2,24 > 2 > 2 > 4 > 4 > 6 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1136 数的计数(加强版)
语言
C++
递交时间
2023-09-08 15:16:44
评测时间
2023-09-08 15:16:44
评测机
分数
0
总耗时
13ms
峰值内存
412.0 KiB