Problem lightningrod
User Kiameimon
Submission Time 2024-03-25 21:26:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp:226:2: error: #endif without #if
226 | #endif /*__OY_FASTIO__*/
| ^~~~~
lightningrod.cpp: In member function ‘void OY::IO::InputHelper::_reserve()’:
lightningrod.cpp:44:17: error: there are no arguments to ‘memmove’ that depend on a template parameter, so a declaration of ‘memmove’ must be available [-fpermissive]
44 | memmove(m_buf, m_cursor, a), m_cursor = m_buf;
| ^~~~~~~
lightningrod.cpp:44:17: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
lightningrod.cpp: In function ‘int main()’:
lightningrod.cpp:255:1: error: expected ‘}’ at end of input
255 | }
| ^
lightningrod.cpp:241:15: note: to match this ‘{’
241 | signed main() {
| ^
lightningrod.cpp: In instantiation of ‘void OY::IO::InputHelper::_reserve() [with long unsigned int BlockSize = 1]’:
lightningrod.cpp:66:29: