結果

問題 No.1628 Sorting Integers (MAX of M)
ユーザー tobusakanatobusakana
提出日時 2022-11-06 02:28:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 1,454 ms
コンパイル使用メモリ 86,684 KB
実行使用メモリ 71,304 KB
最終ジャッジ日時 2023-09-27 01:10:35
合計ジャッジ時間 2,096 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,136 KB
testcase_01 AC 70 ms
71,304 KB
testcase_02 AC 67 ms
71,068 KB
testcase_03 AC 68 ms
70,984 KB
testcase_04 AC 66 ms
71,160 KB
testcase_05 AC 69 ms
71,212 KB
testcase_06 AC 69 ms
71,176 KB
testcase_07 AC 69 ms
71,088 KB
testcase_08 AC 67 ms
71,060 KB
testcase_09 AC 67 ms
71,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
C = list(map(int,input().split()))

ans = []
for i in range(8, -1, -1):
  ans.append(str(i + 1) * C[i])
  
print("".join(ans))
0