记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:26:9: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |  while(i<va.size() && j<vb.size())
      |        ~^~~~~~~~~~
foo.cc:26:24: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |  while(i<va.size() && j<vb.size())
      |                       ~^~~~~~~~~~
foo.cc:31:9: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |  while(i<va.size()) vc.push_back(va[i++]);
      |        ~^~~~~~~~~~
foo.cc:32:9: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   32 |  while(j<vb.size()) vc.push_back(vb[j++]);
      |        ~^~~~~~~~~~
foo.cc:33:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |  for(ll i = 0;i<vc.size();i++)
      |               ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 396.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1050 OO11-2 vector<int>中的有序插入
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-05-02 23:02:41
评测时间
2022-05-02 23:02:41
评测机
分数
100
总耗时
11ms
峰值内存
396.0 KiB