結果

問題 No.1299 Random Array Score
ユーザー nok0nok0
提出日時 2020-11-19 10:09:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 409 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 101,692 KB
最終ジャッジ日時 2023-09-30 16:07:24
合計ジャッジ時間 5,403 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,536 KB
testcase_01 AC 71 ms
71,404 KB
testcase_02 AC 71 ms
71,324 KB
testcase_03 AC 113 ms
100,604 KB
testcase_04 AC 113 ms
100,004 KB
testcase_05 AC 97 ms
90,344 KB
testcase_06 AC 92 ms
88,604 KB
testcase_07 AC 93 ms
88,820 KB
testcase_08 AC 110 ms
99,832 KB
testcase_09 AC 75 ms
75,868 KB
testcase_10 AC 85 ms
82,280 KB
testcase_11 AC 75 ms
76,368 KB
testcase_12 AC 91 ms
87,244 KB
testcase_13 AC 113 ms
101,692 KB
testcase_14 AC 93 ms
87,352 KB
testcase_15 AC 93 ms
88,628 KB
testcase_16 AC 94 ms
88,720 KB
testcase_17 AC 77 ms
76,904 KB
testcase_18 AC 85 ms
83,140 KB
testcase_19 AC 87 ms
84,388 KB
testcase_20 AC 82 ms
79,904 KB
testcase_21 AC 75 ms
75,984 KB
testcase_22 AC 77 ms
77,428 KB
testcase_23 AC 93 ms
88,296 KB
testcase_24 AC 96 ms
90,356 KB
testcase_25 AC 93 ms
87,320 KB
testcase_26 AC 74 ms
75,736 KB
testcase_27 AC 78 ms
77,812 KB
testcase_28 AC 77 ms
76,824 KB
testcase_29 AC 80 ms
78,828 KB
testcase_30 AC 93 ms
87,180 KB
testcase_31 AC 80 ms
78,656 KB
testcase_32 AC 112 ms
101,656 KB
testcase_33 AC 114 ms
99,080 KB
testcase_34 AC 92 ms
90,252 KB
testcase_35 AC 114 ms
99,244 KB
testcase_36 AC 94 ms
90,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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