Number_Theory-Assential-code

Here I am collecting some assential code for number theory in contest programming.