QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#468972#3013. XOR SequencesLVJBot1WA 0ms3480kbC++14230b2024-07-09 08:14:132024-07-09 08:14:13

Judging History

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

  • [2024-07-09 08:14:13]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3480kb
  • [2024-07-09 08:14:13]
  • 提交

answer

/* Submission UUID: 4187801d-877f-4d09-9f4a-efbd7def54da. */
#include<bits/stdc++.h>
using namespace std;long long n,x,y;int fun(int a){return a&(-a );}signed main(){cin>>n;while ( n--){cin>>x>>y;cout<<fun( x^y )<<endl;}return 0;}

详细

Test #1:

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

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