結果

問題 No.1299 Random Array Score
ユーザー NoaSaberNoaSaber
提出日時 2021-04-30 21:08:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 141 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 482 ms
コンパイル使用メモリ 86,792 KB
実行使用メモリ 103,876 KB
最終ジャッジ日時 2023-09-26 02:26:19
合計ジャッジ時間 7,926 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,244 KB
testcase_01 AC 73 ms
71,068 KB
testcase_02 AC 73 ms
71,296 KB
testcase_03 AC 141 ms
100,236 KB
testcase_04 AC 129 ms
99,940 KB
testcase_05 AC 110 ms
100,680 KB
testcase_06 AC 104 ms
97,732 KB
testcase_07 AC 105 ms
97,976 KB
testcase_08 AC 127 ms
99,904 KB
testcase_09 AC 75 ms
75,628 KB
testcase_10 AC 92 ms
87,044 KB
testcase_11 AC 78 ms
76,480 KB
testcase_12 AC 100 ms
95,212 KB
testcase_13 AC 125 ms
101,692 KB
testcase_14 AC 100 ms
95,716 KB
testcase_15 AC 106 ms
97,704 KB
testcase_16 AC 103 ms
97,768 KB
testcase_17 AC 80 ms
78,052 KB
testcase_18 AC 92 ms
88,416 KB
testcase_19 AC 93 ms
90,428 KB
testcase_20 AC 87 ms
82,584 KB
testcase_21 AC 77 ms
75,660 KB
testcase_22 AC 82 ms
78,508 KB
testcase_23 AC 104 ms
97,616 KB
testcase_24 AC 109 ms
100,608 KB
testcase_25 AC 101 ms
95,384 KB
testcase_26 AC 75 ms
75,628 KB
testcase_27 AC 81 ms
79,172 KB
testcase_28 AC 79 ms
77,364 KB
testcase_29 AC 84 ms
80,636 KB
testcase_30 AC 100 ms
95,264 KB
testcase_31 AC 83 ms
80,688 KB
testcase_32 AC 124 ms
101,868 KB
testcase_33 AC 127 ms
99,384 KB
testcase_34 AC 110 ms
103,720 KB
testcase_35 AC 129 ms
99,316 KB
testcase_36 AC 108 ms
103,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())
A=list(map(int,input().split()))
mod=998244353
print(sum(A)*pow(2,K,mod)%mod)
0