3.4

使用<time.h>和(double)clock()/clocks_per_sec
查询程序运行时间

定义最大最小值
max=-INF , min = INF

文件重定向
#define LOCAL
#define INF 1000000000
#indef LOCAL
freopen(“data.in",“r”,stdin)
freopen (“data.out”,“w”,stdout)

猜你喜欢

转载自blog.csdn.net/weixin_44606572/article/details/88198666
3.4