记录详情

Accepted

/in/foo.cc: In member function 'void ComplexArray::BubbleSort()':
/in/foo.cc:51:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < array.size()-1;i++)//!!!array.size() - 1
                   ~~^~~~~~~~~~~~~~~~
/in/foo.cc:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j = 0; j < array.size()-i-1; j++)//!!!array.size()-i-1
                    ~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 380.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1013 OO2-3 复数数组类的冒泡排序
语言
C++
递交时间
2024-04-21 14:38:20
评测时间
2024-04-21 14:38:20
评测机
分数
100
总耗时
8ms
峰值内存
380.0 KiB