結果
問題 | No.2729 Addition and Multiplication in yukicoder (Easy) |
ユーザー |
👑 |
提出日時 | 2024-04-19 21:34:41 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 149 ms / 2,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 673 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 100,352 KB |
最終ジャッジ日時 | 2024-10-11 14:15:51 |
合計ジャッジ時間 | 3,782 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 18 |
ソースコード
n = int(input())a = [int(x) for x in input().split()]a.sort()x = 0for ai in a:x *= 10x += aix %= 998244353print(x)