Problem poi
User Skyblur7
Submission Time 2025-03-12 13:10:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

poi.cpp:2:7: error: invalid preprocessing directive #Read
2 | # Read the input
| ^~~~
poi.cpp:4:13: error: stray ‘#’ in program
4 | P -= 1 # Convert to 0-based index for easier handling
| ^
poi.cpp:8:7: error: invalid preprocessing directive #Reading
8 | # Reading which problems each contestant solved
| ^~~~~~~
poi.cpp:12:7: error: invalid preprocessing directive #Step
12 | # Step 1: Calculate the score for each problem
| ^~~~
poi.cpp:18:7: error: invalid preprocessing directive #Step
18 | # Step 2: Calculate the total score for each contestant
| ^~~~
poi.cpp:29:48: error: stray ‘#’ in program
29 | scores.append((score, solved_num, i)) # Store score, number of problems solved, and contestant ID
| ^
poi.cpp:31:7: error: invalid preprocessing directive #Step
31