#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(x) begin(x), end(x)
const int N = 1e4;
mt19937 rnd;
double a[N], b[N];
int main() {
for (int i = 0; i < N; ++i) {
a[i] = rnd();
}
for (int i = 0; i < N; ++i) {
b[i] = rnd();
}
auto st = chrono::system_clock::now();
double h = 0;
for (int it = 0; it < N; ++it) {
for (int i = 0; i < N; ++i) {
double cur = sqrt(a[i]);
h += cur;
}
}
auto fn = chrono::system_clock::now();
assert(h != 19);
cout << fixed << setprecision(1) << 1000 * chrono::duration<double>(fn - st).count() << endl;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnR5cGVkZWYgbG9uZyBsb25nIGxsOwojZGVmaW5lIGFsbCh4KSBiZWdpbih4KSwgZW5kKHgpCgpjb25zdCBpbnQgTiA9IDFlNDsKbXQxOTkzNyBybmQ7CmRvdWJsZSBhW05dLCBiW05dOwoKaW50IG1haW4oKSB7Cglmb3IgKGludCBpID0gMDsgaSA8IE47ICsraSkgewoJCWFbaV0gPSBybmQoKTsKCX0KCWZvciAoaW50IGkgPSAwOyBpIDwgTjsgKytpKSB7CgkJYltpXSA9IHJuZCgpOwoJfQoJCglhdXRvIHN0ID0gY2hyb25vOjpzeXN0ZW1fY2xvY2s6Om5vdygpOwoJCglkb3VibGUgaCA9IDA7Cglmb3IgKGludCBpdCA9IDA7IGl0IDwgTjsgKytpdCkgewoJCWZvciAoaW50IGkgPSAwOyBpIDwgTjsgKytpKSB7CgkJCWRvdWJsZSBjdXIgPSBzcXJ0KGFbaV0pOwoJCQloICs9IGN1cjsKCQl9Cgl9CgkKICAgIGF1dG8gZm4gPSBjaHJvbm86OnN5c3RlbV9jbG9jazo6bm93KCk7CiAgICAKICAgIGFzc2VydChoICE9IDE5KTsKICAgIAogICAgY291dCA8PCBmaXhlZCA8PCBzZXRwcmVjaXNpb24oMSkgPDwgMTAwMCAqIGNocm9ubzo6ZHVyYXRpb248ZG91YmxlPihmbiAtIHN0KS5jb3VudCgpIDw8IGVuZGw7CgkKCXJldHVybiAwOwp9Cg==