結果

問題 No.1528 Not 1
ユーザー tamura2004tamura2004
提出日時 2021-06-26 20:36:08
言語 Crystal
(1.11.2)
結果
WA  
実行時間 -
コード長 91 bytes
コンパイル時間 18,564 ms
コンパイル使用メモリ 255,760 KB
実行使用メモリ 6,772 KB
最終ジャッジ日時 2023-09-07 15:39:51
合計ジャッジ時間 21,629 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 8 ms
6,564 KB
testcase_02 AC 4 ms
5,140 KB
testcase_03 AC 5 ms
4,924 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 6 ms
5,656 KB
testcase_07 AC 8 ms
6,636 KB
testcase_08 WA -
testcase_09 AC 3 ms
4,880 KB
testcase_10 AC 5 ms
5,208 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 3 ms
4,476 KB
testcase_16 AC 2 ms
4,400 KB
testcase_17 AC 3 ms
4,484 KB
testcase_18 AC 9 ms
6,772 KB
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = gets.to_s.to_i64
n = (n + 1) // 2
a = Array.new(n){ |i| (i + 1) * 2 }.join(" ")
puts a
0