結果

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

ソースコード

diff #

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

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