結果

問題 No.2729 Addition and Multiplication in yukicoder (Easy)
ユーザー miho-4miho-4
提出日時 2024-04-19 22:48:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 173 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 82,352 KB
実行使用メモリ 111,800 KB
最終ジャッジ日時 2024-04-19 22:49:00
合計ジャッジ時間 4,174 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,200 KB
testcase_01 AC 46 ms
51,968 KB
testcase_02 AC 173 ms
111,800 KB
testcase_03 AC 136 ms
104,192 KB
testcase_04 AC 131 ms
104,960 KB
testcase_05 AC 135 ms
107,264 KB
testcase_06 AC 161 ms
106,780 KB
testcase_07 AC 154 ms
100,352 KB
testcase_08 AC 150 ms
106,344 KB
testcase_09 AC 36 ms
51,968 KB
testcase_10 AC 42 ms
51,712 KB
testcase_11 AC 37 ms
51,584 KB
testcase_12 AC 165 ms
106,908 KB
testcase_13 AC 136 ms
107,552 KB
testcase_14 AC 137 ms
106,404 KB
testcase_15 AC 135 ms
106,720 KB
testcase_16 AC 109 ms
97,408 KB
testcase_17 AC 110 ms
97,536 KB
testcase_18 AC 129 ms
101,980 KB
testcase_19 AC 113 ms
97,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod=998244353
n=int(input())
L=list(map(int,input().split()))
L.sort()
x=0
for e in L:
	x*=10
	x+=e
	x%=mod
print(x%mod)
0