| Problem | leftright |
|---|---|
| User | Phoubia01 |
| Submission Time | 2025-12-03 14:43:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
leftright.cpp:6:17: error: stray ‘#’ in program
6 | offset = 0 # Tracks how many times we've swapped
| ^
leftright.cpp:6:43: error: missing terminating ' character
6 | offset = 0 # Tracks how many times we've swapped
| ^~~~~~~~~~~
leftright.cpp:15:15: error: invalid preprocessing directive #Swap
15 | # Swap halves = rotate by half the length
| ^~~~
leftright.cpp:18:19: error: invalid preprocessing directive #Rotate
18 | # Rotate right by floor(n/2)
| ^~~~~~
leftright.cpp:21:41: error: stray ‘#’ in program
21 | rotate_amount += 1 # Left includes middle
| ^
leftright.cpp:1:1: error: ‘from’ does not name a type
1 | from collections import deque
| ^~~~