QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#317810#6639. Disk Treeucup-team1005WA 0ms3680kbC++14791b2024-01-29 19:37:152024-01-29 19:37:16

详细

Test #1:

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

input:

3
1 0 3
10 10 6
0 5 1

output:

YES
0 6 10 16
1 3 10 16

result:

ok answer = 1

Test #2:

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

input:

2
1 1 1
3 3 1

output:

YES
1 2 3 4

result:

ok answer = 1

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3680kb

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 21
20 1 20 21
2 1 3 21

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