ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2016329621097-任鑫 >
Homework-4 Version 0
👤 Author: by 751815618qqcom 2019-10-03 11:40:14
During the National Day, people line up to go to the public toilet at a tourist attraction.
If there are 20 positions, every time an empty position appears, one person can enter
and the rest of the people have to wait outside.

Set the variable action with an initial value of 0, indicating that you can enter the toilet.
Variable status, the initial value is 0, indicating that the toilet is free.

Please login to reply. Login

Reversion History

Loading...
No reversions found.