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

add allow_re #1070

Merged
merged 1 commit into from
Dec 16, 2023
Merged

add allow_re #1070

merged 1 commit into from
Dec 16, 2023

Conversation

yosupo06
Copy link
Owner

No description provided.

Comment on lines +400 to +401
if config.get('wrong', False):
allow_status.update(['WA', 'RE', 'TLE'])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if config.get('wrong', True):
でしょうか?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

いえ、このFalsewrong が指定されていなかったときのデフォルト値 (= wrong = True と明示的に指定しない solution は wrong = Falseということにする)という意味なので大丈夫なはずです

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ああ雰囲気読解していて失敗。dict.get() のデフォルト値か。

Copy link
Collaborator

@maspypy maspypy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

かくにんしました。

@yosupo06 yosupo06 merged commit f54fda2 into master Dec 16, 2023
6 checks passed
@yosupo06 yosupo06 deleted the feature/allow_re branch March 23, 2024 03:30
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

Successfully merging this pull request may close these issues.

2 participants