結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
11,264 KB
testcase_01 AC 30 ms
11,392 KB
testcase_02 AC 29 ms
11,392 KB
testcase_03 AC 28 ms
11,264 KB
testcase_04 AC 27 ms
11,264 KB
testcase_05 AC 28 ms
11,392 KB
testcase_06 WA -
testcase_07 AC 30 ms
11,392 KB
testcase_08 AC 29 ms
11,264 KB
testcase_09 AC 28 ms
11,264 KB
testcase_10 AC 27 ms
11,392 KB
testcase_11 AC 28 ms
11,264 KB
testcase_12 WA -
testcase_13 AC 27 ms
11,392 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("1000000000000000000")
print("Yes" if e % decimal.Decimal("1") else "No")
0