acmsguru |
---|
Закончено |
No" on the first line of the output file, otherwise output "
Yes". In the latter case, output the description of the cycle: on the second line output n — the number of vertices of the polyhedron; on the next n lines output the coordinates of the vertices in the order they appear along the cycle, exactly as they were given in the input file, with the same 9 digits after the decimal point.
sample input | sample output |
4 3 100.146488845 0.000000000 0.000000000 100.145878719 0.349576483 0.000000000 -100.145878719 -0.349576483 0.000000000 3 33.382162948 0.000000000 1.219611194 100.146488845 0.000000000 0.000000000 100.145878719 0.349576483 0.000000000 3 33.382162948 0.000000000 1.219611194 100.145878719 0.349576483 0.000000000 -100.145878719 -0.349576483 0.000000000 3 33.382162948 0.000000000 1.219611194 -100.145878719 -0.349576483 0.000000000 100.146488845 0.000000000 0.000000000 | Yes 4 -100.145878719 -0.349576483 0.000000000 33.382162948 0.000000000 1.219611194 100.146488845 0.000000000 0.000000000 100.145878719 0.349576483 0.000000000 |
Название |
---|