Problem examstress
User Kiameimon
Submission Time 2024-05-08 19:40:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

examstress.cpp: In member function ‘void OY::IO::InputHelper::_reserve()’:
examstress.cpp:45:17: error: there are no arguments to ‘memmove’ that depend on a template parameter, so a declaration of ‘memmove’ must be available [-fpermissive]
45 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ^~~~~~~
examstress.cpp:45:17: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
examstress.cpp: In function ‘int main()’:
examstress.cpp:241:2: error: ‘unordered_set’ was not declared in this scope
241 | unordered_set<string> s;
| ^~~~~~~~~~~~~
examstress.cpp:11:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
10 | #include <iostream>
+++ |+#include <unordered_set>
11 | #include <string>
examstress.cpp:241:22: error: expected primar