How to calculate n!%p for very large 'n' ?

Revision en2, by I_love_Saundarya, 2019-08-10 01:51:15

Here is the link to the problem:- https://www.spoj.com/problems/FACTMODP/

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English I_love_Saundarya 2019-08-10 01:51:15 1
en1 English I_love_Saundarya 2019-08-10 01:50:47 115 Initial revision (published)