QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#723552#5471. Interactive Number Guessinggym#AC ✓1ms3836kbC++202.4kb2024-11-07 22:51:312024-11-07 22:51:32

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3632kb

input:

6
13
14
15
12
14
15
12
14
15
13
14
15
13
15
12
14
15
12
14
15
13
15
12
14
15
12
14
15
13
14
15
12
14
15
13
14
15
12
14
15
12
14
15
12
14
6
13
5

output:

query 0
query 700000000000000000
query 800000000000000000
query 900000000000000000
query 60000000000000000
query 80000000000000000
query 90000000000000000
query 6000000000000000
query 8000000000000000
query 9000000000000000
query 700000000000000
query 800000000000000
query 900000000000000
query 7000...

result:

ok correct

Test #2:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

89
85
83
81
76
73
72
94
69
95
94
97
89
85
82
90
85
91
83
85
92
84
94
88
87
86
85
91
92
84
94
97
89
94
88
87
86
85
83
81
94
96
80
79
94
88
86
94
97
89
94
88
95
87
85
91
83

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 50000000000000000
query 20000000000000000
query 10000000000000000
query 5000000000000000
query 7000000000000000
query 6000000000000000
query 500000000000000
query 800000000000000
query 900000000000000
query 5000...

result:

ok correct

Test #3:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

88
84
82
80
75
90
91
92
84
82
81
89
93
87
86
85
93
87
85
93
87
86
85
93
87
86
85
93
96
88
93
96
88
93
87
95
84
82
80
75
90
92
84
91
92
84
81
89
84
90
83
91
93
87
86
94
84
82
89
81

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 50000000000000000
query 20000000000000000
query 30000000000000000
query 40000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
query 500000000000000
query 8...

result:

ok correct

Test #4:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

95
91
98
99
100
94
101
93
91
89
88
96
100
94
93
101
91
97
89
91
98
90
91
97
98
90
100
103
104
91
97
89
100
93
101
91
89
88
87
82
97
81
98
91
88
96
100
94
102
91
89
97
91
97
98
90
100
93
92

output:

query 0
query 500000000000000000
query 300000000000000000
query 400000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 70000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
query 500000000000000
query 8...

result:

ok correct

Test #5:

score: 0
Accepted
time: 1ms
memory: 3540kb

input:

75
71
69
76
68
71
78
70
71
78
79
80
82
84
71
77
79
71
69
77
80
82
75
74
80
74
81
73
80
82
83
84
71
69
68
76
80
82
75
74
80
73
81
80
73
81
71
78
79
71
78
79
71
77
69
82
74

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 200000000000000000
query 50000000000000000
query 30000000000000000
query 40000000000000000
query 5000000000000000
query 3000000000000000
query 4000000000000000
query 500000000000000
query 700000000000000
query 9...

result:

ok correct

Test #6:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

78
83
85
78
77
74
72
70
65
81
64
83
85
87
83
76
75
83
85
77
74
81
82
74
81
73
74
71
79
83
85
78
77
74
80
72
83
76
84
74
80
73
81
83
85
86
87
74
80
82
74
72
79
80
76
83
75

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 800000000000000000
query 50000000000000000
query 30000000000000000
query 10000000000000000
query 5000000000000000
query 3000000000000000
query 4000000000000000
query 500000000000000
query 700000000000000
query 9...

result:

ok correct

Test #7:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

62
67
60
59
67
61
59
58
56
55
54
67
69
53
52
67
61
68
60
67
61
69
67
61
60
68
67
70
71
67
69
62
70
67
70
62
67
69
62
70
58
64
57
65
58
64
65
57
58
64
66
67
69
70
71
67
60
59
67
60
59

output:

query 0
query 500000000000000000
query 700000000000000000
query 600000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
query 500000000000000
query 700000000000000
query 900...

result:

ok correct

Test #8:

score: 0
Accepted
time: 1ms
memory: 3488kb

input:

46
51
53
55
51
45
52
44
51
45
44
52
51
54
55
51
45
52
53
42
49
41
51
45
53
51
54
46
42
40
39
38
51
53
54
37
51
53
55
51
45
52
44
51
53
54
46
42
39
38
34
50
51
54
55
46
45

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 70000000000000000
query 5000000000000000
query 8000000000000000
query 7000000000000000
query 6000000000000000
query 500000000000000
query 8...

result:

ok correct

Test #9:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

