結果
| 問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2024-04-19 21:22:47 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 114 ms / 2,000 ms |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 85,888 KB |
| 実行使用メモリ | 114,304 KB |
| 最終ジャッジ日時 | 2026-04-27 22:11:31 |
| 合計ジャッジ時間 | 2,952 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
N = int(input())
A = sorted(list(map(int, input().split())))
ans = 0
mod = 998244353
for a in A:
ans *= 10
ans += a
ans %= mod
print(ans)
rlangevin