結果
| 問題 | No.1628 Sorting Integers (MAX of M) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-30 20:31:58 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 114 ms / 2,000 ms |
| + 328µs | |
| コード長 | 385 bytes |
| 記録 | |
| コンパイル時間 | 258 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 84,864 KB |
| 最終ジャッジ日時 | 2026-08-28 07:25:05 |
| 合計ジャッジ時間 | 2,920 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
ソースコード
import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import permutations
from math import gcd,log
input = lambda :sys.stdin.buffer.readline()
mi = lambda :map(int,input().split())
li = lambda :list(mi())
N = int(input())
c = li()
res = []
for i in range(9,0,-1):
res += [str(i)]*c[i-1]
print("".join(res))