Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible Resources #92

Open
Eduardoofc opened this issue Mar 19, 2020 · 0 comments
Open

Flexible Resources #92

Eduardoofc opened this issue Mar 19, 2020 · 0 comments

Comments

@Eduardoofc
Copy link

Hello!!

Let's improve the code about Alice and Bob and say the following:
There are people painting bicycles and each person has his brush. After that, Alice or Bob have to paint these bikes again but they have to use the same brush that was used to paint the first time.
As soon as the bike was painted by one of these people, the brush that was used must not be used again until Alice or Bob use it to paint the same bicycle the second time.
Let's assume that people take 3 hours to paint the first time,alice and bob take 1 hour to paint the second time.
This is my question, how can I guarantee that the same brush will be used to paint the same bike the second time

Cheers!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant