QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274832#6412. Classical Geometry Problemucup-team2262#WA 21ms3928kbC++204.4kb2023-12-04 01:27:102023-12-04 01:27:10

详细

Test #1:

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

input:

3
105 255 175
174 174 174
0 0 0

output:

3
0 255 0 255.000000000000000
0 255 255 119.000000000000000
255 255 255 119.000000000000000
3
0 255 0 0.000000000000000
255 255 0 0.000000000000000
255 255 255 301.376840516984657
3
0 255 0 0.000000000000000
255 255 0 0.000000000000000
255 255 255 0.000000000000000

result:

ok ok (3 test cases)

Test #2:

score: 0
Accepted
time: 17ms
memory: 3736kb

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.960629921259851
255 255 0 121.271562481707235
255 255 255 14.683872523534522
3
0 255 0 244.920948616600782
0 255 255 1.004720917329024
255 255 255 1.411981404758212
3
0 255 0 98.076923076923080
0 255 255 89.645464491727452
255 255 255 113.949582887386654
3
0 0 255 50.328947368421055
25...

result:

ok ok (10000 test cases)

Test #3:

score: 0
Accepted
time: 21ms
memory: 3736kb

input:

10000
90 173 87
39 251 59
39 43 150
106 29 130
52 55 180
236 225 70
171 15 48
92 133 240
182 226 10
126 139 105
196 7 204
32 131 193
27 96 218
67 29 33
159 9 251
130 111 243
226 69 39
198 131 80
108 169 147
45 36 170
76 138 251
55 235 186
224 165 48
51 133 173
225 14 226
234 70 139
178 92 174
138 24...

output:

3
0 255 0 128.272727272727280
255 255 0 5.084891638574998
255 255 255 129.125162988616324
3
0 255 0 249.795918367346928
0 255 255 23.616027532010023
255 255 255 52.667780110124205
3
0 0 255 128.702830188679258
0 255 255 5.269681089668898
255 255 255 57.841219509815971
3
0 0 255 41.073825503355707
25...

result:

ok ok (10000 test cases)

Test #4:

score: -100
Wrong Answer
time: 21ms
memory: 3928kb

input:

10000
186 217 161
76 0 116
246 159 161
32 245 65
206 120 71
217 76 204
109 255 245
157 59 192
55 35 87
27 147 199
190 134 31
169 64 105
5 27 255
161 2 35
244 255 232
253 106 199
28 151 129
50 24 20
172 236 234
74 51 150
179 68 178
69 42 192
152 1 23
177 169 71
216 190 125
136 223 193
255 168 49
74 2...

output:

3
0 255 0 114.565217391304344
255 255 0 77.423738456576231
255 255 255 210.056622440366709
3
0 0 255 56.983240223463689
255 0 255 96.223583047615691
255 255 255 0.000000000000000
3
255 0 0 230.585106382978722
255 0 255 5.336794410424341
255 255 255 223.028684131240169
3
0 255 0 241.578947368421041
0...

result:

wrong output format Expected double, but "-nan" found (test case 9326)