結果
| 問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-20 15:37:44 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 106 ms / 2,000 ms |
| + 645µs | |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 68 ms |
| コンパイル使用メモリ | 80,752 KB |
| 実行使用メモリ | 116,536 KB |
| 最終ジャッジ日時 | 2026-09-14 17:29:49 |
| 合計ジャッジ時間 | 4,521 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)