auto commit

This commit is contained in:
CyC2018 2018-03-13 18:05:05 +08:00
parent 87e6ed7d38
commit f4a3c25924

View File

@ -536,8 +536,7 @@ void put_tow(i) {
}
void test(i) { // 尝试拿起两把筷子
if(state[i] == HUNGRY && state[LEFT] != EATING
&& state[RIGHT] !=EATING) {
if(state[i] == HUNGRY && state[LEFT] != EATING && state[RIGHT] !=EATING) {
state[i] = EATING;
up(&s[i]);
}