結果

問題 No.285 消費税2
ユーザー muu16muu16
提出日時 2018-09-15 16:34:59
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 45 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 11,272 KB
実行使用メモリ 15,400 KB
最終ジャッジ日時 2023-09-25 08:38:30
合計ジャッジ時間 4,160 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 83 ms
15,168 KB
testcase_02 AC 82 ms
15,248 KB
testcase_03 AC 83 ms
15,136 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 84 ms
15,140 KB
testcase_07 AC 83 ms
15,280 KB
testcase_08 AC 84 ms
15,308 KB
testcase_09 WA -
testcase_10 AC 83 ms
15,284 KB
testcase_11 AC 85 ms
15,148 KB
testcase_12 AC 85 ms
15,048 KB
testcase_13 AC 82 ms
15,112 KB
testcase_14 WA -
testcase_15 AC 82 ms
15,128 KB
testcase_16 WA -
testcase_17 AC 82 ms
15,288 KB
testcase_18 AC 82 ms
15,284 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 81 ms
15,024 KB
testcase_24 AC 80 ms
15,076 KB
testcase_25 WA -
testcase_26 AC 81 ms
15,028 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 81 ms
15,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.chomp.to_i
p Rational(a * 1.08).to_f
0