QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#139135#5404. 述树术flower#0 39ms4368kbC++202.4kb2023-08-12 18:05:062024-07-04 01:39:39

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 11.0985
Acceptable Answer
time: 11ms
memory: 3972kb

input:

499 7890
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0...

output:

1
97686

result:

points 0.22196923940 x = 97686

Test #2:

score: 12.3681
Acceptable Answer
time: 12ms
memory: 4076kb

input:

499 7890
0 0
0 0
0 0
187 351
0 0
337 475
82 233
0 0
0 0
448 134
0 0
5 386
0 0
0 0
343 20
244 442
0 0
392 397
0 0
444 223
180 243
0 0
455 241
40 256
340 346
214 128
0 0
315 451
57 320
0 0
0 0
105 446
287 126
0 0
0 0
122 22
0 0
0 0
0 0
21 305
0 0
60 182
0 0
0 0
0 0
0 0
0 0
0 0
0 0
124 224
9 80
7 294
0...

output:

1
69661

result:

points 0.24736165350 x = 69661

Test #3:

score: 11.8997
Acceptable Answer
time: 11ms
memory: 4080kb

input:

499 7890
0 0
0 0
0 0
145 106
187 3
0 0
0 0
226 44
0 0
0 0
0 0
397 112
0 0
0 0
250 183
365 61
151 302
276 25
0 0
295 136
152 273
256 23
213 351
0 0
0 0
384 240
38 478
0 0
0 0
217 300
79 10
462 288
0 0
0 0
0 0
0 0
0 0
148 311
0 0
0 0
0 0
193 419
270 377
0 0
84 281
0 0
178 451
153 105
133 21
211 283
28...

output:

1
78308

result:

points 0.23799475640 x = 78308

Test #4:

score: 11.7836
Acceptable Answer
time: 7ms
memory: 4080kb

input:

499 7890
0 0
0 0
0 0
163 73
0 0
189 485
0 0
476 293
0 0
0 0
0 0
0 0
447 422
371 118
0 0
24 219
0 0
0 0
0 0
273 25
0 0
0 0
179 419
349 159
0 0
0 0
449 92
0 0
121 412
127 218
0 0
0 0
356 54
39 62
354 370
0 0
247 41
329 369
48 400
0 0
283 402
0 0
0 0
0 0
132 119
0 0
416 302
220 372
0 0
105 312
266 176
...

output:

1
80720

result:

points 0.23567146120 x = 80720

Test #5:

score: 11.6983
Acceptable Answer
time: 11ms
memory: 4084kb

input:

499 7890
0 0
61 429
212 422
0 0
0 0
139 378
0 0
0 0
0 0
207 72
0 0
0 0
371 441
0 0
199 413
60 266
416 363
468 454
419 5
0 0
414 39
126 52
31 113
0 0
140 134
35 444
0 0
0 0
395 455
23 291
69 387
203 274
0 0
0 0
0 0
0 0
0 0
438 487
0 0
0 0
57 467
16 153
0 0
0 0
0 0
0 0
0 0
0 0
146 196
284 390
121 380
...

output:

1
82566

result:

points 0.23396669860 x = 82566

Test #6:

score: 11.8279
Acceptable Answer
time: 11ms
memory: 4080kb

input:

499 7890
0 0
289 462
395 207
453 204
0 0
0 0
0 0
0 0
479 312
0 0
108 100
5 211
279 270
0 0
423 365
0 0
0 0
0 0
0 0
9 132
0 0
0 0
11 304
0 0
0 0
428 232
0 0
0 0
0 0
0 0
407 131
349 88
174 415
386 296
404 444
0 0
355 64
0 0
448 139
91 199
0 0
205 299
0 0
123 67
0 0
0 0
0 0
0 0
414 2
0 0
397 127
309 22...

output:

1
79785

result:

points 0.23655878910 x = 79785

Test #7:

score: 12.1438
Acceptable Answer
time: 11ms
memory: 4368kb

input:

499 7890
0 0
0 0
0 0
293 172
234 459
272 292
71 177
0 0
0 0
0 0
484 444
143 244
0 0
310 33
0 0
46 74
110 356
280 263
0 0
0 0
0 0
0 0
411 181
0 0
0 0
455 281
0 0
0 0
203 44
0 0
0 0
260 13
182 397
187 88
0 0
0 0
0 0
155 75
23 496
0 0
66 443
159 174
185 274
0 0
278 213
424 92
0 0
126 478
399 168
0 0
0 ...

