結果

問題 No.1299 Random Array Score
ユーザー c-yanc-yan
提出日時 2020-11-27 21:44:33
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 99 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 32,520 KB
最終ジャッジ日時 2024-07-26 12:06:39
合計ジャッジ時間 4,333 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K, *A = map(int, open(0).read().split())

m = 998244353

t = sum(A)
print(t * pow(2, K, m) % m)
0