← All problemsSign in

Impress Your Crush

You got admitted to a new college, and there you discover a new crush of yours. You have decided to impress her with your skills. Now you have decided to showcase your dice skill that means you can guess the front face of dice correctly by having a look at its back face. You can learn more about dice [here](https://en.wikipedia.org/wiki/Dice) Now you see the number $N$ on the face in fr

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