Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo314 committed Feb 11, 2024
1 parent e3bc0e7 commit b67f341
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/atcoder-abc331-f.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ int main() {
std::string S;
std::cin >> N >> Q >> S;
std::vector<RHString> init;
init.reserve(N);
for (char c : S) {
init.emplace_back(rh, std::string{c});
init.emplace_back(rh, c);
}
StaticSegTree<RHString, std::plus<RHString>, E> seg(init);
while (Q--) {
Expand All @@ -26,7 +27,7 @@ int main() {
int x;
char c;
std::cin >> x >> c;
seg.set(x - 1, RHString(rh, std::string{c}));
seg.set(x - 1, RHString(rh, c));
} else {
int L, R;
std::cin >> L >> R;
Expand Down

0 comments on commit b67f341

Please sign in to comment.