记录详情

Accepted

/in/foo.cc: In member function 'void UseVector::sort()':
/in/foo.cc:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<data.size()-1;i++)
               ~^~~~~~~~~~~~~~
/in/foo.cc:46:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int j = i+1; j < data.size(); j++)
                      ~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'void UseVector::print()':
/in/foo.cc:59:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < data.size(); i++)
                   ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 216.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1041 OO10-2 基于vector的对象的排序
语言
C++
递交时间
2019-06-27 21:59:06
评测时间
2019-06-27 21:59:06
评测机
分数
100
总耗时
8ms
峰值内存
220.0 KiB