結果

問題 No.1456 Range Xor
ユーザー tails
提出日時 2021-03-31 21:26:23
言語 cLay
(20241019-1)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 2,011 ms
コンパイル使用メモリ 176,920 KB
実行使用メモリ 9,088 KB
最終ジャッジ日時 2024-07-05 15:11:19
合計ジャッジ時間 3,939 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 43 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

{
	int@n,@k,b=0;
	multiset<int>s;
	rep(n){
		int@a;
		b^=a;
		s.insert(b);
	}
	for(int i:s){
		int c=s.count(i^k);
		if(c&&(k||c>1)){
			wt("Yes");
			exit(0);
		}
	}
	wt("No");
}
0