結果

問題 No.1299 Random Array Score
ユーザー shakayamishakayami
提出日時 2020-11-27 21:28:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 144 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 2,489 ms
コンパイル使用メモリ 86,704 KB
実行使用メモリ 101,864 KB
最終ジャッジ日時 2023-10-01 04:44:39
合計ジャッジ時間 6,186 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
71,236 KB
testcase_01 AC 80 ms
70,984 KB
testcase_02 AC 77 ms
71,404 KB
testcase_03 AC 144 ms
100,232 KB
testcase_04 AC 123 ms
99,824 KB
testcase_05 AC 106 ms
91,584 KB
testcase_06 AC 102 ms
89,576 KB
testcase_07 AC 101 ms
89,912 KB
testcase_08 AC 120 ms
99,792 KB
testcase_09 AC 80 ms
75,532 KB
testcase_10 AC 90 ms
82,880 KB
testcase_11 AC 83 ms
76,628 KB
testcase_12 AC 99 ms
88,196 KB
testcase_13 AC 122 ms
101,864 KB
testcase_14 AC 101 ms
88,252 KB
testcase_15 AC 100 ms
89,544 KB
testcase_16 AC 101 ms
89,428 KB
testcase_17 AC 81 ms
77,116 KB
testcase_18 AC 89 ms
84,084 KB
testcase_19 AC 93 ms
85,032 KB
testcase_20 AC 85 ms
80,132 KB
testcase_21 AC 78 ms
75,700 KB
testcase_22 AC 81 ms
77,644 KB
testcase_23 AC 101 ms
89,588 KB
testcase_24 AC 102 ms
91,316 KB
testcase_25 AC 97 ms
88,180 KB
testcase_26 AC 79 ms
75,616 KB
testcase_27 AC 83 ms
78,076 KB
testcase_28 AC 82 ms
77,012 KB
testcase_29 AC 86 ms
78,936 KB
testcase_30 AC 99 ms
87,992 KB
testcase_31 AC 84 ms
79,184 KB
testcase_32 AC 121 ms
101,432 KB
testcase_33 AC 123 ms
98,740 KB
testcase_34 AC 101 ms
91,648 KB
testcase_35 AC 122 ms
99,004 KB
testcase_36 AC 101 ms
91,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())
A=[int(i) for i in input().split()]
mod=998244353
ans=sum(A)*pow(2,K,mod)
ans%=mod
print(ans)
0