QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#468333#3013. XOR SequencesLVJBot1WA 0ms3668kbC++14292b2024-07-08 20:16:552024-07-08 20:16:55

Judging History

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

  • [2024-07-08 20:16:55]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3668kb
  • [2024-07-08 20:16:55]
  • 提交

answer

/* Submission UUID: e7a8f126-6f5f-4be0-a2d7-2da052a12b3a. */
#include<bits/stdc++.h>
#define int long long
using namespace std;int t;int fun(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<<fun(x^y)<<'\n';}return 0;}

詳細信息

Test #1:

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

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