結果

問題 No.2024 Xer
ユーザー pitPpitP
提出日時 2022-07-29 23:17:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 289 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 138,540 KB
最終ジャッジ日時 2023-09-26 22:57:15
合計ジャッジ時間 6,945 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,184 KB
testcase_01 AC 69 ms
71,220 KB
testcase_02 AC 68 ms
71,336 KB
testcase_03 AC 66 ms
71,444 KB
testcase_04 AC 64 ms
71,288 KB
testcase_05 WA -
testcase_06 AC 66 ms
71,220 KB
testcase_07 AC 133 ms
138,540 KB
testcase_08 AC 137 ms
131,024 KB
testcase_09 AC 138 ms
130,840 KB
testcase_10 AC 141 ms
131,132 KB
testcase_11 AC 88 ms
93,568 KB
testcase_12 AC 106 ms
109,568 KB
testcase_13 WA -
testcase_14 AC 142 ms
130,804 KB
testcase_15 AC 96 ms
101,844 KB
testcase_16 AC 113 ms
118,808 KB
testcase_17 AC 91 ms
98,236 KB
testcase_18 WA -
testcase_19 AC 145 ms
130,688 KB
testcase_20 AC 104 ms
109,076 KB
testcase_21 AC 141 ms
130,472 KB
testcase_22 AC 140 ms
130,528 KB
testcase_23 AC 138 ms
130,784 KB
testcase_24 AC 138 ms
130,572 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 76 ms
76,508 KB
testcase_28 AC 69 ms
71,504 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 72 ms
76,316 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 AC 66 ms
71,068 KB
testcase_40 AC 67 ms
71,340 KB
testcase_41 AC 70 ms
76,412 KB
testcase_42 WA -
testcase_43 AC 76 ms
76,396 KB
testcase_44 AC 73 ms
76,316 KB
testcase_45 AC 122 ms
101,444 KB
testcase_46 AC 78 ms
83,352 KB
testcase_47 AC 106 ms
113,100 KB
testcase_48 AC 65 ms
71,348 KB
testcase_49 AC 66 ms
71,056 KB
testcase_50 AC 66 ms
71,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x = map(int,input().split())
a = list(map(int,input().split()))
if len(a) != len(set(a)):
    print("No")
    exit()
#print(bin(x)[2:][::-1])
#print("AAAAA")

cnt = 0
for num in a:
    if num^x <= x:
        cnt += 1
        #print(bin(num)[2:][::-1])

print("Yes" if cnt <= 1 else "No")
0