Submit solution
Points:
10 (partial)
Time limit:
0.1s
Java
0.25s
Python 3
0.5s
Memory limit:
1G
Problem type
Given a list of
Constraints
Each integer from
Input Specification
The first line contains two space-separated integers
Output Specification
Output
Sample Input
Copy
6 3
3
2
1
3
1
3
Sample Output
Copy
2 1 3
Comments
Can I ask why I am getting presentation error?
you have to remove trailing spaces and end with a newline