#include <thread>
void f(const int &x) {}
int main() {
int x = 1;
std::thread t1(f, x);
t1.join();
return 0;
}
I2luY2x1ZGUgPHRocmVhZD4KCnZvaWQgZihjb25zdCBpbnQgJngpIHt9CgppbnQgbWFpbigpIHsKICAgIGludCB4ID0gMTsKICAgIHN0ZDo6dGhyZWFkIHQxKGYsIHgpOwogICAgdDEuam9pbigpOwogICAgCiAgICByZXR1cm4gMDsKfQ==