记录详情

Accepted

foo.cc: In member function 'void Array::putout()':
foo.cc:16:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |         for (int i = 0; i < arr.size(); ++i) {
      |                         ~~^~~~~~~~~~~~
foo.cc: In member function 'void Array::deleteAT(int)':
foo.cc:24:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 |         if(ii >= 0 && ii < arr.size()) {
      |                       ~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 332.0 KiB
#5 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1417 2 数组类+定点删除
比赛
2023春面向对象的程序设计方法实验(课程考试)
语言
C++
递交时间
2023-06-20 08:54:23
评测时间
2023-06-20 08:54:23
评测机
分数
100
总耗时
22ms
峰值内存
412.0 KiB