結果

問題 No.1299 Random Array Score
ユーザー Kite_kumaKite_kuma
提出日時 2020-11-08 11:39:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 24,144 KB
最終ジャッジ日時 2023-09-29 21:07:46
合計ジャッジ時間 3,274 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,856 KB
testcase_01 AC 14 ms
7,740 KB
testcase_02 AC 14 ms
7,820 KB
testcase_03 AC 69 ms
23,944 KB
testcase_04 AC 65 ms
23,628 KB
testcase_05 AC 53 ms
20,060 KB
testcase_06 AC 52 ms
18,560 KB
testcase_07 AC 51 ms
19,256 KB
testcase_08 AC 64 ms
23,244 KB
testcase_09 AC 15 ms
8,664 KB
testcase_10 AC 33 ms
14,076 KB
testcase_11 AC 19 ms
9,536 KB
testcase_12 AC 47 ms
18,104 KB
testcase_13 AC 64 ms
23,356 KB
testcase_14 AC 48 ms
18,436 KB
testcase_15 AC 49 ms
18,832 KB
testcase_16 AC 49 ms
18,476 KB
testcase_17 AC 21 ms
10,024 KB
testcase_18 AC 35 ms
14,520 KB
testcase_19 AC 39 ms
15,740 KB
testcase_20 AC 27 ms
12,136 KB
testcase_21 AC 15 ms
8,360 KB
testcase_22 AC 21 ms
10,464 KB
testcase_23 AC 49 ms
18,452 KB
testcase_24 AC 53 ms
19,944 KB
testcase_25 AC 48 ms
18,356 KB
testcase_26 AC 15 ms
8,264 KB
testcase_27 AC 23 ms
10,776 KB
testcase_28 AC 20 ms
9,748 KB
testcase_29 AC 25 ms
11,232 KB
testcase_30 AC 47 ms
17,832 KB
testcase_31 AC 25 ms
11,612 KB
testcase_32 AC 64 ms
23,124 KB
testcase_33 AC 69 ms
24,144 KB
testcase_34 AC 44 ms
10,000 KB
testcase_35 AC 69 ms
24,076 KB
testcase_36 AC 44 ms
10,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353
n, k = map(int, input().split())
a = sum(map(int, input().split()))
print(a * pow(2, k, mod) % mod)
0