Problem | levenshtein |
---|---|
User | laurenpak |
Submission Time | 2023-06-17 20:21:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
levenshtein.cpp: In function ‘int main()’:
levenshtein.cpp:33:5: error: expected ‘}’ at end of input
33 | }
| ^
levenshtein.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from levenshtein.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]’:
levenshtein.cpp:29:70: required from here
/usr/include/c++/9/bits/stl_algobase.h:249:17: error: ‘__comp’ cannot be used as a function
249 | if (__comp(__b, __a))
| ~~~~~~^~~~~~~~~~