If the point P lies between A and B, and X is mid -point of BP then. (fast without explaining)
Share
If the point P lies between A and B, and X is mid -point of BP then. (fast without explaining)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Find (a^b)%m where ‘a’ is very large
Given three numbers a, b and m where 1<=b,m<=10^6 and 'a' may be very large and contains upto 10^6 digits. The task is to find (a^b)%m.
Examples:
Input : a = 3, b = 2, m = 4
Output : 1
Explanation : (3^2)%4 = 9%4 = 1
Input : a = 987584345091051645734583954832576, b = 3, m = 11
Output: 10
this is answer of ur answer