結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
muu16
|
| 提出日時 | 2018-09-07 22:40:26 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| コンパイル時間 | 141 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-11-29 16:32:10 |
| 合計ジャッジ時間 | 2,577 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 18 |
コンパイルメッセージ
Main.rb:6: warning: mismatched indentations at 'elsif' with 'if' at 4 Syntax OK
ソースコード
a = gets.to_i
b = gets.to_i
(a..b).each do |k|
if k % 3 == 0
puts k
elsif k.to_s.include?("3")
puts k
else
nil
end
end
muu16