GUDDU AND HIS DATE
CodeChefOpen on judge ↗
Guddu likes a girl that loves playing with big numbers. She agreed to go on a date with Guddu, but only if he can solve the following problem: So she gives guddu a very large number $N$ (up to $10^6$ digits). and she wants guddu to tell her the number $S$ that is obtained by taking any 2 digits from $N$ and finding their absolute difference and multiplying all the differences of each possible
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