結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,928 KB
testcase_01 AC 14 ms
7,736 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 AC 69 ms
23,840 KB
testcase_04 AC 73 ms
23,536 KB
testcase_05 AC 55 ms
19,888 KB
testcase_06 AC 50 ms
18,584 KB
testcase_07 AC 52 ms
19,424 KB
testcase_08 AC 67 ms
23,232 KB
testcase_09 AC 16 ms
8,660 KB
testcase_10 AC 35 ms
14,012 KB
testcase_11 AC 20 ms
9,556 KB
testcase_12 AC 49 ms
18,268 KB
testcase_13 AC 67 ms
23,336 KB
testcase_14 AC 51 ms
18,504 KB
testcase_15 AC 51 ms
18,812 KB
testcase_16 AC 51 ms
18,452 KB
testcase_17 AC 21 ms
10,004 KB
testcase_18 AC 36 ms
14,644 KB
testcase_19 AC 40 ms
15,868 KB
testcase_20 AC 28 ms
12,268 KB
testcase_21 AC 15 ms
8,344 KB
testcase_22 AC 22 ms
10,332 KB
testcase_23 AC 49 ms
18,544 KB
testcase_24 AC 54 ms
20,036 KB
testcase_25 AC 49 ms
18,428 KB
testcase_26 AC 15 ms
8,180 KB
testcase_27 AC 23 ms
10,724 KB
testcase_28 AC 20 ms
9,724 KB
testcase_29 AC 25 ms
11,164 KB
testcase_30 AC 48 ms
17,964 KB
testcase_31 AC 26 ms
11,648 KB
testcase_32 AC 66 ms
23,016 KB
testcase_33 AC 71 ms
24,072 KB
testcase_34 AC 45 ms
10,140 KB
testcase_35 AC 71 ms
24,180 KB
testcase_36 AC 45 ms
10,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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