Skip to content

Commit d225c81

Browse files
Add files via upload
1 parent de73769 commit d225c81

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Source/libgen.bat

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ exit /b 0
66
:array_qsort
77
(
88
echo set /a l=%%~2, h=%%~3, a=^^!h^^!-^^!l^^!+1, top=-1
9-
echo set ind=0
10-
echo :loop
11-
echo set stack[^^!ind^^!]=0
12-
echo if ^^!ind^^! GEQ ^^!a^^! goto end
13-
echo set /a ind+=1
14-
echo goto loop
9+
echo for /l %%%%i in (0 1^) do (set stack[%%%%i]=0
10+
echo if %%%%i GEQ ^^!a^^! goto end^)
1511
echo :end
1612
echo set /a top+=1
1713
echo set stack[^^!top^^!]=^^!l^^!

0 commit comments

Comments
 (0)