battab 当前离线
一级士官
@echo off for /l %%a in (0,1,1) do ( for /l %%i in (0,1,9) do ( for /l %%j in (0,1,%%i) do set /p=%%j<nul echo= ) ) pause复制代码
评分人数
weichenxiehou 当前离线
上尉
@echo off&setlocal enabledelayedexpansion set "space= " for /l %%i in (0,1,9) do ( set/a n=10-%%i,m=%%i-1 for %%z in (!n!) do set t=!space:~,%%z! for /l %%j in (0,1,!m!) do set /p=%%j<nul set/p=%%i!t!<nul for /l %%j in (0,1,%%i) do set /p=%%j<nul echo, ) pause复制代码
TOP
apang 当前离线
上将
@echo off & setlocal enabledelayedexpansion for /l %%i in (0 1 9) do set "sp=!sp! " for /l %%i in (0 1 9) do ( set "s=" for /l %%j in (0 1 %%i) do set "s=!s!%%j" set "str=!s!!sp!" echo,!str:~,11!!s! ) pause复制代码
CrLf 当前离线
论坛巡查
@echo off %1 cmd /v /c @%0 :|more /t11&pause&exit for /f "delims=U" %%a in ('cmd /u /c echo 唉') do set "tab=%%a" for /l %%a in (0 1 9) do set str=!str!%%a&echo !str!!tab!!str!复制代码
simon4055 当前离线
列兵
terse 当前离线
中将
@echo off&setlocal enabledelayedexpansion for /l %%i in (0 1 9) do set "sp=!sp! " for /l %%i in (0 1 9) do ( set "str=!str!%%i" echo !str!!sp:~%%i!!str! ) pause复制代码
mq0036 当前离线
@echo off for /l %%i in (0,1,9) do ( for /l %%j in (0,1,1) do ( for /l %%k in (0,1,10) do ( if %%k leq %%i (set /p =%%k<nul) else (set /p = <nul) ) ) echo. ) echo.复制代码
DAIC 当前离线
@echo off for /l %%i in (0,1,9) do ( for /l %%j in (0,1,1) do ( for /l %%k in (0,1,10) do ( if %%k leq %%i ( set /p =%%k<nul ) else ( set /p = <nul ) ) ) echo. ) echo.复制代码