結果

問題 No.1464 Number Conversion
ユーザー otsunekootsuneko
提出日時 2021-05-05 00:54:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 550 ms
コンパイル使用メモリ 87,280 KB
実行使用メモリ 77,004 KB
最終ジャッジ日時 2023-10-01 03:05:32
合計ジャッジ時間 5,676 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 661 ms
76,712 KB
testcase_03 AC 69 ms
71,296 KB
testcase_04 AC 67 ms
71,368 KB
testcase_05 AC 65 ms
71,496 KB
testcase_06 AC 67 ms
71,492 KB
testcase_07 AC 81 ms
76,812 KB
testcase_08 AC 78 ms
76,524 KB
testcase_09 AC 74 ms
76,356 KB
testcase_10 AC 66 ms
71,604 KB
testcase_11 AC 182 ms
76,864 KB
testcase_12 WA -
testcase_13 AC 71 ms
76,364 KB
testcase_14 AC 109 ms
76,564 KB
testcase_15 AC 66 ms
71,640 KB
testcase_16 AC 68 ms
71,320 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 68 ms
76,236 KB
testcase_21 AC 73 ms
76,104 KB
testcase_22 WA -
testcase_23 AC 65 ms
71,272 KB
testcase_24 AC 65 ms
71,416 KB
testcase_25 AC 67 ms
71,608 KB
testcase_26 WA -
testcase_27 AC 66 ms
71,624 KB
testcase_28 AC 68 ms
71,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

X = float(input())

if X == 0:
    print(0)
    exit()

for i in range(1,10**8+1):
    X2 = X*i
    if int(X2) != 0 and X2 == int(X2):
        print(str(int(X2))+"/"+str(i))
        break
0