結果

問題 No.1299 Random Array Score
ユーザー c-yanc-yan
提出日時 2020-11-27 21:44:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 99 bytes
コンパイル時間 986 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 29,780 KB
最終ジャッジ日時 2023-10-01 05:12:49
合計ジャッジ時間 3,851 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,808 KB
testcase_01 AC 15 ms
7,772 KB
testcase_02 AC 16 ms
7,784 KB
testcase_03 AC 73 ms
29,768 KB
testcase_04 AC 69 ms
29,160 KB
testcase_05 AC 58 ms
24,432 KB
testcase_06 AC 54 ms
22,372 KB
testcase_07 AC 57 ms
23,224 KB
testcase_08 AC 71 ms
29,004 KB
testcase_09 AC 16 ms
8,624 KB
testcase_10 AC 37 ms
16,212 KB
testcase_11 AC 20 ms
9,896 KB
testcase_12 AC 51 ms
21,664 KB
testcase_13 AC 70 ms
28,880 KB
testcase_14 AC 54 ms
22,232 KB
testcase_15 AC 55 ms
22,636 KB
testcase_16 AC 55 ms
22,320 KB
testcase_17 AC 23 ms
10,640 KB
testcase_18 AC 39 ms
17,044 KB
testcase_19 AC 43 ms
18,540 KB
testcase_20 AC 30 ms
13,524 KB
testcase_21 AC 16 ms
8,096 KB
testcase_22 AC 23 ms
11,168 KB
testcase_23 AC 54 ms
22,308 KB
testcase_24 AC 57 ms
24,392 KB
testcase_25 AC 53 ms
22,208 KB
testcase_26 AC 16 ms
8,096 KB
testcase_27 AC 26 ms
11,732 KB
testcase_28 AC 22 ms
10,576 KB
testcase_29 AC 27 ms
12,520 KB
testcase_30 AC 51 ms
21,504 KB
testcase_31 AC 27 ms
12,748 KB
testcase_32 AC 70 ms
28,472 KB
testcase_33 AC 75 ms
29,744 KB
testcase_34 AC 49 ms
11,284 KB
testcase_35 AC 74 ms
29,780 KB
testcase_36 AC 48 ms
11,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K, *A = map(int, open(0).read().split())

m = 998244353

t = sum(A)
print(t * pow(2, K, m) % m)
0