結果

問題 No.2024 Xer
ユーザー prussian_coderprussian_coder
提出日時 2022-07-29 22:07:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 592 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 1,402 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 103,372 KB
最終ジャッジ日時 2023-09-26 21:08:39
合計ジャッジ時間 13,597 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,088 KB
testcase_01 AC 68 ms
71,276 KB
testcase_02 AC 68 ms
71,396 KB
testcase_03 AC 70 ms
71,348 KB
testcase_04 AC 71 ms
71,116 KB
testcase_05 AC 68 ms
71,088 KB
testcase_06 AC 70 ms
71,292 KB
testcase_07 AC 582 ms
103,372 KB
testcase_08 AC 145 ms
101,508 KB
testcase_09 AC 592 ms
101,332 KB
testcase_10 AC 148 ms
102,176 KB
testcase_11 AC 211 ms
83,424 KB
testcase_12 AC 329 ms
90,416 KB
testcase_13 AC 359 ms
91,908 KB
testcase_14 AC 558 ms
101,340 KB
testcase_15 AC 263 ms
87,148 KB
testcase_16 AC 388 ms
94,160 KB
testcase_17 AC 246 ms
85,816 KB
testcase_18 AC 239 ms
85,620 KB
testcase_19 AC 554 ms
101,420 KB
testcase_20 AC 353 ms
90,772 KB
testcase_21 AC 573 ms
101,132 KB
testcase_22 AC 577 ms
101,112 KB
testcase_23 AC 573 ms
100,900 KB
testcase_24 AC 572 ms
101,156 KB
testcase_25 AC 71 ms
71,420 KB
testcase_26 AC 79 ms
75,832 KB
testcase_27 AC 81 ms
76,572 KB
testcase_28 AC 70 ms
71,184 KB
testcase_29 AC 74 ms
75,984 KB
testcase_30 AC 79 ms
75,948 KB
testcase_31 AC 80 ms
75,964 KB
testcase_32 AC 84 ms
76,596 KB
testcase_33 AC 76 ms
75,976 KB
testcase_34 AC 72 ms
71,284 KB
testcase_35 AC 69 ms
71,388 KB
testcase_36 AC 76 ms
75,836 KB
testcase_37 AC 80 ms
75,988 KB
testcase_38 AC 78 ms
75,776 KB
testcase_39 AC 70 ms
71,196 KB
testcase_40 AC 71 ms
71,208 KB
testcase_41 AC 79 ms
76,516 KB
testcase_42 AC 78 ms
76,008 KB
testcase_43 AC 80 ms
76,688 KB
testcase_44 AC 82 ms
76,644 KB
testcase_45 AC 476 ms
99,656 KB
testcase_46 AC 152 ms
80,164 KB
testcase_47 AC 369 ms
91,896 KB
testcase_48 AC 67 ms
71,216 KB
testcase_49 AC 67 ms
71,016 KB
testcase_50 AC 69 ms
71,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X=map(int,input().split())
A=sorted([((int(x)^X)+int(x),int(x)) for x in input().split()])
for i in range(N-1):
	if A[i][0]==A[i+1][0] or A[i][1]^X>=A[i+1][1] or A[i][1]>=A[i+1][1]^X:
		print("No")
		exit()
print("Yes")
0