結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-20 23:37:54 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 112 bytes |
| コンパイル時間 | 319 ms |
| コンパイル使用メモリ | 8,064 KB |
| 実行使用メモリ | 20,224 KB |
| 最終ジャッジ日時 | 2025-08-20 23:38:00 |
| 合計ジャッジ時間 | 4,571 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 19 |
コンパイルメッセージ
Main.rb:3: warning: possibly useless use of .. in void context Syntax OK
ソースコード
a,b=gets.split.map(&:to_i)
a..b.each do |i|
if i % 3 == 0 && i.to_s.include?('3')
puts i
end
end