89
85
83
90
82
94
88
86
85
83
91
85
92
84
85
82
90
85
83
91
85
92
84
94
88
96
94
88
96
94
96
89
97
85
82
90
94
87
95
85
91
84
92
85
91
92
84
94
88
95
96
85
83
91
87
94
95

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 200000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 500000000000000
query 300000000000000
query 4...

result:

ok correct

Test #10:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

63
68
61
69
68
71
63
68
70
71
63
59
57
64
65
68
62
69
61
68
71
63
68
62
61
69
59
65
66
58
68
71
72
59
56
64
59
57
55
50
47
46
68
71
45
68
62
61
60
69
62
70
70
62
62
61

output:

query 0
query 500000000000000000
query 700000000000000000
query 600000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 7000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 300000000000000
query 100...

result:

ok correct

Test #11:

score: 0
Accepted
time: 1ms
memory: 3832kb

input:

84
89
91
93
80
86
87
79
80
78
77
76
89
74
73
90
89
83
90
82
80
78
85
86
89
83
81
80
78
76
89
92
93
89
92
93
89
91
84
83
80
77
85
80
77
76
71
69
67
62
87
61
89
83
91
81
88
89

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 20000000000000000
query 30000000000000000
query 40000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
query 500000000000000
query 8...

result:

ok correct

Test #12:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

0
7
6
1
6
6
5
6
4
8
8
8
1
4
7
9
8
1

output:

query 0
query 700000000000000000
query 60000000000000000
query 1000000000000000
query 600000000000000
query 60000000000000
query 5000000000000
query 600000000000
query 40000000000
query 8000000000
query 800000000
query 80000000
query 1000000
query 400000
query 70000
query 9000
query 800
query 10
ans...

result:

ok correct

Test #13:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

18
23
25
18
26
23
26
18
23
26
18
23
25
18
26
23
26
18
23
25
26
18
23
26
18
23
26
18
23
25
26
18
23
25
26
18
23
25
18
26
24
26
18
25
26
18
25
26
18
26
18
26
18
26
18

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 800000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 700000000000000
query 9...

result:

ok correct

Test #14:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

36
41
43
36
35
41
35
42
43
41
35
42
43
41
43
36
35
41
43
35
41
43
36
35
41
35
42
43
41
43
35
41
43
35
41
43
35
41
43
35
41
43
36
35
41
35
42
43
41
35
42
43
41
35
43
43
35
43
36
35

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 800000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 70000000000000000
query 5000000000000000
query 8000000000000000
query 6000000000000000
query 7000000000000000
quer...

result:

ok correct

Test #15:

score: 0
Accepted
time: 1ms
memory: 3772kb

input:

54
59
52
60
59
53
60
52
59
53
52
60
59
53
52
60
59
53
60
52
59
52
60
59
53
52
60
59
53
52
60
59
52
60
59
52
60
59
52
60
59
52
60
59
52
60
59
53
52
60
59
53
60
52
59
52
60
60
53
52

output:

query 0
query 500000000000000000
query 700000000000000000
query 600000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 70000000000000000
query 5000000000000000
query 8000000000000000
query 7000000000000000
query 6000000000000000
query 500000000000000
query 8...

result:

ok correct

Test #16:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

72
77
70
69
77
71
69
77
70
69
77
71
69
77
70
69
77
71
69
77
71
70
69
77
71
70
69
77
71
70
69
77
70
69
77
70
69
77
70
69
77
70
69
77
70
69
77
71
70
69
77
71
69
69
75
77

output:

query 0
query 500000000000000000
query 700000000000000000
query 600000000000000000
query 50000000000000000
query 80000000000000000
query 60000000000000000
query 5000000000000000
query 7000000000000000
query 6000000000000000
query 500000000000000
query 800000000000000
query 600000000000000
query 5000...

result:

ok correct

Test #17:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

90
86
93
94
86
92
93
94
86
93
94
86
93
94
86
92
94
86
93
94
86
93
94
86
93
94
86
92
93
94
86
93
94
86
92
93
94
86
93
94
86
92
94
86
92
93
94
86
92
94
86
93
94
86
93
94

output:

query 0
query 500000000000000000
query 300000000000000000
query 400000000000000000
query 50000000000000000
query 20000000000000000
query 30000000000000000
query 40000000000000000
query 5000000000000000
query 3000000000000000
query 4000000000000000
query 500000000000000
query 300000000000000
query 40...

result:

ok correct

Test #18:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

