結果

問題 No.1299 Random Array Score
ユーザー 8wings648wings64
提出日時 2020-11-27 21:39:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 124 bytes
コンパイル時間 1,261 ms
コンパイル使用メモリ 86,588 KB
実行使用メモリ 103,752 KB
最終ジャッジ日時 2023-10-01 05:07:06
合計ジャッジ時間 5,805 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,428 KB
testcase_01 AC 72 ms
71,356 KB
testcase_02 AC 72 ms
71,160 KB
testcase_03 AC 126 ms
100,396 KB
testcase_04 AC 126 ms
99,784 KB
testcase_05 AC 108 ms
100,692 KB
testcase_06 AC 104 ms
97,628 KB
testcase_07 AC 106 ms
97,768 KB
testcase_08 AC 126 ms
99,948 KB
testcase_09 AC 79 ms
75,964 KB
testcase_10 AC 89 ms
86,776 KB
testcase_11 AC 78 ms
76,500 KB
testcase_12 AC 101 ms
95,504 KB
testcase_13 AC 127 ms
101,560 KB
testcase_14 AC 102 ms
95,260 KB
testcase_15 AC 104 ms
97,800 KB
testcase_16 AC 103 ms
97,548 KB
testcase_17 AC 83 ms
77,740 KB
testcase_18 AC 93 ms
88,508 KB
testcase_19 AC 96 ms
90,688 KB
testcase_20 AC 86 ms
82,744 KB
testcase_21 AC 77 ms
75,964 KB
testcase_22 AC 82 ms
78,516 KB
testcase_23 AC 105 ms
97,436 KB
testcase_24 AC 112 ms
100,844 KB
testcase_25 AC 104 ms
95,256 KB
testcase_26 AC 78 ms
75,484 KB
testcase_27 AC 82 ms
79,380 KB
testcase_28 AC 80 ms
77,364 KB
testcase_29 AC 83 ms
81,008 KB
testcase_30 AC 101 ms
95,080 KB
testcase_31 AC 84 ms
80,728 KB
testcase_32 AC 124 ms
101,584 KB
testcase_33 AC 127 ms
99,244 KB
testcase_34 AC 107 ms
103,752 KB
testcase_35 AC 129 ms
99,112 KB
testcase_36 AC 107 ms
103,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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