結果

問題 No.2092 Conjugation
ユーザー a aa a
提出日時 2022-10-10 05:30:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 10,612 KB
実行使用メモリ 24,372 KB
最終ジャッジ日時 2023-09-06 06:53:23
合計ジャッジ時間 2,544 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,968 KB
testcase_01 AC 14 ms
7,792 KB
testcase_02 AC 13 ms
7,716 KB
testcase_03 AC 13 ms
7,928 KB
testcase_04 AC 13 ms
7,948 KB
testcase_05 AC 13 ms
7,816 KB
testcase_06 AC 14 ms
7,852 KB
testcase_07 AC 37 ms
16,496 KB
testcase_08 AC 74 ms
20,900 KB
testcase_09 AC 56 ms
18,308 KB
testcase_10 AC 59 ms
18,876 KB
testcase_11 AC 60 ms
19,004 KB
testcase_12 AC 53 ms
18,152 KB
testcase_13 AC 43 ms
17,156 KB
testcase_14 AC 41 ms
16,848 KB
testcase_15 AC 54 ms
18,344 KB
testcase_16 AC 97 ms
22,656 KB
testcase_17 AC 98 ms
20,388 KB
testcase_18 AC 102 ms
24,372 KB
testcase_19 AC 55 ms
9,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=list(map(int,input().split()))
l.append(0)
b=[]
for i in range(n):
    b.extend([i+1]*(l[i]-l[i+1]))
print(' '.join(list(map(str,b[::-1]))))
0