結果
| 問題 | No.1464 Number Conversion |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-02 21:39:20 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 136 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 13,824 KB |
| 最終ジャッジ日時 | 2026-10-06 16:59:27 |
| 合計ジャッジ時間 | 2,797 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 RE * 23 |
ソースコード
from fractions import Fraction
x = float(input())
if x % 1 == 0:
print(str(int(x)) + "/1")
else:
print(Fraction(float(input())))