← All problemsSign in

Sandwich and Bread

Today you go to canteen and you want to eat club sandwich. You have $n$ Rupees in your pocket. The price of club sandwich Our canteen is $52$. The club sandwich consist of $3$ bread. You have spent all your money eating as many club sandwich as possible than how many bread you have eaten in total. ###Input: - One and Only integer $n$ $(1 \le n \le 1000)$. ###Output: - Print the

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