結果

問題 No.1628 Sorting Integers (MAX of M)
ユーザー yuzu32ut
提出日時 2022-10-06 06:29:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-01-02 14:27:38
合計ジャッジ時間 1,385 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

input()
cs = [int(x) for x in input().split()]
cv = sum([[x] * y for (y, x) in zip(cs, range(1, 10))], [])
print(''.join([str(x) for x in sorted(cv, reverse=True)]))
0