C # implementation to check whether a given number N can be converted to the form K power K by the given operation
using System ; using System . Collections ; using System . Collections . Generic ; class GFG { static HashSet < int > kPowKform = new HashSet < int > ( ) ; static int [ ] dp = new int [ 100005 ] ;