Relative Content

Tag Archive for c++32-bit

Why isn’t the loop running even once

Given a positive integer that fits in a 32-bit signed integer, find if it can be expressed as A^P where P > 1 and A > 0.
A and P both should be integers.