zoukankan      html  css  js  c++  java
  • CMD命令实现数字雨

      首先,我们在桌面上先创建一个“.bat”格式的文件,文件名为“数字雨.bat”,创建好了之后右键点击编辑。

      在其中输入:

    @echo off
    
    title 数字雨
    
    color 0a
    
    setlocal ENABLEDELAYEDEXPANSION
    
    for /l %%i in (0) do (
    
    set "line="
    
    for /l %%j in (1,1,80) do (
    
    set /a Down%%j-=2
    
    set "x=!Down%%j!"
    
    if !x! LSS 0 (
    
    set /a Arrow%%j=!random!%%3
    
    set /a Down%%j=!random!%%15+10 )
    
    set "x=!Arrow%%j!"
    
    if "!x!" == "2" (
    
    set "line=!line!!random:~-1! "
    
    ) else (set "line=!line! ")
    
    )
    
    set /p=!line!<nul
    
    )

      返回后双击点击运行。

  • 相关阅读:
    MobileNet V1 V2
    异常检测 与 One Class SVM
    异常检测
    图像分割
    1x1卷积核的作用
    迁移学习
    python
    图像分割
    图像分割
    Nagios
  • 原文地址:https://www.cnblogs.com/dongshenjun/p/14168051.html
Copyright © 2011-2022 走看看