记录详情

Accepted

/in/foo.cc: In function 'void Bubble(std::vector<Student>&)':
/in/foo.cc:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i<ary_vtStudent.size() - 1; i++)
              ~^~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:25:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j = 0; j<ary_vtStudent.size() - 1 - i; j++)
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:57:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < ary_vtStudent.size(); i++)
                  ~~^~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 328.0 KiB
#5 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1041 OO10-2 基于vector的对象的排序
语言
C++
递交时间
2023-10-17 22:02:27
评测时间
2023-10-17 22:02:27
评测机
分数
100
总耗时
9ms
峰值内存
360.0 KiB