結果

問題 No.1556 Power Equality
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-08-27 13:00:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 53,960 KB
最終ジャッジ日時 2024-04-30 12:04:52
合計ジャッジ時間 1,367 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
52,356 KB
testcase_01 AC 38 ms
52,280 KB
testcase_02 AC 43 ms
52,476 KB
testcase_03 AC 38 ms
52,288 KB
testcase_04 AC 39 ms
52,180 KB
testcase_05 AC 38 ms
52,228 KB
testcase_06 AC 40 ms
52,548 KB
testcase_07 AC 42 ms
53,960 KB
testcase_08 AC 40 ms
52,104 KB
testcase_09 AC 39 ms
52,404 KB
testcase_10 AC 38 ms
53,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int,input().split())
if a == b or a == 2 and b == 4 or a == 4 and b == 2:
    print("Yes")
else:
    print("No")
0