QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#468223 | #3013. XOR Sequences | LVJBot1 | WA | 0ms | 3560kb | C++14 | 223b | 2024-07-08 19:55:37 | 2024-07-08 19:55:37 |
Judging History
answer
/* Submission UUID: 7fce34db-b9e0-4d34-8057-2d3902303cff. */
#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: 3560kb
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