結果

問題 No.1299 Random Array Score
ユーザー roarisroaris
提出日時 2020-11-28 20:04:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 398 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 103,524 KB
最終ジャッジ日時 2023-10-10 01:03:22
合計ジャッジ時間 5,877 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,384 KB
testcase_01 AC 68 ms
71,576 KB
testcase_02 AC 73 ms
71,496 KB
testcase_03 AC 122 ms
99,592 KB
testcase_04 AC 118 ms
99,192 KB
testcase_05 AC 104 ms
99,544 KB
testcase_06 AC 101 ms
96,404 KB
testcase_07 AC 102 ms
96,780 KB
testcase_08 AC 122 ms
99,240 KB
testcase_09 AC 74 ms
75,780 KB
testcase_10 AC 90 ms
86,296 KB
testcase_11 AC 79 ms
76,552 KB
testcase_12 AC 98 ms
94,184 KB
testcase_13 AC 119 ms
99,892 KB
testcase_14 AC 95 ms
94,368 KB
testcase_15 AC 100 ms
96,508 KB
testcase_16 AC 98 ms
96,352 KB
testcase_17 AC 77 ms
77,860 KB
testcase_18 AC 89 ms
87,804 KB
testcase_19 AC 93 ms
89,672 KB
testcase_20 AC 85 ms
82,404 KB
testcase_21 AC 73 ms
76,088 KB
testcase_22 AC 76 ms
78,432 KB
testcase_23 AC 100 ms
96,516 KB
testcase_24 AC 101 ms
99,432 KB
testcase_25 AC 96 ms
94,192 KB
testcase_26 AC 73 ms
75,748 KB
testcase_27 AC 85 ms
79,108 KB
testcase_28 AC 78 ms
77,284 KB
testcase_29 AC 80 ms
80,344 KB
testcase_30 AC 97 ms
93,976 KB
testcase_31 AC 81 ms
80,544 KB
testcase_32 AC 119 ms
100,080 KB
testcase_33 AC 120 ms
99,520 KB
testcase_34 AC 103 ms
103,460 KB
testcase_35 AC 123 ms
99,400 KB
testcase_36 AC 104 ms
103,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

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