結果

問題 No.478 一般門松列列
ユーザー hanorverhanorver
提出日時 2017-03-04 12:18:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 25 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 484 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 9,312 KB
最終ジャッジ日時 2023-09-05 05:07:26
合計ジャッジ時間 3,339 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,776 KB
testcase_01 AC 15 ms
7,888 KB
testcase_02 AC 16 ms
7,864 KB
testcase_03 AC 15 ms
7,820 KB
testcase_04 AC 15 ms
7,808 KB
testcase_05 AC 16 ms
7,784 KB
testcase_06 AC 15 ms
7,824 KB
testcase_07 AC 15 ms
7,940 KB
testcase_08 AC 16 ms
7,772 KB
testcase_09 AC 16 ms
7,860 KB
testcase_10 AC 15 ms
7,924 KB
testcase_11 AC 24 ms
9,004 KB
testcase_12 AC 24 ms
9,276 KB
testcase_13 AC 24 ms
9,312 KB
testcase_14 AC 24 ms
9,264 KB
testcase_15 AC 25 ms
9,160 KB
testcase_16 AC 18 ms
8,612 KB
testcase_17 AC 24 ms
9,200 KB
testcase_18 AC 21 ms
8,864 KB
testcase_19 AC 25 ms
9,136 KB
testcase_20 AC 23 ms
9,052 KB
testcase_21 AC 22 ms
8,928 KB
testcase_22 AC 19 ms
8,620 KB
testcase_23 AC 20 ms
8,548 KB
testcase_24 AC 22 ms
8,740 KB
testcase_25 AC 24 ms
9,180 KB
testcase_26 AC 17 ms
8,540 KB
testcase_27 AC 17 ms
8,420 KB
testcase_28 AC 17 ms
8,456 KB
testcase_29 AC 17 ms
8,240 KB
testcase_30 AC 20 ms
8,532 KB
testcase_31 AC 19 ms
8,656 KB
testcase_32 AC 18 ms
8,528 KB
testcase_33 AC 18 ms
8,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split());c=[1,3,2,4]*a;d=a-b;c[d:]=[c[d-1]]*(a-d);print(*c[:a])
0