結果

問題 No.1224 I hate Sqrt Inequality
ユーザー 👑 nullnull
提出日時 2020-08-24 02:45:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,392 KB
最終ジャッジ日時 2024-04-23 18:52:23
合計ジャッジ時間 1,073 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
11,264 KB
testcase_01 AC 32 ms
11,264 KB
testcase_02 AC 32 ms
11,264 KB
testcase_03 WA -
testcase_04 AC 32 ms
11,264 KB
testcase_05 AC 29 ms
11,264 KB
testcase_06 WA -
testcase_07 AC 28 ms
11,264 KB
testcase_08 AC 30 ms
11,264 KB
testcase_09 AC 30 ms
11,392 KB
testcase_10 AC 29 ms
11,264 KB
testcase_11 AC 28 ms
11,264 KB
testcase_12 WA -
testcase_13 AC 29 ms
11,264 KB
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import decimal

a, b = map(int, input().split())
c = decimal.Decimal(a)
d = decimal.Decimal(b)
e = c / d
e = e * decimal.Decimal("100000000000000000")
f = bool(e % decimal.Decimal("1")) 
print("Yes" if f else "No")
0