結果
| 問題 | No.1464 Number Conversion | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-04-02 21:51:04 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 30 ms / 2,000 ms | 
| コード長 | 452 bytes | 
| コンパイル時間 | 238 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 11,264 KB | 
| 最終ジャッジ日時 | 2024-12-23 19:06:17 | 
| 合計ジャッジ時間 | 1,811 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 29 | 
ソースコード
import sys
sys.setrecursionlimit(10 ** 6)
def II(): return int(sys.stdin.readline())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LC(): return list(input())
def IC(): return [int(c) for c in input()]
def MI(): return map(int, sys.stdin.readline().split())
INF = float('inf')
def solve():
    from decimal import Decimal
    X = input()
    Ans = Decimal(X).as_integer_ratio()
    print(Ans[0],"/",Ans[1],sep="")
    return
solve()
            
            
            
        