← All problemsSign in

ADITYA AND HIS LOVE FOR SENIORS

$Aditya$ is famous for his $Maths$ Skills. But, he looses his mind in front of a $senior$ friend. Now, that senior friend has asked him a $question$. Help him to answer the question as he is busy in $looking$ at $her$ ;). ![Alt text](https://drive.google.com/uc?export=download&id=1szCxGMEGMmqR1pEae7n0JBD4pkVIeoF4) Print $S$ modulo 10^9+7. ###Input: - First line will contain $T$,

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