結果

問題 No.478 一般門松列列
ユーザー vwxyzvwxyz
提出日時 2023-07-14 07:08:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 170 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 9,012 KB
最終ジャッジ日時 2023-10-13 19:40:31
合計ジャッジ時間 5,427 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 14 ms
7,812 KB
testcase_02 AC 14 ms
7,812 KB
testcase_03 AC 14 ms
7,852 KB
testcase_04 AC 14 ms
7,956 KB
testcase_05 AC 14 ms
7,960 KB
testcase_06 WA -
testcase_07 AC 14 ms
7,780 KB
testcase_08 AC 15 ms
7,916 KB
testcase_09 AC 15 ms
7,960 KB
testcase_10 WA -
testcase_11 AC 24 ms
8,900 KB
testcase_12 AC 26 ms
8,832 KB
testcase_13 WA -
testcase_14 AC 25 ms
9,012 KB
testcase_15 WA -
testcase_16 AC 18 ms
8,556 KB
testcase_17 AC 23 ms
8,700 KB
testcase_18 AC 21 ms
8,528 KB
testcase_19 AC 25 ms
8,840 KB
testcase_20 AC 24 ms
8,756 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 17 ms
8,564 KB
testcase_28 AC 15 ms
8,348 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 19 ms
8,548 KB
testcase_32 WA -
testcase_33 AC 18 ms
8,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
readline=sys.stdin.readline

N,K=map(int,readline().split())
ans_lst=[[0,2,1,3][i%4] for i in range(N)]
for i in range(N-K,N):
    ans_lst[i]=4
print(*ans_lst)
0