結果

問題 No.858 わり算
ユーザー titiatitia
提出日時 2019-08-09 21:38:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 24 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 415 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 9,036 KB
最終ジャッジ日時 2023-10-12 08:35:35
合計ジャッジ時間 967 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,988 KB
testcase_01 AC 24 ms
8,836 KB
testcase_02 AC 20 ms
8,836 KB
testcase_03 AC 20 ms
8,928 KB
testcase_04 AC 20 ms
9,036 KB
testcase_05 AC 21 ms
8,784 KB
testcase_06 AC 20 ms
8,948 KB
testcase_07 AC 21 ms
8,836 KB
testcase_08 AC 20 ms
9,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())

from decimal import *
getcontext().prec = 100
ANS=str(f'{Decimal(A)/Decimal(B):.100f}')

ind=ANS.index(".")

print(ANS[:ind+51])
0