結果

問題 No.207 世界のなんとか
ユーザー HenriettafnHenriettafn
提出日時 2017-08-16 11:27:56
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-04-21 14:08:50
合計ジャッジ時間 2,442 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 87 ms
12,160 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 85 ms
12,160 KB
testcase_07 AC 86 ms
12,288 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 87 ms
12,416 KB
testcase_17 AC 85 ms
12,160 KB
testcase_18 AC 86 ms
12,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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
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

ソースコード

diff #

a,b = gets.split.map(&:to_i)
for i in a..b
  if i %3 == 0 || i %10 == 3
    puts i
  end
end
0