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

[テストケース] Counting Square-free Integers #1232

Closed
ecottea opened this issue Sep 2, 2024 · 1 comment
Closed

[テストケース] Counting Square-free Integers #1232

ecottea opened this issue Sep 2, 2024 · 1 comment
Labels
testcase About testcase

Comments

@ecottea
Copy link

ecottea commented Sep 2, 2024

n 以下の平方数の個数を求める際に (int)sqrt(n) としている AC コード(#232556)に対し,N=138757285551932082 での Hack に成功しました.
当該提出:https://judge.yosupo.jp/hack/13

上記の N は,(int)sqrt(n) != (int)sqrtl(n) を満たす n をランダムに試すことで見つけました.
この条件を満たしても Hack に失敗する n も存在したので,複数個追加すべきかもしれません.

@maspypy
Copy link
Collaborator

maspypy commented Sep 17, 2024

ありがとうございます、追加しました

@maspypy maspypy closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testcase About testcase
Projects
None yet
Development

No branches or pull requests

3 participants