結果

問題 No.1299 Random Array Score
ユーザー yakeshibayakeshiba
提出日時 2021-06-08 22:06:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 103,812 KB
最終ジャッジ日時 2023-08-18 02:53:18
合計ジャッジ時間 7,659 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,244 KB
testcase_01 AC 72 ms
71,352 KB
testcase_02 AC 73 ms
71,392 KB
testcase_03 AC 126 ms
100,388 KB
testcase_04 AC 123 ms
99,776 KB
testcase_05 AC 107 ms
100,972 KB
testcase_06 AC 102 ms
97,492 KB
testcase_07 AC 105 ms
97,828 KB
testcase_08 AC 122 ms
100,144 KB
testcase_09 AC 76 ms
75,520 KB
testcase_10 AC 91 ms
86,692 KB
testcase_11 AC 78 ms
76,508 KB
testcase_12 AC 100 ms
95,200 KB
testcase_13 AC 123 ms
101,752 KB
testcase_14 AC 101 ms
95,360 KB
testcase_15 AC 102 ms
97,816 KB
testcase_16 AC 102 ms
97,760 KB
testcase_17 AC 80 ms
77,900 KB
testcase_18 AC 93 ms
88,560 KB
testcase_19 AC 94 ms
90,780 KB
testcase_20 AC 86 ms
83,044 KB
testcase_21 AC 75 ms
75,680 KB
testcase_22 AC 81 ms
78,500 KB
testcase_23 AC 103 ms
97,604 KB
testcase_24 AC 108 ms
100,648 KB
testcase_25 AC 102 ms
95,304 KB
testcase_26 AC 76 ms
75,752 KB
testcase_27 AC 82 ms
79,212 KB
testcase_28 AC 80 ms
77,424 KB
testcase_29 AC 82 ms
80,684 KB
testcase_30 AC 100 ms
95,104 KB
testcase_31 AC 84 ms
80,812 KB
testcase_32 AC 123 ms
101,636 KB
testcase_33 AC 129 ms
99,160 KB
testcase_34 AC 105 ms
103,720 KB
testcase_35 AC 125 ms
99,332 KB
testcase_36 AC 105 ms
103,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353

n, k = map(int,input().split())
A = list(map(int,input().split()))

print(sum(A)*pow(2,k,mod)%mod)
0