Problem | add1 |
---|---|
User | ilovepythonandhatecplusplus |
Submission Time | 2024-07-31 17:27:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
add1.cpp:1:20: error: expected ‘;’ before ‘:’ token
1 | using namespace std:
| ^
| ;
add1.cpp:1:20: error: expected unqualified-id before ‘:’ token
In file included from /usr/include/c++/9/cmath:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from add1.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’
162 | __is_null_pointer(std::nullptr_t)
|