結果

問題 No.1299 Random Array Score
ユーザー nok0nok0
提出日時 2020-11-19 10:08:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 87,108 KB
実行使用メモリ 101,864 KB
最終ジャッジ日時 2023-09-30 16:07:12
合計ジャッジ時間 7,750 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,536 KB
testcase_01 AC 72 ms
71,620 KB
testcase_02 AC 71 ms
71,424 KB
testcase_03 AC 113 ms
100,592 KB
testcase_04 AC 112 ms
100,340 KB
testcase_05 AC 97 ms
90,404 KB
testcase_06 AC 94 ms
88,556 KB
testcase_07 AC 95 ms
88,816 KB
testcase_08 AC 112 ms
100,196 KB
testcase_09 AC 75 ms
75,720 KB
testcase_10 AC 86 ms
82,312 KB
testcase_11 AC 79 ms
76,452 KB
testcase_12 AC 94 ms
87,176 KB
testcase_13 AC 113 ms
101,648 KB
testcase_14 AC 94 ms
87,368 KB
testcase_15 AC 94 ms
88,816 KB
testcase_16 AC 95 ms
88,588 KB
testcase_17 AC 78 ms
77,068 KB
testcase_18 AC 85 ms
83,220 KB
testcase_19 AC 87 ms
84,468 KB
testcase_20 AC 82 ms
80,088 KB
testcase_21 AC 75 ms
75,792 KB
testcase_22 AC 79 ms
77,516 KB
testcase_23 AC 94 ms
88,568 KB
testcase_24 AC 97 ms
90,388 KB
testcase_25 AC 93 ms
87,428 KB
testcase_26 AC 75 ms
75,512 KB
testcase_27 AC 79 ms
77,936 KB
testcase_28 AC 79 ms
76,920 KB
testcase_29 AC 81 ms
78,700 KB
testcase_30 AC 94 ms
86,964 KB
testcase_31 AC 82 ms
78,880 KB
testcase_32 AC 114 ms
101,864 KB
testcase_33 AC 115 ms
99,020 KB
testcase_34 AC 93 ms
90,080 KB
testcase_35 AC 115 ms
99,236 KB
testcase_36 AC 95 ms
90,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353
n, k = map(int, input().split())
print(sum(map(int, input().split())) * pow(2, k,mod) % mod)
0