We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1efed1 commit 39542d6Copy full SHA for 39542d6
library/strings/trie.hpp
@@ -5,7 +5,7 @@ struct trie {
5
struct node {
6
array<int, 26> next;
7
bool end_of_word = 0;
8
- node() { fill(all(next), -1); }
+ node() { ranges::fill(next, -1); }
9
};
10
deque<node> t;
11
trie(): t(1) {}
0 commit comments