結果

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

ソースコード

diff #

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

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