【模板】常用骗分、对拍
作者:互联网
C++版本:
常用骗分
#include<algorithm>
next_permutation(a+1,a+n+1);//下一个全排列
random_shuffle(a+1,a+n+1);//随机洗牌
对拍
:loop
sj.exe
baoli.exe
main.exe
fc %errorlevel% == 1 pause
goto loop
随机数生成
#include<ctime>
#include<cstdlib>
srand(time(NULL));
int n=rand()%17;
标签:骗分,常用,exe,shuffle,模板,include,loop 来源: https://www.cnblogs.com/JihuiPeng/p/13686138.html