QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#274833#6412. Classical Geometry Problemucup-team2262#WA 23ms3840kbC++204.4kb2023-12-04 01:28:542023-12-04 01:28:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3660kb

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
3
0 255 0 0.00000000000000001388
255 255 0 0.00000000000000001388
255 255 255 301.37684051698465736990
3
0 255 0 0.00000000000000001388
255 255 0 0.00000000000000001388
255 255 255 0.0000000000...

result:

ok ok (3 test cases)

Test #2:

score: 0
Accepted
time: 23ms
memory: 3660kb

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.96062992125985147140
255 255 0 121.27156248170723529256
255 255 255 14.68387252353452154807
3
0 255 0 244.92094861660078208843
0 255 255 1.00472091732902435446
255 255 255 1.41198140475821243278
3
0 255 0 98.07692307692308020250
0 255 255 89.64546449172745212763
255 255 255 113.9495828...

result:

ok ok (10000 test cases)

Test #3:

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

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.27272727272728047865
255 255 0 5.08489163857499804067
255 255 255 129.12516298861632435546
3
0 255 0 249.79591836734692833488
0 255 255 23.61602753201002258265
255 255 255 52.66778011012420535053
3
0 0 255 128.70283018867925761697
0 255 255 5.26968108966889836609
255 255 255 57.8412195...

result:

ok ok (10000 test cases)

Test #4:

score: -100
Wrong Answer
time: 19ms
memory: 3840kb

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.56521739130434411891
255 255 0 77.42373845657623121497
255 255 255 210.05662244036670927017
3
0 0 255 56.98324022346368877834
255 0 255 96.22358304761569058883
255 255 255 0.00000000000000000000
3
255 0 0 230.58510638297872219482
255 0 255 5.33679441042434099529
255 255 255 223.0286841...

result:

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