In competitive programming why they ask to return the answer in 10^9+7 modulo? Please Explain. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In competitive programming why they ask to return the answer in 10^9+7 modulo? Please Explain.

20th Oct 2018, 8:25 PM
Kunal Kumar Thakur
Kunal Kumar Thakur - avatar
2 Answers
+ 2
I've never done competitive programming so can't explain. But, this might: https://www.geeksforgeeks.org/modulo-1097-1000000007/
22nd Oct 2018, 2:41 AM
John Wells
John Wells - avatar
0
Thanks
22nd Oct 2018, 3:28 AM
Kunal Kumar Thakur
Kunal Kumar Thakur - avatar