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

-1 in interactors #121

Open
arsijo opened this issue Mar 14, 2021 · 0 comments
Open

-1 in interactors #121

arsijo opened this issue Mar 14, 2021 · 0 comments

Comments

@arsijo
Copy link

arsijo commented Mar 14, 2021

Make a special flag while registering an interactor. If some violation happens (i.e. WA or PE), it should print -1 and exit, not just exit.

Right now, I have to overwrite a function readInt in order to get this working. Otherwise, if PE happens, -1 will not be return and a contestant will be upset :(

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