代码:
#include<bits/stdc++.h>
#include<conio.h>
#include<windows.h>
using namespace std;
#define INF 0x3f3f
int res=0,a[6]={INF,INF,INF,INF,INF,INF};
int best_res=INF,best_a=INF;
int c_a=INF;
void Read_File();//读档
void Write_File();//存档
void hidden();//隐藏光标
int main()
{
Read_File();
printf("Measuring hand speed Game\n");
printf("Author : MCYH \n");
printf("Press any key to join the game.\n\n");
printf("Game Rule:\n");
printf("The screen will be green first. When it turns red, you should press 'space'.\n");
printf("DO NOT press ahead!!!\n");
_getch();
system("cls");
for(int i=1;i<=5;i++)
{
system("cls");