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)提供评测服务