結果

問題 No.1556 Power Equality
ユーザー titan23titan23
提出日時 2022-07-03 04:28:45
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 161 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 87,280 KB
実行使用メモリ 223,912 KB
最終ジャッジ日時 2023-08-19 00:18:40
合計ジャッジ時間 5,005 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
71,436 KB
testcase_01 AC 57 ms
71,376 KB
testcase_02 AC 57 ms
71,260 KB
testcase_03 AC 81 ms
167,796 KB
testcase_04 AC 61 ms
71,272 KB
testcase_05 AC 58 ms
71,556 KB
testcase_06 TLE -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

#  -----------------------  #

a, b = map(int, input().split())
print('Yes' if a**b == b**a else 'No')
0