結果

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

ソースコード

diff #

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

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