| Problem | 3nplus1II |
|---|---|
| User | JonahKoh |
| Submission Time | 2026-02-19 21:39:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp:1:3: error: invalid preprocessing directive #Read
1 | # Read input
| ^~~~
3nplus1II.cpp:4:3: error: invalid preprocessing directive #Handle
4 | # Handle the case where target_time is 0 or 1
| ^~~~~~
3nplus1II.cpp:13:7: error: invalid preprocessing directive #Simulate
13 | # Simulate until we reach target_time or the sequence ends
| ^~~~~~~~
3nplus1II.cpp:15:11: error: invalid preprocessing directive #Apply
15 | # Apply the transformation
| ^~~~~
3nplus1II.cpp:16:38: error: stray ‘#’ in program
16 | if current_length % 2 == 0: # even
| ^
3nplus1II.cpp:18:16: error: stray ‘#’ in program
18 | else: # odd
| ^
3nplus1II.cpp:23:11: error: invalid preprocessing directive #Check
23 | # Check if we've reached 1 (the sequence ends)
| ^~~~~