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 Frobenius normal form hack #1262

Merged
merged 2 commits into from
Oct 20, 2024
Merged

Add Frobenius normal form hack #1262

merged 2 commits into from
Oct 20, 2024

Conversation

adamant-pwn
Copy link
Contributor

@adamant-pwn adamant-pwn commented Oct 20, 2024

See e.g. https://judge.yosupo.jp/hack/122.

I'm currently investigating on what causes it in my solution.

My solution to characteristic polynomial problem doesn't seem to be affected, although uses the same code.

Also putting $0$ instead of $1$ only in the first or second column doesn't seem to hack the solution.

@maspypy
Copy link
Collaborator

maspypy commented Oct 20, 2024

Run

./generate.py linear_algebra/pow_of_matrix/info.toml --dev

and then, hash.json will be updated. Please commit it.

@adamant-pwn
Copy link
Contributor Author

Oops, sorry, done now.

@maspypy
Copy link
Collaborator

maspypy commented Oct 20, 2024

Thank you!

@maspypy maspypy merged commit f9dd500 into yosupo06:master Oct 20, 2024
6 checks passed
@adamant-pwn adamant-pwn deleted the patch-4 branch October 20, 2024 17:24
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