Riddle Me this - 2 !!
CodeChefOpen on judge ↗
Riddler is back again. He has caught Oracle, daughter of commissioner Gordon. Like always he has created a problem for Batman to solve and save Oracle. Riddler tells Batman four integers $NUM$, $DEN$, $K$ and $N$. He then asks Batman to tell him what will be the answer if we take the $K$ digits number formed from the first $K$ decimal digits of $NUM/DEN$ and take it's modulo with $N$. ### Inp
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