結果
| 問題 |
No.2729 Addition and Multiplication in yukicoder (Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 21:43:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 139 ms / 2,000 ms |
| コード長 | 142 bytes |
| コンパイル時間 | 383 ms |
| コンパイル使用メモリ | 82,012 KB |
| 実行使用メモリ | 112,268 KB |
| 最終ジャッジ日時 | 2024-10-11 14:33:16 |
| 合計ジャッジ時間 | 3,725 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
MOD = 998244353
N = int(input())
A = sorted(map(int,input().split()))
x = 0
for i in range(N):
x *= 10
x += A[i]
x %= MOD
print(x)