結果

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

ソースコード

diff #

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

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