Problem wabot
User chinesewarcriminal
Submission Time 2023-04-26 21:59:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp:1:5: error: missing terminating ' character
1 | Here's a C++ program that solves the problem using a priority queue:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wabot.cpp:1:1: error: ‘Here’ does not name a type
1 | Here's a C++ program that solves the problem using a priority queue:
| ^~~~
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from wabot.cpp:3:
/usr/include/c++/9/bits/postypes.h:98:11: error: ‘ptrdiff_t’ does not name a type
98 | typedef ptrdiff_t streamsize; // Signed integral type
| ^~~~~~~~~
/usr/include/c++/9/bits/postypes.h:41:1: note: ‘ptrdiff_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
40 | #include <cwchar> // For mbstat