結果

問題 No.1674 Introduction to XOR
ユーザー raven7959raven7959
提出日時 2021-09-21 09:12:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 1,000 ms
コード長 138 bytes
コンパイル時間 1,632 ms
コンパイル使用メモリ 86,348 KB
実行使用メモリ 75,800 KB
最終ジャッジ日時 2023-09-16 14:11:48
合計ジャッジ時間 5,455 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,316 KB
testcase_01 AC 71 ms
71,172 KB
testcase_02 AC 74 ms
71,316 KB
testcase_03 AC 71 ms
71,344 KB
testcase_04 AC 71 ms
71,088 KB
testcase_05 AC 71 ms
71,336 KB
testcase_06 AC 72 ms
71,220 KB
testcase_07 AC 71 ms
70,984 KB
testcase_08 AC 73 ms
71,320 KB
testcase_09 AC 71 ms
71,024 KB
testcase_10 AC 72 ms
71,192 KB
testcase_11 AC 72 ms
71,172 KB
testcase_12 AC 71 ms
71,024 KB
testcase_13 AC 73 ms
70,852 KB
testcase_14 AC 81 ms
75,768 KB
testcase_15 AC 74 ms
75,576 KB
testcase_16 AC 71 ms
71,044 KB
testcase_17 AC 73 ms
75,736 KB
testcase_18 AC 73 ms
75,568 KB
testcase_19 AC 75 ms
75,660 KB
testcase_20 AC 77 ms
75,800 KB
testcase_21 AC 69 ms
70,812 KB
testcase_22 AC 75 ms
75,608 KB
testcase_23 AC 75 ms
75,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
for i in range(61):
  if sum(A[j]>>i & 1 for j in range(N))==0:
    print(2**i)
    exit()
0