結果
| 問題 |
No.2729 Addition and Multiplication in yukicoder (Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-20 15:37:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 143 ms / 2,000 ms |
| コード長 | 142 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 82,236 KB |
| 実行使用メモリ | 112,160 KB |
| 最終ジャッジ日時 | 2024-10-12 11:18:41 |
| 合計ジャッジ時間 | 3,624 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
MOD = 998_244_353
x = 0
for a in sorted(A):
x *= 10
x += a
x %= MOD
print(x)