結果

問題 No.1556 Power Equality
ユーザー Takuya NoguchiTakuya Noguchi
提出日時 2021-06-30 20:23:55
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 89 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 167,400 KB
最終ジャッジ日時 2023-09-09 13:31:35
合計ジャッジ時間 5,664 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,284 KB
testcase_01 AC 71 ms
71,216 KB
testcase_02 AC 71 ms
71,204 KB
testcase_03 AC 112 ms
167,400 KB
testcase_04 AC 72 ms
71,132 KB
testcase_05 AC 70 ms
71,128 KB
testcase_06 TLE -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

if A**B == B**A:
    print('Yes')
else:
    print('No')
0