結果

問題 No.1299 Random Array Score
ユーザー nehan_der_thalnehan_der_thal
提出日時 2020-11-27 21:35:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 416 ms
コンパイル使用メモリ 86,588 KB
実行使用メモリ 103,808 KB
最終ジャッジ日時 2023-10-01 05:00:33
合計ジャッジ時間 6,114 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,844 KB
testcase_01 AC 75 ms
71,000 KB
testcase_02 AC 70 ms
71,276 KB
testcase_03 AC 146 ms
100,016 KB
testcase_04 AC 125 ms
99,844 KB
testcase_05 AC 103 ms
100,568 KB
testcase_06 AC 99 ms
97,420 KB
testcase_07 AC 102 ms
97,708 KB
testcase_08 AC 121 ms
99,748 KB
testcase_09 AC 73 ms
75,488 KB
testcase_10 AC 89 ms
86,728 KB
testcase_11 AC 75 ms
76,512 KB
testcase_12 AC 98 ms
95,272 KB
testcase_13 AC 119 ms
101,408 KB
testcase_14 AC 98 ms
95,196 KB
testcase_15 AC 100 ms
97,416 KB
testcase_16 AC 99 ms
97,488 KB
testcase_17 AC 78 ms
77,736 KB
testcase_18 AC 89 ms
88,264 KB
testcase_19 AC 92 ms
90,256 KB
testcase_20 AC 84 ms
82,536 KB
testcase_21 AC 76 ms
75,568 KB
testcase_22 AC 78 ms
78,384 KB
testcase_23 AC 103 ms
97,448 KB
testcase_24 AC 106 ms
100,492 KB
testcase_25 AC 99 ms
95,080 KB
testcase_26 AC 72 ms
75,484 KB
testcase_27 AC 80 ms
79,040 KB
testcase_28 AC 76 ms
77,276 KB
testcase_29 AC 80 ms
80,544 KB
testcase_30 AC 97 ms
95,016 KB
testcase_31 AC 80 ms
80,664 KB
testcase_32 AC 119 ms
101,744 KB
testcase_33 AC 124 ms
99,056 KB
testcase_34 AC 100 ms
103,428 KB
testcase_35 AC 123 ms
98,964 KB
testcase_36 AC 101 ms
103,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 998244353
N, K = map(int, input().split())
X = list(map(int, input().split()))
a=sum(X)
print(a*pow(2, K, MOD)%MOD)

0