#include <bits/stdc++.h>
using namespace std;
#define fastio() cin.tie(0), ios_base::sync_with_stdio(0)
#define fileio() freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout)
#define pb push_back
#define pii pair<int, int>
#define st first
#define nd second
#define sp " "
#define modulo 1000000007
#define N 100005
#define int long long
int mm(pii r)
{
return (r.st + r.nd + 1) / 2;
}
int m(pii l)
{
return (l.st + l.nd) / 2;
}
int ask(int x)
{
cout<<"? "<<x<<endl;
int res;
cin>>res;
return res;
}
int32_t main()
{
int t = 1;
//cin>>t;
while(t--)
{
int n;
cin>>n;
int mid = (n + 1) / 2;
pii l = {1, mid};
pii r = {mid + 1, n};
int res = ask(m(l));
res = ask(mm(r));
int ll = 0, rr = n;
int steps = 2;
int vl = 1, vr = n;
while(l.st <= l.nd && r.st <= r.nd && vl < vr)
{
if (res == 1)
{
ll = m(l), rr = mm(r);
vr = mm(r) - m(l);
l = {m(l) + 1, l.nd};
}
else
{
vl = mm(r) - m(l) + 1;
l = {l.st, m(l) - 1};
}
//cout<<vl<<sp<<vr<<endl;
//cout<<l.st<<sp<<l.nd<<endl;
//cout<<r.st<<sp<<r.nd<<endl;
if (l.st <= l.nd && vl < vr)
{
if (steps == 64) return 1;
res = ask(m(l));
steps++;
if (res == 1)
{
ll = m(l), rr = mm(r);
vr = min(vr, mm(r) - m(l));
r = {r.st, mm(r) - 1};
}
else
{
vl = max(vl, mm(r) - m(l) + 1);
r = {mm(r) + 1, r.nd};
}
if (r.st <= r.nd && vl < vr)
{
if (steps == 64) return 1;
res = ask(mm(r));
steps++;
}
}
//cout<<l.st<<sp<<l.nd<<endl;
//cout<<r.st<<sp<<r.nd<<endl;
}
int ans = rr - ll;
if (vl == vr) ans = vl;
cout<<"= "<<ans<<endl;
}
cerr<<"time taken : "<<(float)clock() / CLOCKS_PER_SEC<<" seconds\n";
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
2 |
Correct |
0 ms |
304 KB |
OK (8 queries) |
3 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
4 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
5 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
6 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
7 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
8 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
9 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
10 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
11 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
12 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
13 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
14 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
15 |
Correct |
0 ms |
208 KB |
OK (7 queries) |
16 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
17 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
18 |
Correct |
1 ms |
216 KB |
OK (8 queries) |
19 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
20 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
21 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
22 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
23 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
24 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
25 |
Correct |
1 ms |
300 KB |
OK (3 queries) |
26 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
27 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
28 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
29 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
30 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
31 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
32 |
Correct |
1 ms |
296 KB |
OK (3 queries) |
33 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
34 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
35 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
36 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
37 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
38 |
Correct |
0 ms |
296 KB |
OK (3 queries) |
39 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
40 |
Correct |
0 ms |
304 KB |
OK (4 queries) |
41 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
42 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
43 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
44 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
45 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
46 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
47 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
48 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
49 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
50 |
Correct |
1 ms |
296 KB |
OK (4 queries) |
51 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
52 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
53 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
54 |
Correct |
0 ms |
208 KB |
OK (5 queries) |
55 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
56 |
Correct |
1 ms |
336 KB |
OK (6 queries) |
57 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
58 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
59 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
60 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
61 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
62 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
63 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
64 |
Correct |
1 ms |
300 KB |
OK (10 queries) |
65 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
66 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
67 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
68 |
Correct |
1 ms |
292 KB |
OK (9 queries) |
69 |
Correct |
1 ms |
296 KB |
OK (9 queries) |
70 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
2 |
Correct |
0 ms |
304 KB |
OK (8 queries) |
3 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
4 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
5 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
6 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
7 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
8 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
9 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
10 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
11 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
12 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
13 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
14 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
15 |
Correct |
0 ms |
208 KB |
OK (7 queries) |
16 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
17 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
18 |
Correct |
1 ms |
216 KB |
OK (8 queries) |
19 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
20 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
21 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
22 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
23 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
24 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
25 |
Correct |
1 ms |
300 KB |
OK (3 queries) |
26 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
27 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
28 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
29 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
30 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
31 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
32 |
Correct |
1 ms |
296 KB |
OK (3 queries) |
33 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
34 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
35 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
36 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
37 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
38 |
Correct |
0 ms |
296 KB |
OK (3 queries) |
39 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
40 |
Correct |
0 ms |
304 KB |
OK (4 queries) |
41 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
42 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
43 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
44 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
45 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
46 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
47 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
48 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
49 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
50 |
Correct |
1 ms |
296 KB |
OK (4 queries) |
51 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
52 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
53 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
54 |
Correct |
0 ms |
208 KB |
OK (5 queries) |
55 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
56 |
Correct |
1 ms |
336 KB |
OK (6 queries) |
57 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
58 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
59 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
60 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
61 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
62 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
63 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
64 |
Correct |
1 ms |
300 KB |
OK (10 queries) |
65 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
66 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
67 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
68 |
Correct |
1 ms |
292 KB |
OK (9 queries) |
69 |
Correct |
1 ms |
296 KB |
OK (9 queries) |
70 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
71 |
Correct |
0 ms |
208 KB |
OK (12 queries) |
72 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
73 |
Correct |
1 ms |
208 KB |
OK (12 queries) |
74 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
75 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
76 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
77 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
78 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
79 |
Correct |
0 ms |
288 KB |
OK (11 queries) |
80 |
Incorrect |
1 ms |
208 KB |
Wrong guess |
81 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
2 |
Correct |
0 ms |
304 KB |
OK (8 queries) |
3 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
4 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
5 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
6 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
7 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
8 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
9 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
10 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
11 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
12 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
13 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
14 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
15 |
Correct |
0 ms |
208 KB |
OK (7 queries) |
16 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
17 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
18 |
Correct |
1 ms |
216 KB |
OK (8 queries) |
19 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
20 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
21 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
22 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
23 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
24 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
25 |
Correct |
1 ms |
300 KB |
OK (3 queries) |
26 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
27 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
28 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
29 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
30 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
31 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
32 |
Correct |
1 ms |
296 KB |
OK (3 queries) |
33 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
34 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
35 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
36 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
37 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
38 |
Correct |
0 ms |
296 KB |
OK (3 queries) |
39 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
40 |
Correct |
0 ms |
304 KB |
OK (4 queries) |
41 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
42 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
43 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
44 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
45 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
46 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
47 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
48 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
49 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
50 |
Correct |
1 ms |
296 KB |
OK (4 queries) |
51 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
52 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
53 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
54 |
Correct |
0 ms |
208 KB |
OK (5 queries) |
55 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
56 |
Correct |
1 ms |
336 KB |
OK (6 queries) |
57 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
58 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
59 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
60 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
61 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
62 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
63 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
64 |
Correct |
1 ms |
300 KB |
OK (10 queries) |
65 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
66 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
67 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
68 |
Correct |
1 ms |
292 KB |
OK (9 queries) |
69 |
Correct |
1 ms |
296 KB |
OK (9 queries) |
70 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
71 |
Correct |
0 ms |
208 KB |
OK (12 queries) |
72 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
73 |
Correct |
1 ms |
208 KB |
OK (12 queries) |
74 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
75 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
76 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
77 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
78 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
79 |
Correct |
0 ms |
288 KB |
OK (11 queries) |
80 |
Incorrect |
1 ms |
208 KB |
Wrong guess |
81 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
2 |
Correct |
0 ms |
304 KB |
OK (8 queries) |
3 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
4 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
5 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
6 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
7 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
8 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
9 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
10 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
11 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
12 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
13 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
14 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
15 |
Correct |
0 ms |
208 KB |
OK (7 queries) |
16 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
17 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
18 |
Correct |
1 ms |
216 KB |
OK (8 queries) |
19 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
20 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
21 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
22 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
23 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
24 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
25 |
Correct |
1 ms |
300 KB |
OK (3 queries) |
26 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
27 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
28 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
29 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
30 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
31 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
32 |
Correct |
1 ms |
296 KB |
OK (3 queries) |
33 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
34 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
35 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
36 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
37 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
38 |
Correct |
0 ms |
296 KB |
OK (3 queries) |
39 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
40 |
Correct |
0 ms |
304 KB |
OK (4 queries) |
41 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
42 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
43 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
44 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
45 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
46 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
47 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
48 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
49 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
50 |
Correct |
1 ms |
296 KB |
OK (4 queries) |
51 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
52 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
53 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
54 |
Correct |
0 ms |
208 KB |
OK (5 queries) |
55 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
56 |
Correct |
1 ms |
336 KB |
OK (6 queries) |
57 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
58 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
59 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
60 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
61 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
62 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
63 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
64 |
Correct |
1 ms |
300 KB |
OK (10 queries) |
65 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
66 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
67 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
68 |
Correct |
1 ms |
292 KB |
OK (9 queries) |
69 |
Correct |
1 ms |
296 KB |
OK (9 queries) |
70 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
71 |
Correct |
0 ms |
208 KB |
OK (12 queries) |
72 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
73 |
Correct |
1 ms |
208 KB |
OK (12 queries) |
74 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
75 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
76 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
77 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
78 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
79 |
Correct |
0 ms |
288 KB |
OK (11 queries) |
80 |
Incorrect |
1 ms |
208 KB |
Wrong guess |
81 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
2 |
Correct |
0 ms |
304 KB |
OK (8 queries) |
3 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
4 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
5 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
6 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
7 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
8 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
9 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
10 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
11 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
12 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
13 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
14 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
15 |
Correct |
0 ms |
208 KB |
OK (7 queries) |
16 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
17 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
18 |
Correct |
1 ms |
216 KB |
OK (8 queries) |
19 |
Correct |
1 ms |
208 KB |
OK (7 queries) |
20 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
21 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
22 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
23 |
Correct |
0 ms |
208 KB |
OK (2 queries) |
24 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
25 |
Correct |
1 ms |
300 KB |
OK (3 queries) |
26 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
27 |
Correct |
1 ms |
208 KB |
OK (2 queries) |
28 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
29 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
30 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
31 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
32 |
Correct |
1 ms |
296 KB |
OK (3 queries) |
33 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
34 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
35 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
36 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
37 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
38 |
Correct |
0 ms |
296 KB |
OK (3 queries) |
39 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
40 |
Correct |
0 ms |
304 KB |
OK (4 queries) |
41 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
42 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
43 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
44 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
45 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
46 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
47 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
48 |
Correct |
1 ms |
208 KB |
OK (5 queries) |
49 |
Correct |
1 ms |
208 KB |
OK (4 queries) |
50 |
Correct |
1 ms |
296 KB |
OK (4 queries) |
51 |
Correct |
1 ms |
208 KB |
OK (3 queries) |
52 |
Correct |
0 ms |
208 KB |
OK (3 queries) |
53 |
Correct |
0 ms |
208 KB |
OK (4 queries) |
54 |
Correct |
0 ms |
208 KB |
OK (5 queries) |
55 |
Correct |
0 ms |
208 KB |
OK (6 queries) |
56 |
Correct |
1 ms |
336 KB |
OK (6 queries) |
57 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
58 |
Correct |
1 ms |
208 KB |
OK (6 queries) |
59 |
Correct |
0 ms |
208 KB |
OK (8 queries) |
60 |
Correct |
1 ms |
208 KB |
OK (8 queries) |
61 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
62 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
63 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
64 |
Correct |
1 ms |
300 KB |
OK (10 queries) |
65 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
66 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
67 |
Correct |
1 ms |
208 KB |
OK (9 queries) |
68 |
Correct |
1 ms |
292 KB |
OK (9 queries) |
69 |
Correct |
1 ms |
296 KB |
OK (9 queries) |
70 |
Correct |
0 ms |
208 KB |
OK (9 queries) |
71 |
Correct |
0 ms |
208 KB |
OK (12 queries) |
72 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
73 |
Correct |
1 ms |
208 KB |
OK (12 queries) |
74 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
75 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
76 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
77 |
Correct |
1 ms |
208 KB |
OK (11 queries) |
78 |
Correct |
1 ms |
208 KB |
OK (10 queries) |
79 |
Correct |
0 ms |
288 KB |
OK (11 queries) |
80 |
Incorrect |
1 ms |
208 KB |
Wrong guess |
81 |
Halted |
0 ms |
0 KB |
- |