結果
| 問題 |
No.2062 Sum of Subset mod 999630629
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2022-08-26 22:44:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 144 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 82,060 KB |
| 実行使用メモリ | 81,008 KB |
| 最終ジャッジ日時 | 2024-10-13 23:21:54 |
| 合計ジャッジ時間 | 2,838 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 19 |
ソースコード
Mod1=998244353 Mod2=999630629 N=int(input()) A=list(map(int,input().split())) A_sum=sum(A) alpha=pow(2,N-1,Mod1*Mod2) print(A_sum*alpha%Mod1)
Kazun