結果

問題 No.1464 Number Conversion
ユーザー roaris
提出日時 2021-04-02 21:39:34
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 54,016 KB
最終ジャッジ日時 2024-12-23 18:42:24
合計ジャッジ時間 2,671 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *
from math import gcd

X = float(input())
X *= 10**14
X = int(X)
G = gcd(X, 10**14)
print(str(X//G)+'/'+str(10**14//G))
0