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

Sqrt Polynomial の checker で値の範囲をチェック #1240

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

NachiaVivias
Copy link
Collaborator

resolve #1239

チェッカーが出力を読み込むときに値の範囲チェックをせずに modint に入力しているため、出力が変な値でも AC する可能性がありました。

-1 以外の場合、出力が 0 以上 MOD 未満でなければ WA にするようにしました。

@maspypy
Copy link
Collaborator

maspypy commented Sep 10, 2024

ありがとうございます、良さそうなのでマージします

@maspypy maspypy merged commit e07ff41 into yosupo06:master Sep 10, 2024
6 checks passed
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.

Checkers' bug in polynomial problems
2 participants