Problem | levenshtein |
---|---|
User | lty748 |
Submission Time | 2023-12-11 13:40:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
levenshtein.cpp: In function ‘ll lev(ll, ll)’:
levenshtein.cpp:22:21: error: ‘LLONG_MAX’ was not declared in this scope
22 | if (dp[x][y] != LLONG_MAX)
| ^~~~~~~~~
levenshtein.cpp:7:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
6 | #include <map>
+++ |+#include <climits>
7 |
levenshtein.cpp: In function ‘int main()’:
levenshtein.cpp:38:50: error: ‘LLONG_MAX’ was not declared in this scope
38 | dp.assign(a.length(), vector<ll>(b.length(), LLONG_MAX));
| ^~~~~~~~~
levenshtein.cpp:38:50: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?