You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bradendubois edited this page Nov 24, 2021
·
7 revisions
Nasty Hacks
ID: nastyhacks
Difficulty: 1.4
CPU Time: 1 second
Memory: 1024 MB
Solution
For the inputs r, e, and c, r is not affected by advertising or costs of advertising, so the gross profit is e - c, so one can just compare this difference with r to check which is larger/equal.