QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#343959#8270. Mineral depositshyforces#9 1ms3704kbC++201.8kb2024-03-03 10:46:592024-04-28 08:43:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 9
Accepted

Test #1:

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

input:

10 1 10000
10
20

output:

? 10 10
? -10 10
! 5 5 

result:

ok correct answer

Test #2:

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

input:

10 1 10000
10
28

output:

? 10 10
? -10 10
! 9 1 

result:

ok correct answer

Test #3:

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

input:

10 1 10000
11
13

output:

? 10 10
? -10 10
! 1 8 

result:

ok correct answer

Test #4:

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

input:

10 1 10000
20
20

output:

? 10 10
? -10 10
! 0 0 

result:

ok correct answer

Test #5:

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

input:

10 1 10000
10
30

output:

? 10 10
? -10 10
! 10 0 

result:

ok correct answer

Test #6:

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

input:

10 1 10000
10
10

output:

? 10 10
? -10 10
! 0 10 

result:

ok correct answer

Test #7:

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

input:

10 1 10000
0
20

output:

? 10 10
? -10 10
! 10 10 

result:

ok correct answer

Test #8:

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

input:

100000000 1 10000
234227246
332220904

output:

? 100000000 100000000
? -100000000 100000000
! 48996829 -83224075 

result:

ok correct answer

Test #9:

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

input:

100000000 1 10000
177545073
120187009

output:

? 100000000 100000000
? -100000000 100000000
! -28679032 51133959 

result:

ok correct answer

Test #10:

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

input:

100000000 1 10000
0
200000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 100000000 

result:

ok correct answer

Test #11:

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

input:

100000000 1 10000
200000000
400000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 -100000000 

result:

ok correct answer

Test #12:

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

input:

100000000 1 10000
200000000
0

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 100000000 

result:

ok correct answer

Test #13:

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

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: 1ms
memory: 3540kb

input:

10 1 10000
10
20

output:

? 10 10
? -10 10
! 5 5 

result:

ok correct answer

Test #15:

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

input:

10 1 10000
10
28

output:

? 10 10
? -10 10
! 9 1 

result:

ok correct answer

Test #16:

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

input:

10 1 10000
11
13

output:

? 10 10
? -10 10
! 1 8 

result:

ok correct answer

Test #17:

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

input:

10 1 10000
20
20

output:

? 10 10
? -10 10
! 0 0 

result:

ok correct answer

Test #18:

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

input:

10 1 10000
10
30

output:

? 10 10
? -10 10
! 10 0 

result:

ok correct answer

Test #19:

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

input:

10 1 10000
10
10

output:

? 10 10
? -10 10
! 0 10 

result:

ok correct answer

Test #20:

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

input:

10 1 10000
0
20

output:

? 10 10
? -10 10
! 10 10 

result:

ok correct answer

Test #21:

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

input:

100000000 1 10000
234227246
332220904

output:

? 100000000 100000000
? -100000000 100000000
! 48996829 -83224075 

result:

ok correct answer

Test #22:

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

input:

100000000 1 10000
177545073
120187009

output:

? 100000000 100000000
? -100000000 100000000
! -28679032 51133959 

result:

ok correct answer

Test #23:

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

input:

100000000 1 10000
0
200000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 100000000 

result:

ok correct answer

Test #24:

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

input:

100000000 1 10000
200000000
400000000

output:

? 100000000 100000000
? -100000000 100000000
! 100000000 -100000000 

result:

ok correct answer

Test #25:

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

input:

100000000 1 10000
200000000
0

output:

? 100000000 100000000
? -100000000 100000000
! -100000000 100000000 

result:

ok correct answer

Test #26:

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

input:

100000000 1 10000
400000000
200000000

output:

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

result:

ok correct answer

Test #27:

score: 0
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 92 270

output:

? 100 100
? -100 100
? 24 0
? 67 46
? 71 42
? -22 -43
? 33 -9
? -66 -91
! 67 46 -18 -47 -58 -100 

result:

ok correct answer

Test #28:

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

input:

100 4 500
71 168 176 189
159 175 248 348
50 68 81 181
16 97 118 189
0 97 118 173
50 56 123 139
0 89 97 100
9 80 111 180
8 89 100 105
0 100 173 189

output:

? 100 100
? -100 100
? 23 56
? 44 85
? 52 77
? 89 -9
? 40 -8
? -7 25
? 36 -12
? 86 -62
! 52 77 40 -8 86 -62 79 -68 

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
Runtime Error

Test #116:

score: 0
Runtime Error

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
30 39 54 56 68 71 77 78 79 85 91 102 106 109 132 136 141 169 194 207

output:

? 100 100
? -100 100
? -6 74
? -9 111

result:


Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%