結果
| 問題 | No.2061 XOR Sort |
| コンテスト | |
| ユーザー |
shobonvip
|
| 提出日時 | 2022-08-26 22:19:59 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 208 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 113,152 KB |
| 最終ジャッジ日時 | 2026-05-01 09:36:53 |
| 合計ジャッジ時間 | 3,506 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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