結果

問題 No.1114 足し算盆に返らず
ユーザー 👑 timitimi
提出日時 2020-10-12 14:59:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 11,788 KB
最終ジャッジ日時 2023-09-27 23:39:12
合計ジャッジ時間 6,193 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
11,584 KB
testcase_01 AC 44 ms
11,696 KB
testcase_02 AC 44 ms
11,588 KB
testcase_03 AC 37 ms
11,080 KB
testcase_04 AC 42 ms
11,588 KB
testcase_05 AC 28 ms
10,504 KB
testcase_06 AC 42 ms
11,736 KB
testcase_07 AC 43 ms
11,696 KB
testcase_08 AC 31 ms
10,560 KB
testcase_09 AC 29 ms
10,348 KB
testcase_10 AC 31 ms
10,652 KB
testcase_11 AC 16 ms
9,240 KB
testcase_12 AC 35 ms
10,932 KB
testcase_13 AC 46 ms
11,664 KB
testcase_14 AC 19 ms
9,516 KB
testcase_15 AC 26 ms
10,224 KB
testcase_16 AC 31 ms
10,504 KB
testcase_17 AC 36 ms
10,976 KB
testcase_18 AC 24 ms
9,780 KB
testcase_19 AC 26 ms
10,064 KB
testcase_20 AC 44 ms
11,788 KB
testcase_21 AC 27 ms
10,076 KB
testcase_22 AC 14 ms
8,236 KB
testcase_23 AC 14 ms
8,736 KB
testcase_24 AC 15 ms
8,776 KB
testcase_25 AC 14 ms
8,812 KB
testcase_26 AC 15 ms
8,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
if N==1:
    print(1)
    exit()
D=[0]*(10**5+1)
A=[]
for i in range(1,N+1):
    if i%2==1:
        A.append(i)
print(*A)
0