| Problem | ballmachine |
|---|---|
| User | shenshiqi |
| Submission Time | 2026-08-14 21:42:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ballmachine.cpp: In function ‘std::vector<int> find_structure(int)’:
ballmachine.cpp:30:15: error: ‘memset’ was not declared in this scope
30 | ll last[m]; memset(last, -1, sizeof(last));
| ^~~~~~
ballmachine.cpp:8:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
7 | #include "ballmachine.h"
+++ |+#include <cstring>
8 | //#include <iostream>