本帖最后由 batman 于 2011-4-21 22:34 编辑
期待更多的解。。。。- @echo off&setlocal enabledelayedexpansion
- for /l %%a in (101,1,140) do set "a=%%a"&set "code=!code!#!a:~1!#"
- set /a num=40&set "#0=&echo,"
- for /f "skip=23" %%a in (%~0) do (
- set "str=%%a"&set /a h+=1
- for /l %%a in (0,1,7) do (
- set /a a=!random!%%num,num-=1,a*=4
- for %%b in (!a!) do (
- for %%b in ("!code:~%%b,4!") do (
- set "a=%%~b"&set "a=!a:#=!"&set "code=!code:%%~b=!"
- set /a a=1!a!%%100,hm=a/8+1-h,"lm=(a-1)%%8-%%a"
- for %%b in (h l) do if "!%%bm:-=!" equ "!%%bm!" set "%%bm= !%%bm!"
- set "_!a!=!str:~%%a,1!"&set ".!a!=!hm!:!lm!"
- )
- )
- )
- )
- for /l %%a in (1,1,40) do (
- set "a= !.%%a!"&set /a b=%%a%%8
- for %%b in (!b!) do set "var=!var!!_%%a!!#%%b!"&set "var1=!var1!!a:~-6!!#%%b!"
- )
- echo %var%&echo %var1%
- pause>nul&goto :eof
- 我们去北大踢球吧
- 快上那儿等着信号
- 你不能离开大门口
- 生与死就在一瞬间
- 青春已从身边溜走
复制代码
|