結果
| 問題 |
No.542 1円玉と5円玉
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2017-09-15 12:38:20 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 2,000 ms |
| コード長 | 127 bytes |
| コンパイル時間 | 332 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-07 22:50:12 |
| 合計ジャッジ時間 | 2,371 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
コンパイルメッセージ
Syntax OK
ソースコード
d=0
a,b=gets.split.map{|e| e.to_i}
(b+1).times{|e5|
(a+1).times{|e1|
d1=e5*5+e1
if d<d1 then
d=d1
puts d1
end
}
}
horiesiniti