QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#274831#6412. Classical Geometry Problemucup-team2262#WA 19ms3820kbC++204.4kb2023-12-04 01:18:522023-12-04 01:18:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
105 255 175
174 174 174
0 0 0

output:

3
0 255 0 255.000000000
0 255 255 119.000000000
255 255 255 119.000000000
3
255 0 0 0.000000000
255 255 0 0.000000000
255 255 255 301.376840517
3
255 0 0 0.000000000
255 255 0 0.000000000
255 255 255 0.000000000

result:

ok ok (3 test cases)

Test #2:

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

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.960629921
255 255 0 121.271562482
255 255 255 14.683872524
3
0 255 0 244.960629921
0 255 255 1.003937008
255 255 255 1.411981405
3
0 255 0 145.059880240
0 255 255 76.347305389
255 255 255 113.949582887
3
0 0 255 50.328947368
255 0 255 193.374653314
255 255 255 77.897042765
3
0 255 0 23...

result:

wrong answer too far from the target: (1.000002, 245.039340, 1.999227) instead of (1, 245, 2) (test case 2)