Skip to content

Instantly share code, notes, and snippets.

@tripodsan
Created January 16, 2023 13:48
Show Gist options
  • Save tripodsan/efefc843839aa55ad9759e7dc44f4615 to your computer and use it in GitHub Desktop.
Save tripodsan/efefc843839aa55ad9759e7dc44f4615 to your computer and use it in GitHub Desktop.
PLY version of second bulk of https://www.spoj.com/problems/BULK/ (w/o the bottom face)
ply
format ascii 1.0
element vertex 52
property float x
property float y
property float z
element face 12
property list uchar int vertex_indices
end_header
20 20 30
20 30 30
30 30 30
30 20 30
10 10 10
10 40 10
40 40 10
40 10 10
10 10 20
20 10 20
20 30 20
30 30 20
30 40 20
10 40 20
20 10 20
20 20 20
30 20 20
30 40 20
40 40 20
40 10 20
10 10 10
40 10 10
40 10 20
10 10 20
10 40 10
40 40 10
40 40 20
10 40 20
20 20 20
30 20 20
30 20 30
20 20 30
20 30 20
30 30 20
30 30 30
20 30 30
10 10 10
10 40 10
10 40 20
10 10 20
40 10 10
40 40 10
40 40 20
40 10 20
20 20 20
20 30 20
20 30 30
20 20 30
30 20 20
30 30 20
30 30 30
30 20 30
4 0 1 2 3
6 8 9 10 11 12 13
6 14 15 16 17 18 19
4 20 21 22 23
4 24 25 26 27
4 28 29 30 31
4 32 33 34 35
4 36 37 38 39
4 40 41 42 43
4 44 45 46 47
4 48 49 50 51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment