Problem helloworld
User boaznumberd5555
Submission Time 2025-08-28 11:12:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp:2:36: error: empty character constant
2 | def __init__(self, DataValue = '', PointerValue = 0):
| ^~
helloworld.cpp:16:82: error: stray ‘#’ in program
16 | self.__NodesList = [None]+[Node(,i+2) for i in range(size-1)] + [Node()] #2 as one for 1 index and 1 more for pointer being the next node
| ^
helloworld.cpp:25:27: error: stray ‘#’ in program
25 | if self.IsFull(): #Unable to enqueue more
| ^
helloworld.cpp:28:30: error: stray ‘#’ in program
28 | if self.__Head == 0: #If start of queue has not been created or has been deleted
| ^
helloworld.cpp:29:43: error: stray ‘#’ in program
29 | self.__Head = self.__NextFree #Point head to first node in queue
|