https://ide.codingblocks.com/s/238804 I have not used femat’s theorem… but I think everything is correct in code… but still it is giving wrong answer…
I n the code, calculate() converts string to integer with modulo.
Code giving wrong answer
@perul1999
Where did you try to submit this
If it was on CB IDE then please send me the link to the question since I’m unable to find it
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.