結果
| 問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-19 21:34:41 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 148 ms / 2,000 ms |
| コード長 | 128 bytes |
| 記録 | |
| コンパイル時間 | 179 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 109,056 KB |
| 最終ジャッジ日時 | 2026-04-27 22:45:14 |
| 合計ジャッジ時間 | 4,055 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
n = int(input()) a = [int(x) for x in input().split()] a.sort() x = 0 for ai in a: x *= 10 x += ai x %= 998244353 print(x)