xxx3212 当前离线
六级士官
TOP
随风 当前离线
荣誉版主
youxi01 当前离线
@echo off for /l %%a in (1,1,100) do ( for /l %%b in (1,1,100) do ( echo %%a和%%b重复! )) pause复制代码
for /l %%a in (1,1,100) do ( for /l %%b in (1,1,100) do ( set error=0 if not %%a==%%b if !n%%a!==!n%%b! set error=1 if !error!==1 echo %%a和%%b重复! ) ) pause复制代码