Problem assembly
User dzuizz
Submission Time 2024-08-20 10:49:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

assembly.cpp: In function ‘int main()’:
assembly.cpp:9:3: error: ‘memset’ was not declared in this scope
9 | memset(dp, 0, sizeof dp);
| ^~~~~~
assembly.cpp:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
1 | #include <iostream>
+++ |+#include <cstring>
2 | using namespace std;