結果

問題 No.668 6.0*10^23
ユーザー finefine
提出日時 2018-05-16 16:17:24
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 401 ms
コンパイル使用メモリ 11,468 KB
実行使用メモリ 15,580 KB
最終ジャッジ日時 2023-09-12 19:10:52
合計ジャッジ時間 6,509 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,248 KB
testcase_01 WA -
testcase_02 AC 79 ms
15,228 KB
testcase_03 AC 78 ms
15,108 KB
testcase_04 AC 81 ms
15,336 KB
testcase_05 AC 79 ms
15,308 KB
testcase_06 AC 80 ms
15,268 KB
testcase_07 AC 80 ms
15,200 KB
testcase_08 AC 80 ms
15,256 KB
testcase_09 WA -
testcase_10 AC 80 ms
15,144 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 80 ms
15,452 KB
testcase_14 WA -
testcase_15 AC 80 ms
15,324 KB
testcase_16 AC 79 ms
15,124 KB
testcase_17 WA -
testcase_18 AC 79 ms
15,296 KB
testcase_19 AC 81 ms
15,028 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 79 ms
15,352 KB
testcase_23 AC 78 ms
15,212 KB
testcase_24 AC 78 ms
15,192 KB
testcase_25 AC 77 ms
15,288 KB
testcase_26 AC 78 ms
15,056 KB
testcase_27 AC 76 ms
15,216 KB
testcase_28 AC 79 ms
15,556 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 77 ms
15,356 KB
testcase_34 AC 77 ms
15,356 KB
testcase_35 AC 77 ms
15,244 KB
testcase_36 AC 77 ms
15,224 KB
testcase_37 WA -
testcase_38 AC 78 ms
15,336 KB
testcase_39 WA -
testcase_40 AC 78 ms
15,372 KB
testcase_41 AC 78 ms
15,392 KB
testcase_42 AC 78 ms
15,272 KB
testcase_43 AC 80 ms
15,292 KB
testcase_44 AC 77 ms
15,284 KB
testcase_45 AC 77 ms
15,180 KB
testcase_46 WA -
testcase_47 AC 78 ms
15,204 KB
testcase_48 AC 78 ms
15,056 KB
testcase_49 AC 80 ms
15,052 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
n = s.size
t = s[0, 3]
if ["995", "996", "997", "998", "999"].include?(t)
    puts "1.0*10^#{n}"
else
    hoge = "%1.1f" % ((t.to_f+5)/100)
    puts "#{hoge}*10^#{n-1}"
end
0