Problem levenshtein
User maximushartanto
Submission Time 2026-01-22 17:36:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

levenshtein.cpp: In function ‘int main()’:
levenshtein.cpp:29:58: error: ‘s’ was not declared in this scope
29 | dp[i + 1][j + 1] = min(dp[i + 1][j + 1], dp[i][j] + (s[i] != t[j]));
| ^
levenshtein.cpp:29:66: error: ‘t’ was not declared in this scope
29 | dp[i + 1][j + 1] = min(dp[i + 1][j + 1], dp[i][j] + (s[i] != t[j]));
| ^