結果

問題 No.1556 Power Equality
ユーザー Uniq0rn
提出日時 2021-06-25 21:33:28
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 306 bytes
コンパイル時間 1,529 ms
コンパイル使用メモリ 164,604 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-25 08:14:55
合計ジャッジ時間 1,945 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <math.h>
using namespace std;
#define ll long long int

void solve(long long int n)  
{  
}  
int main()
{
    ll a,b;
    cin >> a >> b;
    ll A = pow(a,b), B=pow(b,a);
    if(A == B){
        cout << "YES";
    }
    else cout << "NO";
    return 0;
}
0