QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#66065 | #4446. Link is as bear | neko_nyaa | WA | 129ms | 3364kb | C++23 | 367b | 2022-12-06 10:12:06 | 2022-12-06 10:12:09 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
signed main() {
ios::sync_with_stdio(0); cin.tie(0);
int t; cin >> t;
while (t--) {
int n; cin >> n;
int x = 0;
while (n--) {
int k; cin >> k; x |= k;
}
cout << x << '\n';
}
return 0;
}
详细
Test #1:
score: 0
Wrong Answer
time: 129ms
memory: 3364kb
input:
22222 100000 595189703884863 72716684812661 449525802123580 504421888022388 390139608591346 108895143840760 170477720052912 185583843894744 201608404318832 128831549357316 521084715261656 668960191579878 573530403227342 489014525501629 56366633717911 1705111713690 227582321537214 710815946393065 169...
output:
1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 1125899906842623 11258999068...
result:
wrong answer 2223rd lines differ - expected: '1125219729113966', found: '1125899906842623'