結果

問題 No.2729 Addition and Multiplication in yukicoder (Easy)
ユーザー YhuanDebeste
提出日時 2024-04-19 22:13:07
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 150 bytes
コンパイル時間 400 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 120,732 KB
最終ジャッジ日時 2024-10-11 15:34:08
合計ジャッジ時間 4,471 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other TLE * 1 -- * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

from functools import reduce
n = int(input())
arr = list(map(int, input().split()))
arr.sort()
print(reduce(lambda a, b:(10*a) + b, arr) % 998244353)
0