Problem leftright
User Mimikyu
Submission Time 2024-05-04 11:52:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftright.cpp:7:5: error: missing terminating " character
7 | """
| ^
leftright.cpp:18:5: error: missing terminating " character
18 | """
| ^
leftright.cpp: In function ‘std::vector<int> left_right_game(int, std::vector<std::vector<int> >&)’:
leftright.cpp:7:5: error: expected ‘;’ before ‘Simulates’
7 | """
| ^
| ;
8 | Simulates the Left and Right party game and returns the final order of people.
| ~~~~~~~~~
leftright.cpp:22:7: error: ‘line’ was not declared in this scope
22 | line.push_back(event[1]);
| ^~~~
leftright.cpp:24:15: error: ‘line’ was not declared in this scope
24 | int n = line.size();
| ^~~~
leftright.cpp:43:10: error: ‘line’ was not declared in this scope
43 | return line;
| ^~~~