#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double ld;
#define all(x) begin(x), end(x)

const int N = 1e5;
mt19937 rnd;

int main() {
	
	auto st = chrono::system_clock::now();
	
	vector<int> v;
	for (int i = 0; i < N; ++i) {
		v.insert(v.begin(), rnd());
	}
	
    auto fn = chrono::system_clock::now();
    
    int h = 0;
    for (int e : v) {
		h = 3 * h + e;
	}
	
    cerr << "hash " << h << endl;
    cout << fixed << setprecision(1) << 1000 * chrono::duration<double>(fn - st).count() << endl;
	
	return 0;
}
