結果

問題 No.207 世界のなんとか
ユーザー cielciel
提出日時 2015-09-28 15:49:32
言語 Crystal
(1.11.2)
結果
AC  
実行時間 3 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 18,902 ms
コンパイル使用メモリ 254,428 KB
実行使用メモリ 4,928 KB
最終ジャッジ日時 2023-09-13 08:55:18
合計ジャッジ時間 19,724 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,792 KB
testcase_01 AC 3 ms
4,784 KB
testcase_02 AC 3 ms
4,788 KB
testcase_03 AC 3 ms
4,796 KB
testcase_04 AC 2 ms
4,816 KB
testcase_05 AC 2 ms
4,772 KB
testcase_06 AC 3 ms
4,868 KB
testcase_07 AC 3 ms
4,860 KB
testcase_08 AC 3 ms
4,928 KB
testcase_09 AC 3 ms
4,820 KB
testcase_10 AC 3 ms
4,712 KB
testcase_11 AC 3 ms
4,864 KB
testcase_12 AC 3 ms
4,784 KB
testcase_13 AC 3 ms
4,804 KB
testcase_14 AC 3 ms
4,928 KB
testcase_15 AC 3 ms
4,868 KB
testcase_16 AC 3 ms
4,844 KB
testcase_17 AC 2 ms
4,556 KB
testcase_18 AC 3 ms
4,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env crystal
a,b=gets.not_nil!.split.map &.to_i
puts (a..b).select{|i|i%3==0||i.to_s=~/3/}.join("\n")
0