Discussion About Super Power

This is Discussion thread about Super Power

i can not able to see constrain and input output for this question

That nobody can see you take both of them greater than 0 in int database and proceed

1 Like

Hey there @discobot I am unable to see the constraints. Plus I tried with both long long and int and still getting wrong answer.

Hi! To find out what I can do, say @discobot display help.

why third test case is not passing?
I have doing it in c++ and python and in both third test case failed.

import java.util.;
public class Main {
public static void main(String args[]) {
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int p=sc.nextInt();
sc.close();
long r=1;
while(p!=0)
{
r
=n;
–p;
}
System.out.println®;
}
}