結果

問題 No.2729 Addition and Multiplication in yukicoder (Easy)
ユーザー hiro1729hiro1729
提出日時 2024-03-12 07:12:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 3,308 ms
コンパイル使用メモリ 81,444 KB
実行使用メモリ 111,588 KB
最終ジャッジ日時 2024-03-12 07:12:28
合計ジャッジ時間 4,289 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,332 KB
testcase_01 AC 33 ms
53,332 KB
testcase_02 AC 133 ms
111,588 KB
testcase_03 AC 117 ms
106,096 KB
testcase_04 AC 119 ms
106,428 KB
testcase_05 AC 118 ms
108,348 KB
testcase_06 AC 134 ms
108,104 KB
testcase_07 AC 130 ms
101,604 KB
testcase_08 AC 124 ms
107,664 KB
testcase_09 AC 34 ms
53,332 KB
testcase_10 AC 34 ms
53,332 KB
testcase_11 AC 36 ms
53,332 KB
testcase_12 AC 135 ms
108,104 KB
testcase_13 AC 135 ms
108,468 KB
testcase_14 AC 134 ms
107,980 KB
testcase_15 AC 134 ms
107,976 KB
testcase_16 AC 108 ms
97,476 KB
testcase_17 AC 109 ms
97,724 KB
testcase_18 AC 126 ms
102,916 KB
testcase_19 AC 107 ms
97,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353
N = int(input())
A = list(map(int, input().split()))
x = 0
for i in sorted(A):
	x = 10 * x + i
	x %= mod
print(x)
0