Moneymaking
Chef has $X$ *nuggets* and $Y$ *star pieces* with him. Each nugget sells for $5000$ coins, and each star piece sells for $9800$ coins. How much money can Chef make by selling all of his items? ### Input - The only line of input will contain two space-separated integers $X$ and $Y$ — the number of nuggets and star pieces Chef has. ### Output Output a single integer: the amount of money Chef c
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