結果

問題 No.1299 Random Array Score
ユーザー titiatitia
提出日時 2020-11-27 21:35:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 29,972 KB
最終ジャッジ日時 2023-10-01 05:01:08
合計ジャッジ時間 3,492 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,840 KB
testcase_01 AC 16 ms
7,932 KB
testcase_02 AC 16 ms
7,776 KB
testcase_03 AC 80 ms
29,908 KB
testcase_04 AC 78 ms
29,132 KB
testcase_05 AC 63 ms
24,516 KB
testcase_06 AC 58 ms
22,468 KB
testcase_07 AC 60 ms
23,220 KB
testcase_08 AC 77 ms
29,068 KB
testcase_09 AC 17 ms
8,812 KB
testcase_10 AC 39 ms
16,252 KB
testcase_11 AC 22 ms
10,144 KB
testcase_12 AC 56 ms
21,860 KB
testcase_13 AC 75 ms
28,732 KB
testcase_14 AC 56 ms
22,212 KB
testcase_15 AC 57 ms
22,504 KB
testcase_16 AC 57 ms
22,464 KB
testcase_17 AC 23 ms
10,656 KB
testcase_18 AC 42 ms
17,204 KB
testcase_19 AC 46 ms
18,732 KB
testcase_20 AC 32 ms
13,720 KB
testcase_21 AC 17 ms
8,312 KB
testcase_22 AC 25 ms
11,300 KB
testcase_23 AC 57 ms
22,320 KB
testcase_24 AC 62 ms
24,388 KB
testcase_25 AC 55 ms
22,184 KB
testcase_26 AC 15 ms
8,340 KB
testcase_27 AC 25 ms
11,824 KB
testcase_28 AC 22 ms
10,488 KB
testcase_29 AC 28 ms
12,552 KB
testcase_30 AC 53 ms
21,456 KB
testcase_31 AC 29 ms
12,740 KB
testcase_32 AC 74 ms
28,408 KB
testcase_33 AC 80 ms
29,916 KB
testcase_34 AC 49 ms
11,284 KB
testcase_35 AC 79 ms
29,972 KB
testcase_36 AC 50 ms
11,424 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