結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,844 KB
testcase_01 AC 14 ms
7,936 KB
testcase_02 AC 14 ms
7,808 KB
testcase_03 AC 74 ms
29,772 KB
testcase_04 AC 75 ms
29,072 KB
testcase_05 AC 59 ms
24,476 KB
testcase_06 AC 53 ms
22,460 KB
testcase_07 AC 56 ms
23,184 KB
testcase_08 AC 74 ms
29,132 KB
testcase_09 AC 16 ms
8,836 KB
testcase_10 AC 37 ms
16,328 KB
testcase_11 AC 20 ms
10,092 KB
testcase_12 AC 52 ms
21,848 KB
testcase_13 AC 74 ms
28,804 KB
testcase_14 AC 55 ms
22,280 KB
testcase_15 AC 56 ms
22,652 KB
testcase_16 AC 56 ms
22,432 KB
testcase_17 AC 23 ms
10,724 KB
testcase_18 AC 40 ms
17,036 KB
testcase_19 AC 44 ms
18,592 KB
testcase_20 AC 31 ms
13,676 KB
testcase_21 AC 15 ms
8,284 KB
testcase_22 AC 24 ms
11,304 KB
testcase_23 AC 54 ms
22,272 KB
testcase_24 AC 59 ms
24,360 KB
testcase_25 AC 55 ms
22,408 KB
testcase_26 AC 15 ms
8,308 KB
testcase_27 AC 24 ms
11,840 KB
testcase_28 AC 21 ms
10,660 KB
testcase_29 AC 26 ms
12,484 KB
testcase_30 AC 51 ms
21,512 KB
testcase_31 AC 27 ms
12,792 KB
testcase_32 AC 70 ms
28,620 KB
testcase_33 AC 77 ms
29,840 KB
testcase_34 AC 47 ms
11,336 KB
testcase_35 AC 76 ms
29,896 KB
testcase_36 AC 47 ms
11,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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