結果

問題 No.1299 Random Array Score
ユーザー nok0nok0
提出日時 2020-11-08 12:07:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 536 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 102,008 KB
最終ジャッジ日時 2023-09-29 21:09:18
合計ジャッジ時間 5,280 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,280 KB
testcase_01 AC 65 ms
71,528 KB
testcase_02 AC 63 ms
71,320 KB
testcase_03 AC 104 ms
100,648 KB
testcase_04 AC 101 ms
99,768 KB
testcase_05 AC 85 ms
90,396 KB
testcase_06 AC 83 ms
88,456 KB
testcase_07 AC 85 ms
88,564 KB
testcase_08 AC 102 ms
100,260 KB
testcase_09 AC 68 ms
75,692 KB
testcase_10 AC 79 ms
82,316 KB
testcase_11 AC 70 ms
76,220 KB
testcase_12 AC 85 ms
87,200 KB
testcase_13 AC 104 ms
101,708 KB
testcase_14 AC 82 ms
87,164 KB
testcase_15 AC 84 ms
88,604 KB
testcase_16 AC 84 ms
88,536 KB
testcase_17 AC 70 ms
77,052 KB
testcase_18 AC 75 ms
83,252 KB
testcase_19 AC 81 ms
84,432 KB
testcase_20 AC 75 ms
79,996 KB
testcase_21 AC 65 ms
75,632 KB
testcase_22 AC 71 ms
77,484 KB
testcase_23 AC 83 ms
88,328 KB
testcase_24 AC 89 ms
90,208 KB
testcase_25 AC 84 ms
87,288 KB
testcase_26 AC 64 ms
75,732 KB
testcase_27 AC 68 ms
77,776 KB
testcase_28 AC 65 ms
76,816 KB
testcase_29 AC 68 ms
78,604 KB
testcase_30 AC 84 ms
86,932 KB
testcase_31 AC 72 ms
78,804 KB
testcase_32 AC 104 ms
102,008 KB
testcase_33 AC 104 ms
98,960 KB
testcase_34 AC 82 ms
90,268 KB
testcase_35 AC 107 ms
99,040 KB
testcase_36 AC 82 ms
90,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353
n, k = map(int, input().split())
s = sum(map(int, input().split()))
print(s * pow(2, k,mod) % mod)
0