結果

問題 No.1114 足し算盆に返らず
ユーザー tomoyaatcodertomoyaatcoder
提出日時 2020-08-01 03:43:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 530 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 78,156 KB
最終ジャッジ日時 2023-09-21 08:51:42
合計ジャッジ時間 9,554 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
77,932 KB
testcase_01 AC 88 ms
78,024 KB
testcase_02 AC 91 ms
78,156 KB
testcase_03 AC 86 ms
77,416 KB
testcase_04 AC 87 ms
77,996 KB
testcase_05 AC 86 ms
77,160 KB
testcase_06 AC 86 ms
77,600 KB
testcase_07 AC 89 ms
77,616 KB
testcase_08 AC 86 ms
77,228 KB
testcase_09 AC 84 ms
77,104 KB
testcase_10 AC 84 ms
77,208 KB
testcase_11 AC 85 ms
76,328 KB
testcase_12 AC 86 ms
77,212 KB
testcase_13 AC 91 ms
77,932 KB
testcase_14 AC 84 ms
76,420 KB
testcase_15 AC 87 ms
77,160 KB
testcase_16 AC 87 ms
77,380 KB
testcase_17 AC 87 ms
77,480 KB
testcase_18 AC 85 ms
76,308 KB
testcase_19 AC 85 ms
76,880 KB
testcase_20 AC 88 ms
77,656 KB
testcase_21 AC 85 ms
77,080 KB
testcase_22 AC 73 ms
70,940 KB
testcase_23 AC 73 ms
71,444 KB
testcase_24 AC 72 ms
71,412 KB
testcase_25 AC 74 ms
71,380 KB
testcase_26 AC 74 ms
71,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def is_ok(a):
    if a % 2 == 0 and a // 2 % 2 == 0:
        return True

N = int(input())

ans1 = [i for i in range(1, N + 1, 2)]
# if is_ok(N):
#     ans1.append(N)
print(*ans1)
0