记录详情

Wrong Answer

/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 Wrong Answer 1ms 388.0 KiB
#2 Wrong Answer 1ms 388.0 KiB
#3 Wrong Answer 1ms 344.0 KiB
#4 Wrong Answer 1ms 344.0 KiB
#5 Wrong Answer 1ms 352.0 KiB

信息

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