记录详情

Runtime Error

foo.cc: In function 'int getMinSwaps(std::vector<int>&)':
foo.cc:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |     for(int i=0;i<nums.size();i++)
      |                 ~^~~~~~~~~~~~
foo.cc:13:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |     for(int i=0;i<v.size();i++){
      |                 ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 384.0 KiB
#2 Runtime Error Segmentation fault 2ms 384.0 KiB
#3 Runtime Error Aborted 2ms 384.0 KiB
#4 Runtime Error Segmentation fault 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB
#6 Runtime Error Segmentation fault 3ms 384.0 KiB
#7 Runtime Error Segmentation fault 5ms 384.0 KiB
#8 Runtime Error Aborted 5ms 384.0 KiB
#9 Runtime Error Segmentation fault 8ms 512.0 KiB
#10 Runtime Error Segmentation fault 13ms 384.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 19:12:11
评测时间
2022-08-21 19:12:11
评测机
分数
0
总耗时
50ms
峰值内存
512.0 KiB