记录详情

Accepted

/in/foo.cc: In member function 'void Vector3Array::selectionSort()':
/in/foo.cc:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < arr.size() - 1; i++)
                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc:54:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int j = i + 1; j < arr.size(); j++)
                                 ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 316.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1018 OO4-2 向量的比较、赋值及向量集合类的排序
比赛
2024春 面向对象的程序设计方法(第2场作业赛)
语言
C++
递交时间
2024-04-04 21:22:47
评测时间
2024-04-04 21:22:47
评测机
分数
100
总耗时
7ms
峰值内存
364.0 KiB