結果

問題 No.1299 Random Array Score
ユーザー irumo8202irumo8202
提出日時 2022-01-31 08:21:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 640 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 24,160 KB
最終ジャッジ日時 2023-09-02 02:03:08
合計ジャッジ時間 5,972 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,788 KB
testcase_01 AC 15 ms
7,896 KB
testcase_02 AC 16 ms
7,868 KB
testcase_03 AC 71 ms
23,932 KB
testcase_04 AC 68 ms
23,668 KB
testcase_05 AC 57 ms
20,068 KB
testcase_06 AC 50 ms
18,464 KB
testcase_07 AC 54 ms
19,428 KB
testcase_08 AC 69 ms
23,332 KB
testcase_09 AC 17 ms
8,524 KB
testcase_10 AC 35 ms
13,984 KB
testcase_11 AC 20 ms
9,544 KB
testcase_12 AC 50 ms
18,180 KB
testcase_13 AC 68 ms
23,344 KB
testcase_14 AC 51 ms
18,548 KB
testcase_15 AC 52 ms
18,780 KB
testcase_16 AC 51 ms
18,460 KB
testcase_17 AC 22 ms
10,172 KB
testcase_18 AC 37 ms
14,548 KB
testcase_19 AC 41 ms
15,788 KB
testcase_20 AC 29 ms
12,268 KB
testcase_21 AC 16 ms
8,228 KB
testcase_22 AC 23 ms
10,476 KB
testcase_23 AC 51 ms
18,500 KB
testcase_24 AC 56 ms
20,040 KB
testcase_25 AC 51 ms
18,408 KB
testcase_26 AC 15 ms
8,228 KB
testcase_27 AC 24 ms
10,724 KB
testcase_28 AC 22 ms
9,832 KB
testcase_29 AC 26 ms
11,232 KB
testcase_30 AC 49 ms
17,980 KB
testcase_31 AC 27 ms
11,612 KB
testcase_32 AC 67 ms
22,956 KB
testcase_33 AC 72 ms
24,160 KB
testcase_34 AC 45 ms
10,100 KB
testcase_35 AC 73 ms
24,080 KB
testcase_36 AC 46 ms
10,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = map(int, input().split())
S = sum(map(int, input().split()))
print(S * pow(2, K, M := 998244353) % M)
0