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.
22 lines
416 B
22 lines
416 B
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
using namespace std;
|
|
clock_t a1, a2;
|
|
|
|
inline int read() {
|
|
int x;
|
|
scanf("%d", &x);
|
|
return x;
|
|
}
|
|
|
|
int main() {
|
|
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;
|
|
}
|