結果
問題 |
No.207 世界のなんとか
|
ユーザー |
|
提出日時 | 2021-06-29 22:03:49 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 93 ms / 5,000 ms |
コード長 | 102 bytes |
コンパイル時間 | 118 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-26 00:35:29 |
合計ジャッジ時間 | 2,732 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 |
コンパイルメッセージ
Main.rb:3: warning: `%' after local variable or literal is interpreted as binary operator Main.rb:3: warning: even though it seems like string literal Syntax OK
ソースコード
a,b = gets.split.map(&:to_i) for i in a..b if i %3 == 0 || i.to_s.include?("3") puts i end end