結果
| 問題 |
No.1464 Number Conversion
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-04-03 05:56:43 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 104 bytes |
| コンパイル時間 | 192 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-12-24 06:11:09 |
| 合計ジャッジ時間 | 2,862 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
ソースコード
x = int(round(float(input())*10**9))
y = 10**9
from math import gcd
g = gcd(x,y)
print(f"{x//g}/{y//g}")
convexineq