| Problem | lcs |
|---|---|
| User | n1k1trh |
| Submission Time | 2025-11-22 14:11:39 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lcs.cpp: In function ‘int32_t main()’:
lcs.cpp:41:38: error: ‘memset’ was not declared in this scope
41 | int dp[a.length()+1][b.length()+1]; memset(dp, 0, sizeof(dp)); dp[0][0] = 0;
| ^~~~~~
lcs.cpp:9:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
8 | #include <numeric>
+++ |+#include <cstring>
9 | using namespace std;