QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#343957#8270. Mineral depositshyforces#9 1ms3752kbC++201.8kb2024-03-03 10:41:132024-04-28 08:43:38

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 9
Accepted

Test #1:

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

input:

10 1 10000
10
20

output:

? 10 10
? -10 10
! 5 5 

result:

ok correct answer

Test #2:

score: 9
Accepted
time: 0ms
memory: 3512kb

input:

10 1 10000
10
28

output:

? 10 10
? -10 10
! 9 1 

result:

ok correct answer

Test #3:

score: 9
Accepted
time: 0ms
memory: 3724kb

input:

10 1 10000
11
13

output:

? 10 10
? -10 10
! 1 8 

result:

ok correct answer

Test #4:

score: 9
Accepted
time: 0ms
memory: 3720kb

input:

10 1 10000
20
20

output:

? 10 10
? -10 10
! 0 0 

result:

ok correct answer

Test #5:

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

input:

10 1 10000
10
30

output:

? 10 10
? -10 10
! 10 0 

result:

ok correct answer

Test #6:

score: 9
Accepted
time: 0ms
memory: 3604kb

input:

10 1 10000
10
10

output:

? 10 10
? -10 10
! 0 10 

result:

ok correct answer

Test #7:

score: 9
Accepted
time: 0ms
memory: 3664kb

input:

10 1 10000
0
20

output:

? 10 10
? -10 10
! 10 10 

result:

ok correct answer

Test #8:

score: 9
Accepted
time: 0ms
memory: 3576kb

input:

100000000 1 10000
234227246
332220904

output:

? 100000000 100000000
? -100000000 100000000
! 48996829 -83224075 

result:

ok correct answer

Test #9:

score: 9
Accepted
time: 0ms
memory: 3712kb

input:

100000000 1 10000
177545073
120187009

output:

? 100000000 100000000
? -100000000 100000000
! -28679032 51133959 

result:

ok correct answer

Test #10:

score: 9
Accepted
time: 0ms
memory: 3716kb

input:

100000000 1 10000
0
200000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 100000000 

result:

ok correct answer

Test #11:

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

input:

100000000 1 10000
200000000
400000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 -100000000 

result:

ok correct answer

Test #12:

score: 9
Accepted
time: 0ms
memory: 3668kb

input:

100000000 1 10000
200000000
0

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 100000000 

result:

ok correct answer

Test #13:

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

input:

100000000 1 10000
400000000
200000000

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 -100000000 

result:

ok correct answer

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #14:

score: 19
Accepted
time: 0ms
memory: 3644kb

input:

10 1 10000
10
20

output:

? 10 10
? -10 10
! 5 5 

result:

ok correct answer

Test #15:

score: 19
Accepted
time: 0ms
memory: 3644kb

input:

10 1 10000
10
28

output:

? 10 10
? -10 10
! 9 1 

result:

ok correct answer

Test #16:

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

input:

10 1 10000
11
13

output:

? 10 10
? -10 10
! 1 8 

result:

ok correct answer

Test #17:

score: 19
Accepted
time: 0ms
memory: 3644kb

input:

10 1 10000
20
20

output:

? 10 10
? -10 10
! 0 0 

result:

ok correct answer

Test #18:

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

input:

10 1 10000
10
30

output:

? 10 10
? -10 10
! 10 0 

result:

ok correct answer

Test #19:

score: 19
Accepted
time: 0ms
memory: 3724kb

input:

10 1 10000
10
10

output:

? 10 10
? -10 10
! 0 10 

result:

ok correct answer

Test #20:

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

input:

10 1 10000
0
20

output:

? 10 10
? -10 10
! 10 10 

result:

ok correct answer

Test #21:

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

input:

100000000 1 10000
234227246
332220904

output:

? 100000000 100000000
? -100000000 100000000
! 48996829 -83224075 

result:

ok correct answer

Test #22:

score: 19
Accepted
time: 0ms
memory: 3700kb

input:

100000000 1 10000
177545073
120187009

output:

? 100000000 100000000
? -100000000 100000000
! -28679032 51133959 

result:

ok correct answer

Test #23:

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

input:

100000000 1 10000
0
200000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 100000000 

result:

ok correct answer

Test #24:

score: 19
Accepted
time: 0ms
memory: 3644kb

input:

100000000 1 10000
200000000
400000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 -100000000 

