結果
| 問題 |
No.2061 XOR Sort
|
| コンテスト | |
| ユーザー |
shobonvip
|
| 提出日時 | 2022-08-26 22:19:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 183 bytes |
| コンパイル時間 | 184 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 102,016 KB |
| 最終ジャッジ日時 | 2024-10-13 22:56:55 |
| 合計ジャッジ時間 | 4,805 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 WA * 14 |
ソースコード
mod = 998244353 n = int(input()) a = list(map(int,input().split())) base = [] for i in a: for e in base: i = min(i, i^e) if i > 0: base.append(i) print(pow(2, len(base), mod))
shobonvip