记录详情

Accepted

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
foo.cc: In function 'void OutputEven(std::vector<int>&)':
foo.cc:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1082 xf1-5排序与删除
比赛
2022年迎新赛(第二场)
语言
C++
递交时间
2022-08-27 11:04:13
评测时间
2022-08-27 11:04:13
评测机
分数
100
总耗时
10ms
峰值内存
384.0 KiB