跳到正文

个人记录

linux

ReseeCher约 1 分钟
原文
文章信息与版本

文章信息

发布
2018年9月4日
收录
2026年6月23日
更新
2026年11月12日
篇幅
约 1 分钟

版本

  1. v1当前
  • 对拍

    a.sh

    代码
    while true
    do
        ./mk
        ./a
        ./b
        if diff a.out a.ans -w -B
        then
            echo AC
        else
            echo WA
            read -n 1
        fi
    done

    chmod +x a.sh

    ./a.sh


  • 命令行

代码
	ctrl+c
    ctrl+d 文件结束符(EOF)
    tab 自动补全
    & 后台运行
    ./a < a.in > a.out
原文
存档评论2 条抓取于