第一题
将后面的头文件全部放入第一题中
#pragma once
#ifdef SIXTH_2
#include <stdio.h>
#define TIAOHE(X,Y) (1/((1/(X)+1/(Y))/2))
#endif
#ifdef SIXTH_3
#include <stdio.h>
#include <math.h>
#define PI 3.14159
#define Radian(A) ((A)*PI/180)
#define CoordinateX(R,Y) ((R)*cos(Radian(Y)))
#define CoordinateY(R,Y) ((R)*sin(Radian(Y)))
typedef struct{
double novecter;
double angle;
}PolarCoor;
typedef struct{
double x;
double y;
}Coordinate;
extern Coordinate Angle_Coor(PolarCoor therr);
#endif
#ifdef SIXTH_4
#include <stdio.h>
#include <time.h>
extern void time_yc(const double tim);
#endif
#ifdef SIXTH_5
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
#include <string.h>
#define SHILI 30
#define RAND(X,Y) (rand()%((Y)-(X)+1)+(X))
extern void rand_num_one(const int* name_name, int name_time, int name_num);
#endif
#ifdef SIXTH_6
#include <stdio.h>
#include <stdlib.h>