CrLf 当前离线
论坛巡查
@echo off&setlocal enabledelayedexpansion set max=0 for /f %%a in (test.txt) do if %%a gtr !max! set max=%%a echo 最大值为 %max% pause复制代码
@echo off (for /f %%a in (test.txt) do set /a "max+=!(max/%%a)*(%%a-max)") 2>nul echo 最大值为 %max% pause复制代码
评分人数
TOP