记录详情

Accepted

/in/foo.cc: In function 'void ifequal(std::vector<int>&, std::vector<int>&, std::vector<int>&)':
/in/foo.cc:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |     for (int i = 0; i < arr.size(); i++) {
      |                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'bool iftheend(std::vector<int>&, std::vector<int>&)':
/in/foo.cc:21:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |     for (int i = 0; i < arr.size(); i++) {
      |                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   63 |         for (int m = 0; m < arr.size(); m++) {
      |                         ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 472.0 KiB
#2 Accepted 1ms 532.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 492.0 KiB
#5 Accepted 4ms 544.0 KiB
#6 Accepted 11ms 552.0 KiB
#7 Accepted 22ms 560.0 KiB
#8 Accepted 37ms 584.0 KiB
#9 Accepted 56ms 592.0 KiB
#10 Accepted 144ms 632.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
语言
C++
递交时间
2025-03-25 20:51:03
评测时间
2025-03-25 20:51:03
评测机
分数
100
总耗时
284ms
峰值内存
632.0 KiB