結果

問題 No.1299 Random Array Score
ユーザー 👑 timitimi
提出日時 2020-12-03 22:57:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 29,956 KB
最終ジャッジ日時 2023-10-12 09:21:17
合計ジャッジ時間 5,193 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,840 KB
testcase_01 AC 15 ms
7,832 KB
testcase_02 AC 15 ms
7,780 KB
testcase_03 AC 81 ms
29,744 KB
testcase_04 AC 75 ms
29,244 KB
testcase_05 AC 63 ms
24,536 KB
testcase_06 AC 57 ms
22,508 KB
testcase_07 AC 59 ms
23,236 KB
testcase_08 AC 75 ms
29,008 KB
testcase_09 AC 17 ms
8,840 KB
testcase_10 AC 38 ms
16,376 KB
testcase_11 AC 22 ms
10,068 KB
testcase_12 AC 55 ms
21,748 KB
testcase_13 AC 75 ms
28,776 KB
testcase_14 AC 56 ms
22,396 KB
testcase_15 AC 58 ms
22,524 KB
testcase_16 AC 57 ms
22,428 KB
testcase_17 AC 23 ms
10,732 KB
testcase_18 AC 41 ms
17,248 KB
testcase_19 AC 46 ms
18,696 KB
testcase_20 AC 32 ms
13,580 KB
testcase_21 AC 16 ms
8,344 KB
testcase_22 AC 24 ms
11,172 KB
testcase_23 AC 57 ms
22,380 KB
testcase_24 AC 63 ms
24,404 KB
testcase_25 AC 56 ms
22,208 KB
testcase_26 AC 16 ms
8,388 KB
testcase_27 AC 26 ms
11,876 KB
testcase_28 AC 22 ms
10,640 KB
testcase_29 AC 28 ms
12,640 KB
testcase_30 AC 55 ms
21,632 KB
testcase_31 AC 28 ms
12,716 KB
testcase_32 AC 74 ms
28,412 KB
testcase_33 AC 80 ms
29,888 KB
testcase_34 AC 50 ms
11,272 KB
testcase_35 AC 80 ms
29,956 KB
testcase_36 AC 50 ms
11,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int, input().split())
A=list(map(int, input().split()))
mod=998244353
print((sum(A)*pow(2,K,mod))%mod)
0