对拍.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; }
原文地址:https://www.cnblogs.com/cckk/p/9822983.html
时间: 2024-11-13 08:35:43