CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion for /l %%a in (8 -1 0) do ( set /a "tmp=1<<%%a" set "str=!str!*(^!^!(!tmp!>>m)+^!(!tmp!>>m)*m)" ) for /l %%a in (1 1 9) do ( set /a m=%%a,"n=!str:~1!" echo !n! ) pause复制代码
TOP
ArdentMan 当前离线
中尉
applba 当前离线
中校
mxxcgzxxx (黑雨)当前离线
@echo off :1 set/p p= :2 ::平方原理 set /a a*=(a=p) echo %a% :3 ::3次方 set /a a*=(a=p)*a echo %a% :4 ::2次方的平方 set /a a*=(a*=(a=p)) echo %a% :5 ::2次方的平方+1 set /a a*=(a*=(a=p))*p echo %a% :6 ::2次方的3次方 set /a a*=(a*=(a=p))*a echo %a% :7 ::4次方的平方-1 set /a a*=(a*=(a*=(a=p)))/p echo %a% :8 ::4次方的平方 set /a a*=(a*=(a*=(a=p))) echo %a% :9 ::3次方的平方 set /a a*=(a*=(a=p)*a) echo %a% pause>nul :10 ::3次方的平方+1 set /a a*=(a*=(a=p)*a)*p echo %a% :11 ::4次方的3次方-1 set /a a*=(a*=(a=p)*a)*a/p echo %a% :12 ::4次方的3次方 set /a a*=(a*=(a=p)*a)*a echo %a% pause>nul goto :1复制代码