結果

問題 No.1299 Random Array Score
ユーザー 👑 KazunKazun
提出日時 2020-11-27 21:36:53
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 145 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 103,344 KB
最終ジャッジ日時 2023-10-01 05:02:09
合計ジャッジ時間 5,626 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,240 KB
testcase_01 AC 71 ms
71,276 KB
testcase_02 AC 71 ms
71,216 KB
testcase_03 AC 125 ms
99,584 KB
testcase_04 AC 119 ms
99,236 KB
testcase_05 AC 102 ms
99,308 KB
testcase_06 AC 100 ms
96,396 KB
testcase_07 AC 100 ms
96,632 KB
testcase_08 AC 119 ms
99,152 KB
testcase_09 AC 74 ms
75,652 KB
testcase_10 AC 86 ms
86,128 KB
testcase_11 AC 76 ms
76,428 KB
testcase_12 AC 97 ms
94,112 KB
testcase_13 AC 118 ms
99,792 KB
testcase_14 AC 98 ms
94,224 KB
testcase_15 AC 100 ms
96,520 KB
testcase_16 AC 99 ms
96,396 KB
testcase_17 AC 79 ms
77,776 KB
testcase_18 AC 89 ms
87,664 KB
testcase_19 AC 91 ms
89,612 KB
testcase_20 AC 81 ms
82,256 KB
testcase_21 AC 74 ms
76,016 KB
testcase_22 AC 79 ms
78,264 KB
testcase_23 AC 99 ms
96,264 KB
testcase_24 AC 103 ms
99,216 KB
testcase_25 AC 97 ms
94,428 KB
testcase_26 AC 73 ms
75,748 KB
testcase_27 AC 78 ms
78,996 KB
testcase_28 AC 77 ms
77,200 KB
testcase_29 AC 81 ms
80,328 KB
testcase_30 AC 97 ms
93,888 KB
testcase_31 AC 82 ms
80,420 KB
testcase_32 AC 119 ms
99,908 KB
testcase_33 AC 121 ms
99,192 KB
testcase_34 AC 103 ms
103,344 KB
testcase_35 AC 121 ms
99,276 KB
testcase_36 AC 102 ms
103,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline

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