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

問題追加 Range Affine Range Sum (Large Array) #1283

Merged
merged 6 commits into from
Jan 26, 2025

Conversation

maspypy
Copy link
Collaborator

@maspypy maspypy commented Nov 18, 2024

@NachiaVivias
Copy link
Collaborator

hack

1000000000 1
0 1 536870911 999 999

( 536870911 = 0x1fffffff )

ノードプールのサイズが $60Q=60$ ですが、ノードを $115$ 個生成しようとします。

なお、 $60\times (3\times 10^5) \times 32=5.76\times 10^8$ つまり今の correct.cpp で確保される最大のメモリプールのサイズが $576$ MB であることに注意が必要です。

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 22, 2025

ありがとうございます、見てもらっていたのを気づいていませんでした。
自分の実装でノード数が4logになることは最近気づきました。なおします。制約も下げておきます。

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 22, 2025

なおしました

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 24, 2025

2025-01-23T20:38:36.2713626Z ======================================================================
2025-01-23T20:38:36.2717914Z ERROR: test_generate_all (__main__.TestGenerateAll.test_generate_all) (name='matrix_det_arbitrary_mod')
2025-01-23T20:38:36.2719583Z ----------------------------------------------------------------------
2025-01-23T20:38:36.2742829Z ======================================================================
2025-01-23T20:38:36.2743372Z ERROR: test_generate_all (__main__.TestGenerateAll.test_generate_all) (name='vertex_add_range_contour_sum_on_tree')
2025-01-23T20:38:36.2743960Z ----------------------------------------------------------------------

だからこの問題と関係ないところで失敗しているっぽいな。
以前もそういうのあった気がするけどどうしたっけな。

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 24, 2025

分からないので呼びます @yosupo06

@maspypy
Copy link
Collaborator Author

maspypy commented Jan 24, 2025

別問題の実装を2つなおしたらテストが通りました

@maspypy maspypy merged commit e5610a0 into yosupo06:master Jan 26, 2025
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.

2 participants