結果

問題 No.169 何分かかるの!?
ユーザー nikuzukinikuzuki
提出日時 2015-12-04 20:47:24
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 77 bytes
コンパイル時間 229 ms
コンパイル使用メモリ 11,568 KB
実行使用メモリ 15,404 KB
最終ジャッジ日時 2023-10-12 14:27:09
合計ジャッジ時間 3,576 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 84 ms
15,352 KB
testcase_02 AC 83 ms
15,188 KB
testcase_03 WA -
testcase_04 AC 82 ms
15,088 KB
testcase_05 AC 82 ms
15,300 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 82 ms
15,152 KB
testcase_09 AC 82 ms
15,140 KB
testcase_10 AC 82 ms
15,044 KB
testcase_11 AC 83 ms
15,256 KB
testcase_12 AC 81 ms
15,160 KB
testcase_13 AC 82 ms
15,164 KB
testcase_14 AC 81 ms
15,164 KB
testcase_15 AC 81 ms
15,288 KB
testcase_16 AC 81 ms
15,312 KB
testcase_17 AC 81 ms
15,348 KB
testcase_18 WA -
testcase_19 AC 81 ms
15,180 KB
testcase_20 AC 81 ms
15,156 KB
testcase_21 AC 82 ms
15,292 KB
testcase_22 AC 84 ms
15,088 KB
testcase_23 AC 83 ms
15,156 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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

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