結果

問題 No.668 6.0*10^23
ユーザー 👑 horiesinitihoriesiniti
提出日時 2018-03-27 07:51:38
言語 Ruby
(3.3.0)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 16,704 KB
最終ジャッジ日時 2023-09-12 17:54:13
合計ジャッジ時間 6,703 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,064 KB
testcase_01 AC 87 ms
16,448 KB
testcase_02 AC 83 ms
16,092 KB
testcase_03 AC 80 ms
15,864 KB
testcase_04 AC 82 ms
15,796 KB
testcase_05 AC 79 ms
15,844 KB
testcase_06 AC 82 ms
16,128 KB
testcase_07 AC 78 ms
15,112 KB
testcase_08 AC 78 ms
15,032 KB
testcase_09 AC 78 ms
15,364 KB
testcase_10 AC 80 ms
15,920 KB
testcase_11 AC 88 ms
16,496 KB
testcase_12 AC 80 ms
15,776 KB
testcase_13 AC 87 ms
16,236 KB
testcase_14 AC 84 ms
16,068 KB
testcase_15 AC 79 ms
15,708 KB
testcase_16 AC 78 ms
15,648 KB
testcase_17 AC 85 ms
16,408 KB
testcase_18 AC 81 ms
16,052 KB
testcase_19 AC 79 ms
15,760 KB
testcase_20 AC 83 ms
16,044 KB
testcase_21 AC 81 ms
16,160 KB
testcase_22 AC 86 ms
16,484 KB
testcase_23 AC 83 ms
15,916 KB
testcase_24 AC 79 ms
15,564 KB
testcase_25 AC 86 ms
16,524 KB
testcase_26 AC 77 ms
15,360 KB
testcase_27 AC 84 ms
16,128 KB
testcase_28 AC 86 ms
16,232 KB
testcase_29 AC 81 ms
15,844 KB
testcase_30 AC 87 ms
16,264 KB
testcase_31 AC 83 ms
16,200 KB
testcase_32 AC 78 ms
15,660 KB
testcase_33 AC 86 ms
16,176 KB
testcase_34 AC 80 ms
15,696 KB
testcase_35 AC 79 ms
15,644 KB
testcase_36 AC 83 ms
15,948 KB
testcase_37 AC 88 ms
16,388 KB
testcase_38 AC 80 ms
16,032 KB
testcase_39 AC 83 ms
16,028 KB
testcase_40 AC 86 ms
16,240 KB
testcase_41 AC 84 ms
16,172 KB
testcase_42 AC 82 ms
16,016 KB
testcase_43 AC 91 ms
16,460 KB
testcase_44 AC 88 ms
16,704 KB
testcase_45 AC 78 ms
15,252 KB
testcase_46 AC 78 ms
15,116 KB
testcase_47 AC 78 ms
15,036 KB
testcase_48 AC 77 ms
15,116 KB
testcase_49 AC 77 ms
15,088 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

x=gets.chomp
y=x.to_i
y=y.round(-x.size+2).to_s
puts y[0]+"."+y[1] + "*10^"+(y.size-1).to_s
0