对拍 bat命令快速模板

对拍.bat

@echo off
:loop
maker.exe > in.in
wq.exe < in.in > out.out
std.exe < in.in >stdout.out
fc out.out stdout.out
if %errorlevel%==0 goto loop
pause

 

空生成器模板.cpp

#include<iostream>
#include<cstdio>
#include<ctime>
#include<windows.h>
using namespace std;
int main()
{
    srand(GetTickCount());
    int n=rand()%5;
    return 0;
}

 

posted @ 2018-10-20 21:16  cckk4467  阅读(347)  评论(0编辑  收藏  举报