結果

問題 No.1299 Random Array Score
ユーザー c-yanc-yan
提出日時 2020-11-27 22:41:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 93 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 29,932 KB
最終ジャッジ日時 2023-10-09 20:45:46
合計ジャッジ時間 3,638 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,888 KB
testcase_01 AC 17 ms
7,852 KB
testcase_02 AC 16 ms
7,836 KB
testcase_03 AC 76 ms
29,736 KB
testcase_04 AC 73 ms
29,132 KB
testcase_05 AC 61 ms
24,524 KB
testcase_06 AC 56 ms
22,416 KB
testcase_07 AC 58 ms
23,224 KB
testcase_08 AC 75 ms
28,984 KB
testcase_09 AC 18 ms
8,700 KB
testcase_10 AC 39 ms
16,404 KB
testcase_11 AC 22 ms
10,032 KB
testcase_12 AC 54 ms
21,696 KB
testcase_13 AC 73 ms
28,820 KB
testcase_14 AC 55 ms
22,244 KB
testcase_15 AC 56 ms
22,552 KB
testcase_16 AC 56 ms
22,504 KB
testcase_17 AC 24 ms
10,768 KB
testcase_18 AC 41 ms
17,060 KB
testcase_19 AC 46 ms
18,628 KB
testcase_20 AC 32 ms
13,544 KB
testcase_21 AC 16 ms
8,128 KB
testcase_22 AC 25 ms
11,160 KB
testcase_23 AC 56 ms
22,276 KB
testcase_24 AC 63 ms
24,512 KB
testcase_25 AC 56 ms
22,292 KB
testcase_26 AC 16 ms
8,060 KB
testcase_27 AC 26 ms
11,848 KB
testcase_28 AC 23 ms
10,564 KB
testcase_29 AC 28 ms
12,544 KB
testcase_30 AC 53 ms
21,464 KB
testcase_31 AC 29 ms
12,716 KB
testcase_32 AC 73 ms
28,520 KB
testcase_33 AC 78 ms
29,932 KB
testcase_34 AC 50 ms
11,332 KB
testcase_35 AC 78 ms
29,808 KB
testcase_36 AC 50 ms
11,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

m = 998244353

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