結果

問題 No.1299 Random Array Score
ユーザー brthyyjpbrthyyjp
提出日時 2020-11-27 21:39:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,072 KB
実行使用メモリ 103,880 KB
最終ジャッジ日時 2023-10-01 05:07:42
合計ジャッジ時間 5,713 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,256 KB
testcase_01 AC 71 ms
71,488 KB
testcase_02 AC 70 ms
71,256 KB
testcase_03 AC 125 ms
100,436 KB
testcase_04 AC 124 ms
100,076 KB
testcase_05 AC 107 ms
100,836 KB
testcase_06 AC 102 ms
97,988 KB
testcase_07 AC 103 ms
98,272 KB
testcase_08 AC 123 ms
99,788 KB
testcase_09 AC 76 ms
75,840 KB
testcase_10 AC 89 ms
86,968 KB
testcase_11 AC 78 ms
76,744 KB
testcase_12 AC 99 ms
95,280 KB
testcase_13 AC 125 ms
101,428 KB
testcase_14 AC 101 ms
95,400 KB
testcase_15 AC 104 ms
98,036 KB
testcase_16 AC 103 ms
97,812 KB
testcase_17 AC 79 ms
77,996 KB
testcase_18 AC 90 ms
88,556 KB
testcase_19 AC 94 ms
90,536 KB
testcase_20 AC 84 ms
82,720 KB
testcase_21 AC 74 ms
75,720 KB
testcase_22 AC 80 ms
78,528 KB
testcase_23 AC 103 ms
97,756 KB
testcase_24 AC 108 ms
100,740 KB
testcase_25 AC 102 ms
95,232 KB
testcase_26 AC 76 ms
76,020 KB
testcase_27 AC 81 ms
79,228 KB
testcase_28 AC 80 ms
77,476 KB
testcase_29 AC 83 ms
80,704 KB
testcase_30 AC 102 ms
95,124 KB
testcase_31 AC 84 ms
80,848 KB
testcase_32 AC 126 ms
101,788 KB
testcase_33 AC 128 ms
99,280 KB
testcase_34 AC 106 ms
103,696 KB
testcase_35 AC 127 ms
99,268 KB
testcase_36 AC 106 ms
103,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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