結果

問題 No.1299 Random Array Score
ユーザー proriboneproribone
提出日時 2020-11-27 21:48:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 148 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 86,648 KB
実行使用メモリ 103,680 KB
最終ジャッジ日時 2023-10-01 05:17:59
合計ジャッジ時間 6,153 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,272 KB
testcase_01 AC 75 ms
71,156 KB
testcase_02 AC 76 ms
71,268 KB
testcase_03 AC 148 ms
100,548 KB
testcase_04 AC 126 ms
99,984 KB
testcase_05 AC 109 ms
100,620 KB
testcase_06 AC 103 ms
97,568 KB
testcase_07 AC 105 ms
97,784 KB
testcase_08 AC 128 ms
99,672 KB
testcase_09 AC 78 ms
75,504 KB
testcase_10 AC 91 ms
86,756 KB
testcase_11 AC 80 ms
76,948 KB
testcase_12 AC 104 ms
95,344 KB
testcase_13 AC 125 ms
101,512 KB
testcase_14 AC 102 ms
95,540 KB
testcase_15 AC 106 ms
97,588 KB
testcase_16 AC 107 ms
97,560 KB
testcase_17 AC 85 ms
77,876 KB
testcase_18 AC 99 ms
88,296 KB
testcase_19 AC 96 ms
90,424 KB
testcase_20 AC 88 ms
82,656 KB
testcase_21 AC 75 ms
75,592 KB
testcase_22 AC 86 ms
78,436 KB
testcase_23 AC 105 ms
97,860 KB
testcase_24 AC 111 ms
100,648 KB
testcase_25 AC 102 ms
95,260 KB
testcase_26 AC 83 ms
75,628 KB
testcase_27 AC 85 ms
79,096 KB
testcase_28 AC 86 ms
77,536 KB
testcase_29 AC 89 ms
80,612 KB
testcase_30 AC 105 ms
95,424 KB
testcase_31 AC 89 ms
80,996 KB
testcase_32 AC 128 ms
101,652 KB
testcase_33 AC 132 ms
99,120 KB
testcase_34 AC 109 ms
103,680 KB
testcase_35 AC 130 ms
99,252 KB
testcase_36 AC 109 ms
103,612 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