| Problem | xmas |
|---|---|
| User | highdelao |
| Submission Time | 2023-07-20 11:05:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
xmas.cpp:2:18: error: stray ‘#’ in program
2 | array = [0] * n # Initialize the array with n elements, all set to 0
| ^
xmas.cpp:9:24: error: stray ‘#’ in program
9 | print(array[i]+1) # Removed "\n" from here as "print" already adds a newline after each output
| ^
xmas.cpp:1:1: error: ‘n’ does not name a type
1 | n = int(input())
| ^