Problem supermarket
User Akshat369
Submission Time 2024-09-05 20:17:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

supermarket.cpp:127:29: error: stray ‘@’ in program
127 | thanks Daniel Kwok (@danielkwok21) for supporting the project!
| ^
supermarket.cpp:1:1: error: ‘snippet’ does not name a type
1 | snippet.host
| ^~~~~~~
In file included from /usr/include/c++/9/cmath:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from supermarket.cpp:6:
/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