/ /

记录详情

Runtime Error

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:5:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0; i<v.size(); i++)
                  ~^~~~~~~~~
foo.cc: In function 'void FindAsc(std::vector<int>&, std::vector<int>&)':
foo.cc:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<v.size();i++)
                 ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:48:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i+2<si1.size(); i+=2)
              ~~~^~~~~~~~~~~
foo.cc:51:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0; i+2<si2.size(); i+=2)
              ~~~^~~~~~~~~~~
foo.cc:39:25: warning: 'n1' is used uninitialized in this function [-Wuninitialized]
     vector<int> v1(a1,a1+n1);
                       ~~^~~
foo.cc:41:25: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized]
     vector<int> v2(a2,a2+n2);
                       ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 384.0 KiB
#2 Runtime Error Segmentation fault 2ms 384.0 KiB
#3 Runtime Error Segmentation fault 1ms 384.0 KiB
#4 Runtime Error Segmentation fault 1ms 384.0 KiB
#5 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1089 A10-2 有序子序列的合并
语言
C++
递交时间
2021-07-16 20:14:44
评测时间
2021-07-16 20:14:44
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB