結果

問題 No.169 何分かかるの!?
ユーザー nikuzukinikuzuki
提出日時 2015-12-04 20:28:38
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 79 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 11,260 KB
実行使用メモリ 15,368 KB
最終ジャッジ日時 2023-10-12 14:21:01
合計ジャッジ時間 3,016 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 79 ms
15,236 KB
testcase_02 AC 78 ms
15,144 KB
testcase_03 WA -
testcase_04 AC 77 ms
15,032 KB
testcase_05 AC 75 ms
15,124 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 78 ms
15,112 KB
testcase_09 AC 78 ms
15,364 KB
testcase_10 AC 79 ms
15,284 KB
testcase_11 AC 77 ms
15,092 KB
testcase_12 AC 74 ms
15,080 KB
testcase_13 AC 79 ms
15,192 KB
testcase_14 AC 78 ms
15,108 KB
testcase_15 AC 77 ms
15,328 KB
testcase_16 AC 78 ms
15,328 KB
testcase_17 AC 79 ms
15,260 KB
testcase_18 WA -
testcase_19 AC 78 ms
15,272 KB
testcase_20 AC 77 ms
15,328 KB
testcase_21 AC 77 ms
15,032 KB
testcase_22 AC 78 ms
15,120 KB
testcase_23 AC 77 ms
15,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

k = gets.chomp.to_f / 100.0
s = gets.chomp.to_f

per = s / (1 - k)
p per.floor
0