結果
| 問題 | No.2734 Addition and Multiplication in yukicoder (Hard) |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2024-04-19 23:05:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 159 bytes |
| 記録 | |
| コンパイル時間 | 636 ms |
| コンパイル使用メモリ | 81,792 KB |
| 実行使用メモリ | 103,552 KB |
| 最終ジャッジ日時 | 2024-10-11 17:14:05 |
| 合計ジャッジ時間 | 7,457 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 WA * 35 |
ソースコード
N = int(input())
A = sorted(list(input().split()))
ans = 0
MOD = 998244353
for i in range(N):
ans = ans*10**len(A[i])+int(A[i])
ans %= MOD
print(ans)
detteiuu