记录详情

Memory Exceeded

foo.cc: In function 'int qsort(int, int)':
foo.cc:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
   35 | }
      | ^
foo.cc: In function 'int qsort1(int, int)':
foo.cc:64:1: warning: no return statement in function returning non-void [-Wreturn-type]
   64 | }
      | ^
foo.cc: In function 'int qsort(int, int)':
foo.cc:4:5: warning: infinite recursion detected [-Winfinite-recursion]
    4 | int qsort(int l,int r)
      |     ^~~~~
foo.cc:32:18: note: recursive call
   32 |             qsort(l,y);
      |             ~~~~~^~~~~
foo.cc:34:18: note: recursive call
   34 |             qsort(x,r);
      |             ~~~~~^~~~~
foo.cc: In function 'int qsort1(int, int)':
foo.cc:36:5: warning: infinite recursion detected [-Winfinite-recursion]
   36 | int qsort1(int l,int r)
      |     ^~~~~~
foo.cc:61:19: note: recursive call
   61 |             qsort1(l,y);
      |             ~~~~~~^~~~~
foo.cc:63:19: note: recursive call
   63 |             qsort1(x,r);
      |             ~~~~~~^~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥61ms ≥16.016 MiB
#2 Memory Exceeded ≥47ms ≥16.016 MiB
#3 Memory Exceeded ≥47ms ≥16.016 MiB
#4 Memory Exceeded ≥48ms ≥16.016 MiB
#5 Memory Exceeded ≥48ms ≥16.016 MiB
#6 Memory Exceeded ≥47ms ≥16.016 MiB
#7 Memory Exceeded ≥55ms ≥16.016 MiB
#8 Memory Exceeded ≥56ms ≥16.016 MiB
#9 Memory Exceeded ≥77ms ≥16.016 MiB
#10 Memory Exceeded ≥130ms ≥16.016 MiB

信息

递交者
类型
递交
题目
P2217 奶牛的选举
语言
C++
递交时间
2023-11-16 22:23:35
评测时间
2023-11-16 22:23:35
评测机
分数
0
总耗时
≥620ms
峰值内存
≥16.016 MiB