結果
| 問題 | No.1464 Number Conversion |
| コンテスト | |
| ユーザー |
mono_0812
|
| 提出日時 | 2021-04-02 22:13:27 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 47 ms / 2,000 ms |
| + 909µs | |
| コード長 | 552 bytes |
| 記録 | |
| コンパイル時間 | 74 ms |
| コンパイル使用メモリ | 83,316 KB |
| 実行使用メモリ | 76,260 KB |
| 最終ジャッジ日時 | 2026-10-06 17:23:11 |
| 合計ジャッジ時間 | 3,090 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
ソースコード
def I(): return input()
def IS(): return input().split()
def II(): return int(input())
def IIS(): return map(int, input().split())
def LIIS(): return list(map(int, input().split()))
def ZER(N): return [False for _ in range(N)]
INF = 10**30
MOD = 10**9+7
# V
# / ̄ψ ̄\
# | 合格祈願 |
# |_____|
##############################################################################
from decimal import Decimal
from fractions import Fraction
x=Decimal(input())
ans=str(Fraction(x))
if x//1==x/1:
ans+="/1"
print(ans)
mono_0812