QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466782#3013. XOR SequencesLVJBot1WA 0ms3688kbC++14223b2024-07-08 09:53:352024-07-08 09:53:36

Judging History

你现在查看的是最新测评结果

  • [2024-07-08 09:53:36]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3688kb
  • [2024-07-08 09:53:35]
  • 提交

answer

/* Submission UUID: 28eb9fda-3281-48e5-aaf1-2ea20884acf3. */
#include<bits/stdc++.h>
using namespace std;int t,x,y;int lowbit(int x){return x&(-x);}int main(){cin>>t;while (t--){cin>>x>>y;cout<<lowbit(x^y)<<'\n';}return 0;}

详细

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3688kb

input:

4 12
2
2
3
6
1
12
1
12
9
7
5
5
4
8
10
11

output:

2
1
1
1

result:

wrong answer expected 8, found 2