結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 80 ms
15,180 KB
testcase_02 AC 78 ms
15,132 KB
testcase_03 WA -
testcase_04 AC 80 ms
15,372 KB
testcase_05 AC 78 ms
15,204 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 77 ms
15,108 KB
testcase_09 AC 79 ms
15,116 KB
testcase_10 AC 80 ms
15,184 KB
testcase_11 AC 79 ms
15,328 KB
testcase_12 AC 79 ms
15,252 KB
testcase_13 AC 79 ms
15,264 KB
testcase_14 AC 84 ms
15,148 KB
testcase_15 AC 80 ms
15,268 KB
testcase_16 AC 79 ms
15,192 KB
testcase_17 AC 81 ms
15,096 KB
testcase_18 WA -
testcase_19 AC 82 ms
15,164 KB
testcase_20 AC 81 ms
15,308 KB
testcase_21 AC 79 ms
15,304 KB
testcase_22 AC 79 ms
15,104 KB
testcase_23 AC 82 ms
15,272 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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

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