結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー dangodango
提出日時 2023-06-15 20:53:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 633 ms / 5,000 ms
コード長 121 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 77,440 KB
最終ジャッジ日時 2023-09-05 23:44:27
合計ジャッジ時間 7,160 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
76,540 KB
testcase_01 AC 73 ms
76,728 KB
testcase_02 AC 74 ms
76,684 KB
testcase_03 AC 75 ms
76,604 KB
testcase_04 AC 73 ms
76,388 KB
testcase_05 AC 76 ms
76,784 KB
testcase_06 AC 73 ms
76,596 KB
testcase_07 AC 570 ms
77,224 KB
testcase_08 AC 573 ms
77,024 KB
testcase_09 AC 416 ms
77,260 KB
testcase_10 AC 489 ms
77,184 KB
testcase_11 AC 617 ms
77,180 KB
testcase_12 AC 77 ms
76,508 KB
testcase_13 AC 74 ms
76,404 KB
testcase_14 AC 508 ms
77,148 KB
testcase_15 AC 633 ms
77,440 KB
testcase_16 AC 75 ms
76,812 KB
testcase_17 AC 197 ms
77,224 KB
testcase_18 AC 559 ms
77,392 KB
testcase_19 AC 135 ms
77,324 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