记录详情

Accepted

/in/foo.cc: In function 'void sort(std::vector<int>&)':
/in/foo.cc:7:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s2.size();i++)
              ~^~~~~~~~~~
/in/foo.cc:9:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s2.size()-i-1;j++)
               ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'void minChange(std::vector<int>&)':
/in/foo.cc:25:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0; i<s1.size();i++)
               ~^~~~~~~~~~
/in/foo.cc:27:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<s2.size();j++)
               ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 2ms 316.0 KiB
#4 Accepted 2ms 328.0 KiB
#5 Accepted 4ms 316.0 KiB
#6 Accepted 8ms 320.0 KiB
#7 Accepted 18ms 328.0 KiB
#8 Accepted 26ms 440.0 KiB
#9 Accepted 42ms 432.0 KiB
#10 Accepted 108ms 456.0 KiB

信息

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