C语言的库可以加.h,c++的库要去掉.h,加using namespace std;
#include <stdio.h>#include <time.h>
#include <iostream>using namespace std;