結果

問題 No.1299 Random Array Score
ユーザー %20%20
提出日時 2020-11-27 21:59:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 77 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 29,784 KB
最終ジャッジ日時 2023-10-01 05:43:40
合計ジャッジ時間 3,637 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,804 KB
testcase_01 AC 17 ms
7,760 KB
testcase_02 AC 17 ms
7,748 KB
testcase_03 AC 76 ms
29,736 KB
testcase_04 AC 75 ms
29,028 KB
testcase_05 AC 61 ms
24,564 KB
testcase_06 AC 57 ms
22,500 KB
testcase_07 AC 58 ms
23,368 KB
testcase_08 AC 75 ms
29,004 KB
testcase_09 AC 18 ms
8,660 KB
testcase_10 AC 39 ms
16,216 KB
testcase_11 AC 21 ms
10,036 KB
testcase_12 AC 54 ms
21,640 KB
testcase_13 AC 73 ms
28,904 KB
testcase_14 AC 55 ms
22,376 KB
testcase_15 AC 56 ms
22,496 KB
testcase_16 AC 55 ms
22,476 KB
testcase_17 AC 23 ms
10,608 KB
testcase_18 AC 41 ms
17,156 KB
testcase_19 AC 45 ms
18,684 KB
testcase_20 AC 31 ms
13,628 KB
testcase_21 AC 16 ms
8,068 KB
testcase_22 AC 25 ms
11,300 KB
testcase_23 AC 56 ms
22,272 KB
testcase_24 AC 61 ms
24,396 KB
testcase_25 AC 56 ms
22,132 KB
testcase_26 AC 16 ms
8,060 KB
testcase_27 AC 25 ms
11,728 KB
testcase_28 AC 23 ms
10,620 KB
testcase_29 AC 28 ms
12,584 KB
testcase_30 AC 53 ms
21,472 KB
testcase_31 AC 29 ms
12,636 KB
testcase_32 AC 72 ms
28,340 KB
testcase_33 AC 77 ms
29,740 KB
testcase_34 AC 49 ms
11,356 KB
testcase_35 AC 77 ms
29,784 KB
testcase_36 AC 50 ms
11,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M=998244353
N,K,*A=map(int,open(0).read().split())
print(sum(A)*pow(2,K,M)%M)
0