結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー cielciel
提出日時 2015-04-17 18:48:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 108 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 10,596 KB
実行使用メモリ 13,004 KB
最終ジャッジ日時 2023-09-17 21:53:05
合計ジャッジ時間 7,403 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
8,392 KB
testcase_01 AC 61 ms
8,308 KB
testcase_02 AC 108 ms
8,336 KB
testcase_03 AC 85 ms
8,332 KB
testcase_04 AC 45 ms
8,332 KB
testcase_05 AC 120 ms
8,352 KB
testcase_06 AC 70 ms
8,336 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

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