← All problemsSign in

Exun and the Pizzas

CodeChefRating 173Open on judge ↗

The Exunites are preparing for the $2025$ edition of their annual event, [Exun](https://exunclan.com)! After a long day of work, they go to the canteen to buy refreshments. At the canteen, Chef is selling $N$ pizzas. However, the Exunites only require $K$ pizzas. Each pizza costs $R$ rupees. Chef wants to know: after selling $K$ pizzas to the Exunites, how much revenue can he obtain by s

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start