結果

問題 No.1628 Sorting Integers (MAX of M)
ユーザー davinchidavinchi
提出日時 2021-07-30 23:09:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 1,507 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 71,576 KB
最終ジャッジ日時 2023-10-14 08:07:10
合計ジャッジ時間 2,116 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,428 KB
testcase_01 AC 74 ms
71,424 KB
testcase_02 AC 75 ms
71,392 KB
testcase_03 AC 74 ms
71,284 KB
testcase_04 AC 74 ms
71,088 KB
testcase_05 AC 76 ms
71,072 KB
testcase_06 AC 73 ms
71,068 KB
testcase_07 AC 74 ms
71,576 KB
testcase_08 AC 73 ms
71,572 KB
testcase_09 AC 74 ms
71,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
clist=list(map(int,input().split()))
ans=""
for i in reversed(range(9)):
    ans+=str(i+1)*clist[i]

if ans=="":
    ans=0
print(int(ans))
0