- @echo off&setlocal enabledelayedexpansion
- set /a "Md=12*63+10000,$=1000"
- set "Hx=FEDCBA9876543210"
- for /l %%i in (1 1 5) do (
- set /a i+=$*10000
- set Len=!i!!Hx!
- set /a "N=0x!Len:~16,1!,Len=!i:~,8!%%Md,S=!i:~,8!/Md"
- for /l %%j in (8 1 !N!) do (
- set/a "Tem=!Len!!i:~%%j,1!/Md,Len=!Len!!i:~%%j,1!%%Md"
- set "S=!S!!Tem!"
- )
- set "Emp="
- for /l %%j in (0 1 3) do (
- set /a Len*=10,Tem=Len/md,Len%%=md
- set "Emp=!Emp!!Tem!"
- )
- set i=!S!!Emp!
- )
- echo !S!.!Emp!
- pause
复制代码
|