結果

問題 No.1299 Random Array Score
ユーザー ntudantuda
提出日時 2024-01-01 18:46:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 134 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 107,084 KB
最終ジャッジ日時 2024-01-01 18:46:49
合計ジャッジ時間 5,145 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,332 KB
testcase_01 AC 33 ms
53,332 KB
testcase_02 AC 33 ms
53,332 KB
testcase_03 AC 112 ms
101,492 KB
testcase_04 AC 87 ms
107,084 KB
testcase_05 AC 70 ms
96,684 KB
testcase_06 AC 65 ms
91,460 KB
testcase_07 AC 65 ms
93,912 KB
testcase_08 AC 82 ms
107,060 KB
testcase_09 AC 37 ms
59,316 KB
testcase_10 AC 51 ms
76,624 KB
testcase_11 AC 39 ms
62,280 KB
testcase_12 AC 62 ms
89,184 KB
testcase_13 AC 78 ms
105,428 KB
testcase_14 AC 63 ms
89,260 KB
testcase_15 AC 65 ms
91,624 KB
testcase_16 AC 65 ms
91,460 KB
testcase_17 AC 42 ms
65,732 KB
testcase_18 AC 55 ms
80,372 KB
testcase_19 AC 56 ms
82,316 KB
testcase_20 AC 46 ms
72,600 KB
testcase_21 AC 35 ms
59,316 KB
testcase_22 AC 41 ms
66,228 KB
testcase_23 AC 63 ms
91,440 KB
testcase_24 AC 67 ms
96,648 KB
testcase_25 AC 62 ms
89,236 KB
testcase_26 AC 36 ms
59,316 KB
testcase_27 AC 41 ms
67,032 KB
testcase_28 AC 39 ms
65,260 KB
testcase_29 AC 43 ms
68,520 KB
testcase_30 AC 61 ms
88,972 KB
testcase_31 AC 44 ms
68,564 KB
testcase_32 AC 78 ms
105,264 KB
testcase_33 AC 92 ms
102,264 KB
testcase_34 AC 67 ms
95,600 KB
testcase_35 AC 87 ms
102,264 KB
testcase_36 AC 65 ms
95,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 998244353
N, K = map(int, input().split())
A = list(map(int, input().split()))
suma = sum(A)
print(suma * pow(2, K, MOD) % MOD)
0