Problem | sort2 |
---|---|
User | StormyGood |
Submission Time | 2025-04-08 19:39:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort2.cpp:1:19: error: stray ‘#’ in program
1 | N = int(input()) # Read the size of the array
| ^
sort2.cpp:3:42: error: stray ‘#’ in program
3 | A = list(map(int, input().split())) # Read the array
| ^
sort2.cpp:4:15: error: stray ‘#’ in program
4 | A.sort() # Sort the array in ascending order
| ^
sort2.cpp:5:35: error: stray ‘#’ in program
5 | print(" ".join(map(str, A))) # Print the sorted array as space-separated values
| ^
sort2.cpp:7:14: error: stray ‘#’ in program
7 | print() # If N is 0, just print a blank line
| ^
sort2.cpp:1:1: error: ‘N’ does not name a type
1 | N = int(input()) # Read the size of the array
| ^