output:

1
73600

result:

points 0.24287610140 x = 73600

Test #8:

score: 11.4798
Acceptable Answer
time: 11ms
memory: 4084kb

input:

499 7890
0 0
0 0
0 0
0 0
0 0
111 454
0 0
397 253
400 478
283 213
179 2
0 0
239 172
303 304
128 457
0 0
0 0
288 88
0 0
308 263
0 0
0 0
0 0
0 0
341 280
15 59
214 29
0 0
0 0
416 3
93 233
451 319
0 0
0 0
90 140
0 0
0 0
0 0
197 159
6 266
27 427
0 0
365 154
293 193
0 0
270 321
0 0
44 33
0 0
461 198
32 186...

output:

1
87617

result:

points 0.22959631920 x = 87617

Test #9:

score: 12.2731
Acceptable Answer
time: 12ms
memory: 4020kb

input:

499 7890
120 69
312 89
0 0
0 0
0 0
0 0
0 0
0 0
59 407
372 342
0 0
63 141
227 269
0 0
0 0
0 0
50 329
0 0
0 0
185 285
40 211
104 194
0 0
0 0
234 439
327 246
245 461
405 204
88 10
0 0
0 0
34 57
0 0
0 0
128 143
0 0
0 0
49 13
26 393
455 190
0 0
0 0
147 18
0 0
0 0
459 318
0 0
313 256
476 111
0 0
440 58
44...

output:

1
71286

result:

points 0.24546295740 x = 71286

Test #10:

score: 12.3166
Acceptable Answer
time: 12ms
memory: 4108kb

input:

499 7890
357 56
0 0
0 0
0 0
0 0
144 333
171 156
0 0
0 0
0 0
180 437
0 0
0 0
0 0
0 0
0 0
0 0
207 224
0 0
0 0
0 0
0 0
0 0
364 84
0 0
0 0
466 25
0 0
375 148
0 0
0 0
0 0
0 0
331 319
483 18
244 240
450 187
456 142
0 0
444 492
100 283
35 317
0 0
188 10
0 0
0 0
0 0
0 0
281 152
343 64
477 5
378 76
413 198
0...

output:

1
70534

result:

points 0.24633286950 x = 70534

Test #11:

score: 12.2258
Acceptable Answer
time: 12ms
memory: 4364kb

input:

499 7890
279 484
54 69
0 0
448 262
161 173
0 0
460 214
0 0
60 301
0 0
0 0
457 80
464 165
0 0
47 18
0 0
232 273
0 0
0 0
0 0
23 436
0 0
377 305
0 0
488 138
0 0
0 0
123 178
63 14
0 0
0 0
0 0
476 218
0 0
0 0
0 0
0 0
0 0
225 217
131 498
408 122
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
365 386
0 0
434 443
30 357
1...

output:

1
72120

result:

points 0.24451527070 x = 72120

Test #12:

score: 12.344
Acceptable Answer
time: 11ms
memory: 4080kb

input:

499 7890
0 0
262 277
2 148
0 0
174 417
0 0
293 162
0 0
0 0
113 8
0 0
0 0
214 59
0 0
0 0
414 47
0 0
0 0
0 0
124 360
0 0
184 348
0 0
78 49
0 0
280 119
346 315
390 71
0 0
301 19
0 0
0 0
388 127
114 207
0 0
0 0
327 91
216 338
0 0
129 103
0 0
0 0
0 0
208 292
222 156
373 451
0 0
353 337
0 0
485 149
0 0
0 ...

output:

1
70068

result:

points 0.24687945960 x = 70068

Test #13:

score: 12.4504
Acceptable Answer
time: 11ms
memory: 4076kb

input:

499 7890
270 456
0 0
0 0
128 434
0 0
225 392
0 0
0 0
54 148
407 278
0 0
0 0
0 0
41 119
77 232
378 374
419 129
420 207
0 0
125 357
0 0
0 0
55 310
0 0
0 0
39 339
388 3
0 0
0 0
0 0
108 330
0 0
0 0
0 0
0 0
60 100
0 0
0 0
181 454
0 0
417 120
0 0
145 190
0 0
319 256
2 421
0 0
0 0
0 0
0 0
136 422
153 96
10...

