(晕了.....真晕,算出来是21966,不知对否...)
楼主给答案撒....
========================
答:
- @echo off
- setlocal enabledelayedexpansion
- set /a girl=7
- set /a big=7*2*7*7
- set /a smell=%big%*7
- call :j %girl% 2
- call :j %big% 4
- call :j %smell% 4
- echo %leg%
- pause
- exit
- :j
- for /l %%i in (1,1,%1) do (
- set /a leg=!leg!+%2)
复制代码
===============
end; |