Problem swords
User XInTheDark
Submission Time 2023-02-25 10:13:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp:7:27: error: stray ā€˜#ā€™ in program
7 | swords.sort(reverse=True) # sort in descending order of attack
| ^
swords.cpp:1:1: error: ā€˜nā€™ does not name a type
1 | n = int(input())
| ^