結果
| 問題 | No.858 わり算 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-08 13:32:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 2,000 ms |
| コード長 | 303 bytes |
| 記録 | |
| コンパイル時間 | 293 ms |
| コンパイル使用メモリ | 82,172 KB |
| 実行使用メモリ | 54,092 KB |
| 最終ジャッジ日時 | 2025-12-08 13:32:58 |
| 合計ジャッジ時間 | 1,632 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
import sys
from math import gcd
def input(): return sys.stdin.readline().rstrip('\n')
def main():
a, b = map(int, input().split())
r = a * 10 ** 50 // b
print(f'{r // 10 ** 50}.{r % 10 ** 50:050}')
if __name__ == '__main__':
ret = main()
if ret is not None:
print(ret)