import java.util.*;
import java.lang.*;
import java.io.*;
{
{
Main.
thread = new Thread(new Main
("Hoge",
200)); Main.thread.start();
Main.
thread = new Thread(new Main
("Unko",
500)); Main.thread.start();
Main.thread = null;
}
long wait;
this.mes = mes;
this.wait = wait;
}
@Override
public void run() {
for (int i = 0; i < 5; ++i) {
long t
= System.
currentTimeMillis(), d
; do {
d
= System.
currentTimeMillis(); } while (d - t < wait);
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluIGltcGxlbWVudHMgUnVubmFibGUKewoJc3RhdGljIFRocmVhZCB0aHJlYWQ7CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCU1haW4udGhyZWFkID0gbmV3IFRocmVhZChuZXcgTWFpbigiSG9nZSIsIDIwMCkpOwoJCU1haW4udGhyZWFkLnN0YXJ0KCk7CgkJTWFpbi50aHJlYWQgPSBuZXcgVGhyZWFkKG5ldyBNYWluKCJVbmtvIiwgNTAwKSk7CgkJTWFpbi50aHJlYWQuc3RhcnQoKTsKCQlNYWluLnRocmVhZCA9IG51bGw7CgkJU3lzdGVtLmV4aXQoMCk7Cgl9CgkKCVN0cmluZyBtZXM7Cglsb25nIHdhaXQ7CgkKCU1haW4oU3RyaW5nIG1lcywgbG9uZyB3YWl0KSB7CgkJdGhpcy5tZXMgPSBtZXM7CgkJdGhpcy53YWl0ID0gd2FpdDsKCX0KCQoJQE92ZXJyaWRlCglwdWJsaWMgdm9pZCBydW4oKSB7CgkJZm9yIChpbnQgaSA9IDA7IGkgPCA1OyArK2kpIHsKCQkJbG9uZyB0ID0gU3lzdGVtLmN1cnJlbnRUaW1lTWlsbGlzKCksIGQ7CgkJCVN5c3RlbS5vdXQucHJpbnRsbihtZXMpOwoJCQlkbyB7CgkJCQlkID0gU3lzdGVtLmN1cnJlbnRUaW1lTWlsbGlzKCk7CgkJCX0gd2hpbGUgKGQgLSB0IDwgd2FpdCk7CgkJfQoJfQp9