結果

問題 No.1674 Introduction to XOR
ユーザー dangodango
提出日時 2023-06-12 21:17:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 792 ms
コンパイル使用メモリ 86,864 KB
実行使用メモリ 71,340 KB
最終ジャッジ日時 2023-09-02 14:45:19
合計ジャッジ時間 5,009 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,300 KB
testcase_01 AC 75 ms
71,264 KB
testcase_02 AC 75 ms
70,936 KB
testcase_03 AC 76 ms
71,300 KB
testcase_04 AC 76 ms
71,028 KB
testcase_05 AC 76 ms
71,340 KB
testcase_06 AC 75 ms
71,216 KB
testcase_07 AC 77 ms
71,228 KB
testcase_08 AC 76 ms
71,220 KB
testcase_09 AC 77 ms
71,172 KB
testcase_10 AC 76 ms
71,024 KB
testcase_11 AC 76 ms
71,120 KB
testcase_12 AC 75 ms
71,128 KB
testcase_13 AC 76 ms
71,156 KB
testcase_14 AC 75 ms
71,104 KB
testcase_15 AC 76 ms
71,052 KB
testcase_16 AC 76 ms
71,216 KB
testcase_17 AC 76 ms
71,176 KB
testcase_18 AC 75 ms
71,012 KB
testcase_19 AC 78 ms
71,224 KB
testcase_20 AC 78 ms
71,156 KB
testcase_21 AC 77 ms
71,220 KB
testcase_22 AC 75 ms
71,236 KB
testcase_23 AC 77 ms
70,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
M = (1 << 63) - 1
for R in range(N):
  M &= ~A[R]
print(M & -M)
0