记录详情

Accepted

/in/foo.cc: In member function 'void BigIntArray::sortArray()':
/in/foo.cc:56:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<BigInt>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   56 |         for (int i = 0; i < array.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
/in/foo.cc:57:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<BigInt>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   57 |             for (int j = i + 1; j < array.size(); j++) {
      |                                 ~~^~~~~~~~~~~~~~
/in/foo.cc: In member function 'void BigIntArray::printArray() const':
/in/foo.cc:66:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<BigInt>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   66 |         for (int i = 0; i < array.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 1ms 324.0 KiB
#3 Accepted 1ms 324.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 1ms 536.0 KiB

信息

递交者
类型
递交
题目
P1025 OO6-3 高精度整数集合类的插入排序
比赛
2024级《面向对象的方法与实践》第二次作业
语言
C++
递交时间
2025-03-23 21:14:18
评测时间
2025-03-23 21:14:18
评测机
分数
100
总耗时
8ms
峰值内存
536.0 KiB