You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
441 B

#include <bits/stdc++.h>
using namespace std;
clock_t a1, a2;
inline int read() {
int x;
cin >> x;
return x;
}
int main() {
//优化输入
ios::sync_with_stdio(false);
freopen("D:/python/TangDou/QiuckReadWrite/a.txt", "r", stdin);
int a;
a1 = clock();
for (int i = 0; i < 100000; ++i) a = read();
a2 = clock();
cout << (double) (a2 - a1) / CLOCKS_PER_SEC;
return 0;
}