結果

問題 No.2729 Addition and Multiplication in yukicoder (Easy)
ユーザー 👑 KA37RIKA37RI
提出日時 2024-04-19 21:34:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 150 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 100,480 KB
最終ジャッジ日時 2024-04-19 21:35:00
合計ジャッジ時間 3,259 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
51,712 KB
testcase_01 AC 52 ms
51,584 KB
testcase_02 AC 150 ms
100,156 KB
testcase_03 AC 136 ms
91,520 KB
testcase_04 AC 125 ms
92,032 KB
testcase_05 AC 107 ms
93,952 KB
testcase_06 AC 122 ms
95,516 KB
testcase_07 AC 117 ms
100,480 KB
testcase_08 AC 111 ms
95,008 KB
testcase_09 AC 34 ms
51,584 KB
testcase_10 AC 34 ms
51,968 KB
testcase_11 AC 33 ms
51,968 KB
testcase_12 AC 141 ms
95,012 KB
testcase_13 AC 123 ms
95,520 KB
testcase_14 AC 121 ms
94,824 KB
testcase_15 AC 119 ms
94,880 KB
testcase_16 AC 89 ms
92,928 KB
testcase_17 AC 115 ms
97,920 KB
testcase_18 AC 114 ms
95,196 KB
testcase_19 AC 95 ms
92,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = [int(x) for x in input().split()]

a.sort()
x = 0
for ai in a:
	x *= 10
	x += ai
	x %= 998244353
	
print(x)
0