Author: Daniel Mentrard

¿Cuál es el cuadrado que posee la mayor superficie negra?

I = (8, 3)
J = (9, 2)
K = (9, 3)
L = (8, 2)
poly3 = Carrenoir(I, J, K, L)
M = (9, 4)
N = (10, 3)
O = (10, 4)
poly4 = Carrenoir(M, K, N, O)
P = (10, 2)
Q = (9, 1)
R = (10, 1)
poly5 = Carrenoir(J, P, Q, R)
S = (11, 2)
T = (11, 3)
poly6 = Carrenoir(N, S, T, P)
U = (6, 3)
V = (7, 3)
W = (6, 2)
Z = (7, 2)
poly7 = Carrenoir(U, V, W, Z)
A1 = (8, 1)
B1 = (7, 1)
poly8 = Carrenoir(Z, L, A1, B1)
C1 = (9, 0)
D1 = (8, 0)
poly9 = Carrenoir(A1, C1, Q, D1)
E1 = (6, 4)
F1 = (7, 4)
poly10 = Carrenoir(E1, V, F1, U)
G1 = (8, 4)
poly11 = Carrenoir(G1, M, K, I)
H1 = (6, 1)
I1 = (7, 0)
J1 = (6, 0)
poly12 = Carrenoir(H1, I1, B1, J1)
K1 = (10, 0)
L1 = (11, 0)
M1 = (11, 1)
poly13 = Carrenoir(R, K1, L1, M1)
N1 = (11, -1)
O1 = (10, -1)
poly14 = Carrenoir(K1, N1, O1, L1)
P1 = (8, -1)
Q1 = (9, -1)
poly15 = Carrenoir(C1, P1, Q1, D1)
R1 = (7, -1)
S1 = (6, -1)
poly16 = Carrenoir(J1, I1, R1, S1)
T1 = (11, 4)
poly17, e1, t1, n1, s1 = Polygon(E1, T1, N1, S1)
D = (14, 2)
E = (14, 1)
F = (15, 1)
poly2 = Triangnoir(D, E, F)
A = (15, 2)
B = (16, 1)
C = (16, 2)
poly1 = Carrenoir(A, B, F, C)
G = (17, 0)
H = (18, 1)
U1 = (17, 1)
poly18 = Triangnoir(G, H, U1)
V1 = (16, 0)
poly19 = Carrenoir(B, U1, V1, G)
poly20 = Triangnoir(V, I, L)
poly21 = Triangnoir(O, T1, T)
W1 = (14, 4)
Z1 = (14, 3)
A2 = (15, 3)
poly22 = Triangnoir(W1, Z1, A2)
poly23 = Carrenoir(Z1, A2, A, D)
B2 = (13, 4)
C2 = (13, 3)
poly24 = Carrenoir(B2, C2, Z1, W1)
D2 = (13, 1)
E2 = (14, 0)
F2 = (13, 0)
poly25 = Carrenoir(D2, E2, E, F2)
G2 = (15, 0)
H2 = (15, -1)
I2 = (14, -1)
poly26 = Carrenoir(E2, G2, H2, I2)
J2 = (17, 2)
K2 = (17, 3)
L2 = (18, 2)
M2 = (18, 3)
poly27 = Carrenoir(J2, K2, L2, M2)
N2 = (16, 3)
poly28 = Triangnoir(N2, C, J2)
O2 = (16, 4)
P2 = (17, 4)
poly29 = Carrenoir(O2, K2, P2, N2)
poly30 = Triangnoir(P2, K2, M2)
poly31 = Carrenoir(J2, L2, U1, H)
Q2 = (18, -1)
R2 = (17, -1)
S2 = (18, 0)
poly32 = Triangnoir(R2, Q2, S2)
T2 = (16, -1)
poly33 = Carrenoir(G2, T2, V1, H2)
poly34 = Triangnoir(A2, N2, O2)
U2 = (13, -1)
V2 = (18, 4)
poly35, b2, v2, q2, u2 = Polygon(B2, V2, Q2, U2)
W2 = Point(u2)
Z2 = Point(b2)
a = Segment(I1, K1)
b = Segment(B1, R)
c = Segment(W, P)
d = Segment(O, O1)
e = Segment(W2, C)
f = Segment(Z2, H2)
g = Segment(F2, S2)
h = Segment(P2, R2)
i = Segment(H, D2)
A3 = (20, 4)
B3 = (20, 3)
C3 = (21, 3)
poly36 = Triangnoir(A3, B3, C3)
D3 = (21, 2)
E3 = (20, 2)
poly37 = Carrenoir(B3, C3, D3, E3)
F3 = (22, 2)
G3 = (23, 3)
H3 = (22, 3)
I3 = (23, 2)
poly38 = Carrenoir(F3, G3, H3, I3)
J3 = (21, 4)
K3 = (22, 4)
poly39 = Carrenoir(J3, K3, C3, H3)
L3 = (20, 1)
M3 = (20, 0)
N3 = (21, 1)
O3 = (21, 0)
poly40 = Carrenoir(L3, M3, N3, O3)
poly41 = Carrenoir(E3, N3, D3, L3)
P3 = (24, 4)
Q3 = (25, 3)
R3 = (25, 4)
S3 = (24, 3)
poly42 = Carrenoir(P3, Q3, R3, S3)
T3 = (23, 4)
poly43 = Triangnoir(P3, T3, G3)
U3 = (22, 1)
poly44 = Triangnoir(U3, N3, O3)
V3 = (23, 1)
poly45 = Carrenoir(F3, V3, I3, U3)
W3 = (20, -1)
Z3 = (21, -1)
poly46 = Triangnoir(M3, W3, Z3)
A4 = (25, 2)
B4 = (24, 2)
poly47 = Triangnoir(Q3, A4, B4)
poly48 = Carrenoir(G3, I3, S3, B4)
C4 = (25, 1)
poly49 = Triangnoir(B4, A4, C4)
D4 = (24, 1)
E4 = (24, 0)
F4 = (25, 0)
poly50 = Triangnoir(D4, E4, F4)
G4 = (23, 0)
H4 = (24, -1)
I4 = (23, -1)
poly51 = Carrenoir(G4, H4, E4, I4)
J4 = (22, 0)
K4 = (22, -1)
poly52 = Carrenoir(J4, G4, K4, I4)
poly53 = Triangnoir(U3, V3, G4)
L4 = (25, -1)
poly54 = Carrenoir(E4, H4, F4, L4)
poly55, a3, r3, l4, w3 = Polygon(A3, R3, L4, W3)
j = Segment(E3, F3)
k = Segment(B3, H3)
l = Segment(C4, L3)
m = Segment(N3, Z3)
n = Segment(O3, G4)
p = Segment(P3, D4)
q = Segment(U3, J4)

Tool: Carrenoir
Input: A, B, C, D
Output: poly1

poly1, a, c, b, d = Polygon(A, C, B, D)

Tool: Triangnoir
Input: A, B, C
Output: poly1

poly1, c, a, b = Polygon(A, B, C)