結果
| 問題 | No.1556 Power Equality |
| コンテスト | |
| ユーザー |
Kiri8128
|
| 提出日時 | 2021-06-25 21:22:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,704 KB |
| 最終ジャッジ日時 | 2026-03-11 16:59:03 |
| 合計ジャッジ時間 | 1,931 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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