結果

問題 No.1299 Random Array Score
ユーザー Kiri8128Kiri8128
提出日時 2020-11-27 21:25:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 10,628 KB
実行使用メモリ 30,584 KB
最終ジャッジ日時 2023-10-01 04:36:32
合計ジャッジ時間 3,875 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,796 KB
testcase_01 AC 16 ms
7,820 KB
testcase_02 AC 16 ms
7,824 KB
testcase_03 AC 84 ms
29,792 KB
testcase_04 AC 82 ms
29,152 KB
testcase_05 AC 65 ms
24,932 KB
testcase_06 AC 59 ms
22,844 KB
testcase_07 AC 64 ms
23,328 KB
testcase_08 AC 81 ms
29,072 KB
testcase_09 AC 17 ms
8,628 KB
testcase_10 AC 41 ms
16,556 KB
testcase_11 AC 22 ms
10,084 KB
testcase_12 AC 59 ms
21,816 KB
testcase_13 AC 81 ms
28,856 KB
testcase_14 AC 61 ms
22,352 KB
testcase_15 AC 61 ms
22,472 KB
testcase_16 AC 58 ms
22,812 KB
testcase_17 AC 24 ms
10,772 KB
testcase_18 AC 44 ms
17,156 KB
testcase_19 AC 49 ms
18,584 KB
testcase_20 AC 32 ms
13,772 KB
testcase_21 AC 16 ms
8,312 KB
testcase_22 AC 25 ms
11,104 KB
testcase_23 AC 58 ms
22,556 KB
testcase_24 AC 66 ms
24,492 KB
testcase_25 AC 60 ms
22,196 KB
testcase_26 AC 16 ms
8,252 KB
testcase_27 AC 27 ms
11,812 KB
testcase_28 AC 24 ms
10,612 KB
testcase_29 AC 29 ms
12,528 KB
testcase_30 AC 56 ms
21,696 KB
testcase_31 AC 30 ms
12,808 KB
testcase_32 AC 77 ms
28,880 KB
testcase_33 AC 83 ms
30,568 KB
testcase_34 AC 53 ms
11,584 KB
testcase_35 AC 82 ms
30,584 KB
testcase_36 AC 53 ms
11,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, K = map(int, input().split())
print(sum([int(a) for a in input().split()]) * pow(2, K, 998244353) % 998244353)
0