結果
| 問題 | No.1556 Power Equality |
| コンテスト | |
| ユーザー |
Kiri8128
|
| 提出日時 | 2021-06-25 21:22:20 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-25 08:06:20 |
| 合計ジャッジ時間 | 972 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 WA * 1 |
ソースコード
from math import log
A, B = map(int, input().split())
if abs(log(A) / A - log(B) / B) < 10 ** -10:
print("Yes")
else:
print("No")
Kiri8128