結果

問題 No.1299 Random Array Score
ユーザー lllllll88938494lllllll88938494
提出日時 2023-03-30 02:13:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 959 ms
コンパイル使用メモリ 81,376 KB
実行使用メモリ 106,756 KB
最終ジャッジ日時 2023-10-21 14:33:46
合計ジャッジ時間 4,974 ms
ジャッジサーバーID
(参考情報)
judge14 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,080 KB
testcase_01 AC 39 ms
53,080 KB
testcase_02 AC 39 ms
53,080 KB
testcase_03 AC 94 ms
101,020 KB
testcase_04 AC 90 ms
106,756 KB
testcase_05 AC 74 ms
96,460 KB
testcase_06 AC 70 ms
91,304 KB
testcase_07 AC 72 ms
93,640 KB
testcase_08 AC 89 ms
106,732 KB
testcase_09 AC 43 ms
59,120 KB
testcase_10 AC 58 ms
76,412 KB
testcase_11 AC 46 ms
62,128 KB
testcase_12 AC 69 ms
88,908 KB
testcase_13 AC 86 ms
105,200 KB
testcase_14 AC 68 ms
89,060 KB
testcase_15 AC 70 ms
91,352 KB
testcase_16 AC 69 ms
91,304 KB
testcase_17 AC 45 ms
65,464 KB
testcase_18 AC 58 ms
80,104 KB
testcase_19 AC 61 ms
82,144 KB
testcase_20 AC 52 ms
72,324 KB
testcase_21 AC 42 ms
59,120 KB
testcase_22 AC 48 ms
66,056 KB
testcase_23 AC 70 ms
91,240 KB
testcase_24 AC 75 ms
96,420 KB
testcase_25 AC 68 ms
89,032 KB
testcase_26 AC 41 ms
59,120 KB
testcase_27 AC 48 ms
66,764 KB
testcase_28 AC 46 ms
64,988 KB
testcase_29 AC 49 ms
68,256 KB
testcase_30 AC 68 ms
88,800 KB
testcase_31 AC 50 ms
68,384 KB
testcase_32 AC 84 ms
105,060 KB
testcase_33 AC 96 ms
101,940 KB
testcase_34 AC 71 ms
95,388 KB
testcase_35 AC 95 ms
101,940 KB
testcase_36 AC 71 ms
95,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
a = list(map(int,input().split()))
#123456 = 21
#3.5*6 = 21
#sum(a)*2 = @k
mod = 998244353
print(sum(a)*pow(2,k,mod)%mod)
0