結果

問題 No.1556 Power Equality
ユーザー mesame3993mesame3993
提出日時 2021-10-06 11:32:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 71,664 KB
最終ジャッジ日時 2023-09-30 08:41:34
合計ジャッジ時間 2,269 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,436 KB
testcase_01 AC 76 ms
71,244 KB
testcase_02 AC 78 ms
71,412 KB
testcase_03 AC 77 ms
71,424 KB
testcase_04 AC 79 ms
71,240 KB
testcase_05 AC 78 ms
71,664 KB
testcase_06 AC 79 ms
71,192 KB
testcase_07 AC 79 ms
71,404 KB
testcase_08 AC 78 ms
71,364 KB
testcase_09 AC 77 ms
71,356 KB
testcase_10 AC 78 ms
71,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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