I have 2 doubts in this question

first :- what does this line means?-> “return ans %10000003” in this question.

second :-> with knowledge i get from google about this question i tried to code this problem and i am facing some issues.

code:->https://ide.codingblocks.com/s/667475

hi @yamangoyal100_ff74db54bdf01539 whatever your answer comes do modulo operation with that no. since ans can be large to fit in data type u need to do that

@yamangoyal100_ff74db54bdf01539 updated https://ide.codingblocks.com/s/667511

thank you very much sir.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.