We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 Set Range Composite
N 個の一次関数の列がある。Q クエリ
0 l r c d: f_l, f_{l+1}, ..., f_r を cx+d に変更 1 l r x: f_r(...f_{l+1}(f_l(x))...) mod 998244353 を出力
#122 と同じ
これ必要か?必要ないかもしれません 意見を募集します 想定は これ です (通常の遅延セグ木だと累乗の計算が必要なため log が 2 つついてしまう)
The text was updated successfully, but these errors were encountered:
log が落ちるならあってもよいと思います。 テストケース作りを少し工夫しないと、普通の遅延セグ木と速度差が出にくいかもしれません。
Sorry, something went wrong.
作業者募集。
ところで、別解法。こっちの方がよく見る処理かも。
それが verify できるの便利そうですね。
作業します。
NachiaVivias
Successfully merging a pull request may close this issue.
問題名: Range Set Range Composite
問題
N 個の一次関数の列がある。Q クエリ
0 l r c d: f_l, f_{l+1}, ..., f_r を cx+d に変更
1 l r x: f_r(...f_{l+1}(f_l(x))...) mod 998244353 を出力
制約
#122 と同じ
メモ
これ必要か?必要ないかもしれません 意見を募集します
想定は これ です (通常の遅延セグ木だと累乗の計算が必要なため log が 2 つついてしまう)
The text was updated successfully, but these errors were encountered: