結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
76,652 KB
testcase_01 AC 78 ms
76,628 KB
testcase_02 AC 79 ms
76,784 KB
testcase_03 AC 79 ms
76,732 KB
testcase_04 AC 78 ms
76,656 KB
testcase_05 AC 78 ms
76,884 KB
testcase_06 AC 77 ms
76,700 KB
testcase_07 AC 572 ms
77,360 KB
testcase_08 AC 575 ms
77,124 KB
testcase_09 AC 418 ms
77,460 KB
testcase_10 AC 488 ms
77,200 KB
testcase_11 AC 616 ms
77,392 KB
testcase_12 AC 80 ms
76,628 KB
testcase_13 AC 77 ms
76,568 KB
testcase_14 AC 511 ms
76,940 KB
testcase_15 AC 636 ms
77,252 KB
testcase_16 AC 77 ms
76,804 KB
testcase_17 AC 204 ms
77,212 KB
testcase_18 AC 560 ms
77,268 KB
testcase_19 AC 139 ms
77,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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