結果

問題 No.1674 Introduction to XOR
ユーザー H3PO4H3PO4
提出日時 2021-09-10 21:30:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 851 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 8,160 KB
最終ジャッジ日時 2023-09-02 16:01:34
合計ジャッジ時間 2,395 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,096 KB
testcase_01 AC 16 ms
8,052 KB
testcase_02 AC 16 ms
8,024 KB
testcase_03 AC 16 ms
8,048 KB
testcase_04 AC 16 ms
8,052 KB
testcase_05 AC 15 ms
8,012 KB
testcase_06 AC 15 ms
8,012 KB
testcase_07 AC 16 ms
8,160 KB
testcase_08 AC 15 ms
8,136 KB
testcase_09 AC 15 ms
8,092 KB
testcase_10 AC 16 ms
8,032 KB
testcase_11 AC 16 ms
8,000 KB
testcase_12 AC 15 ms
8,096 KB
testcase_13 AC 15 ms
8,100 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 15 ms
8,092 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = tuple(map(int, input().split()))
for i in range(60):
    for a in A:
        if (a >> i) & 1:
            break
    else:
        print(1 << i)
        exit()
0