108
104
111
103
104
110
111
103
104
111
103
104
111
103
104
110
103
111
104
110
103
111
104
110
111
103
104
110
111
103
104
111
103
104
110
111
103
104
111
103
104
110
103
111
104
110
111
103
104
110
103
111
104
110
111
103
104
111
103
104
111
103

output:

query 0
query 500000000000000000
query 300000000000000000
query 400000000000000000
query 50000000000000000
query 20000000000000000
query 30000000000000000
query 40000000000000000
query 5000000000000000
query 3000000000000000
query 4000000000000000
query 500000000000000
query 300000000000000
query 40...

result:

ok correct

Test #19:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

126
122
120
127
128
122
120
127
128
122
120
128
122
120
128
122
128
121
120
122
120
128
122
128
120
122
128
120
122
120
128
122
120
127
128
122
120
128
122
128
121
120
122
120
127
128
122
120
127
128
122
120
127
128
122
128
120
122
128
120

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 200000000000000000
query 50000000000000000
query 30000000000000000
query 10000000000000000
query 20000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 500000000000000
query...

result:

ok correct

Test #20:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

144
140
138
145
137
140
138
145
137
140
138
137
145
140
137
145
140
137
145
140
138
137
145
140
138
145
137
140
138
145
137
140
138
145
137
140
138
137
145
140
137
145
140
138
145
137
140
138
145
137
140
138
145
137
140
137
145
140
137
145
140
138
137
145

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 200000000000000000
query 50000000000000000
query 30000000000000000
query 10000000000000000
query 20000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
quer...

result:

ok correct

Test #21:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

162
158
156
154
149
146
145
140
138
137
136
131
129
127
122
119
118
113
111
110
109
104
101
100
95
93
92
91
86
84
83
82
77
75
74
73
68
66
64
59
56
55
50
48
46
41
38
37
32
29
28
23
21
20
19
14
12
10

output:

query 0
query 500000000000000000
query 300000000000000000
query 100000000000000000
query 50000000000000000
query 20000000000000000
query 10000000000000000
query 5000000000000000
query 3000000000000000
query 2000000000000000
query 1000000000000000
query 500000000000000
query 300000000000000
query 100...

result:

ok correct

Test #22:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

10
15
17
19
15
18
19
15
17
18
19
15
17
19
15
17
18
19
15
17
18
19
15
18
19
15
18
19
15
17
18
19
15
17
18
19
15
17
19
15
18
19
15
18
19
15
18
19
15
18
19
15
17
18
19
6
13
14

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 7000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 700000000000000
query 900...

result:

ok correct

Test #23:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

15
20
22
24
20
23
24
20
22
23
24
20
22
24
20
22
23
24
20
22
23
24
20
23
24
20
23
24
20
22
23
24
20
22
23
24
20
22
24
20
23
24
20
23
24
20
23
24
20
23
24
20
22
23
24
11
9
7

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 7000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 700000000000000
query 900...

result:

ok correct

Test #24:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

4
11
12
13
12
13
12
13
11
12
13
12
13
12
13
11
12
13
11
12
13
11
13
12
13
12
13
12
13
11
12
13
11
12
13
11
12
13
11
12
13
11
4
3

output:

query 0
query 700000000000000000
query 800000000000000000
query 900000000000000000
query 80000000000000000
query 90000000000000000
query 8000000000000000
query 9000000000000000
query 700000000000000
query 800000000000000
query 900000000000000
query 80000000000000
query 90000000000000
query 800000000...

result:

ok correct

Test #25:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

9
14
16
18
14
17
18
14
16
17
18
14
16
18
14
16
17
18
14
16
17
18
14
17
18
14
17
18
14
16
17
18
14
16
17
18
14
16
18
14
17
18
14
17
18
14
17
18
14
17
18
14
16
17
18
14
16
9
8

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 7000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 700000000000000
query 900...

result:

ok correct

Test #26:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

10
15
17
19
15
18
19
15
17
18
19
15
17
19
15
17
18
19
15
17
18
19
15
18
19
15
18
19
15
17
18
19
15
17
18
19
15
17
19
15
18
19
15
18
19
15
18
19
15
18
19
15
17
18
19
6
4
11
3

output:

query 0
query 500000000000000000
query 700000000000000000
query 900000000000000000
query 50000000000000000
query 80000000000000000
query 90000000000000000
query 5000000000000000
query 7000000000000000
query 8000000000000000
query 9000000000000000
query 500000000000000
query 700000000000000
query 900...

result:

ok correct