Deadline and Profit
CodeChefOpen on judge ↗
vaibhav is a computer science student he has to solve a problem But he is not good with logical problems so as a friend You have to help vaibhav to solve his problem. There are **n** coding problems given that you have to solve. Each problem has a duration and a deadline, and you have to solve in a sequence one after other. on solving each problem you will get some money. Your money for a problem
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start