結果

問題 No.478 一般門松列列
ユーザー brthyyjpbrthyyjp
提出日時 2021-09-01 16:48:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 379 ms
コンパイル使用メモリ 87,348 KB
実行使用メモリ 78,812 KB
最終ジャッジ日時 2023-08-18 15:42:39
合計ジャッジ時間 5,126 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
71,284 KB
testcase_01 AC 61 ms
71,396 KB
testcase_02 AC 63 ms
71,264 KB
testcase_03 AC 65 ms
71,456 KB
testcase_04 AC 61 ms
71,216 KB
testcase_05 AC 61 ms
71,340 KB
testcase_06 AC 59 ms
71,212 KB
testcase_07 AC 60 ms
71,264 KB
testcase_08 AC 60 ms
71,444 KB
testcase_09 AC 60 ms
71,404 KB
testcase_10 AC 59 ms
71,336 KB
testcase_11 AC 70 ms
78,624 KB
testcase_12 AC 68 ms
78,812 KB
testcase_13 AC 70 ms
78,404 KB
testcase_14 AC 69 ms
78,436 KB
testcase_15 AC 67 ms
78,640 KB
testcase_16 AC 68 ms
76,972 KB
testcase_17 AC 67 ms
78,416 KB
testcase_18 AC 70 ms
77,328 KB
testcase_19 AC 70 ms
78,380 KB
testcase_20 AC 68 ms
77,680 KB
testcase_21 AC 69 ms
77,344 KB
testcase_22 AC 66 ms
77,040 KB
testcase_23 AC 66 ms
77,052 KB
testcase_24 AC 69 ms
77,472 KB
testcase_25 AC 71 ms
77,768 KB
testcase_26 AC 67 ms
76,448 KB
testcase_27 AC 70 ms
76,428 KB
testcase_28 AC 70 ms
76,396 KB
testcase_29 AC 72 ms
76,532 KB
testcase_30 AC 75 ms
77,108 KB
testcase_31 AC 72 ms
77,148 KB
testcase_32 AC 71 ms
77,012 KB
testcase_33 AC 70 ms
76,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
ans = [1, 3, 2, 4]*n
ans = [1]*k+ans
ans = ans[0:n]
print(*ans)
0