結果

問題 No.858 わり算
ユーザー maspymaspy
提出日時 2020-01-07 21:51:13
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 281 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 9,128 KB
最終ジャッジ日時 2023-08-14 23:35:13
合計ジャッジ時間 1,135 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 23 ms
9,056 KB
testcase_01 WA -
testcase_02 AC 20 ms
9,104 KB
testcase_03 WA -
testcase_04 AC 20 ms
8,964 KB
testcase_05 AC 20 ms
8,920 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

from decimal import getcontext, Decimal

getcontext().prec = 100

a,b = map(int,read().split())

x = a * (10 ** 50) // b

x = Decimal(x) / (10 ** 50)

print(str(x))
0