Problem competition
User StormyGood
Submission Time 2024-01-28 09:34:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp:1:3: error: invalid preprocessing directive #Read
1 | # Read input
| ^~~~
competition.cpp:6:3: error: invalid preprocessing directive #Sort
6 | # Sort the scores in descending order
| ^~~~
competition.cpp:10:3: error: invalid preprocessing directive #Calculate
10 | # Calculate the sum of the top 'a' physics scores and top 'b' biology scores
| ^~~~~~~~~
competition.cpp:14:3: error: invalid preprocessing directive #Print
14 | # Print the maximum combined score
| ^~~~~
competition.cpp:2:1: error: ā€˜nā€™ does not name a type
2 | n, a, b = map(int, input().split())
| ^