Problem inversions
User isabellaaazz
Submission Time 2026-04-19 11:35:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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