結果

問題 No.1674 Introduction to XOR
ユーザー rlangevinrlangevin
提出日時 2023-02-06 22:18:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 1,000 ms
コード長 188 bytes
コンパイル時間 538 ms
コンパイル使用メモリ 87,272 KB
実行使用メモリ 75,728 KB
最終ジャッジ日時 2023-09-18 08:10:33
合計ジャッジ時間 3,726 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,340 KB
testcase_01 AC 78 ms
71,408 KB
testcase_02 AC 78 ms
71,368 KB
testcase_03 AC 78 ms
71,272 KB
testcase_04 AC 78 ms
71,352 KB
testcase_05 AC 78 ms
71,312 KB
testcase_06 AC 78 ms
71,324 KB
testcase_07 AC 79 ms
71,400 KB
testcase_08 AC 78 ms
71,340 KB
testcase_09 AC 79 ms
71,224 KB
testcase_10 AC 77 ms
71,432 KB
testcase_11 AC 78 ms
71,440 KB
testcase_12 AC 77 ms
71,448 KB
testcase_13 AC 77 ms
71,156 KB
testcase_14 AC 78 ms
71,012 KB
testcase_15 AC 76 ms
71,160 KB
testcase_16 AC 76 ms
71,224 KB
testcase_17 AC 76 ms
71,276 KB
testcase_18 AC 76 ms
71,388 KB
testcase_19 AC 77 ms
71,572 KB
testcase_20 AC 77 ms
71,440 KB
testcase_21 AC 77 ms
71,236 KB
testcase_22 AC 78 ms
71,508 KB
testcase_23 AC 88 ms
75,728 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
for i in range(65):
    for j in range(N):
        if (A[j] >> i) & 1:
            break
    else:
        print(1 << i)
        exit()
0