結果

問題 No.1628 Sorting Integers (MAX of M)
ユーザー SidewaysOwl
提出日時 2021-07-30 20:34:06
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 157 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 81,976 KB
実行使用メモリ 65,080 KB
最終ジャッジ日時 2024-09-15 22:25:37
合計ジャッジ時間 1,536 ms
ジャッジサーバーID
(参考情報)
judge6 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 RE * 1
other AC * 5 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
c = list(map(int,input().split()))
ans = ""
for i in range(n-1,-1,-1):
    for j in range(c[i]):
         ans += str((i+1))
print(int(ans))
0