Math, asked by vatsalaya2015, 10 months ago

If the point P lies between A and B, and X is mid -point of BP then. (fast without explaining)

Answers

Answered by ATHARVA1881
1

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

Answered by sunilkumari1986sang
1

this is answer of ur answer

Attachments:
Similar questions