Problem paint
User ThatOneGuy
Submission Time 2025-03-14 13:57:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp:2:7: error: invalid preprocessing directive #Read
2 | # Read inputs
| ^~~~
paint.cpp:3:23: error: stray ‘#’ in program
3 | n = int(input()) # number of jobs
| ^
paint.cpp:4:54: error: stray ‘#’ in program
4 | initial_costs = list(map(int, input().split())) # the initial cost for each job
| ^
paint.cpp:5:51: error: stray ‘#’ in program
5 | increments = list(map(int, input().split())) # the increment for each job per day
| ^
paint.cpp:7:7: error: invalid preprocessing directive #We
7 | # We need to sort jobs based on their increment (and by initial_cost in case of ties)
| ^~
paint.cpp:10:7: error: invalid preprocessing directive #Sort
10 | # Sort jobs by increments descending, and then by initial cost if needed (ascen