結果

問題 No.1556 Power Equality
ユーザー TnaTna
提出日時 2022-07-08 13:21:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 96 bytes
コンパイル時間 178 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 265,108 KB
最終ジャッジ日時 2023-08-27 06:34:07
合計ジャッジ時間 4,333 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,144 KB
testcase_01 AC 16 ms
7,772 KB
testcase_02 AC 16 ms
7,920 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = [int(x) for x in input().split()]
if A**B == B**A:
    print("Yes")
else:
    print("No")
0