QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#691072 | #9518. 观虫我 (旧版数据) | hos_lyric# | 10 | 7196ms | 528144kb | C++14 | 2.7kb | 2024-10-31 09:40:01 | 2024-10-31 09:41:58 |
Judging History
answer
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <functional>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#pragma GCC target("avx2")
using namespace std;
using Int = long long;
template <class T1, class T2> ostream &operator<<(ostream &os, const pair<T1, T2> &a) { return os << "(" << a.first << ", " << a.second << ")"; };
template <class T> ostream &operator<<(ostream &os, const vector<T> &as) { const int sz = as.size(); os << "["; for (int i = 0; i < sz; ++i) { if (i >= 256) { os << ", ..."; break; } if (i > 0) { os << ", "; } os << as[i]; } return os << "]"; }
template <class T> void pv(T a, T b) { for (T i = a; i != b; ++i) cerr << *i << " "; cerr << endl; }
template <class T> bool chmin(T &t, const T &f) { if (t > f) { t = f; return true; } return false; }
template <class T> bool chmax(T &t, const T &f) { if (t < f) { t = f; return true; } return false; }
#define COLOR(s) ("\x1b[" s "m")
// [0, E), [E, F), [F, 32)
constexpr int E = 6;
constexpr int F = 21;
constexpr unsigned MASK_A = (1U << E) - 1U;
constexpr unsigned MASK_B = (1U << F) - (1U << E);
constexpr unsigned MASK_C = 0U - (1U << F);
int N, Q;
unsigned long long zs[1 << (32 - E)];
int main() {
unsigned long long small[1 << E] = {};
for (int a = 0; a < 1 << E; ++a) for (int b = 0; b < 1 << E; ++b) if (!(a & ~b)) {
small[a] |= 1ULL << b;
}
scanf("%d%d", &N, &Q);
if(N==32)chmin(Q,500'000);
for (int q = 0; q < Q; ++q) {
char O;
unsigned I;
// scanf(" %c%u", &O, &I);
{
for (; (O = getchar()) <= 32; ) {}
char c;
for (; (c = getchar()) <= 32; ) {}
I = 0;
do {
(I *= 10) += (c - '0');
} while ((c = getchar()) > 32);
}
// cerr<<O<<" "<<I<<endl;
const unsigned A = (I & MASK_A);
const unsigned B = (I & MASK_B) >> E;
const unsigned C = (I & MASK_C) >> E;
if (O == '!') {
// superset of B
for (unsigned b = B; b < 1U << (F - E); ++b |= B) {
zs[b | C] ^= small[A];
}
} else {
unsigned long long ans = 0;
// subset of C
for (unsigned c = C; ; (c -= 1U << (F - E)) &= C) {
ans ^= zs[B | c];
if (!c) break;
}
ans = ans >> A & 1;
printf("%llu\n", ans);
}
}
return 0;
}
详细
Subtask #1:
score: 0
Time Limit Exceeded
Test #1:
score: 20
Accepted
time: 1147ms
memory: 5788kb
input:
24 1000000 ! 9475137 ! 4501536 ? 14277831 ? 16695039 ? 5723102 ? 6093887 ? 3014539 ! 475969 ? 12500973 ! 8750136 ? 15617895 ! 4589313 ! 152300 ? 3612579 ? 15248179 ! 764162 ! 4461105 ? 7274495 ? 13299697 ! 8388872 ? 13490383 ! 3875594 ! 9439685 ? 16776189 ! 6443172 ? 13864879 ! 395691 ? 7142271 ? 16...
output:
1 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 1 1 0 1 1 1 1 0 0 1 1 0 0 1 0 0 0 1 1 0 0 1 1 1 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 1 1 0 0 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 1 0 1 1 1 1 1 0 0 1 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 0 0 0 1 1 0 ...
result:
ok Accepted.
Test #2:
score: 0
Time Limit Exceeded
input:
24 1000000 ! 0 ? 16777215 ! 0 ! 0 ! 262144 ? 16777215 ? 16777215 ? 15728639 ! 0 ? 16777215 ? 16777215 ! 16384 ? 16777211 ! 0 ? 16777215 ! 0 ! 0 ? 16760831 ! 0 ! 0 ? 16777215 ! 0 ? 16777215 ! 0 ? 16777215 ! 0 ? 16777215 ? 16777215 ! 0 ! 0 ? 16777215 ? 16777215 ? 16777215 ? 16777215 ! 32768 ? 16777215...
output:
1 0 0 0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 1 0 0 1 1 1 1 1 1 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 1 1 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 ...
result:
Subtask #2:
score: 0
Time Limit Exceeded
Test #11:
score: 20
Accepted
time: 1327ms
memory: 12016kb
input:
26 1000000 ! 18006034 ? 66957270 ! 2133064 ! 147618 ! 34621442 ? 49715575 ? 62879287 ! 18620682 ? 67073751 ! 62941186 ! 7634532 ? 67100031 ? 12517237 ! 4804997 ? 65991126 ! 138275 ? 65722687 ? 66043391 ! 19147234 ? 45743743 ! 2242648 ! 44378336 ? 48226020 ! 34341926 ! 665045 ? 55433083 ! 5554254 ? 4...
output:
0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 0 1 1 1 0 1 0 1 1 0 0 0 0 1 1 0 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 1 0 1 1 0 0 1 0 1 1 0 0 0 1 0 1 1 0 1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 1 1 1 0 1 ...
result:
ok Accepted.
Test #12:
score: 0
Time Limit Exceeded
input:
26 1000000 ! 0 ! 16779264 ! 4 ? 67092479 ? 67108863 ! 1048832 ! 0 ? 67108863 ? 67108863 ? 67108863 ? 67108863 ! 0 ! 0 ! 0 ? 67108863 ! 2048 ? 67108863 ! 0 ? 66584575 ! 8192 ! 0 ? 67108863 ? 67108863 ! 0 ! 0 ? 67092479 ? 67108863 ! 0 ? 67108863 ? 67108863 ? 67108863 ? 67108863 ? 67108863 ! 0 ? 671088...
output:
1 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 1 1 1 1 0 0 1 1 0 1 1 1 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 ...
result:
Subtask #3:
score: 0
Time Limit Exceeded
Test #21:
score: 20
Accepted
time: 1606ms
memory: 36656kb
input:
28 1000000 ! 1081468 ! 128476263 ! 67930241 ? 94304031 ! 103698752 ! 19982 ! 198050624 ? 249519591 ? 71286719 ? 255700799 ! 103309888 ! 819340 ! 12852092 ? 124739445 ? 192734967 ! 101320328 ! 117594711 ? 252032927 ! 134267948 ? 262940285 ! 3155972 ? 267876218 ! 41984160 ? 246413294 ? 246824252 ? 163...
output:
0 0 1 0 1 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1 1 0 0 0 1 1 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 1 0 0 1 0 0 1 1 1 0 1 1 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 1 0 1 0 1 1 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 1 1 0 1 0 1 ...
result:
ok Accepted.
Test #22:
score: 0
Time Limit Exceeded
input:
28 1000000 ! 0 ? 268435455 ? 268435455 ? 268435455 ? 268435455 ? 268435454 ! 262144 ! 2097152 ? 268435455 ? 266338303 ! 0 ? 268435455 ? 268431359 ? 268435455 ? 268435199 ? 268435455 ! 0 ? 268435455 ? 268304383 ? 268435455 ? 267386871 ! 0 ! 0 ! 0 ! 8192 ? 234881023 ? 268435455 ? 268435455 ? 268435455...
output:
1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 1 1 0 1 1 1 1 1 0 1 0 1 1 1 1 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 0 1 ...
result:
Subtask #4:
score: 0
Time Limit Exceeded
Test #31:
score: 20
Accepted
time: 2814ms
memory: 134880kb
input:
30 1000000 ! 33852274 ? 1017904007 ? 1046413001 ! 151029382 ? 466826079 ? 250568375 ! 6769874 ! 2106474 ? 536832803 ? 209627867 ! 167104971 ? 1048372157 ! 245380745 ! 25174496 ? 819646460 ! 539548800 ! 671358165 ? 402955591 ? 527753201 ! 582494209 ? 862862931 ? 938974695 ? 263672827 ? 366968669 ? 87...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 1 0 0 0 1 1 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 0 1 0 1 1 0 1 0 0 0 1 1 1 1 0 1 1 0 1 1 1 0 1 0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 1 0 0 1 0 1 1 1 ...
result:
ok Accepted.
Test #32:
score: 0
Time Limit Exceeded
input:
30 1000000 ! 16777216 ? 1073741823 ! 0 ! 0 ! 0 ? 1073741823 ? 1073741823 ? 1056964607 ? 1073741823 ! 0 ? 1073741823 ! 0 ! 0 ? 1073741823 ? 1073741823 ! 0 ! 0 ? 1073741823 ! 0 ? 1069408255 ! 0 ? 1073741823 ! 0 ? 1073741823 ! 0 ? 1073741823 ! 128 ! 131072 ? 1073741823 ? 1073741823 ? 1073741823 ? 10737...
output:
1 0 0 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 1 0 1 1 0 0 1 1 0 1 1 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 0 1 1 1 0 0 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 1 1 1 1 0 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 1 1 1 1 0 0 1 1 0 0 1 1 0 ...
result:
Subtask #5:
score: 10
Acceptable Answer
Test #41:
score: 10
Acceptable Answer
time: 2712ms
memory: 517752kb
input:
32 1000000 ! 2474971548 ! 348268033 ? 1055293046 ? 3382525679 ? 1805515707 ? 3210332902 ? 2805668987 ? 4025974780 ! 2217771280 ! 176949664 ! 4213841344 ! 1477473321 ? 3150869759 ? 2127418041 ! 1610631720 ! 3624477314 ! 2288149532 ! 70909964 ! 40117153 ! 1343751456 ? 3758095615 ! 513059275 ! 31956816...
output:
0 0 0 0 0 0 0 0 1 1 1 0 1 1 0 1 0 0 1 1 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 1 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 1 1 0 1 0 0 1 1 1 0 0 1 1 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500005: Missing output for a query.
Test #42:
score: 10
Acceptable Answer
time: 5747ms
memory: 31756kb
input:
32 1000000 ! 0 ? 4294965247 ? 4294967295 ? 4278189567 ? 4294967293 ? 4294959103 ? 4290772991 ! 0 ! 0 ! 0 ! 0 ! 32768 ? 4294967295 ! 0 ? 4294967295 ! 0 ! 0 ? 4294967295 ? 4160749567 ? 4294967295 ! 0 ? 4294967295 ? 4294967295 ! 8192 ! 0 ? 3221225471 ! 0 ? 4294966783 ! 0 ? 4160749567 ! 0 ! 0 ? 42949672...
output:
1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 1 0 1 1 0 0 0 1 0 0 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 0 1 1 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1 0 1 1 1 0 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #43:
score: 10
Acceptable Answer
time: 6994ms
memory: 327608kb
input:
32 1000000 ! 0 ! 67371008 ? 4290772735 ? 4294442943 ? 3219118063 ? 4158652415 ? 4227186542 ? 4294950911 ? 3753869311 ! 73728 ! 34832 ? 4025483231 ! 1073741824 ! 33555456 ! 536870914 ? 4026531839 ? 4211015679 ! 2560 ? 4294967295 ? 4294967279 ? 4290510847 ? 3137339390 ! 268566528 ? 2062530029 ! 335544...
output:
0 0 0 0 1 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 0 1 1 1 1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 1 1 0 1 1 1 1 1 1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 0 1 1 0 1 1 0 1 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 1 1 0 1 1 0 0 0 1 0 0 1 0 1 1 0 0 0 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #44:
score: 10
Acceptable Answer
time: 2788ms
memory: 521492kb
input:
32 1000000 ! 1755841544 ! 573047496 ! 16778565 ! 2785673864 ? 129892336 ! 3293577794 ! 14942209 ? 4191678459 ! 565320 ? 2291867647 ! 136852497 ! 372265921 ? 2078127419 ! 3524808720 ? 3741015384 ? 4007450330 ! 1083707211 ! 268443921 ? 4113519611 ! 1183502594 ? 671233048 ! 1113114717 ? 3210182381 ! 38...
output:
0 0 0 0 1 1 0 0 0 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 1 0 1 0 1 0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 0 1 0 1 1 1 1 0 0 1 0 0 1 0 1 1 1 0 1 1 0 1 1 0 0 0 1 1 1 0 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #45:
score: 10
Acceptable Answer
time: 4152ms
memory: 526120kb
input:
32 1000000 ! 105373520 ! 473126059 ? 836554967 ? 4294966655 ? 1017917278 ! 33554496 ! 936097420 ! 4098 ? 4227334143 ? 3217020903 ? 4261402095 ! 2064 ? 388354464 ! 33556480 ? 4273994239 ! 10502152 ? 244136115 ! 4194308 ? 4294443007 ! 131281 ! 466808739 ! 2361409608 ! 225471362 ! 131104 ? 867749959 ! ...
output:
0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 0 1 1 0 1 1 1 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 1 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 1 1 0 1 1 0 0 0 0 0 0 1 1 1 0 1 0 1 1 0 0 0 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 1 1 1 0 0 1 0 0 1 0 1 0 1 1 0 0 0 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #46:
score: 10
Acceptable Answer
time: 3779ms
memory: 466136kb
input:
32 1000000 ! 268439685 ! 1073807360 ? 4294967135 ? 4160684031 ! 1775730655 ! 1614842369 ? 129245452 ? 2006188086 ? 1246017555 ? 4294933491 ? 4286578558 ? 4275566271 ! 4152178530 ! 2348767807 ? 4290740218 ! 65536 ? 3220635135 ! 2148042756 ! 3454528470 ! 4126785535 ! 163846 ! 4001021815 ? 3749699519 !...
output:
1 1 0 0 0 1 1 0 1 1 1 1 0 1 1 0 0 0 1 0 0 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 0 1 0 1 1 0 1 0 0 0 1 0 1 1 0 1 0 0 1 1 1 1 1 1 1 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1 1 1 0 0 1 1 0 0 1 0 0 0 0 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #47:
score: 10
Acceptable Answer
time: 3569ms
memory: 318344kb
input:
32 1000000 ! 2164374266 ! 12583009 ! 4294402047 ! 4093640127 ! 4294179839 ? 1077957264 ? 2097152 ? 65600 ? 2147352511 ? 1073742144 ? 4026515455 ? 1350697216 ? 4160749559 ? 4026531837 ! 805306355 ! 263176 ! 1077936136 ! 531488 ! 4294836223 ? 4291820991 ! 4294819743 ! 2 ? 8192 ? 0 ? 167776386 ! 429470...
output:
0 0 0 0 0 0 0 1 1 1 0 0 1 0 1 0 1 0 1 0 0 0 1 1 1 1 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 1 1 1 0 0 1 1 0 1 1 1 0 1 1 1 1 1 1 0 0 0 0 0 1 0 1 0 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 0 1 0 0 0 1 0 1 1 0 0 0 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500004: Missing output for a query.
Test #48:
score: 10
Acceptable Answer
time: 4448ms
memory: 521912kb
input:
32 1000000 ! 4261348608 ? 4294902784 ! 4290506559 ? 4294932691 ! 4026466560 ? 4294770688 ! 4261281792 ! 3345809408 ! 2147418240 ? 4294901760 ! 4293853184 ! 4294901760 ! 1039925252 ! 4293853184 ? 4286513152 ? 4293826460 ? 4026466304 ? 4293896996 ! 4294901760 ? 4294920722 ! 4227792896 ? 3758030848 ! 4...
output:
0 0 0 0 1 0 1 1 0 1 1 0 1 1 0 0 1 0 0 1 1 0 0 1 0 1 1 1 1 0 1 0 1 1 1 0 0 0 1 1 1 0 0 1 0 1 0 1 1 0 0 1 1 1 1 1 1 0 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 1 1 1 1 0 0 0 1 1 0 1 1 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 1 0 1 ...
result:
points 0.5 Wrong answer at operation #500005: Missing output for a query.
Test #49:
score: 10
Acceptable Answer
time: 7196ms
memory: 525672kb
input:
32 1000000 ! 3928096769 ! 743243776 ! 3790422144 ? 4294907850 ? 4294967294 ? 3690970111 ! 2135949314 ? 4294967279 ! 134217984 ! 1107296288 ? 2146889723 ? 4293917695 ! 2164523264 ? 4294919973 ? 4294967295 ? 4291816959 ! 3783330848 ? 4294967295 ! 138674176 ? 4292870015 ? 4294932538 ? 4294944684 ? 4227...
output:
1 0 0 0 1 1 1 1 0 0 1 0 1 1 0 1 0 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 1 0 0 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 1 0 1 0 0 0 0 1 1 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 0 0 1 0 1 0 1 1 0 0 1 1 1 1 1 0 0 0 1 0 1 1 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #50:
score: 10
Acceptable Answer
time: 2429ms
memory: 524592kb
input:
32 1000000 ! 4007572863 ? 3224895744 ? 2818859861 ? 2710063109 ! 4259838844 ? 3990878207 ? 3015434939 ! 134089204 ! 2322595840 ? 4294967294 ? 2595192733 ? 531155243 ? 67208192 ! 2681605630 ? 1659540665 ? 2452859716 ? 16777216 ? 3499900612 ! 133120 ! 3283531230 ? 4294967295 ! 19410952 ! 2146222079 ? ...
output:
0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 1 0 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 1 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 1 1 1 0 0 0 0 1 1 0 0 0 1 1 1 1 1 0 1 0 1 0 0 1 1 0 1 1 1 0 1 1 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #51:
score: 10
Acceptable Answer
time: 963ms
memory: 526664kb
input:
32 1000000 ! 4294967039 ? 16785418 ? 565264 ? 962022560 ! 4127505850 ? 608438944 ! 1270795938 ! 4222222189 ! 2701039246 ? 35 ! 4282384381 ? 1155673165 ! 4293853147 ! 4286545919 ? 646528671 ! 4294967294 ! 4294832127 ? 24592 ? 16641 ? 25165892 ! 2183348260 ? 1880114442 ? 2164916256 ! 894714876 ? 98631...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #52:
score: 10
Acceptable Answer
time: 3138ms
memory: 520644kb
input:
32 1000000 ! 2703672842 ! 2147614720 ? 717425925 ? 4294932479 ? 4292849663 ? 486709647 ? 2502206490 ! 4283198347 ? 3992846271 ? 3765565792 ! 8 ? 2233142852 ? 264658440 ? 357699752 ! 136314900 ! 2226759639 ? 2155326246 ? 82051200 ? 2806808759 ? 1208305216 ! 1073741856 ! 35651585 ! 2160093441 ! 230687...
output:
0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 0 0 1 1 1 1 1 0 0 1 0 0 1 1 0 1 1 1 0 1 1 0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 0 1 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 1 1 1 1 1 0 1 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #53:
score: 10
Acceptable Answer
time: 2337ms
memory: 526644kb
input:
32 1000000 ! 4325376 ? 2942289498 ? 1065232 ? 4260793815 ! 136380673 ! 1828661908 ! 83902464 ? 1213185410 ? 3518090997 ! 3454158591 ! 3389172838 ! 1554456425 ? 67127296 ! 3760326824 ! 406863923 ? 3133125038 ! 17334281 ! 476736842 ? 2613854206 ! 134225968 ? 208196627 ? 4096 ? 2 ? 2113807481 ? 5368729...
output:
1 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 0 1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 1 1 0 1 1 1 0 1 0 0 1 0 1 0 0 0 1 1 1 1 1 1 0 1 1 0 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 1 0 1 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 1 1 1 1 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #54:
score: 10
Acceptable Answer
time: 823ms
memory: 523180kb
input:
32 1000000 ! 1054834631 ! 3890085887 ? 1073807376 ! 3814710433 ? 1579717444 ? 541100032 ? 317227048 ! 231388265 ? 327532608 ? 1107496962 ? 1249894359 ? 2468842800 ! 1037432826 ! 7083217 ! 2390746362 ! 2143289327 ! 4290247679 ! 1929145024 ! 2805205998 ! 4294966971 ? 13632001 ! 4085219311 ? 1337982907...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #55:
score: 10
Acceptable Answer
time: 595ms
memory: 523084kb
input:
32 1000000 ! 4127191035 ? 1126308712 ? 1091043328 ? 1142164041 ? 2370114440 ? 405823501 ! 4291690495 ! 2415787951 ? 2948326205 ! 1972533067 ? 2147483776 ? 335675392 ! 2424198314 ! 3017633763 ! 346235782 ! 1676712843 ? 416468046 ? 2415939584 ! 67108928 ? 513577209 ? 33554436 ! 1565236247 ? 176343552 ...
output:
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #56:
score: 10
Acceptable Answer
time: 565ms
memory: 523144kb
input:
32 1000000 ! 4294967263 ? 2387309966 ? 1195203 ? 347406661 ! 2415919280 ! 3212834543 ? 3096175610 ? 3475604192 ! 4294963199 ! 1871401793 ? 1073750272 ? 1419888993 ! 3241738578 ! 4033431254 ! 872058013 ! 4294967036 ! 1006632379 ? 8454160 ! 3154074623 ? 1080688706 ! 3919819014 ! 4276092895 ! 422571206...
output:
0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #57:
score: 10
Acceptable Answer
time: 2473ms
memory: 470908kb
input:
32 1000000 ! 4085251839 ! 4290772991 ? 2562740821 ! 33554472 ! 4137410303 ? 872719524 ? 555811840 ! 3094738490 ? 4291526643 ? 49417336 ? 3221328898 ? 2161784960 ! 18222593 ! 2013239831 ? 8536192 ? 135729992 ? 4294817790 ? 1131496 ? 4293917695 ? 570439822 ! 2952788991 ? 50334978 ! 4278188026 ! 429496...
output:
0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 1 0 1 1 1 0 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 0 1 1 1 0 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 0 1 1 1 1 0 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #58:
score: 10
Acceptable Answer
time: 3567ms
memory: 526736kb
input:
32 1000000 ! 3882512057 ? 412001591 ? 2079848443 ! 180512006 ? 2616479743 ! 2754392312 ! 916832049 ! 268451840 ! 1100101129 ! 369238121 ! 224527770 ! 167774218 ? 1573574995 ? 4086779765 ? 4284415999 ! 823297152 ! 1223948829 ? 1543446722 ! 676614144 ! 8519688 ! 1835098954 ? 4028241306 ! 2920563601 ! ...
output:
0 0 0 1 1 1 0 0 1 1 1 1 1 1 0 1 1 1 0 0 0 0 0 1 0 1 1 1 1 0 0 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 1 0 0 1 0 1 1 1 1 1 0 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 1 0 1 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 1 0 0 1 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #59:
score: 10
Acceptable Answer
time: 3166ms
memory: 505496kb
input:
32 1000000 ! 29392967 ! 0 ? 4285530095 ? 1604157439 ! 1444937984 ? 3024204224 ? 1728387496 ! 268697633 ? 3478975201 ? 337650315 ? 2130694110 ! 805339136 ? 179184004 ! 655488 ! 61096000 ? 2977322927 ? 4261411839 ? 2113339263 ! 2677792767 ? 2659182102 ? 2587372108 ? 3166949124 ! 8389284 ? 1143786637 !...
output:
1 1 1 1 1 1 0 1 0 1 0 1 1 0 1 1 0 0 0 1 1 1 1 1 0 0 1 0 1 1 0 1 0 0 1 1 1 0 1 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 1 1 0 1 1 1 0 0 0 0 1 1 1 0 1 0 1 0 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 1 0 1 0 0 0 1 1 0 0 1 0 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #60:
score: 10
Acceptable Answer
time: 3277ms
memory: 526824kb
input:
32 1000000 ! 1073750568 ? 180355724 ! 268451842 ? 2754702427 ! 2726359563 ! 1063795536 ! 953253952 ! 2372440925 ? 1811397501 ! 4004578507 ! 90163654 ! 18087943 ? 1210160580 ! 71304256 ? 901921280 ? 1540347903 ! 270215440 ? 4148304216 ? 1092616288 ! 1133118016 ! 67109120 ? 4121285749 ? 266284674 ? 40...
output:
0 0 1 0 0 1 0 0 0 0 1 0 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 0 0 0 1 0 0 1 1 1 0 0 1 0 0 1 0 0 0 0 1 0 0 0 1 1 1 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 0 0 1 0 1 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 1 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #61:
score: 10
Acceptable Answer
time: 2725ms
memory: 515668kb
input:
32 1000000 ! 1755655192 ? 3556632831 ! 105333599 ? 4293875517 ? 4166942439 ! 2955424560 ? 3181374678 ! 1755516162 ! 1892696672 ? 1651242687 ? 3623872767 ! 75498025 ! 1145194084 ? 3219627736 ? 3907351518 ? 4090059549 ! 3447914851 ! 587730948 ? 4126924635 ? 4129287626 ! 167837756 ! 337197076 ? 2133810...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 1 0 1 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 1 0 0 0 1 1 1 0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 0 0 0 0 0 1 0 1 1 0 0 0 1 1 1 1 1 1 1 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #62:
score: 10
Acceptable Answer
time: 2658ms
memory: 522712kb
input:
32 1000000 ! 20743253 ! 1114744840 ! 805833234 ! 269223485 ! 3271559744 ? 1944911263 ! 146853900 ! 2416706949 ! 2488708256 ! 1690549636 ? 3210607453 ! 203232775 ? 3221022205 ! 171983360 ! 102307562 ! 134292363 ! 5345414 ! 1216479745 ! 2920318000 ! 1226868739 ! 1146112375 ! 2181199560 ! 3494121664 ? ...
output:
0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 1 1 1 0 0 1 1 0 1 0 1 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 1 0 1 1 0 0 1 1 0 0 1 1 1 0 1 1 1 0 1 0 0 0 0 1 1 1 1 0 1 0 0 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 0 1 0 0 0 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500004: Missing output for a query.
Test #63:
score: 10
Acceptable Answer
time: 2275ms
memory: 454504kb
input:
32 1000000 ! 140949949 ? 2765274079 ? 3200232829 ? 3882978467 ? 3439277023 ? 1039620606 ? 1275034493 ? 4267166079 ? 4290734161 ? 2885668849 ? 4268680636 ? 1862752478 ? 4019975546 ? 3751589879 ? 3632790590 ! 2490432 ? 224386607 ? 715243482 ? 2935747646 ? 2042101743 ? 2666067119 ? 1051975077 ? 4273964...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 1 1 1 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #64:
score: 10
Acceptable Answer
time: 795ms
memory: 528144kb
input:
32 1000000 ! 3418940814 ! 1283294422 ! 3650200284 ! 2411028620 ! 2408141143 ! 2013647332 ! 3275826010 ? 2014355746 ! 2303907255 ! 1620667876 ! 274443302 ! 1310521304 ! 1621726782 ? 3708729161 ! 4078223031 ! 3148356892 ! 3158231476 ! 1529829637 ! 768101117 ? 912143052 ! 271710112 ! 11622142 ! 1658009...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #65:
score: 10
Acceptable Answer
time: 647ms
memory: 502532kb
input:
32 1000000 ! 243279041 ? 2721774018 ? 1441138964 ? 3988206681 ? 3210113645 ? 2089258579 ? 1591461658 ? 3733962652 ? 1232650659 ! 251147285 ? 4082135943 ? 2325198763 ? 3037997954 ? 3137687904 ? 4207452054 ? 66054072 ? 3570445421 ? 1312157199 ? 4094451581 ! 2325390404 ? 2584086965 ? 3341954290 ? 38874...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #66:
score: 10
Acceptable Answer
time: 1952ms
memory: 306860kb
input:
32 1000000 ! 4160684032 ! 4294778944 ? 4278124544 ! 4293896200 ! 4294950912 ! 4294901760 ? 4294901760 ? 2146893856 ? 4294967295 ? 4026466304 ! 4294902272 ! 4294901760 ! 2145321984 ! 1162306225 ? 3355377680 ! 4294901760 ! 3623682048 ? 4261347328 ! 563262017 ? 4294918176 ! 4286513152 ? 4160684032 ! 42...
output:
0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 0 0 1 0 0 0 1 1 1 0 0 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 1 1 1 0 1 1 0 0 1 1 1 0 0 1 1 1 0 1 0 0 1 1 1 1 1 0 0 0 1 0 0 1 1 0 1 1 0 0 0 0 0 0 1 1 1 1 0 1 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #67:
score: 10
Acceptable Answer
time: 3448ms
memory: 262928kb
input:
32 1000000 ! 4026466304 ! 4292804868 ? 4294901760 ? 4293263360 ? 3221159936 ? 4160684128 ? 4294909952 ? 3220897792 ! 4227843136 ! 4292804612 ? 4292804608 ? 4294901760 ! 4286513152 ? 4294901762 ? 2039985846 ? 3221159936 ? 4227801088 ? 4294902848 ! 4227793408 ? 3758030848 ? 4294902272 ! 4294639616 ? 4...
output:
1 0 0 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 1 1 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 1 1 1 0 1 1 0 1 0 1 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 0 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500004: Missing output for a query.
Test #68:
score: 10
Acceptable Answer
time: 3511ms
memory: 255480kb
input:
32 1000000 ! 4294901760 ? 4278124544 ? 4294903936 ? 4294381568 ! 4261347330 ! 4294836228 ! 4294901760 ! 4294901761 ? 4294901760 ? 4294901760 ! 4294905856 ? 4294901760 ? 2147435008 ? 4294901760 ? 4294903814 ! 2952724608 ! 3200204800 ! 4294903296 ? 4294901760 ! 4160684160 ? 4160618496 ? 4290707456 ? 4...
output:
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 1 0 1 1 0 1 0 1 1 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 1 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #69:
score: 10
Acceptable Answer
time: 1943ms
memory: 308136kb
input:
32 1000000 ! 4294902016 ! 4294377472 ! 4294901760 ! 4294906400 ? 4294901761 ! 4294377472 ! 4290658304 ! 4160684032 ! 4026466308 ! 4294901776 ? 563359779 ? 4294901760 ! 4294901760 ! 4294901760 ! 4294901760 ? 4261380096 ? 4277075968 ? 4158586880 ! 3221161984 ! 4293869632 ! 4290707456 ! 4292804608 ! 42...
output:
0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 0 1 0 1 0 1 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1 0 1 1 1 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 0 0 0 0 0 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 1 0 1 0 0 0 1 1 1 0 ...
result:
points 0.5 Wrong answer at operation #500008: Missing output for a query.
Test #70:
score: 10
Acceptable Answer
time: 2778ms
memory: 284020kb
input:
32 1000000 ! 4294901824 ? 4293787648 ! 4294901760 ! 4294901760 ? 4227801216 ! 4294901824 ? 2013249532 ! 4286517248 ? 4286251009 ! 4026466306 ! 4156489792 ! 4294901760 ? 4022288384 ! 3758030848 ! 2147418112 ? 4286513409 ? 4294918144 ! 3221160960 ? 4293853184 ? 4294918148 ! 4286529536 ? 4294902288 ! 4...
output:
0 0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 1 0 0 1 1 1 1 0 1 0 0 0 1 0 1 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1 1 0 1 1 1 0 0 0 0 1 0 0 1 1 0 1 1 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #71:
score: 10
Acceptable Answer
time: 2506ms
memory: 375132kb
input:
32 1000000 ! 1479548946 ? 1935093537 ! 1211113490 ! 1211113490 ? 4261264444 ? 4261264444 ? 4261264508 ? 273026745 ! 1211637778 ! 1211113490 ? 4261264446 ! 3358597138 ? 3992828988 ? 4261264444 ! 1211113490 ? 4261264444 ? 4259167292 ? 4261264444 ? 4261264444 ? 4261264508 ? 4261264700 ! 1211113490 ? 28...
output:
0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 1 1 1 1 0 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #72:
score: 10
Acceptable Answer
time: 5381ms
memory: 373556kb
input:
32 1000000 ! 4194304 ! 0 ? 4259315711 ? 4259315710 ! 0 ? 4259315711 ! 0 ! 0 ! 134217728 ! 0 ! 2048 ? 4259315711 ? 4259315710 ! 1048576 ? 2164391936 ! 1048576 ! 0 ? 4259315711 ? 4259315711 ? 4259315711 ? 4261412863 ! 1073741824 ? 4259315679 ? 4292870143 ? 4259315711 ! 4194299870 ? 4259299327 ! 0 ! 25...
output:
0 0 1 0 0 1 1 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 1 1 1 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 1 1 0 0 1 0 1 1 0 1 1 1 0 1 0 0 1 0 0 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #73:
score: 10
Acceptable Answer
time: 4654ms
memory: 374172kb
input:
32 1000000 ! 75499008 ! 75499008 ? 180421984 ? 4294967295 ! 75507200 ? 4294836223 ? 4294967295 ? 4294967295 ? 4294963199 ! 75499008 ! 3749410669 ! 75499008 ? 4294967295 ? 4294966783 ! 75499040 ! 75499008 ! 75499008 ? 4294967295 ! 75499009 ! 75499008 ? 4294967231 ? 4294967295 ? 4294967295 ! 75499008 ...
output:
0 0 1 1 1 1 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 0 1 0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 1 0 0 1 1 1 1 1 1 0 1 0 0 0 1 1 0 0 1 0 1 1 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 0 0 0 1 0 1 1 1 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #74:
score: 10
Acceptable Answer
time: 825ms
memory: 376316kb
input:
32 1000000 ! 2147483648 ! 319300160 ? 3967651749 ! 319300160 ! 97418808 ! 1183167424 ? 3984428965 ! 319304256 ? 3984428965 ? 3984428965 ? 3984428965 ! 1613787186 ? 3984428965 ? 3982331813 ? 3984428965 ! 319300160 ? 3984428965 ! 2466783808 ? 3984428965 ? 3984560037 ? 1841647044 ! 319302208 ? 80741478...
output:
1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #75:
score: 10
Acceptable Answer
time: 311ms
memory: 376556kb
input:
32 1000000 ! 1293850081 ! 48271617 ! 1277072865 ! 1293850081 ? 868842913 ! 1293850081 ! 1293325793 ! 1293850081 ! 1298044385 ! 1293850081 ? 868842912 ? 331972001 ! 1293850081 ? 868842913 ! 1293849953 ? 868842913 ? 868842913 ? 868834721 ? 868840865 ! 1293850080 ! 1159632353 ? 3016326561 ? 868842913 ?...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500002: Missing output for a query.
Test #76:
score: 10
Acceptable Answer
time: 1152ms
memory: 373804kb
input:
32 1000000 ! 25174784 ! 25174784 ! 25174848 ? 327808 ! 25174816 ! 25174528 ? 393799546 ? 387508074 ! 159392512 ? 389605226 ? 389605226 ? 926476138 ? 402188138 ! 25174800 ? 389605226 ! 25174784 ! 26223360 ? 356034410 ? 389604202 ! 58729216 ! 58729216 ? 389605226 ! 159396608 ! 25174856 ! 562045696 ! 2...
output:
0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 0 0 1 0 0 1 0 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #77:
score: 10
Acceptable Answer
time: 829ms
memory: 373828kb
input:
32 1000000 ! 1087524524 ? 3153034239 ? 3153030143 ? 3153034239 ! 1116884648 ! 1087524520 ! 1104300712 ? 4226776063 ? 3153033983 ! 1087532712 ! 1079135912 ? 1005550591 ? 3152968695 ? 3144645631 ? 3148839935 ? 3153034239 ? 3153034237 ? 3153034239 ? 3152903167 ! 1087524488 ! 1087524520 ? 3153034239 ! 1...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.
Test #78:
score: 10
Acceptable Answer
time: 1589ms
memory: 375988kb
input:
32 1000000 ! 805314624 ? 404840470 ? 405889046 ! 536879168 ! 536879184 ? 405299222 ! 2818580544 ! 553657355 ! 2685411392 ? 404840470 ? 404840454 ? 16384 ? 404842518 ? 409034774 ! 536879168 ! 536879168 ? 408969238 ? 404840470 ! 536895552 ? 404840470 ? 404840470 ! 536879108 ? 409034774 ? 536870912 ! 5...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 1 1 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500004: Missing output for a query.
Test #79:
score: 10
Acceptable Answer
time: 1684ms
memory: 376948kb
input:
32 1000000 ! 2005090143 ! 2005352399 ? 4290740151 ! 2005086175 ? 4290609083 ? 50397472 ? 4290740159 ! 2005090271 ! 2005090271 ? 3216998335 ! 2005090271 ? 4290740157 ? 4290740159 ? 4290740159 ? 4223631295 ! 1988313055 ? 4290740158 ? 4282351535 ? 4290740159 ! 1954758623 ! 2005090271 ! 4152573919 ! 200...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 0 0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 1 1 1 0 0 1 0 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 ...
result:
points 0.5 Wrong answer at operation #500003: Missing output for a query.
Test #80:
score: 10
Acceptable Answer
time: 322ms
memory: 379956kb
input:
32 1000000 ! 3875350091 ! 3875286601 ? 1216908055 ! 4294967295 ? 2950168507 ! 3875352138 ? 1286114055 ! 3875343947 ! 3875352139 ! 3808243211 ? 1284016919 ? 1149799191 ? 1284016919 ! 3875350091 ? 2009070871 ? 1286113559 ! 3875352139 ? 1285065495 ? 1284016919 ? 3187660079 ? 1275595543 ! 3875352139 ? 1...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
points 0.5 Wrong answer at operation #500001: Missing output for a query.