結果

問題 No.1299 Random Array Score
ユーザー sibasyunsibasyun
提出日時 2021-01-20 18:07:26
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 29,848 KB
最終ジャッジ日時 2023-08-24 21:53:45
合計ジャッジ時間 4,800 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,768 KB
testcase_01 AC 15 ms
7,764 KB
testcase_02 AC 15 ms
7,764 KB
testcase_03 AC 76 ms
29,724 KB
testcase_04 AC 75 ms
29,156 KB
testcase_05 AC 62 ms
24,528 KB
testcase_06 AC 56 ms
22,444 KB
testcase_07 AC 58 ms
23,244 KB
testcase_08 AC 75 ms
29,020 KB
testcase_09 AC 17 ms
8,680 KB
testcase_10 AC 38 ms
16,264 KB
testcase_11 AC 21 ms
10,104 KB
testcase_12 AC 54 ms
21,708 KB
testcase_13 AC 74 ms
28,940 KB
testcase_14 AC 56 ms
22,228 KB
testcase_15 AC 56 ms
22,536 KB
testcase_16 AC 56 ms
22,392 KB
testcase_17 AC 23 ms
10,744 KB
testcase_18 AC 41 ms
17,140 KB
testcase_19 AC 45 ms
18,564 KB
testcase_20 AC 31 ms
13,588 KB
testcase_21 AC 16 ms
8,264 KB
testcase_22 AC 23 ms
11,148 KB
testcase_23 AC 56 ms
22,248 KB
testcase_24 AC 62 ms
24,432 KB
testcase_25 AC 55 ms
22,300 KB
testcase_26 AC 16 ms
8,228 KB
testcase_27 AC 25 ms
11,864 KB
testcase_28 AC 22 ms
10,544 KB
testcase_29 AC 28 ms
12,608 KB
testcase_30 AC 54 ms
21,584 KB
testcase_31 AC 29 ms
12,708 KB
testcase_32 AC 73 ms
28,436 KB
testcase_33 AC 79 ms
29,812 KB
testcase_34 AC 49 ms
11,284 KB
testcase_35 AC 79 ms
29,848 KB
testcase_36 AC 49 ms
11,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#1299
N, K = map(int, input().split())
A_list = list(map(int, input().split()))

Ex_mod = pow(2, K, 998244353) * (sum(A_list)%998244353)
Ans = Ex_mod % 998244353
print(Ans)
0