ads350668398 当前离线
五级士官
@echo off&setlocal enabledelayedexpansion set r=01 ::for /l %%a in (101,1,105) do ( for /l %%a in (101,01,105) do ( set /a "r=(r-01+03*04/02)%%34" echo !r!>>随机数.txt )复制代码
DAIC 当前离线
中将
@echo off setlocal enabledelayedexpansion set r=101 (for /l %%a in (101,1,105) do ( set /a "r=(r-1+3*4/2)%%134" echo !r:~1! ))>随机数.txt复制代码
TOP
523066680 (消遣区)当前离线
版主
CrLf 当前离线
论坛巡查
@echo off setlocal enabledelayedexpansion set r=101 (for /l %%a in (101,1,105) do ( set /a "r=(r-1+3*4/2)%%34,r1=r%%10,r2=r/10" echo !r1!!r2! ))>随机数.txt复制代码
amwfjhh 当前离线
六级士官
@echo off&setlocal enabledelayedexpansion set r=1 for /l %%a in (1,1,5) do ( set /a "r=(r-1+3*4/2)%%34" set strR=0000!r! echo !strR:~-2!>>随机数.txt ) pause复制代码
amberhill 当前离线
列兵
IF !r! LSS 10 (set r=0!r!)复制代码