10000 Update 16916.cpp · dongju97/basic-algo-lecture@257a8f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 257a8f7

Browse files
Update 16916.cpp
1 parent 9dba61b commit 257a8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0x1E/16916.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int main(void) {
1919

2020
string s, p;
2121
cin >> s >> p;
22-
vector<int>f = failure(p);
22+
vector<int> f = failure(p);
2323
int j = 0;
2424
for(int i = 0; i < s.size(); i++){
2525
while(j > 0 && s[i] != p[j]) j = f[j-1];

0 commit comments

Comments
 (0)
0