結果
| 問題 |
No.2062 Sum of Subset mod 999630629
|
| コンテスト | |
| ユーザー |
taiga0629kyopro
|
| 提出日時 | 2022-08-11 08:41:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 201 bytes |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 82,016 KB |
| 実行使用メモリ | 81,696 KB |
| 最終ジャッジ日時 | 2024-10-13 12:38:15 |
| 合計ジャッジ時間 | 3,112 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 19 |
ソースコード
n=int(input()) a=list(map(int,input().split())) if not (1<=n<=10**5):print(aaa) if not (1<=min(a) and max(a)<=10**4):print(aaa) if n!=len(a):print(aaa) mod=998244353 print(pow(2,n-1,mod)*sum(a)%mod)
taiga0629kyopro