結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
c_r_5
|
| 提出日時 | 2018-09-12 19:29:16 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 467 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 30,552 KB |
| 最終ジャッジ日時 | 2026-03-15 13:19:25 |
| 合計ジャッジ時間 | 47,626 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 RE * 3 TLE * 6 |
ソースコード
n,*A=map(int,open(0).read().split())
ans=[0]*16500
ans[0]=1
for a in A:
for i in range(16500):
if ans[i]:
ans[i^a]=1
print(sum(ans))
c_r_5