結果

問題 No.1114 足し算盆に返らず
ユーザー rodearodea
提出日時 2020-08-22 15:02:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 133 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 13,772 KB
最終ジャッジ日時 2023-08-05 12:15:22
合計ジャッジ時間 11,042 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
13,600 KB
testcase_01 AC 33 ms
13,772 KB
testcase_02 AC 33 ms
13,708 KB
testcase_03 AC 28 ms
12,432 KB
testcase_04 AC 31 ms
13,244 KB
testcase_05 AC 24 ms
10,936 KB
testcase_06 AC 31 ms
13,356 KB
testcase_07 AC 32 ms
13,356 KB
testcase_08 AC 26 ms
11,312 KB
testcase_09 AC 25 ms
10,680 KB
testcase_10 AC 26 ms
11,316 KB
testcase_11 AC 18 ms
8,356 KB
testcase_12 AC 28 ms
11,856 KB
testcase_13 AC 33 ms
13,660 KB
testcase_14 AC 19 ms
9,044 KB
testcase_15 AC 23 ms
10,416 KB
testcase_16 AC 24 ms
11,080 KB
testcase_17 AC 27 ms
11,992 KB
testcase_18 AC 21 ms
9,780 KB
testcase_19 AC 23 ms
10,368 KB
testcase_20 AC 32 ms
13,316 KB
testcase_21 AC 22 ms
10,116 KB
testcase_22 AC 16 ms
7,816 KB
testcase_23 AC 16 ms
7,952 KB
testcase_24 AC 17 ms
7,868 KB
testcase_25 AC 16 ms
7,872 KB
testcase_26 AC 16 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

ans = []
for i in range(1, n + 1, 2):
    ans.append(i)

ans = [str(i) for i in ans]
ans = " ".join(ans)
print(ans)
0