結果
問題 | No.379 五円硬貨 |
ユーザー | akko_yukky |
提出日時 | 2017-05-24 18:24:36 |
言語 | Ruby (3.2.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 72 bytes |
コンパイル時間 | 62 ms |
コンパイル使用メモリ | 11,932 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2023-10-19 20:04:49 |
合計ジャッジ時間 | 2,426 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 89 ms
16,124 KB |
testcase_01 | AC | 87 ms
16,124 KB |
testcase_02 | AC | 87 ms
16,124 KB |
testcase_03 | AC | 86 ms
16,124 KB |
testcase_04 | WA | - |
testcase_05 | AC | 87 ms
16,124 KB |
testcase_06 | WA | - |
testcase_07 | AC | 87 ms
16,124 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 86 ms
16,124 KB |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | AC | 86 ms
16,124 KB |
testcase_17 | WA | - |
コンパイルメッセージ
Syntax OK
ソースコード
n,g,v = gets.split.map(&:to_i) c=n/5 #5円玉の枚数 puts (c/v)*g.to_f