QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#708639#6639. Disk TreeZhangYiDeWA 1ms3676kbC++202.0kb2024-11-04 01:40:012024-11-04 01:40:01

詳細信息

Test #1:

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

input:

3
1 0 3
10 10 6
0 5 1

output:

YES
0 6 10 6
1 3 10 4

result:

ok answer = 1

Test #2:

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

input:

2
1 1 1
3 3 1

output:

YES
1 2 3 2

result:

ok answer = 1

Test #3:

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

input:

5
10 10 10
2 0 1
20 20 1
3 20 1
20 0 1

output:

YES
3 21 20 21
10 20 20 20
20 1 10 2
2 1 10 1

result:

ok answer = 1

Test #4:

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

input:

10
29 29 2
28 55 10
99 81 4
17 82 10
45 88 10
48 68 10
0 8 10
98 95 10
34 0 10
17 24 10

output:

YES
45 98 98 98
17 92 45 92
99 85 98 86
48 78 99 78
28 65 48 65
17 34 28 45
29 31 17 32
0 18 17 18
34 10 0 11

result:

ok answer = 1

Test #5:

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

input:

100
490 783 12
666 460 55
561 245 6
223 323 25
3 520 77
225 161 24
514 190 16
997 914 100
412 265 100
374 610 36
296 854 39
601 901 2
307 21 100
390 422 24
940 414 32
332 438 35
553 992 100
235 775 3
656 901 37
770 417 22
649 305 100
448 84 3
375 939 77
910 847 9
776 357 37
743 97 100
371 502 39
508...

output:

YES
375 1016 553 1016
997 1014 553 1015
67 1012 375 1012
235 990 375 990
293 974 375 974
777 948 997 948
656 938 777 938
841 930 997 930
468 908 553 908
116 903 235 903
601 903 656 903
296 893 375 893
680 864 841 864
910 856 997 856
51 855 116 855
384 846 468 846
771 846 841 846
32 818 116 818
584 8...

result:

ok answer = 1

Test #6:

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

input:

200
2948 9798 687
3897 647 35
3918 587 28
1262 2717 206
1315 9524 20
2381 305 1000
4344 6858 20
6234 8949 53
5168 4772 85
5044 6109 158
72 7670 132
7300 1213 837
5427 2263 1000
1785 3009 276
6136 1421 43
1629 5620 29
6445 9489 242
8443 3141 1000
4118 4307 63
1874 5238 291
1964 5785 73
7794 3934 18
3...

output:

YES
9505 10421 2948 10422
5225 10253 9505 10253
7511 10194 9505 10194
6125 10135 7511 10135
8438 10062 9505 10062
1844 9925 2948 9925
6062 9835 6125 9835
6445 9731 7511 9731
231 9613 1844 9613
1756 9604 1844 9604
462 9581 1756 9581
1315 9544 1756 9544
413 9413 462 9413
456 9287 1756 9287
9928 9282 8...

result:

ok answer = 1

Test #7:

score: -100
Wrong Answer
time: 1ms
memory: 3676kb

input:

300
42942 37079 222
49441 21821 1695
61023 31153 561
86630 26307 352
36940 78253 213
7841 81086 626
47425 22290 374
17694 68695 648
38259 64794 998
43599 46942 9662
9204 2816 1965
38652 83568 4057
4046 29001 1034
72591 63214 587
75984 64859 1112
70005 72177 576
34522 52126 652
56627 48785 1747
78820...

output:

YES
70298 104974 48815 104975
11003 102828 48815 102828
31276 102195 48815 102195
82276 101921 70298 101922
1522 101761 11003 101761
96182 100285 82276 100286
59314 97023 70298 97023
84773 96418 96182 96418
21145 95651 31276 95651
90608 93033 96182 93033
81067 92477 84773 92477
56990 92327 70298 923...

result:

wrong answer Two line segments intersect, and it's not only the endpoints that intersect or line segments intersects/touches more than 2 disks