| Problem | flamethrower_ex |
|---|---|
| User | n1k1trh |
| Submission Time | 2025-09-14 13:49:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flamethrower_ex.cpp: In function ‘int main()’:
flamethrower_ex.cpp:121:30: error: ‘memset’ was not declared in this scope
121 | int n, a; cin >> n >> a; memset(arr, 0, sizeof(arr)); for(int i = 0;i < n;i++) cin >> arr[i]; int sum = 0;
| ^~~~~~
flamethrower_ex.cpp:93:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
92 | #include <queue>
+++ |+#include <cstring>
93 | using namespace std;