結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー cielciel
提出日時 2015-04-17 18:45:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 638 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 452 ms
コンパイル使用メモリ 86,976 KB
実行使用メモリ 77,340 KB
最終ジャッジ日時 2023-09-11 11:05:17
合計ジャッジ時間 6,947 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
76,688 KB
testcase_01 AC 81 ms
76,592 KB
testcase_02 AC 81 ms
76,692 KB
testcase_03 AC 80 ms
76,728 KB
testcase_04 AC 80 ms
76,816 KB
testcase_05 AC 83 ms
76,572 KB
testcase_06 AC 81 ms
76,720 KB
testcase_07 AC 578 ms
77,340 KB
testcase_08 AC 575 ms
77,220 KB
testcase_09 AC 421 ms
77,164 KB
testcase_10 AC 488 ms
77,152 KB
testcase_11 AC 618 ms
77,264 KB
testcase_12 AC 83 ms
76,652 KB
testcase_13 AC 79 ms
76,672 KB
testcase_14 AC 514 ms
76,888 KB
testcase_15 AC 638 ms
77,276 KB
testcase_16 AC 80 ms
76,764 KB
testcase_17 AC 205 ms
77,204 KB
testcase_18 AC 561 ms
77,224 KB
testcase_19 AC 140 ms
77,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M=32768
h=[1]+[0]*M
input()
for e in map(int,input().split()):
 for i in range(M):h[e^i]|=h[i]
print(sum(h))
0