Hackerblocks Interesting Sets

sir i have made the code and it is giving right output but when i am submitting it then it is saying “Not Judged” in submissions and thus showing zero points
problem----> https://hack.codingblocks.com/app/dcb
code ----> https://sapphireengine.com/@/nqws3p

hello @tejuschaturvedi0
the problem is still live pls try to solve it on ur own

sir i could not find the error . the problem is over now, so please tell the error in my code.

read the queastion again. u r asked to take mod of the answer so u need to use mod arithmetic properties while multiplying

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.