結果
| 問題 | No.773 コンテスト |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-04 17:18:40 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 212 bytes |
| 記録 | |
| コンパイル時間 | 137 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,848 KB |
| 最終ジャッジ日時 | 2026-05-17 17:22:32 |
| 合計ジャッジ時間 | 2,678 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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