結果

問題 No.1299 Random Array Score
ユーザー etale.K3etale.K3
提出日時 2021-04-15 16:41:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 110 bytes
コンパイル時間 675 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 24,008 KB
最終ジャッジ日時 2023-09-14 15:51:10
合計ジャッジ時間 5,908 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,796 KB
testcase_01 AC 15 ms
7,760 KB
testcase_02 AC 15 ms
7,832 KB
testcase_03 AC 70 ms
23,860 KB
testcase_04 AC 68 ms
23,588 KB
testcase_05 AC 56 ms
19,936 KB
testcase_06 AC 52 ms
18,536 KB
testcase_07 AC 54 ms
19,312 KB
testcase_08 AC 68 ms
23,320 KB
testcase_09 AC 17 ms
8,640 KB
testcase_10 AC 36 ms
14,016 KB
testcase_11 AC 20 ms
9,440 KB
testcase_12 AC 51 ms
18,136 KB
testcase_13 AC 68 ms
23,276 KB
testcase_14 AC 51 ms
18,428 KB
testcase_15 AC 53 ms
18,792 KB
testcase_16 AC 52 ms
18,392 KB
testcase_17 AC 22 ms
10,096 KB
testcase_18 AC 38 ms
14,644 KB
testcase_19 AC 42 ms
15,728 KB
testcase_20 AC 30 ms
12,112 KB
testcase_21 AC 16 ms
8,276 KB
testcase_22 AC 23 ms
10,348 KB
testcase_23 AC 51 ms
18,412 KB
testcase_24 AC 56 ms
20,012 KB
testcase_25 AC 52 ms
18,496 KB
testcase_26 AC 16 ms
8,304 KB
testcase_27 AC 25 ms
10,636 KB
testcase_28 AC 21 ms
9,756 KB
testcase_29 AC 27 ms
11,332 KB
testcase_30 AC 50 ms
17,832 KB
testcase_31 AC 27 ms
11,460 KB
testcase_32 AC 67 ms
22,876 KB
testcase_33 AC 73 ms
24,008 KB
testcase_34 AC 46 ms
10,080 KB
testcase_35 AC 71 ms
24,004 KB
testcase_36 AC 45 ms
10,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353

N,K = map(int, input().split())
A = map(int, input().split())

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