QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274838#6412. Classical Geometry Problemucup-team2262#WA 22ms3920kbC++204.4kb2023-12-04 01:59:342023-12-04 01:59:34

詳細信息

Test #1:

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

input:

3
105 255 175
174 174 174
0 0 0

output:

3
0 255 0 255.00000000000000000000
0 255 255 119.00000000000000000000
255 255 255 119.00000000000000000000
2
255 255 0 0.00000000000000001388
255 255 255 301.37684051698464907099
2
255 255 0 0.00000000000000001388
255 255 255 0.00000000000000000000

result:

ok ok (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 22ms
memory: 3884kb

input:

10000
250 128 13
1 245 2
88 183 138
179 69 194
153 246 33
255 119 192
233 30 108
26 208 33
53 162 189
225 130 10
202 137 121
152 198 25
49 165 180
228 56 30
74 18 14
6 115 31
168 242 206
90 238 139
44 103 60
16 21 190
229 209 68
41 171 181
39 74 73
181 96 18
234 95 70
75 174 84
101 16 44
202 249 80
...

output:

3
255 0 0 244.96062992125984253411
255 255 0 121.27156248170724165553
255 255 255 14.68387252353452099903
3
0 255 0 244.92094861660079051224
0 255 255 1.00472091732902428247
255 255 255 1.41198140475821238052
3
0 255 0 98.07692307692307692735
0 255 255 89.64546449172744693040
255 255 255 113.9495828...

result:

wrong answer too far from the target: (42.835456, 42.835456, 225.895634) instead of (53, 162, 189) (test case 9)