Skip to content

Missing variables in Faneuil Hall problem hint #32

@javadr

Description

@javadr

In the Faneuil Hall problem hint, it appears that two variables have been omitted. Let's introduce these variables in a more formal manner to maintain consistency with the existing text. After that, we will incorporate the additional notes within the main passage:

judge = 0
allSignedIn = Semaphore(0)

Including these variables, the complete code snippet will look as follows:

noJudge = Semaphore(1)
entered = 0
checked = 0
judge = 0
mutex = Semaphore(1)
confirmed = Semaphore(0)
allSignedIn = Semaphore(0)

Now, let's incorporate the additional notes:

judge shows whether the judge is entered or not.
allSignedIn represents that the certificates of all immigrants have been signed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions