結果
問題 | No.1456 Range Xor |
ユーザー |
![]() |
提出日時 | 2021-03-31 21:28:51 |
言語 | cLay (20241019-1) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 1,985 ms |
コンパイル使用メモリ | 177,300 KB |
実行使用メモリ | 9,088 KB |
最終ジャッジ日時 | 2024-07-05 15:11:24 |
合計ジャッジ時間 | 3,744 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 46 |
ソースコード
{int@n,@k,b=0;multiset<int>s;s.insert(0);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");}