結果

問題 No.207 世界のなんとか
ユーザー TakashinaInHubTakashinaInHub
提出日時 2016-01-27 21:35:55
言語 Ruby
(3.3.0)
結果
RE  
実行時間 -
コード長 184 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 11,912 KB
実行使用メモリ 18,904 KB
最終ジャッジ日時 2023-10-21 16:25:45
合計ジャッジ時間 3,118 ms
ジャッジサーバーID
(参考情報)
judge10 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
16,104 KB
testcase_01 RE -
testcase_02 AC 84 ms
16,100 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 AC 85 ms
16,104 KB
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 AC 84 ms
16,104 KB
testcase_18 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

def Include3(n)
  a = false
  return true if n%10 == 3
  a = Include3(n/10)
  a
end

startn, endn = gets.chomp.split(" ").map &:to_i
(startn..endn).each { |n|
  puts n if Include3(n)
}
0