結果

問題 No.1299 Random Array Score
ユーザー naniwazunaniwazu
提出日時 2020-11-27 22:25:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 665 ms
コンパイル使用メモリ 87,188 KB
実行使用メモリ 103,972 KB
最終ジャッジ日時 2023-10-09 20:27:26
合計ジャッジ時間 5,758 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,376 KB
testcase_01 AC 72 ms
71,180 KB
testcase_02 AC 71 ms
71,616 KB
testcase_03 AC 123 ms
100,696 KB
testcase_04 AC 122 ms
100,136 KB
testcase_05 AC 108 ms
100,992 KB
testcase_06 AC 103 ms
97,884 KB
testcase_07 AC 102 ms
98,548 KB
testcase_08 AC 121 ms
100,236 KB
testcase_09 AC 75 ms
75,852 KB
testcase_10 AC 89 ms
87,088 KB
testcase_11 AC 77 ms
76,880 KB
testcase_12 AC 98 ms
95,400 KB
testcase_13 AC 122 ms
101,756 KB
testcase_14 AC 102 ms
95,568 KB
testcase_15 AC 103 ms
97,824 KB
testcase_16 AC 102 ms
97,864 KB
testcase_17 AC 79 ms
77,964 KB
testcase_18 AC 91 ms
88,624 KB
testcase_19 AC 93 ms
90,544 KB
testcase_20 AC 85 ms
83,340 KB
testcase_21 AC 76 ms
75,916 KB
testcase_22 AC 79 ms
78,776 KB
testcase_23 AC 104 ms
97,588 KB
testcase_24 AC 109 ms
100,880 KB
testcase_25 AC 99 ms
95,504 KB
testcase_26 AC 75 ms
75,944 KB
testcase_27 AC 80 ms
79,436 KB
testcase_28 AC 79 ms
77,692 KB
testcase_29 AC 82 ms
80,980 KB
testcase_30 AC 98 ms
95,228 KB
testcase_31 AC 83 ms
81,084 KB
testcase_32 AC 124 ms
102,064 KB
testcase_33 AC 123 ms
99,436 KB
testcase_34 AC 105 ms
103,972 KB
testcase_35 AC 124 ms
99,368 KB
testcase_36 AC 105 ms
103,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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