#include <iostream>
class testa {
public:
int n;
double s;
void funca();
};
void testa::funca() {
n = 500;
s = 1.0/n;
std::cout << s << std::endl;
}
int main()
{
testa x;
x.funca();
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgdGVzdGEgewpwdWJsaWM6CiAgIGludCBuOwogICBkb3VibGUgczsKCiAgIHZvaWQgZnVuY2EoKTsKfTsKdm9pZCB0ZXN0YTo6ZnVuY2EoKSB7CiAgIG4gPSA1MDA7CiAgIHMgPSAxLjAvbjsKICAgc3RkOjpjb3V0IDw8IHMgPDwgc3RkOjplbmRsOwp9CgppbnQgbWFpbigpCnsKICAgdGVzdGEgeDsKICAgeC5mdW5jYSgpOwp9Cg==