Where am i wrong?

@goelsparsh277 take mod only for final answer!
also to avoid overflow, take type as long long


see this

what is int32_t main is??

and i have taken mod only for final ans

I used int as long long, so int32_t is used before main which is nothing but equivalent of int only.

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.