Problem queuecutting
User Tyx2019
Submission Time 2024-06-22 00:42:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

queuecutting.cpp:5:7: error: empty character constant
5 | cod = '''class Node:
| ^~
queuecutting.cpp:5:9: error: missing terminating ' character
5 | cod = '''class Node:
| ^~~~~~~~~~~~
queuecutting.cpp:14:29: error: stray ‘#’ in program
14 | self.node_map = {} # Dictionary to store nodes by their values
| ^
queuecutting.cpp:24:42: error: stray ‘#’ in program
24 | self.node_map[value] = new_node # Update node map
| ^
queuecutting.cpp:38:39: error: stray ‘#’ in program
38 | del self.node_map[value] # Remove from node map
| ^
queuecutting.cpp:48:50: error: stray ‘#’ in program
48 | self.node_map[new_value] = new_node # Update node map
| ^
queuecutting.cpp:57:3: error: in