結果

問題 No.1299 Random Array Score
ユーザー persimmon-persimmonpersimmon-persimmon
提出日時 2021-06-30 12:44:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 114 bytes
コンパイル時間 976 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 104,148 KB
最終ジャッジ日時 2023-09-09 06:39:05
合計ジャッジ時間 7,835 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,448 KB
testcase_01 AC 72 ms
71,448 KB
testcase_02 AC 76 ms
71,492 KB
testcase_03 AC 127 ms
100,556 KB
testcase_04 AC 127 ms
100,156 KB
testcase_05 AC 111 ms
100,932 KB
testcase_06 AC 102 ms
97,864 KB
testcase_07 AC 102 ms
98,244 KB
testcase_08 AC 124 ms
100,116 KB
testcase_09 AC 75 ms
75,780 KB
testcase_10 AC 90 ms
87,084 KB
testcase_11 AC 78 ms
77,108 KB
testcase_12 AC 101 ms
95,472 KB
testcase_13 AC 124 ms
101,712 KB
testcase_14 AC 103 ms
95,784 KB
testcase_15 AC 104 ms
97,824 KB
testcase_16 AC 103 ms
97,828 KB
testcase_17 AC 79 ms
77,928 KB
testcase_18 AC 92 ms
88,572 KB
testcase_19 AC 96 ms
90,732 KB
testcase_20 AC 85 ms
82,840 KB
testcase_21 AC 75 ms
75,744 KB
testcase_22 AC 78 ms
78,672 KB
testcase_23 AC 108 ms
97,736 KB
testcase_24 AC 106 ms
101,116 KB
testcase_25 AC 101 ms
95,548 KB
testcase_26 AC 75 ms
76,136 KB
testcase_27 AC 82 ms
79,384 KB
testcase_28 AC 78 ms
77,552 KB
testcase_29 AC 83 ms
80,856 KB
testcase_30 AC 103 ms
95,276 KB
testcase_31 AC 89 ms
80,876 KB
testcase_32 AC 127 ms
101,872 KB
testcase_33 AC 127 ms
99,328 KB
testcase_34 AC 105 ms
103,860 KB
testcase_35 AC 130 ms
99,288 KB
testcase_36 AC 105 ms
104,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

0