problem in a^b-b^a

Правка en1, от pro_grammer12, 2022-01-26 00:59:51

I am facing a problem with that question. It is working properly when I execute in code block ide nut when I submit that code on code forces then it is showing an error on test case 5. If Anyone knows what is with my code please tell me

include

include<math.h>

using namespace std; int main() {

int a,b,ans; cin>>a>>b;

cout<<pow(a,b)-pow(b,a);

} that is my code

Теги problem 112, asmguru

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pro_grammer12 2022-01-26 00:59:51 414 Initial revision (published)