Runtime Error

foo.cc: In function ‘bool cmp(Node, Node)’:
foo.cc:10:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   10 |         return x.num<y.num||x.num==y.num&&x.id<y.id;
      |                             ~~~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1001ms ≥500.0 KiB
#2 Time Exceeded ≥1001ms ≥504.0 KiB
#3 Time Exceeded ≥1068ms ≥532.0 KiB
#4 Time Exceeded ≥1001ms ≥504.0 KiB
#5 Time Exceeded ≥1000ms ≥760.0 KiB
#6 Time Exceeded ≥1001ms ≥508.0 KiB
#7 Time Exceeded ≥1001ms ≥504.0 KiB
#8 Runtime Error Segmentation fault 1ms 504.0 KiB
#9 Runtime Error Segmentation fault 1ms 500.0 KiB
#10 Runtime Error Segmentation fault 3ms 504.0 KiB
#11 Runtime Error Segmentation fault 1ms 508.0 KiB
#12 Runtime Error Segmentation fault 1ms 504.0 KiB
#13 Runtime Error Segmentation fault 3ms 504.0 KiB
#14 Time Exceeded ≥1000ms ≥504.0 KiB
#15 Runtime Error Segmentation fault 3ms 508.0 KiB
#16 Runtime Error Segmentation fault 3ms 508.0 KiB
#17 Runtime Error Segmentation fault 3ms 484.0 KiB
#18 Runtime Error Segmentation fault 3ms 676.0 KiB
#19 Runtime Error Segmentation fault 2ms 500.0 KiB
#20 Runtime Error Segmentation fault 2ms 608.0 KiB
#21 Time Exceeded ≥1000ms ≥504.0 KiB
#22 Time Exceeded ≥1001ms ≥504.0 KiB
#23 Time Exceeded ≥1000ms ≥504.0 KiB
#24 Time Exceeded ≥1001ms ≥1.492 MiB
#25 Time Exceeded ≥1001ms ≥1.492 MiB

信息

递交者
类型
递交
题目
P2433 插入排序
语言
C++
递交时间
2025-07-19 14:08:51
评测时间
2025-07-19 14:08:51
评测机
分数
0
总耗时
13113ms
峰值内存
1.492 MiB