1
2
3
4
5
6
7
8
9
10
11
12
13
const int AVERAGE_LIFE = 190; const int MONDAY = 0; const int FRIDAY = 4; int day = 0;
while( day != (random() % AVERAGE_LIFE) ) { wakeUp();
if((day >= MONDAY) && (day <= FRIDAY)) { goTo3ob(); j°b(); goToHome();
}
sleep();
day+=l;,geek,Прикольные