結果

問題 No.1299 Random Array Score
ユーザー pluto77pluto77
提出日時 2020-11-29 13:26:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 29,992 KB
最終ジャッジ日時 2023-10-11 02:26:01
合計ジャッジ時間 3,969 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,920 KB
testcase_01 AC 15 ms
7,920 KB
testcase_02 AC 17 ms
7,872 KB
testcase_03 AC 79 ms
29,964 KB
testcase_04 AC 77 ms
29,256 KB
testcase_05 AC 63 ms
24,612 KB
testcase_06 AC 58 ms
22,568 KB
testcase_07 AC 61 ms
23,260 KB
testcase_08 AC 77 ms
29,028 KB
testcase_09 AC 17 ms
8,768 KB
testcase_10 AC 40 ms
16,304 KB
testcase_11 AC 22 ms
10,044 KB
testcase_12 AC 55 ms
21,856 KB
testcase_13 AC 76 ms
28,912 KB
testcase_14 AC 57 ms
22,268 KB
testcase_15 AC 58 ms
22,664 KB
testcase_16 AC 57 ms
22,464 KB
testcase_17 AC 24 ms
10,728 KB
testcase_18 AC 42 ms
17,248 KB
testcase_19 AC 47 ms
18,720 KB
testcase_20 AC 32 ms
13,624 KB
testcase_21 AC 16 ms
8,388 KB
testcase_22 AC 24 ms
11,300 KB
testcase_23 AC 57 ms
22,396 KB
testcase_24 AC 63 ms
24,520 KB
testcase_25 AC 58 ms
22,236 KB
testcase_26 AC 17 ms
8,352 KB
testcase_27 AC 27 ms
11,812 KB
testcase_28 AC 23 ms
10,620 KB
testcase_29 AC 29 ms
12,544 KB
testcase_30 AC 55 ms
21,652 KB
testcase_31 AC 30 ms
12,800 KB
testcase_32 AC 75 ms
28,632 KB
testcase_33 AC 80 ms
29,952 KB
testcase_34 AC 50 ms
11,384 KB
testcase_35 AC 81 ms
29,992 KB
testcase_36 AC 50 ms
11,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki1299
mod=998244353
n,k=map(int,input().split())
s=list(map(int,input().split()))
print(sum(s)*pow(2,k,mod)%mod)
0