QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#468665#3013. XOR SequencesLVJBot1WA 0ms3704kbC++14298b2024-07-08 22:25:062024-07-08 22:25:07

Judging History

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

  • [2024-07-08 22:25:07]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3704kb
  • [2024-07-08 22:25:06]
  • 提交

answer

/* Submission UUID: 376f522d-ca55-468f-abd1-ac340e709482. */
#include<bits/stdc++.h>
#define int long long
using namespace std;int t;int lowbit(int x){return x&(-x);}signed main(){ios::sync_with_stdio(0);cin.tie(0),cout.tie(0);cin>>t;while(t--){int x,y;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: 0ms
memory: 3704kb

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