/ /

记录详情

Compile Error

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:12: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:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<v.size();i++)
                 ~^~~~~~~~~
foo.cc: In function 'void MergeSubs(std::vector<int>&)':
foo.cc:32:2: error: expected ';' before 'for'
  for(i=0;i+2<si.size();i+=2)
  ^~~
foo.cc:32:10: error: 'i' was not declared in this scope
  for(i=0;i+2<si.size();i+=2)
          ^
foo.cc:32:10: note: suggested alternative: 'si'
  for(i=0;i+2<si.size();i+=2)
          ^
          si
[Hydro](https://hydro.ac)提供评测服务

信息

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