結果

問題 No.1464 Number Conversion
ユーザー 小野寺健小野寺健
提出日時 2021-04-29 16:08:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 9,812 KB
最終ジャッジ日時 2023-09-23 00:50:27
合計ジャッジ時間 3,272 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
9,704 KB
testcase_01 AC 30 ms
9,700 KB
testcase_02 AC 30 ms
9,652 KB
testcase_03 AC 30 ms
9,676 KB
testcase_04 AC 30 ms
9,612 KB
testcase_05 AC 29 ms
9,680 KB
testcase_06 AC 30 ms
9,604 KB
testcase_07 AC 30 ms
9,764 KB
testcase_08 AC 30 ms
9,704 KB
testcase_09 AC 29 ms
9,772 KB
testcase_10 AC 29 ms
9,764 KB
testcase_11 AC 29 ms
9,764 KB
testcase_12 AC 29 ms
9,612 KB
testcase_13 AC 30 ms
9,652 KB
testcase_14 AC 30 ms
9,764 KB
testcase_15 AC 30 ms
9,596 KB
testcase_16 AC 30 ms
9,712 KB
testcase_17 AC 30 ms
9,464 KB
testcase_18 AC 29 ms
9,768 KB
testcase_19 AC 29 ms
9,656 KB
testcase_20 AC 29 ms
9,648 KB
testcase_21 AC 29 ms
9,700 KB
testcase_22 AC 30 ms
9,604 KB
testcase_23 AC 29 ms
9,680 KB
testcase_24 AC 29 ms
9,600 KB
testcase_25 AC 29 ms
9,812 KB
testcase_26 AC 30 ms
9,604 KB
testcase_27 AC 29 ms
9,604 KB
testcase_28 AC 30 ms
9,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from fractions import Fraction

X = input()

f = Fraction(X)

print(f.numerator, f.denominator, sep='/')
0