result:

ok correct answer

Test #25:

score: 19
Accepted
time: 0ms
memory: 3720kb

input:

100000000 1 10000
200000000
0

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 100000000 

result:

ok correct answer

Test #26:

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

input:

100000000 1 10000
400000000
200000000

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 -100000000 

result:

ok correct answer

Test #27:

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

input:

100 3 500
87 265 358
221 229 242
89 89 182
0 178 271
8 178 271
8 93 178
89 89 182
17 94 272
0 93 271

output:

? 100 100
? -100 100
? 25 -1
? 67 46
? 71 42
? -22 -43
? 33 -9
? -67 -92
? -58 -100
! 67 46 -18 -47 -58 -100 

result:

ok correct answer

Test #28:

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

input:

100 4 500
71 168 176 189
159 175 248 348
48 70 81 181
16 97 118 189
0 97 118 173
50 56 123 139
0 89 97 100
8 81 112 181
0 89 118 189
8 89 100 105
0 100 173 189

output:

? 100 100
? -100 100
? 24 57
? 44 85
? 52 77
? 89 -9
? 40 -8
? -8 25
? -15 26
? 36 -12
? 86 -62
! 52 77 40 -8 -15 26 86 -62 

result:

ok correct answer

Test #29:

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

input:

100 5 500
81 153 174 215 253
39 57 169 261 322
47 87 125 157 218
36 98 136 214 275
72 134 172 222 283
72 134 172 204 265
18 62 130 222 283
92 112 130 136 153
21 41 121 213 274
46 47 125 235 253
36 61 136 204 222
0 93 172 204 222
61 72 100 204 222
57 62 154 266 284
65 65 81 157 218
8 62 122 214 275
0...

output:

? 100 100
? -100 100
? -12 84
? -35 118
? -21 140
? -12 131
? -57 104
? 26 57
? -63 89
? 82 -10
? 72 11
? 90 29
? 54 -7
? 103 -20
? -65 31
? -84 69
? -88 73
? -79 64
? -23 8
? -103 50
! -48 95 90 29 74 -48 -88 73 -42 -11 

result:

ok correct answer

Test #30:

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

input:

100 6 500
110 146 229 243 281 302
85 150 165 225 264 270
74 100 112 133 139 145
24 59 60 111 132 163
20 26 101 153 159 174
6 36 119 171 179 192
18 18 101 153 174 185
0 36 119 171 185 192
6 36 83 135 156 185
20 80 83 95 119 160
0 60 75 83 119 140
29 40 40 100 139 163
33 40 47 107 146 152
0 65 80 140 ...

output:

? 100 100
? -100 100
? -22 53
? 39 -9
? 58 14
? 77 13
? 71 1
? 80 10
? 62 -8
? 8 -37
? -2 -27
? -74 1
? -72 10
? -79 36
? -98 17
? -49 -14
? -39 -4
? -58 -23
? -92 -10
? -76 -26
! 59 -5 80 10 -2 -27 -79 36 -58 -23 -76 -26 

result:

ok correct answer

Test #31:

score: 0
Wrong Answer
time: 1ms
memory: 3604kb

input:

100 10 500
75 140 145 187 212 223 255 277 280 296
56 110 129 148 151 183 242 317 333 361
69 80 112 134 137 139 153 214 230 258
91 102 145 150 167 170 186 225 241 269
35 92 102 145 167 167 170 183 186 211
35 94 104 147 169 169 172 185 188 213
32 91 105 148 166 170 173 182 189 210
32 91 137 166 180 18...

output:

? 100 100
? -100 100
? -20 77
? -9 99
? 20 70
? 20 72
? 22 71
? 38 87
? -54 54
? -52 65
? -29 42
? -65 53
? -78 66
? -51 39
? -25 26
? 64 -8
? 70 20
? 53 40
? 54 71
? 105 -12
? 34 21
? 19 36
? 119 -29
? 113 -20
? 127 -34
? 94 -39
? 25 -25
? 13 0
? 65 -52
? 0 -12
? 74 -73
? 73 -60
? 87 -74
? -78 19
?...

result:

wrong answer your answer is incorrect

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: 3752kb

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
29 40 55 55 69 72 78 79 80 86 92 103 107 110 133 137 142 170 195 208

output:

? 100 100
? -100 100
? -6 75
? -10 112

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%