记录详情

Accepted

/in/foo.cc: In function 'int findPosIndex(std::vector<int>, int)':
/in/foo.cc:8:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i <= nums.size() - 1; i++) {
                  ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void sortWithLeastExchange(std::vector<int>&)':
/in/foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i <= nums.size() - 1; i++)
                  ~~^~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 312.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 1ms 192.0 KiB
#5 Accepted 2ms 312.0 KiB
#6 Accepted 4ms 208.0 KiB
#7 Accepted 7ms 308.0 KiB
#8 Accepted 12ms 320.0 KiB
#9 Accepted 18ms 328.0 KiB
#10 Accepted 40ms 320.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
比赛
小兰赛 2018/12/2
语言
C++
递交时间
2018-12-02 09:05:44
评测时间
2018-12-02 09:05:44
评测机
分数
100
总耗时
93ms
峰值内存
328.0 KiB