結果

問題 No.1114 足し算盆に返らず
ユーザー yuruhiyayuruhiya
提出日時 2020-07-18 15:43:57
言語 Crystal
(1.11.2)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 56 bytes
コンパイル時間 23,133 ms
コンパイル使用メモリ 252,328 KB
実行使用メモリ 5,664 KB
最終ジャッジ日時 2023-09-13 11:12:45
合計ジャッジ時間 28,578 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,576 KB
testcase_01 AC 6 ms
5,620 KB
testcase_02 AC 6 ms
5,644 KB
testcase_03 AC 5 ms
5,076 KB
testcase_04 AC 5 ms
5,664 KB
testcase_05 AC 4 ms
4,932 KB
testcase_06 AC 6 ms
5,664 KB
testcase_07 AC 5 ms
5,632 KB
testcase_08 AC 4 ms
5,072 KB
testcase_09 AC 4 ms
4,944 KB
testcase_10 AC 4 ms
5,060 KB
testcase_11 AC 3 ms
4,420 KB
testcase_12 AC 4 ms
4,984 KB
testcase_13 AC 5 ms
5,572 KB
testcase_14 AC 4 ms
4,548 KB
testcase_15 AC 4 ms
4,704 KB
testcase_16 AC 5 ms
4,976 KB
testcase_17 AC 5 ms
4,988 KB
testcase_18 AC 4 ms
4,748 KB
testcase_19 AC 4 ms
4,604 KB
testcase_20 AC 6 ms
5,552 KB
testcase_21 AC 3 ms
4,856 KB
testcase_22 AC 3 ms
4,380 KB
testcase_23 AC 2 ms
4,376 KB
testcase_24 AC 2 ms
4,380 KB
testcase_25 AC 2 ms
4,380 KB
testcase_26 AC 2 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = read_line.to_i
puts (1..n).select(&.odd?).join(' ')
0