結果

問題 No.1464 Number Conversion
ユーザー marroncastlemarroncastle
提出日時 2021-04-02 22:31:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 86,964 KB
実行使用メモリ 89,232 KB
最終ジャッジ日時 2023-08-25 12:42:01
合計ジャッジ時間 7,785 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 209 ms
89,140 KB
testcase_01 AC 204 ms
88,880 KB
testcase_02 AC 205 ms
88,868 KB
testcase_03 AC 209 ms
89,136 KB
testcase_04 AC 206 ms
88,884 KB
testcase_05 AC 202 ms
89,212 KB
testcase_06 AC 202 ms
89,120 KB
testcase_07 AC 203 ms
88,964 KB
testcase_08 AC 203 ms
89,232 KB
testcase_09 AC 208 ms
88,956 KB
testcase_10 AC 205 ms
89,220 KB
testcase_11 AC 205 ms
88,864 KB
testcase_12 AC 207 ms
89,160 KB
testcase_13 AC 210 ms
89,140 KB
testcase_14 AC 223 ms
88,900 KB
testcase_15 AC 208 ms
89,136 KB
testcase_16 AC 209 ms
89,136 KB
testcase_17 AC 211 ms
89,172 KB
testcase_18 AC 207 ms
88,944 KB
testcase_19 AC 214 ms
89,136 KB
testcase_20 AC 215 ms
88,972 KB
testcase_21 AC 218 ms
88,948 KB
testcase_22 AC 207 ms
89,132 KB
testcase_23 AC 210 ms
88,940 KB
testcase_24 AC 210 ms
88,804 KB
testcase_25 AC 212 ms
89,104 KB
testcase_26 AC 217 ms
89,216 KB
testcase_27 AC 215 ms
88,944 KB
testcase_28 AC 213 ms
88,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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