結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-16 11:36:26 |
| 言語 | Ruby (4.0.2) |
| 結果 |
AC
|
| 実行時間 | 87 ms / 5,000 ms |
| コード長 | 102 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 9,344 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-04-30 22:51:49 |
| 合計ジャッジ時間 | 4,602 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 |
コンパイルメッセージ
Main.rb:3: warning: '%' after local variable or literal is interpreted as binary operator 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