結果
| 問題 | No.773 コンテスト |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-04 17:18:40 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 212 bytes |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-23 23:13:01 |
| 合計ジャッジ時間 | 2,955 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 21 |
コンパイルメッセージ
Syntax OK
ソースコード
line = gets.split(" ").map{|i| i.to_i}
count = 0
if (line[0]..line[1]).include?(23)
count+=1
end
if (line[0]..line[1]).include?(24)
count+=1
end
if (line[0]..line[1]).include?(25)
count+=1
end
puts count