結果

問題 No.1464 Number Conversion
ユーザー nok0
提出日時 2021-04-02 21:30:19
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 129 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-23 18:22:22
合計ジャッジ時間 1,962 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25 WA * 2 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

x = float(input())
assert x != 0
x = int(x * 10 ** 8)
g = math.gcd(x, 10 ** 8)
print(x // g, 10 ** 8 // g, sep="/")
0