QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#343945#8270. Mineral depositshyforces#9 1ms3860kbC++201.5kb2024-03-03 10:10:432024-04-28 08:43:29

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 9
Accepted

Test #1:

score: 9
Accepted
time: 1ms
memory: 3780kb

input:

10 1 10000
10
20
5
18
13
5
15
21
24
2
19
3
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 5 5
! 5 5

result:

ok correct answer

Test #2:

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

input:

10 1 10000
10
28
13
18
21
13
15
21
24
8
19
11
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 9 1
! 9 1

result:

ok correct answer

Test #3:

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

input:

10 1 10000
11
13
4
17
12
2
14
20
23
7
18
4
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 1 8
! 1 8

result:

ok correct answer

Test #4:

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

input:

10 1 10000
20
20
5
8
13
9
5
11
14
12
9
7
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 0 0
! 0 0

result:

ok correct answer

Test #5:

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

input:

10 1 10000
10
30
15
18
23
15
15
21
24
10
19
13
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 10 0
! 10 0

result:

ok correct answer

Test #6:

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

input:

10 1 10000
10
10
5
18
13
5
15
21
24
10
19
7
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 0 10
! 0 10

result:

ok correct answer

Test #7:

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

input:

10 1 10000
0
20
15
28
23
11
25
31
34
8
29
13
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 10 10
! 10 10

result:

ok correct answer

Test #8:

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

input:

100000000 1 10000
234227246
332220904
184607869
216345738
122604357
119776755
140388019
68346425
134413858
154998044
131847853
62114753
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 48996829 -83224075
! 48996829 -83224075

result:

ok correct answer

Test #9:

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

input:

100000000 1 10000
177545073
120187009
27426026
11508645
89429538
175237346
197070192
160699222
118515721
97503915
80186042
274148648
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -28679032 51133959
! -28679032 51133959

result:

ok correct answer

Test #10:

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

input:

100000000 1 10000
0
200000000
202852095
166036428
200970223
114450491
374615265
302573671
296060794
275048988
216835569
200024513
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 100000000 100000000
! 100000000 100000000

result:

ok correct answer

Test #11:

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

input:

100000000 1 10000
200000000
400000000
252386965
284124834
190383453
104575645
203433715
119113769
202192954
222777140
199626949
5664343
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 100000000 -100000000
! 100000000 -100000000

result:

ok correct answer

Test #12:

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

input:

100000000 1 10000
200000000
0
147613035
115875166
209616547
295424355
196566285
280886231
197807046
177222860
200373051
394335657
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -100000000 100000000
! -100000000 100000000

result:

ok correct answer

Test #13:

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

input:

100000000 1 10000
400000000
200000000
197147905
233963572
199029777
285549509
25384735
97426329
103939206
124951012
183164431
199975487
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -100000000 -100000000
! -100000000 -100000000

result:

ok correct answer

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #14:

score: 19
Accepted
time: 1ms
memory: 3780kb

input:

10 1 10000
10
20
5
18
13
5
15
21
24
2
19
3
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 5 5
! 5 5

result:

ok correct answer

Test #15:

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

input:

10 1 10000
10
28
13
18
21
13
15
21
24
8
19
11
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 9 1
! 9 1

result:

ok correct answer

Test #16:

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

input:

10 1 10000
11
13
4
17
12
2
14
20
23
7
18
4
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 1 8
! 1 8

result:

ok correct answer

Test #17:

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

input:

10 1 10000
20
20
5
8
13
9
5
11
14
12
9
7
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 0 0
! 0 0

result:

ok correct answer

Test #18:

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

input:

10 1 10000
10
30
15
18
23
15
15
21
24
10
19
13
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 10 0
! 10 0

result:

ok correct answer

Test #19:

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

input:

10 1 10000
10
10
5
18
13
5
15
21
24
10
19
7
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 0 10
! 0 10

result:

ok correct answer

Test #20:

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

input:

10 1 10000
0
20
15
28
23
11
25
31
34
8
29
13
0

output:

? 10 10
? -10 10
? 0 5
? -1 -7
? -8 5
? 2 7
? 0 -5
? -10 -1
? -4 -10
? 6 6
? -9 0
? 2 5
? 10 10
! 10 10

result:

ok correct answer

Test #21:

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

input:

100000000 1 10000
234227246
332220904
184607869
216345738
122604357
119776755
140388019
68346425
134413858
154998044
131847853
62114753
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 48996829 -83224075
! 48996829 -83224075

result:

ok correct answer

Test #22:

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

input:

100000000 1 10000
177545073
120187009
27426026
11508645
89429538
175237346
197070192
160699222
118515721
97503915
80186042
274148648
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -28679032 51133959
! -28679032 51133959

result:

ok correct answer

Test #23:

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

input:

100000000 1 10000
0
200000000
202852095
166036428
200970223
114450491
374615265
302573671
296060794
275048988
216835569
200024513
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 100000000 100000000
! 100000000 100000000

result:

ok correct answer

Test #24:

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

input:

100000000 1 10000
200000000
400000000
252386965
284124834
190383453
104575645
203433715
119113769
202192954
222777140
199626949
5664343
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? 100000000 -100000000
! 100000000 -100000000

result:

ok correct answer

Test #25:

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

input:

100000000 1 10000
200000000
0
147613035
115875166
209616547
295424355
196566285
280886231
197807046
177222860
200373051
394335657
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -100000000 100000000
! -100000000 100000000

result:

ok correct answer

Test #26:

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

input:

100000000 1 10000
400000000
200000000
197147905
233963572
199029777
285549509
25384735
97426329
103939206
124951012
183164431
199975487
0

output:

? 100000000 100000000
? -100000000 100000000
? -27619530 24767435
? -25080631 59044203
? 4323162 -5293385
? 90486932 -4937423
? -89024490 -85590775
? -10843720 -91729951
? -49126874 -46933920
? -48913064 -26135924
? -8231259 -8604310
? 97155572 -97180085
? -100000000 -100000000
! -100000000 -100000000

result:

ok correct answer

Test #27:

score: -19
Wrong Answer
time: 1ms
memory: 3756kb

input:

100 3 500
87 265 358
221 229 242
30 63 208
130 137 145
118 135 136
66 174 267
56 93 178
6 87 184
71 107 164
77 101 170
82 96 189
36 152 245
0 178 271
0 93 178
0 93 271

output:

? 100 100
? -100 100
? -30 -65
? 69 -97
? 62 -85
? 32 77
? 10 -75
? -20 -51
? 26 -20
? 36 -24
? 41 -10
? 72 15
? 67 46
? -18 -47
? -58 -100
! 67 46
! -18 -47
! -58 -100

result:

wrong answer format  Expected integer, but "!" found

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #116:

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

input:

100 20 3
65 117 123 130 132 146 171 173 186 198 200 203 210 211 221 223 234 264 268 301
64 75 90 91 93 113 152 158 162 174 188 197 205 225 226 229 242 261 314 327
10 27 61 77 85 92 95 97 109 122 122 142 144 160 163 165 171 172 178 230

output:

? 100 100
? -100 100
? -30 -65
? 69 -97

result:

wrong answer query limit exceeded

Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%