結果

問題 No.1299 Random Array Score
ユーザー 👑 H20H20
提出日時 2021-04-23 09:25:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 87,060 KB
実行使用メモリ 104,152 KB
最終ジャッジ日時 2023-09-17 10:52:26
合計ジャッジ時間 6,229 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,356 KB
testcase_01 AC 74 ms
70,976 KB
testcase_02 AC 73 ms
71,128 KB
testcase_03 AC 126 ms
100,456 KB
testcase_04 AC 123 ms
100,016 KB
testcase_05 AC 107 ms
100,840 KB
testcase_06 AC 103 ms
97,636 KB
testcase_07 AC 103 ms
97,928 KB
testcase_08 AC 125 ms
99,964 KB
testcase_09 AC 77 ms
75,592 KB
testcase_10 AC 91 ms
86,864 KB
testcase_11 AC 79 ms
76,548 KB
testcase_12 AC 103 ms
95,312 KB
testcase_13 AC 125 ms
101,764 KB
testcase_14 AC 100 ms
95,496 KB
testcase_15 AC 102 ms
97,684 KB
testcase_16 AC 103 ms
97,740 KB
testcase_17 AC 82 ms
78,188 KB
testcase_18 AC 94 ms
88,400 KB
testcase_19 AC 98 ms
90,828 KB
testcase_20 AC 86 ms
82,664 KB
testcase_21 AC 76 ms
75,772 KB
testcase_22 AC 82 ms
78,596 KB
testcase_23 AC 103 ms
97,612 KB
testcase_24 AC 108 ms
100,608 KB
testcase_25 AC 101 ms
95,208 KB
testcase_26 AC 78 ms
75,612 KB
testcase_27 AC 83 ms
79,284 KB
testcase_28 AC 81 ms
77,624 KB
testcase_29 AC 84 ms
80,828 KB
testcase_30 AC 101 ms
95,264 KB
testcase_31 AC 85 ms
80,932 KB
testcase_32 AC 125 ms
101,788 KB
testcase_33 AC 128 ms
99,236 KB
testcase_34 AC 106 ms
103,796 KB
testcase_35 AC 129 ms
99,148 KB
testcase_36 AC 107 ms
104,152 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