Fee Pay
CodeChefOpen on judge ↗
Problem description. Ram has to pay his semester fee.He doesn't have enough money.So he decides to play a game with his rich friend. They toss a coin and if head comes up ram wins the game,if tail then he loses. The money he wins/loses increases 100 bucks every time they toss the coin,starting from 100 for first toss. Input Input description. The first line contains a string of length N Out
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