結果

問題 No.1464 Number Conversion
ユーザー mono_0812mono_0812
提出日時 2021-04-02 22:13:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 222 ms / 2,000 ms
コード長 552 bytes
コンパイル時間 444 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 91,888 KB
最終ジャッジ日時 2023-08-25 12:25:31
合計ジャッジ時間 8,304 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 216 ms
91,468 KB
testcase_01 AC 222 ms
91,608 KB
testcase_02 AC 217 ms
91,460 KB
testcase_03 AC 217 ms
91,504 KB
testcase_04 AC 216 ms
91,552 KB
testcase_05 AC 213 ms
91,620 KB
testcase_06 AC 214 ms
91,628 KB
testcase_07 AC 216 ms
91,876 KB
testcase_08 AC 217 ms
91,820 KB
testcase_09 AC 218 ms
91,868 KB
testcase_10 AC 217 ms
91,700 KB
testcase_11 AC 215 ms
91,612 KB
testcase_12 AC 218 ms
91,776 KB
testcase_13 AC 216 ms
91,608 KB
testcase_14 AC 215 ms
91,828 KB
testcase_15 AC 220 ms
91,880 KB
testcase_16 AC 216 ms
91,824 KB
testcase_17 AC 218 ms
91,616 KB
testcase_18 AC 219 ms
91,620 KB
testcase_19 AC 220 ms
91,464 KB
testcase_20 AC 218 ms
91,888 KB
testcase_21 AC 219 ms
91,768 KB
testcase_22 AC 218 ms
91,588 KB
testcase_23 AC 218 ms
91,620 KB
testcase_24 AC 220 ms
91,740 KB
testcase_25 AC 221 ms
91,516 KB
testcase_26 AC 219 ms
91,776 KB
testcase_27 AC 216 ms
91,532 KB
testcase_28 AC 220 ms
91,612 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0