結果

問題 No.1299 Random Array Score
ユーザー yuusanlondonyuusanlondon
提出日時 2020-11-27 21:34:05
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 197 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 492 ms
コンパイル使用メモリ 86,528 KB
実行使用メモリ 103,572 KB
最終ジャッジ日時 2023-10-01 04:58:07
合計ジャッジ時間 5,858 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,212 KB
testcase_01 AC 72 ms
71,172 KB
testcase_02 AC 74 ms
70,932 KB
testcase_03 AC 197 ms
100,100 KB
testcase_04 AC 123 ms
99,792 KB
testcase_05 AC 106 ms
100,500 KB
testcase_06 AC 101 ms
97,668 KB
testcase_07 AC 104 ms
97,732 KB
testcase_08 AC 122 ms
99,892 KB
testcase_09 AC 75 ms
75,524 KB
testcase_10 AC 89 ms
86,644 KB
testcase_11 AC 75 ms
76,452 KB
testcase_12 AC 100 ms
95,048 KB
testcase_13 AC 123 ms
101,484 KB
testcase_14 AC 102 ms
95,436 KB
testcase_15 AC 103 ms
97,824 KB
testcase_16 AC 105 ms
97,528 KB
testcase_17 AC 79 ms
78,108 KB
testcase_18 AC 93 ms
88,524 KB
testcase_19 AC 95 ms
90,356 KB
testcase_20 AC 88 ms
82,792 KB
testcase_21 AC 76 ms
75,432 KB
testcase_22 AC 83 ms
78,268 KB
testcase_23 AC 104 ms
97,456 KB
testcase_24 AC 107 ms
100,588 KB
testcase_25 AC 100 ms
95,148 KB
testcase_26 AC 83 ms
75,508 KB
testcase_27 AC 90 ms
79,040 KB
testcase_28 AC 86 ms
77,348 KB
testcase_29 AC 92 ms
80,500 KB
testcase_30 AC 108 ms
95,040 KB
testcase_31 AC 86 ms
80,896 KB
testcase_32 AC 125 ms
101,496 KB
testcase_33 AC 128 ms
99,056 KB
testcase_34 AC 109 ms
103,512 KB
testcase_35 AC 130 ms
98,964 KB
testcase_36 AC 107 ms
103,572 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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