結果

問題 No.1674 Introduction to XOR
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-09-10 21:41:57
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 454 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 71,268 KB
最終ジャッジ日時 2023-09-02 16:30:57
合計ジャッジ時間 3,363 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,156 KB
testcase_01 AC 75 ms
71,084 KB
testcase_02 AC 74 ms
71,148 KB
testcase_03 AC 73 ms
70,964 KB
testcase_04 AC 72 ms
70,944 KB
testcase_05 AC 72 ms
70,972 KB
testcase_06 AC 73 ms
70,836 KB
testcase_07 AC 74 ms
70,992 KB
testcase_08 AC 73 ms
71,268 KB
testcase_09 AC 74 ms
71,156 KB
testcase_10 AC 72 ms
71,096 KB
testcase_11 AC 73 ms
71,064 KB
testcase_12 AC 74 ms
70,840 KB
testcase_13 AC 73 ms
71,144 KB
testcase_14 AC 73 ms
71,172 KB
testcase_15 AC 72 ms
70,856 KB
testcase_16 AC 73 ms
71,088 KB
testcase_17 AC 73 ms
70,948 KB
testcase_18 AC 72 ms
70,984 KB
testcase_19 AC 73 ms
70,908 KB
testcase_20 AC 72 ms
70,984 KB
testcase_21 AC 74 ms
71,160 KB
testcase_22 AC 72 ms
71,152 KB
testcase_23 AC 72 ms
71,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
num = 0
for a in map(int,input().split()):
    num |= a

for i in range(100):
    if num >> i & 1:
        continue
    print(1<<i)
    exit()
0