Problem catdog
User Sans12345
Submission Time 2024-01-22 19:46:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catdog.cpp:1:1: error: stray ‘\’ in program
1 | \#include "catdog.h"
| ^
catdog.cpp:1:2: error: stray ‘#’ in program
1 | \#include "catdog.h"
| ^
catdog.cpp:1:3: error: ‘include’ does not name a type
1 | \#include "catdog.h"
| ^~~~~~~
In file included from /usr/include/c++/9/cmath:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from catdog.cpp:2:
/usr/include/c++/9/ext/type_traits.h:162:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of entity
162 | __is_null_pointer(std::nullptr_t)
| ^
/usr/include/c++/9/ext/type_traits.h:157:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
157 | __is_null_pointer(_Type)
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/type_traits.h:162:26: error: ‘nullptr_t’ is not a member of ‘std’