Runtime Error

foo.cc: In function ‘bool cmp(t, t)’:
foo.cc:13:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   13 |         return a.x<b.x||a.x==b.x&&a.y<b.y;
      |                         ~~~~~~~~^~~~~~~~~
foo.cc: In function ‘int read()’:
foo.cc:16:15: warning: unused variable ‘f’ [-Wunused-variable]
   16 |         int x,f;
      |               ^
foo.cc: In function ‘int main()’:
foo.cc:41:33: warning: unused variable ‘u’ [-Wunused-variable]
   41 |                         int k,l,u;k=read();l=read();
      |                                 ^
foo.cc: In function ‘int read()’:
foo.cc:20:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
   20 |                 x=x*10+ch-'0';
      |                   ~^~~
foo.cc:16:13: note: ‘x’ was declared here
   16 |         int x,f;
      |             ^
In function ‘int read()’,
    inlined from ‘int main()’ at foo.cc:38:15:
foo.cc:20:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
   20 |                 x=x*10+ch-'0';
      |                   ~^~~
foo.cc: In function ‘int main()’:
foo.cc:16:13: note: ‘x’ was declared here
   16 |         int x,f;
      |             ^
In function ‘int read()’,
    inlined from ‘int main()’ at foo.cc:41:20:
foo.cc:20:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
   20 |                 x=x*10+ch-'0';
      |                   ~^~~
foo.cc: In function ‘int main()’:
foo.cc:16:13: note: ‘x’ was declared here
   16 |         int x,f;
      |             ^
In function ‘int read()’,
    inlined from ‘int main()’ at foo.cc:41:29:
foo.cc:20:20: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
   20 |                 x=x*10+ch-'0';
      |                   ~^~~
foo.cc: In function ‘int main()’:
foo.cc:16:13: note: ‘x’ was declared here
   16 |         int x,f;
      |             ^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 504.0 KiB
#2 Runtime Error Segmentation fault 2ms 760.0 KiB
#3 Wrong Answer On line 1: Read (EOF), expect 10. 3ms 504.0 KiB
#4 Wrong Answer On line 1: Read (EOF), expect 7. 3ms 504.0 KiB
#5 Time Exceeded ≥1001ms ≥504.0 KiB
#6 Runtime Error Segmentation fault 2ms 508.0 KiB
#7 Time Exceeded ≥1000ms ≥504.0 KiB
#8 Time Exceeded ≥1001ms ≥504.0 KiB
#9 Runtime Error Segmentation fault 2ms 504.0 KiB
#10 Time Exceeded ≥1001ms ≥508.0 KiB
#11 Time Exceeded ≥1000ms ≥760.0 KiB
#12 Runtime Error Segmentation fault 2ms 504.0 KiB
#13 Time Exceeded ≥1001ms ≥504.0 KiB
#14 Time Exceeded ≥1000ms ≥504.0 KiB
#15 Runtime Error Segmentation fault 1ms 508.0 KiB
#16 Runtime Error Segmentation fault 1ms 504.0 KiB
#17 Time Exceeded ≥1064ms ≥504.0 KiB
#18 Runtime Error Segmentation fault 1ms 504.0 KiB
#19 Runtime Error Segmentation fault 2ms 508.0 KiB
#20 Time Exceeded ≥1001ms ≥504.0 KiB
#21 Time Exceeded ≥1001ms ≥504.0 KiB
#22 Time Exceeded ≥1001ms ≥504.0 KiB
#23 Time Exceeded ≥1000ms ≥1.48 MiB
#24 Time Exceeded ≥1001ms ≥1.492 MiB
#25 Time Exceeded ≥1001ms ≥1016.0 KiB

信息

递交者
类型
递交
题目
P2433 插入排序
语言
C++
递交时间
2025-07-18 15:02:49
评测时间
2025-07-18 15:02:49
评测机
分数
0
总耗时
14104ms
峰值内存
1.492 MiB