标签:names space name style fine end ace int div
1 #include <bits/stdc++.h> 2 #define maxn 1000005 3 4 typedef long long ll; 5 6 using namespace std; 7 8 clock_t start,stop; 9 10 ll a[maxn]; 11 void kk() 12 { 13 for(int i = 1; i <= 1000000; i ++) 14 { 15 a[i] = i; 16 } 17 } 18 int main() 19 { 20 double t; 21 start = clock(); 22 kk(); 23 stop = clock(); 24 t = ((double)(stop - start)) / CLK_TCK; 25 cout << t << endl; 26 return 0; 27 }
标签:names space name style fine end ace int div
原文地址:https://www.cnblogs.com/WINDZLY/p/9940193.html