結果
問題 |
No.183 たのしい排他的論理和(EASY)
|
ユーザー |
|
提出日時 | 2020-08-28 20:41:37 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 431 ms |
コンパイル使用メモリ | 82,080 KB |
実行使用メモリ | 69,584 KB |
最終ジャッジ日時 | 2024-11-13 23:42:52 |
合計ジャッジ時間 | 4,774 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 RE * 3 |
ソースコード
N = int(input()) A = 0 x = [0] * 2 ** 14 x[0] = 1 for a in map(int, input().split()): for i in range(2 ** 14): if x[i]: x[i ^ a] = 1 print(sum(x))