結果

問題 No.1464 Number Conversion
ユーザー marroncastlemarroncastle
提出日時 2021-04-02 22:32:30
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 195 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 89,268 KB
最終ジャッジ日時 2023-08-25 12:43:30
合計ジャッジ時間 6,826 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 174 ms
89,200 KB
testcase_01 AC 173 ms
89,124 KB
testcase_02 AC 176 ms
89,088 KB
testcase_03 AC 178 ms
89,148 KB
testcase_04 AC 174 ms
89,052 KB
testcase_05 AC 172 ms
89,092 KB
testcase_06 AC 180 ms
89,228 KB
testcase_07 AC 178 ms
89,048 KB
testcase_08 AC 172 ms
89,212 KB
testcase_09 AC 173 ms
89,240 KB
testcase_10 AC 171 ms
88,812 KB
testcase_11 AC 181 ms
88,912 KB
testcase_12 AC 181 ms
88,968 KB
testcase_13 AC 182 ms
88,972 KB
testcase_14 AC 187 ms
88,916 KB
testcase_15 AC 191 ms
89,144 KB
testcase_16 AC 181 ms
89,092 KB
testcase_17 AC 190 ms
89,196 KB
testcase_18 AC 195 ms
89,216 KB
testcase_19 AC 176 ms
89,148 KB
testcase_20 AC 176 ms
89,268 KB
testcase_21 AC 174 ms
89,000 KB
testcase_22 AC 175 ms
88,968 KB
testcase_23 AC 173 ms
89,144 KB
testcase_24 AC 176 ms
89,052 KB
testcase_25 AC 177 ms
88,836 KB
testcase_26 AC 180 ms
88,808 KB
testcase_27 AC 183 ms
89,004 KB
testcase_28 AC 172 ms
88,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal
X = int(Decimal(input())*10**8)
from math import gcd
g = gcd(X,10**8)
print(f'{X//g}/{10**8//g}')
0