Wrong Answer

foo.cc: In function 'void quicks(int*, int, int)':
foo.cc:86:14: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
   86 |   pos=segment(a,start,pos-1);
      |       ~~~~~~~^~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:86:14: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
   86 |   pos=segment(a,start,pos-1);
      |       ~~~~~~~^~~~~~~~~~~~~~~
foo.cc:83:6: note: 'pos' was declared here
   83 |  int pos;
      |      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 78, expect 92. 5ms 384.0 KiB
#2 Wrong Answer Read 56, expect 99. 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1166 快速排序
语言
C++
递交时间
2021-12-11 19:24:09
评测时间
2021-12-11 19:24:09
评测机
分数
0
总耗时
10ms
峰值内存
384.0 KiB