← All problemsSign in

UNIT_DIGIT

- Chef is Teaching his son Uday how to find the unit digit in an expression. - Now after lots of practice Uday is able to solve problems of finding the unit's digit in an expression. To test the Uday's practice chef was given an integer X and his sister was given an integer Y to Uday. - Uday's sister told Uday to take the factorial of Y. Chef said Uday to raise X to the Factorial of Y. - Chef Aske

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