結果

問題 No.1464 Number Conversion
ユーザー 👑 H20H20
提出日時 2021-04-02 21:48:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 216 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 533 ms
コンパイル使用メモリ 87,000 KB
実行使用メモリ 89,284 KB
最終ジャッジ日時 2023-08-25 11:59:36
合計ジャッジ時間 8,034 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 211 ms
89,092 KB
testcase_01 AC 208 ms
89,188 KB
testcase_02 AC 212 ms
88,936 KB
testcase_03 AC 212 ms
89,264 KB
testcase_04 AC 210 ms
89,228 KB
testcase_05 AC 212 ms
89,204 KB
testcase_06 AC 202 ms
89,152 KB
testcase_07 AC 201 ms
88,992 KB
testcase_08 AC 209 ms
89,228 KB
testcase_09 AC 212 ms
89,200 KB
testcase_10 AC 210 ms
88,860 KB
testcase_11 AC 200 ms
89,284 KB
testcase_12 AC 201 ms
89,124 KB
testcase_13 AC 203 ms
88,864 KB
testcase_14 AC 204 ms
89,220 KB
testcase_15 AC 205 ms
88,860 KB
testcase_16 AC 201 ms
88,812 KB
testcase_17 AC 212 ms
88,836 KB
testcase_18 AC 204 ms
89,240 KB
testcase_19 AC 213 ms
89,032 KB
testcase_20 AC 213 ms
89,112 KB
testcase_21 AC 216 ms
89,096 KB
testcase_22 AC 208 ms
89,168 KB
testcase_23 AC 205 ms
89,260 KB
testcase_24 AC 209 ms
89,032 KB
testcase_25 AC 206 ms
89,256 KB
testcase_26 AC 213 ms
88,864 KB
testcase_27 AC 210 ms
88,860 KB
testcase_28 AC 208 ms
89,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import *
import math 
X = Decimal(input())*10**10
temp = math.gcd(int(X),10**10)
print(str(X//temp)+'/'+str(10**10//temp))
0