Help in Self Powers(Project Euler Hackerrank problem 48)
Difference between en1 and en2, changed 107 character(s)
I am getting TLE on last test case of this problem [Link to the problem](https://www.hackerrank.com/contests/projecteuler/challenges/euler048/problem), i used Big mod [Link to Big mod implmentation](https://www.geeksforgeeks.org/multiply-large-integers-under-large-modulo/) for multiplication while calculating power as we need last ten digits so we have to modulo it by 1e10 which will overflow in C++.↵

Any type of help is appreciated. Thanks in advance.↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Not-Afraid 2019-06-29 15:21:50 107 Tiny change: 'mentation](https://w' -> 'mentation])(https://w'
en1 English Not-Afraid 2019-06-29 15:17:46 409 Initial revision (published)