結果

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

テストケース

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

ソースコード

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("1000000000000000000000000000000000000")
print("Yes" if e % decimal.Decimal("1") else "No")
0