项目
「已注销」
这个作者很懒,什么都没留下…
展开
-
【C++练习】贪吃蛇
#include <iostream> #include <cstdio> #include <cstdlib> #include <ctime> #include <windows.h> #include <conio.h> #define N 28 #define UP 72 #define DOWN 80 #define LEFT 75 #define RIGHT 77 using names原创 2017-12-16 17:33:58 · 182 阅读 · 0 评论 -
简单的对拍程序
感觉在代码里加freopen太麻烦了 经常忘记删然后交上去RTE一发 ,不如写个批处理来重定向输入输出。 首先需要这样一个文件夹,AC放标程,WA放错误的程序,记得编译成exe。 .out文件、.bat文件可以用空记事本改后缀名创建。 Input.txt放测试数据。 然后我们右键编辑这个bat文件(不是双击),插入如下代码: @echo off WA.exe .txt > WA原创 2018-02-05 13:35:14 · 135 阅读 · 0 评论