QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#466842#3013. XOR SequencesLVJBot1WA 1ms3660kbC++14223b2024-07-08 10:48:352024-07-08 10:48:36

Judging History

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

  • [2024-07-08 10:48:36]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3660kb
  • [2024-07-08 10:48:35]
  • 提交

answer

/* Submission UUID: bb852272-01a8-4316-90f8-c9e3b378c295. */
#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;}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3660kb

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