QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#466784#3013. XOR SequencesLVJBot1WA 0ms3604kbC++14223b2024-07-08 09:54:582024-07-08 09:54:58

Judging History

This is the latest submission verdict.

  • [2024-07-08 09:54:58]
  • Judged
  • Verdict: WA
  • Time: 0ms
  • Memory: 3604kb
  • [2024-07-08 09:54:58]
  • Submitted

answer

/* Submission UUID: 9f5380c1-a63c-4c6b-a405-fa8cce535772. */
#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: 0ms
memory: 3604kb

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