output:

1
68300

result:

points 0.24900760860 x = 68300

Test #14:

score: 12.4696
Acceptable Answer
time: 10ms
memory: 4116kb

input:

499 7890
370 175
213 404
0 0
0 0
0 0
0 0
0 0
236 474
441 371
250 79
417 159
0 0
0 0
0 0
132 483
0 0
71 162
392 428
0 0
0 0
221 424
214 437
45 88
0 0
74 239
0 0
0 0
186 355
22 64
0 0
349 409
163 35
43 136
0 0
0 0
0 0
171 365
408 492
0 0
107 36
4 241
106 201
268 254
150 278
225 147
486 473
419 235
444...

output:

1
67988

result:

points 0.24939240040 x = 67988

Test #15:

score: 12.4409
Acceptable Answer
time: 12ms
memory: 4072kb

input:

499 7890
376 112
114 360
0 0
0 0
0 0
172 486
0 0
158 490
0 0
218 73
375 479
336 155
0 0
0 0
120 11
150 496
37 403
401 380
0 0
0 0
133 122
205 278
410 62
448 228
245 170
0 0
0 0
251 472
135 236
140 406
435 85
0 0
214 431
0 0
151 246
0 0
0 0
292 127
305 347
0 0
0 0
0 0
442 224
453 226
0 0
123 438
0 0
...

output:

1
68455

result:

points 0.24881749790 x = 68455

Test #16:

score: 12.3868
Acceptable Answer
time: 12ms
memory: 4340kb

input:

499 7890
0 0
0 0
0 0
0 0
62 451
0 0
283 419
0 0
228 327
0 0
403 496
0 0
444 180
34 279
0 0
0 0
0 0
0 0
366 201
0 0
0 0
431 248
0 0
0 0
0 0
171 63
207 498
387 46
0 0
325 270
165 8
115 103
428 466
303 346
98 249
0 0
0 0
0 0
0 0
321 478
0 0
0 0
0 0
182 164
185 226
0 0
0 0
213 44
0 0
416 417
0 0
69 359
...

output:

1
69347

result:

points 0.24773677550 x = 69347

Test #17:

score: 12.4445
Acceptable Answer
time: 12ms
memory: 4160kb

input:

499 7890
458 88
425 362
0 0
0 0
0 0
0 0
0 0
396 442
0 0
113 388
401 187
0 0
82 115
0 0
367 489
173 48
0 0
19 370
208 209
0 0
374 219
0 0
0 0
45 86
0 0
0 0
280 409
177 476
0 0
0 0
37 327
475 285
0 0
21 144
6 207
0 0
8 334
257 379
57 351
0 0
0 0
0 0
224 294
0 0
391 116
488 31
0 0
120 211
490 293
421 1...

output:

1
68396

result:

points 0.24888978070 x = 68396

Test #18:

score: 0
Wrong Answer
time: 11ms
memory: 4004kb

input:

499 7890
0 0
109 334
0 0
301 141
0 0
0 0
127 454
222 485
0 0
133 451
0 0
282 33
0 0
0 0
0 0
0 0
0 0
0 0
0 0
165 28
388 1
0 0
0 0
0 0
308 57
0 0
340 330
231 183
321 476
0 0
226 326
0 0
386 39
30 200
44 160
0 0
350 198
0 0
467 32
0 0
137 59
0 0
0 0
0 0
70 325
49 34
0 0
230 216
0 0
410 449
299 472
245 ...

output:

0
You didn't find a solution but jury did.

result:

wrong answer You

Subtask #2:

score: 0
Wrong Answer

Test #30:

score: 0
Wrong Answer
time: 39ms
memory: 4132kb

input:

999 16789
0 0
0 0
0 0
495 639
428 443
0 0
511 28
0 0
0 0
0 0
0 0
31 729
899 866
429 959
357 322
795 615
235 620
0 0
0 0
85 389
33 50
234 522
276 468
480 269
0 0
705 536
0 0
87 446
889 578
86 472
0 0
699 53
0 0
706 976
381 493
0 0
441 164
0 0
0 0
0 0
283 215
0 0
113 208
334 225
372 487
0 0
878 418
0 ...

output:

0
Too many queries.

result:

wrong answer Too