id
int64 0
30k
| prompt
stringlengths 265
1.96k
| answer
stringclasses 10
values | pythoncode
stringlengths 267
1.96k
| depth0
stringclasses 10
values | depth1
stringclasses 10
values | depth2
stringclasses 10
values | depth3
stringclasses 10
values | depth4
stringclasses 11
values | depth5
stringclasses 11
values | depth6
stringclasses 11
values | depth7
stringclasses 11
values | depthn0
stringclasses 10
values | depthn1
stringclasses 10
values | depthn2
stringclasses 10
values | depthn3
stringclasses 10
values | depthn4
stringclasses 11
values | depthn5
stringclasses 11
values | depthn6
stringclasses 11
values | depthn7
stringclasses 11
values | num_nodes
int64 3
7
| num_edges
int64 3
30
| num_classes
int64 2
7
| path_length
int64 3
7
| num_cycle
int64 0
6
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
100 | class A:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
c = A("c")
g = B("g")
h = A("h")
f = B("f")
d = B("d")
c.x = h
c.w = h
g.v = h
h.x = c
h.w = c
f.v = h
d.v = h
assert h.w.w.w.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
c = A("c")
g = B("g")
h = A("h")
f = B("f")
d = B("d")
c.x = h
c.w = h
g.v = h
h.x = c
h.w = c
f.v = h
d.v = h
assert h.w.w.w.txt == "c" | h | c | h | c | x | x | x | x | c | h | c | h | x | x | x | x | 5 | 5 | 2 | 3 | 2 |
101 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
j = A("j")
h = B("h")
e = B("e")
i = A("i")
j.w = h
h.v = i
e.v = j
i.w = e
assert j.w.v.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
j = A("j")
h = B("h")
e = B("e")
i = A("i")
j.w = h
h.v = i
e.v = j
i.w = e
assert j.w.v.w.txt == "e" | j | h | i | e | x | x | x | x | e | i | h | j | x | x | x | x | 4 | 4 | 2 | 3 | 0 |
102 | class A:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
d = A("d")
b = B("b")
e = A("e")
c = A("c")
f = A("f")
g = B("g")
d.y = b
d.o = e
b.q = g
e.y = b
e.o = c
c.y = b
c.o = d
f.y = b
f.o = e
g.q = b
assert b.q.q.q.q.q.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
d = A("d")
b = B("b")
e = A("e")
c = A("c")
f = A("f")
g = B("g")
d.y = b
d.o = e
b.q = g
e.y = b
e.o = c
c.y = b
c.o = d
f.y = b
f.o = e
g.q = b
assert b.q.q.q.q.q.txt == "g" | b | g | b | g | b | g | x | x | g | b | g | b | g | b | x | x | 6 | 10 | 2 | 5 | 4 |
103 | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
d = A("d")
i = B("i")
a = A("a")
b = B("b")
d.x = a
d.v = i
i.o = b
a.x = d
a.v = b
b.o = i
assert a.x.v.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
d = A("d")
i = B("i")
a = A("a")
b = B("b")
d.x = a
d.v = i
i.o = b
a.x = d
a.v = b
b.o = i
assert a.x.v.o.txt == "b" | a | d | i | b | x | x | x | x | b | i | d | a | x | x | x | x | 4 | 6 | 2 | 3 | 0 |
104 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
j = B("j")
g = B("g")
h = B("h")
e.u = h
j.v = h
g.v = j
h.v = j
assert g.v.v.v.v.txt == " | h" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
j = B("j")
g = B("g")
h = B("h")
e.u = h
j.v = h
g.v = j
h.v = j
assert g.v.v.v.v.txt == "h" | g | j | h | j | h | x | x | x | h | j | h | j | g | x | x | x | 4 | 4 | 2 | 4 | 2 |
105 | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.y: A = None
self.txt = txt
a = A("a")
i = B("i")
g = B("g")
d = B("d")
c = B("c")
e = B("e")
f = A("f")
a.o = i
a.r = g
i.q = f
i.y = f
g.q = a
g.y = f
d.q = a
d.y = f
c.q = f
c.y = f
e.q = f
e.y = a
f.o = d
f.r = c
assert i.y.r.q.r.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.y: A = None
self.txt = txt
a = A("a")
i = B("i")
g = B("g")
d = B("d")
c = B("c")
e = B("e")
f = A("f")
a.o = i
a.r = g
i.q = f
i.y = f
g.q = a
g.y = f
d.q = a
d.y = f
c.q = f
c.y = f
e.q = f
e.y = a
f.o = d
f.r = c
assert i.y.r.q.r.txt == "c" | i | f | c | f | c | x | x | x | c | f | c | f | i | x | x | x | 7 | 12 | 2 | 4 | 2 |
106 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
j = B("j")
g = A("g")
e = A("e")
d = B("d")
a = B("a")
h.q = e
j.t = h
g.q = h
e.q = h
d.t = e
a.t = g
assert g.q.q.q.txt == " | h" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
h = A("h")
j = B("j")
g = A("g")
e = A("e")
d = B("d")
a = B("a")
h.q = e
j.t = h
g.q = h
e.q = h
d.t = e
a.t = g
assert g.q.q.q.txt == "h" | g | h | e | h | x | x | x | x | h | e | h | g | x | x | x | x | 6 | 6 | 2 | 3 | 1 |
107 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
j = B("j")
d = A("d")
a = B("a")
b = B("b")
h = B("h")
i = B("i")
f.s = i
j.x = f
d.s = i
a.x = d
b.x = f
h.x = d
i.x = d
assert a.x.s.x.s.x.s.txt == " | i" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
j = B("j")
d = A("d")
a = B("a")
b = B("b")
h = B("h")
i = B("i")
f.s = i
j.x = f
d.s = i
a.x = d
b.x = f
h.x = d
i.x = d
assert a.x.s.x.s.x.s.txt == "i" | a | d | i | d | i | d | i | x | i | d | i | d | i | d | a | x | 7 | 7 | 2 | 6 | 4 |
108 | class A:
def __init__(self, txt: str):
self.z: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
c = A("c")
a = B("a")
f = B("f")
h = B("h")
j = A("j")
b = B("b")
c.z = b
c.u = j
a.u = f
a.x = b
f.u = h
f.x = h
h.u = a
h.x = f
j.z = b
j.u = c
b.u = f
b.x = f
assert h.u.u.u.x.x.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
c = A("c")
a = B("a")
f = B("f")
h = B("h")
j = A("j")
b = B("b")
c.z = b
c.u = j
a.u = f
a.x = b
f.u = h
f.x = h
h.u = a
h.x = f
j.z = b
j.u = c
b.u = f
b.x = f
assert h.u.u.u.x.x.txt == "h" | h | a | f | h | f | h | x | x | h | f | h | f | a | h | x | x | 6 | 10 | 2 | 5 | 3 |
109 | class A:
def __init__(self, txt: str):
self.q: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
d = B("d")
i = B("i")
b = A("b")
a.q = i
a.r = b
d.r = b
i.r = b
b.q = d
b.r = a
assert d.r.q.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
a = A("a")
d = B("d")
i = B("i")
b = A("b")
a.q = i
a.r = b
d.r = b
i.r = b
b.q = d
b.r = a
assert d.r.q.r.r.txt == "a" | d | b | d | b | a | x | x | x | a | b | d | b | d | x | x | x | 4 | 6 | 2 | 4 | 2 |
110 | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
f = B("f")
a = A("a")
h = A("h")
c = B("c")
e.w = c
e.s = g
d.r = c
g.w = d
g.s = a
f.r = d
a.w = d
a.s = e
h.w = f
h.s = a
c.r = d
assert g.s.w.r.r.r.r.r.txt == " | c" | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
f = B("f")
a = A("a")
h = A("h")
c = B("c")
e.w = c
e.s = g
d.r = c
g.w = d
g.s = a
f.r = d
a.w = d
a.s = e
h.w = f
h.s = a
c.r = d
assert g.s.w.r.r.r.r.r.txt == "c" | g | a | d | c | d | c | d | c | c | d | c | d | c | d | a | g | 7 | 11 | 2 | 7 | 4 |
111 | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
j = B("j")
d = B("d")
b = A("b")
g = A("g")
a = A("a")
f = A("f")
i.o = d
i.w = a
j.v = d
d.v = j
b.o = j
b.w = g
g.o = j
g.w = f
a.o = d
a.w = b
f.o = d
f.w = g
assert d.v.v.v.v.v.v.v.txt == " | j" | class A:
def __init__(self, txt: str):
self.o: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
j = B("j")
d = B("d")
b = A("b")
g = A("g")
a = A("a")
f = A("f")
i.o = d
i.w = a
j.v = d
d.v = j
b.o = j
b.w = g
g.o = j
g.w = f
a.o = d
a.w = b
f.o = d
f.w = g
assert d.v.v.v.v.v.v.v.txt == "j" | d | j | d | j | d | j | d | j | j | d | j | d | j | d | j | d | 7 | 12 | 2 | 7 | 6 |
112 | class A:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
d = A("d")
e.s = g
e.t = d
g.t = j
g.v = d
j.t = g
j.v = e
d.s = j
d.t = e
assert g.v.t.s.t.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
d = A("d")
e.s = g
e.t = d
g.t = j
g.v = d
j.t = g
j.v = e
d.s = j
d.t = e
assert g.v.t.s.t.txt == "j" | g | d | e | g | j | x | x | x | j | g | e | d | g | x | x | x | 4 | 8 | 2 | 4 | 1 |
113 | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.s: B = None
self.txt = txt
d = A("d")
f = B("f")
h = B("h")
e = B("e")
g = B("g")
a = A("a")
b = A("b")
d.v = a
d.o = h
f.r = g
f.s = e
h.r = f
h.s = e
e.r = h
e.s = g
g.r = f
g.s = f
a.v = b
a.o = g
b.v = d
b.o = f
assert a.v.v.o.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.s: B = None
self.txt = txt
d = A("d")
f = B("f")
h = B("h")
e = B("e")
g = B("g")
a = A("a")
b = A("b")
d.v = a
d.o = h
f.r = g
f.s = e
h.r = f
h.s = e
e.r = h
e.s = g
g.r = f
g.s = f
a.v = b
a.o = g
b.v = d
b.o = f
assert a.v.v.o.s.txt == "e" | a | b | d | h | e | x | x | x | e | h | d | b | a | x | x | x | 7 | 13 | 2 | 4 | 0 |
114 | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
b = A("b")
c = B("c")
j = A("j")
d = B("d")
f = B("f")
e = B("e")
b.u = f
b.y = j
c.u = e
c.w = j
j.u = f
j.y = b
d.u = c
d.w = j
f.u = c
f.w = j
e.u = d
e.w = b
assert c.w.y.u.w.u.u.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.w: A = None
self.txt = txt
b = A("b")
c = B("c")
j = A("j")
d = B("d")
f = B("f")
e = B("e")
b.u = f
b.y = j
c.u = e
c.w = j
j.u = f
j.y = b
d.u = c
d.w = j
f.u = c
f.w = j
e.u = d
e.w = b
assert c.w.y.u.w.u.u.txt == "c" | c | j | b | f | j | f | c | x | c | f | j | f | b | j | c | x | 6 | 12 | 2 | 6 | 3 |
115 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
g = A("g")
d = B("d")
j = B("j")
i = A("i")
b = A("b")
g.y = d
d.x = j
d.y = j
j.x = d
j.y = d
i.y = j
b.y = d
assert j.x.x.x.x.txt == " | j" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
g = A("g")
d = B("d")
j = B("j")
i = A("i")
b = A("b")
g.y = d
d.x = j
d.y = j
j.x = d
j.y = d
i.y = j
b.y = d
assert j.x.x.x.x.txt == "j" | j | d | j | d | j | x | x | x | j | d | j | d | j | x | x | x | 5 | 5 | 2 | 4 | 3 |
116 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
f = A("f")
g = B("g")
h = B("h")
e = A("e")
f.w = h
g.t = h
h.t = g
e.w = h
assert g.t.t.t.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
f = A("f")
g = B("g")
h = B("h")
e = A("e")
f.w = h
g.t = h
h.t = g
e.w = h
assert g.t.t.t.txt == "h" | g | h | g | h | x | x | x | x | h | g | h | g | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
117 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
c = B("c")
e = B("e")
d = B("d")
b = A("b")
h.r = d
c.p = d
e.p = d
d.p = e
b.r = e
assert d.p.p.p.p.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
c = B("c")
e = B("e")
d = B("d")
b = A("b")
h.r = d
c.p = d
e.p = d
d.p = e
b.r = e
assert d.p.p.p.p.txt == "d" | d | e | d | e | d | x | x | x | d | e | d | e | d | x | x | x | 5 | 5 | 2 | 4 | 3 |
118 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
h = A("h")
f = B("f")
g = A("g")
b = B("b")
a = A("a")
c = B("c")
i = A("i")
h.r = b
f.v = c
g.r = b
b.v = f
a.r = f
c.v = f
i.r = f
assert a.r.v.v.v.txt == " | c" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
h = A("h")
f = B("f")
g = A("g")
b = B("b")
a = A("a")
c = B("c")
i = A("i")
h.r = b
f.v = c
g.r = b
b.v = f
a.r = f
c.v = f
i.r = f
assert a.r.v.v.v.txt == "c" | a | f | c | f | c | x | x | x | c | f | c | f | a | x | x | x | 7 | 7 | 2 | 4 | 2 |
119 | class A:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
e = A("e")
h = B("h")
j = A("j")
i = A("i")
e.q = j
e.v = i
h.s = j
h.o = i
j.q = i
j.v = e
i.q = e
i.v = e
assert h.s.v.q.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
e = A("e")
h = B("h")
j = A("j")
i = A("i")
e.q = j
e.v = i
h.s = j
h.o = i
j.q = i
j.v = e
i.q = e
i.v = e
assert h.s.v.q.v.txt == "e" | h | j | e | j | e | x | x | x | e | j | e | j | h | x | x | x | 4 | 7 | 2 | 4 | 2 |
120 | class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
i = A("i")
c = B("c")
a = B("a")
d = A("d")
h = A("h")
j = A("j")
b = A("b")
i.s = c
i.o = d
c.z = a
c.o = b
a.z = c
a.o = j
d.s = c
d.o = i
h.s = c
h.o = i
j.s = c
j.o = b
b.s = a
b.o = i
assert i.o.s.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
i = A("i")
c = B("c")
a = B("a")
d = A("d")
h = A("h")
j = A("j")
b = A("b")
i.s = c
i.o = d
c.z = a
c.o = b
a.z = c
a.o = j
d.s = c
d.o = i
h.s = c
h.o = i
j.s = c
j.o = b
b.s = a
b.o = i
assert i.o.s.z.txt == "a" | i | d | c | a | x | x | x | x | a | c | d | i | x | x | x | x | 7 | 14 | 2 | 3 | 0 |
121 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
j = B("j")
d = A("d")
e.x = h
h.w = j
j.w = h
d.x = h
assert j.w.w.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
j = B("j")
d = A("d")
e.x = h
h.w = j
j.w = h
d.x = h
assert j.w.w.w.txt == "h" | j | h | j | h | x | x | x | x | h | j | h | j | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
122 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.t: B = None
self.txt = txt
i = A("i")
b = B("b")
f = B("f")
i.y = b
b.u = f
b.t = f
f.u = b
f.t = b
assert b.u.t.u.txt == " | f" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.t: B = None
self.txt = txt
i = A("i")
b = B("b")
f = B("f")
i.y = b
b.u = f
b.t = f
f.u = b
f.t = b
assert b.u.t.u.txt == "f" | b | f | b | f | x | x | x | x | f | b | f | b | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
123 | class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
b = A("b")
j = B("j")
a = B("a")
c = A("c")
b.q = c
b.s = c
j.w = a
a.w = j
c.q = b
c.s = b
assert j.w.w.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
b = A("b")
j = B("j")
a = B("a")
c = A("c")
b.q = c
b.s = c
j.w = a
a.w = j
c.q = b
c.s = b
assert j.w.w.w.txt == "a" | j | a | j | a | x | x | x | x | a | j | a | j | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
124 | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
a = A("a")
e = B("e")
f = B("f")
a.u = e
a.x = f
e.q = a
f.q = a
assert a.x.q.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
a = A("a")
e = B("e")
f = B("f")
a.u = e
a.x = f
e.q = a
f.q = a
assert a.x.q.x.txt == "f" | a | f | a | f | x | x | x | x | f | a | f | a | x | x | x | x | 3 | 4 | 2 | 3 | 2 |
125 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
a = A("a")
b.q = a
c.q = a
c.s = a
a.q = b
assert c.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
a = A("a")
b.q = a
c.q = a
c.s = a
a.q = b
assert c.q.q.q.txt == "a" | c | a | b | a | x | x | x | x | a | b | a | c | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
126 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
c = A("c")
e = B("e")
g = B("g")
j = B("j")
c.z = j
e.v = c
e.s = j
g.v = c
g.s = j
j.v = c
j.s = e
assert j.v.z.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
c = A("c")
e = B("e")
g = B("g")
j = B("j")
c.z = j
e.v = c
e.s = j
g.v = c
g.s = j
j.v = c
j.s = e
assert j.v.z.s.txt == "e" | j | c | j | e | x | x | x | x | e | j | c | j | x | x | x | x | 4 | 7 | 2 | 3 | 1 |
127 | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: A = None
self.txt = txt
c = A("c")
b = B("b")
f = B("f")
c.x = f
c.o = f
b.t = c
b.r = c
f.t = c
f.r = c
assert c.o.r.o.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: A = None
self.txt = txt
c = A("c")
b = B("b")
f = B("f")
c.x = f
c.o = f
b.t = c
b.r = c
f.t = c
f.r = c
assert c.o.r.o.txt == "f" | c | f | c | f | x | x | x | x | f | c | f | c | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
128 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
b = A("b")
a = B("a")
d = B("d")
h = A("h")
j = B("j")
c = A("c")
g = B("g")
b.o = c
a.w = d
a.s = j
d.w = g
d.s = a
h.o = c
j.w = a
j.s = g
c.o = h
g.w = d
g.s = d
assert h.o.o.o.o.o.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
b = A("b")
a = B("a")
d = B("d")
h = A("h")
j = B("j")
c = A("c")
g = B("g")
b.o = c
a.w = d
a.s = j
d.w = g
d.s = a
h.o = c
j.w = a
j.s = g
c.o = h
g.w = d
g.s = d
assert h.o.o.o.o.o.txt == "c" | h | c | h | c | h | c | x | x | c | h | c | h | c | h | x | x | 7 | 10 | 2 | 5 | 4 |
129 | class A:
def __init__(self, txt: str):
self.y: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.x: B = None
self.txt = txt
i = A("i")
b = B("b")
c = A("c")
a = B("a")
g = A("g")
i.y = c
i.s = a
b.t = i
b.x = a
c.y = i
c.s = b
a.t = i
a.x = b
g.y = i
g.s = a
assert b.t.s.x.x.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.x: B = None
self.txt = txt
i = A("i")
b = B("b")
c = A("c")
a = B("a")
g = A("g")
i.y = c
i.s = a
b.t = i
b.x = a
c.y = i
c.s = b
a.t = i
a.x = b
g.y = i
g.s = a
assert b.t.s.x.x.txt == "a" | b | i | a | b | a | x | x | x | a | b | a | i | b | x | x | x | 5 | 10 | 2 | 4 | 2 |
130 | class A:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
d = A("d")
a = B("a")
f = B("f")
e = A("e")
d.q = a
d.u = a
a.z = e
a.y = f
f.z = d
f.y = a
e.q = f
e.u = f
assert d.q.z.u.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.q: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.y: B = None
self.txt = txt
d = A("d")
a = B("a")
f = B("f")
e = A("e")
d.q = a
d.u = a
a.z = e
a.y = f
f.z = d
f.y = a
e.q = f
e.u = f
assert d.q.z.u.z.txt == "d" | d | a | e | f | d | x | x | x | d | f | e | a | d | x | x | x | 4 | 6 | 2 | 4 | 1 |
131 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
g = A("g")
f = B("f")
j = A("j")
g.y = f
f.y = g
j.y = f
assert f.y.y.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
g = A("g")
f = B("f")
j = A("j")
g.y = f
f.y = g
j.y = f
assert f.y.y.y.txt == "g" | f | g | f | g | x | x | x | x | g | f | g | f | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
132 | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
j = B("j")
a = B("a")
h.z = j
h.y = a
j.s = h
a.s = h
assert a.s.y.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
j = B("j")
a = B("a")
h.z = j
h.y = a
j.s = h
a.s = h
assert a.s.y.s.txt == "h" | a | h | a | h | x | x | x | x | h | a | h | a | x | x | x | x | 3 | 4 | 2 | 3 | 2 |
133 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.x: B = None
self.txt = txt
e = A("e")
j = B("j")
c = A("c")
a = A("a")
i = A("i")
g = B("g")
e.t = a
j.o = a
j.x = g
c.t = i
a.t = i
i.t = c
g.o = c
g.x = j
assert g.o.t.t.txt == " | c" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.x: B = None
self.txt = txt
e = A("e")
j = B("j")
c = A("c")
a = A("a")
i = A("i")
g = B("g")
e.t = a
j.o = a
j.x = g
c.t = i
a.t = i
i.t = c
g.o = c
g.x = j
assert g.o.t.t.txt == "c" | g | c | i | c | x | x | x | x | c | i | c | g | x | x | x | x | 6 | 8 | 2 | 3 | 1 |
134 | class A:
def __init__(self, txt: str):
self.v: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
i = A("i")
c = B("c")
h = B("h")
b = B("b")
j = A("j")
f = B("f")
d = B("d")
i.v = b
i.r = c
c.z = j
h.z = j
b.z = i
j.v = c
j.r = h
f.z = j
d.z = j
assert d.z.r.z.r.z.txt == " | j" | class A:
def __init__(self, txt: str):
self.v: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
i = A("i")
c = B("c")
h = B("h")
b = B("b")
j = A("j")
f = B("f")
d = B("d")
i.v = b
i.r = c
c.z = j
h.z = j
b.z = i
j.v = c
j.r = h
f.z = j
d.z = j
assert d.z.r.z.r.z.txt == "j" | d | j | h | j | h | j | x | x | j | h | j | h | j | d | x | x | 7 | 9 | 2 | 5 | 3 |
135 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.q: B = None
self.txt = txt
c = A("c")
h = B("h")
d = B("d")
c.u = d
h.t = d
h.q = d
d.t = h
d.q = h
assert c.u.q.t.txt == " | d" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.q: B = None
self.txt = txt
c = A("c")
h = B("h")
d = B("d")
c.u = d
h.t = d
h.q = d
d.t = h
d.q = h
assert c.u.q.t.txt == "d" | c | d | h | d | x | x | x | x | d | h | d | c | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
136 | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
d = A("d")
b = B("b")
f = B("f")
j = B("j")
d.q = b
d.o = f
b.s = j
b.u = f
f.s = b
f.u = b
j.s = b
j.u = b
assert j.s.u.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
d = A("d")
b = B("b")
f = B("f")
j = B("j")
d.q = b
d.o = f
b.s = j
b.u = f
f.s = b
f.u = b
j.s = b
j.u = b
assert j.s.u.u.txt == "b" | j | b | f | b | x | x | x | x | b | f | b | j | x | x | x | x | 4 | 6 | 2 | 3 | 1 |
137 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
e = A("e")
j = B("j")
h = B("h")
e.y = h
j.w = h
j.s = h
h.w = j
h.s = j
assert e.y.s.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
e = A("e")
j = B("j")
h = B("h")
e.y = h
j.w = h
j.s = h
h.w = j
h.s = j
assert e.y.s.s.txt == "h" | e | h | j | h | x | x | x | x | h | j | h | e | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
138 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.q: B = None
self.txt = txt
h = A("h")
b = B("b")
i = A("i")
e = B("e")
f = A("f")
g = A("g")
h.s = f
b.z = h
b.q = e
i.s = g
e.z = g
e.q = b
f.s = h
g.s = i
assert h.s.s.s.s.s.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.q: B = None
self.txt = txt
h = A("h")
b = B("b")
i = A("i")
e = B("e")
f = A("f")
g = A("g")
h.s = f
b.z = h
b.q = e
i.s = g
e.z = g
e.q = b
f.s = h
g.s = i
assert h.s.s.s.s.s.s.txt == "h" | h | f | h | f | h | f | h | x | h | f | h | f | h | f | h | x | 6 | 8 | 2 | 6 | 5 |
139 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: B = None
self.txt = txt
c = A("c")
j = B("j")
a = A("a")
g = B("g")
i = B("i")
c.z = a
j.y = i
j.q = i
a.z = c
g.y = j
g.q = j
i.y = g
i.q = j
assert g.q.y.y.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.q: B = None
self.txt = txt
c = A("c")
j = B("j")
a = A("a")
g = B("g")
i = B("i")
c.z = a
j.y = i
j.q = i
a.z = c
g.y = j
g.q = j
i.y = g
i.q = j
assert g.q.y.y.y.txt == "j" | g | j | i | g | j | x | x | x | j | g | i | j | g | x | x | x | 5 | 6 | 2 | 4 | 2 |
140 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
d = A("d")
h = B("h")
e = B("e")
i = A("i")
d.q = e
h.t = e
e.t = h
i.q = e
assert h.t.t.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
d = A("d")
h = B("h")
e = B("e")
i = A("i")
d.q = e
h.t = e
e.t = h
i.q = e
assert h.t.t.t.txt == "e" | h | e | h | e | x | x | x | x | e | h | e | h | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
141 | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
b = A("b")
d = B("d")
f = B("f")
b.o = f
b.q = f
d.o = f
d.x = b
f.o = d
f.x = b
assert d.x.q.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
b = A("b")
d = B("d")
f = B("f")
b.o = f
b.q = f
d.o = f
d.x = b
f.o = d
f.x = b
assert d.x.q.o.txt == "d" | d | b | f | d | x | x | x | x | d | f | b | d | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
142 | class A:
def __init__(self, txt: str):
self.w: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
e = A("e")
c = B("c")
b = B("b")
e.w = b
e.u = c
c.x = b
c.o = b
b.x = c
b.o = c
assert b.o.x.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.w: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
e = A("e")
c = B("c")
b = B("b")
e.w = b
e.u = c
c.x = b
c.o = b
b.x = c
b.o = c
assert b.o.x.x.txt == "c" | b | c | b | c | x | x | x | x | c | b | c | b | x | x | x | x | 3 | 4 | 2 | 3 | 2 |
143 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
g = A("g")
i = B("i")
e = B("e")
c = A("c")
b = A("b")
j = B("j")
g.r = b
i.q = e
i.t = b
e.q = i
e.t = g
c.r = b
b.r = c
j.q = i
j.t = g
assert b.r.r.r.r.r.r.txt == " | b" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.t: A = None
self.txt = txt
g = A("g")
i = B("i")
e = B("e")
c = A("c")
b = A("b")
j = B("j")
g.r = b
i.q = e
i.t = b
e.q = i
e.t = g
c.r = b
b.r = c
j.q = i
j.t = g
assert b.r.r.r.r.r.r.txt == "b" | b | c | b | c | b | c | b | x | b | c | b | c | b | c | b | x | 6 | 9 | 2 | 6 | 5 |
144 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
h = A("h")
f = B("f")
d = B("d")
c = A("c")
h.y = c
f.u = d
f.x = d
d.u = f
d.x = f
c.y = h
assert c.y.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
h = A("h")
f = B("f")
d = B("d")
c = A("c")
h.y = c
f.u = d
f.x = d
d.u = f
d.x = f
c.y = h
assert c.y.y.y.y.txt == "c" | c | h | c | h | c | x | x | x | c | h | c | h | c | x | x | x | 4 | 4 | 2 | 4 | 3 |
145 | class A:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
a = A("a")
h = B("h")
d = B("d")
c = A("c")
b = B("b")
e = B("e")
a.y = c
a.r = h
h.y = c
d.y = c
c.y = a
c.r = b
b.y = c
e.y = c
assert a.y.r.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
a = A("a")
h = B("h")
d = B("d")
c = A("c")
b = B("b")
e = B("e")
a.y = c
a.r = h
h.y = c
d.y = c
c.y = a
c.r = b
b.y = c
e.y = c
assert a.y.r.y.txt == "c" | a | c | b | c | x | x | x | x | c | b | c | a | x | x | x | x | 6 | 8 | 2 | 3 | 1 |
146 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
a = A("a")
c = B("c")
e = B("e")
b = A("b")
j = A("j")
d = A("d")
h = A("h")
a.v = d
c.q = h
c.t = a
e.q = b
e.t = b
b.v = h
j.v = a
d.v = b
h.v = j
assert c.t.v.v.txt == " | b" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.t: A = None
self.txt = txt
a = A("a")
c = B("c")
e = B("e")
b = A("b")
j = A("j")
d = A("d")
h = A("h")
a.v = d
c.q = h
c.t = a
e.q = b
e.t = b
b.v = h
j.v = a
d.v = b
h.v = j
assert c.t.v.v.txt == "b" | c | a | d | b | x | x | x | x | b | d | a | c | x | x | x | x | 7 | 8 | 2 | 3 | 0 |
147 | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.q: B = None
self.txt = txt
e = A("e")
a = B("a")
j = B("j")
h = A("h")
e.z = a
e.w = j
a.s = j
a.q = j
j.s = a
j.q = a
h.z = a
h.w = j
assert e.w.s.s.txt == " | j" | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.q: B = None
self.txt = txt
e = A("e")
a = B("a")
j = B("j")
h = A("h")
e.z = a
e.w = j
a.s = j
a.q = j
j.s = a
j.q = a
h.z = a
h.w = j
assert e.w.s.s.txt == "j" | e | j | a | j | x | x | x | x | j | a | j | e | x | x | x | x | 4 | 6 | 2 | 3 | 1 |
148 | class A:
def __init__(self, txt: str):
self.p: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
i = A("i")
a = B("a")
j = A("j")
e = B("e")
d = A("d")
i.p = j
i.t = e
a.x = i
j.p = i
j.t = e
e.x = i
d.p = i
d.t = e
assert a.x.p.p.p.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.p: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
i = A("i")
a = B("a")
j = A("j")
e = B("e")
d = A("d")
i.p = j
i.t = e
a.x = i
j.p = i
j.t = e
e.x = i
d.p = i
d.t = e
assert a.x.p.p.p.t.txt == "e" | a | i | j | i | j | e | x | x | e | j | i | j | i | a | x | x | 5 | 8 | 2 | 5 | 2 |
149 | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
b = A("b")
e = B("e")
d = A("d")
h = A("h")
g = B("g")
f = B("f")
c = A("c")
b.x = e
b.o = g
e.w = d
d.x = g
d.o = e
h.x = g
h.o = e
g.w = h
f.w = h
c.x = e
c.o = e
assert g.w.x.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
b = A("b")
e = B("e")
d = A("d")
h = A("h")
g = B("g")
f = B("f")
c = A("c")
b.x = e
b.o = g
e.w = d
d.x = g
d.o = e
h.x = g
h.o = e
g.w = h
f.w = h
c.x = e
c.o = e
assert g.w.x.w.txt == "h" | g | h | g | h | x | x | x | x | h | g | h | g | x | x | x | x | 7 | 10 | 2 | 3 | 2 |
150 | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
j = A("j")
b = B("b")
i = A("i")
g = A("g")
e = B("e")
a = A("a")
h = A("h")
j.v = b
j.u = e
b.u = e
b.p = e
i.v = b
i.u = b
g.v = e
g.u = e
e.u = b
e.p = b
a.v = e
a.u = e
h.v = b
h.u = b
assert i.u.p.p.p.u.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
j = A("j")
b = B("b")
i = A("i")
g = A("g")
e = B("e")
a = A("a")
h = A("h")
j.v = b
j.u = e
b.u = e
b.p = e
i.v = b
i.u = b
g.v = e
g.u = e
e.u = b
e.p = b
a.v = e
a.u = e
h.v = b
h.u = b
assert i.u.p.p.p.u.p.txt == "e" | i | b | e | b | e | b | e | x | e | b | e | b | e | b | i | x | 7 | 8 | 2 | 6 | 4 |
151 | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.r: A = None
self.txt = txt
e = A("e")
h = B("h")
a = B("a")
f = A("f")
e.w = a
e.o = f
h.v = a
h.r = e
a.v = h
a.r = f
f.w = h
f.o = e
assert e.o.o.o.o.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.r: A = None
self.txt = txt
e = A("e")
h = B("h")
a = B("a")
f = A("f")
e.w = a
e.o = f
h.v = a
h.r = e
a.v = h
a.r = f
f.w = h
f.o = e
assert e.o.o.o.o.txt == "e" | e | f | e | f | e | x | x | x | e | f | e | f | e | x | x | x | 4 | 8 | 2 | 4 | 3 |
152 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.t: A = None
self.txt = txt
h = A("h")
g = B("g")
j = B("j")
f = B("f")
a = A("a")
i = A("i")
e = A("e")
h.o = j
g.x = j
g.t = a
j.x = f
j.t = e
f.x = g
f.t = a
a.o = f
i.o = j
e.o = g
assert e.o.t.o.x.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.t: A = None
self.txt = txt
h = A("h")
g = B("g")
j = B("j")
f = B("f")
a = A("a")
i = A("i")
e = A("e")
h.o = j
g.x = j
g.t = a
j.x = f
j.t = e
f.x = g
f.t = a
a.o = f
i.o = j
e.o = g
assert e.o.t.o.x.txt == "g" | e | g | a | f | g | x | x | x | g | f | a | g | e | x | x | x | 7 | 10 | 2 | 4 | 1 |
153 | class A:
def __init__(self, txt: str):
self.u: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
j = A("j")
i = B("i")
d = A("d")
f = A("f")
a = B("a")
c = A("c")
b = B("b")
j.u = b
j.q = c
i.z = b
d.u = i
d.q = j
f.u = b
f.q = c
a.z = i
c.u = b
c.q = j
b.z = a
assert f.u.z.z.z.txt == " | b" | class A:
def __init__(self, txt: str):
self.u: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
j = A("j")
i = B("i")
d = A("d")
f = A("f")
a = B("a")
c = A("c")
b = B("b")
j.u = b
j.q = c
i.z = b
d.u = i
d.q = j
f.u = b
f.q = c
a.z = i
c.u = b
c.q = j
b.z = a
assert f.u.z.z.z.txt == "b" | f | b | a | i | b | x | x | x | b | i | a | b | f | x | x | x | 7 | 11 | 2 | 4 | 1 |
154 | class A:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
c = B("c")
h = A("h")
d = B("d")
j.w = c
j.q = d
c.q = h
h.w = d
h.q = d
d.q = h
assert j.q.q.w.q.txt == " | h" | class A:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
c = B("c")
h = A("h")
d = B("d")
j.w = c
j.q = d
c.q = h
h.w = d
h.q = d
d.q = h
assert j.q.q.w.q.txt == "h" | j | d | h | d | h | x | x | x | h | d | h | d | j | x | x | x | 4 | 5 | 2 | 4 | 2 |
155 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.v: A = None
self.txt = txt
i = A("i")
g = B("g")
a = A("a")
c = B("c")
i.u = c
g.z = i
g.v = i
a.u = c
c.z = a
c.v = a
assert i.u.v.u.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.v: A = None
self.txt = txt
i = A("i")
g = B("g")
a = A("a")
c = B("c")
i.u = c
g.z = i
g.v = i
a.u = c
c.z = a
c.v = a
assert i.u.v.u.txt == "c" | i | c | a | c | x | x | x | x | c | a | c | i | x | x | x | x | 4 | 4 | 2 | 3 | 1 |
156 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
b = A("b")
j = B("j")
f = B("f")
a = A("a")
g = A("g")
b.z = j
j.v = b
f.v = a
a.z = f
g.z = f
assert a.z.v.z.v.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
b = A("b")
j = B("j")
f = B("f")
a = A("a")
g = A("g")
b.z = j
j.v = b
f.v = a
a.z = f
g.z = f
assert a.z.v.z.v.txt == "a" | a | f | a | f | a | x | x | x | a | f | a | f | a | x | x | x | 5 | 5 | 2 | 4 | 3 |
157 | class A:
def __init__(self, txt: str):
self.p: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
b = A("b")
d = B("d")
g = B("g")
c = A("c")
b.p = c
b.t = c
d.r = g
d.u = b
g.r = d
g.u = b
c.p = b
c.t = b
assert d.r.u.t.t.txt == " | b" | class A:
def __init__(self, txt: str):
self.p: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
b = A("b")
d = B("d")
g = B("g")
c = A("c")
b.p = c
b.t = c
d.r = g
d.u = b
g.r = d
g.u = b
c.p = b
c.t = b
assert d.r.u.t.t.txt == "b" | d | g | b | c | b | x | x | x | b | c | b | g | d | x | x | x | 4 | 6 | 2 | 4 | 1 |
158 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
e = A("e")
i = B("i")
f = B("f")
e.r = i
i.y = e
i.r = f
f.y = e
f.r = i
assert i.r.y.r.txt == " | i" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
e = A("e")
i = B("i")
f = B("f")
e.r = i
i.y = e
i.r = f
f.y = e
f.r = i
assert i.r.y.r.txt == "i" | i | f | e | i | x | x | x | x | i | e | f | i | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
159 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
j = B("j")
g = A("g")
f = B("f")
e = A("e")
c = A("c")
d.r = f
j.w = f
g.r = j
f.w = j
e.r = f
c.r = f
assert j.w.w.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
j = B("j")
g = A("g")
f = B("f")
e = A("e")
c = A("c")
d.r = f
j.w = f
g.r = j
f.w = j
e.r = f
c.r = f
assert j.w.w.w.txt == "f" | j | f | j | f | x | x | x | x | f | j | f | j | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
160 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
c = A("c")
h = B("h")
a.z = d
d.u = a
d.w = c
g.u = a
g.w = a
c.z = h
h.u = a
h.w = c
assert g.w.z.u.z.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
c = A("c")
h = B("h")
a.z = d
d.u = a
d.w = c
g.u = a
g.w = a
c.z = h
h.u = a
h.w = c
assert g.w.z.u.z.txt == "d" | g | a | d | a | d | x | x | x | d | a | d | a | g | x | x | x | 5 | 7 | 2 | 4 | 2 |
161 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
a = B("a")
e = A("e")
c.w = e
g.r = a
a.r = g
e.w = c
assert e.w.w.w.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
a = B("a")
e = A("e")
c.w = e
g.r = a
a.r = g
e.w = c
assert e.w.w.w.w.txt == "e" | e | c | e | c | e | x | x | x | e | c | e | c | e | x | x | x | 4 | 4 | 2 | 4 | 3 |
162 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
c = B("c")
f = B("f")
h = A("h")
i = A("i")
a = B("a")
j = A("j")
g.t = h
c.p = j
f.p = j
h.t = i
i.t = h
a.p = i
j.t = g
assert a.p.t.t.t.t.t.t.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
c = B("c")
f = B("f")
h = A("h")
i = A("i")
a = B("a")
j = A("j")
g.t = h
c.p = j
f.p = j
h.t = i
i.t = h
a.p = i
j.t = g
assert a.p.t.t.t.t.t.t.txt == "i" | a | i | h | i | h | i | h | i | i | h | i | h | i | h | i | a | 7 | 7 | 2 | 7 | 5 |
163 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
e = A("e")
a = B("a")
c = A("c")
f = B("f")
j = B("j")
d = B("d")
e.v = c
a.y = e
c.v = e
f.y = c
j.y = c
d.y = e
assert e.v.v.v.txt == " | c" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
e = A("e")
a = B("a")
c = A("c")
f = B("f")
j = B("j")
d = B("d")
e.v = c
a.y = e
c.v = e
f.y = c
j.y = c
d.y = e
assert e.v.v.v.txt == "c" | e | c | e | c | x | x | x | x | c | e | c | e | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
164 | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
d = B("d")
f = A("f")
e = A("e")
a = A("a")
j = A("j")
i = A("i")
g.p = d
g.x = f
d.o = e
f.p = d
f.x = e
e.p = d
e.x = i
a.p = d
a.x = i
j.p = d
j.x = f
i.p = d
i.x = e
assert i.p.o.x.x.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
g = A("g")
d = B("d")
f = A("f")
e = A("e")
a = A("a")
j = A("j")
i = A("i")
g.p = d
g.x = f
d.o = e
f.p = d
f.x = e
e.p = d
e.x = i
a.p = d
a.x = i
j.p = d
j.x = f
i.p = d
i.x = e
assert i.p.o.x.x.x.txt == "i" | i | d | e | i | e | i | x | x | i | e | i | e | d | i | x | x | 7 | 13 | 2 | 5 | 3 |
165 | class A:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
a = A("a")
c = B("c")
i = A("i")
d = A("d")
a.x = d
a.q = d
c.o = d
c.t = a
i.x = a
i.q = a
d.x = i
d.q = a
assert i.q.q.q.q.txt == " | d" | class A:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
a = A("a")
c = B("c")
i = A("i")
d = A("d")
a.x = d
a.q = d
c.o = d
c.t = a
i.x = a
i.q = a
d.x = i
d.q = a
assert i.q.q.q.q.txt == "d" | i | a | d | a | d | x | x | x | d | a | d | a | i | x | x | x | 4 | 6 | 2 | 4 | 2 |
166 | class A:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
h = A("h")
f = B("f")
i = A("i")
a = B("a")
c = B("c")
b = B("b")
h.x = i
h.u = i
f.u = a
i.x = h
i.u = h
a.u = c
c.u = a
b.u = a
assert h.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
h = A("h")
f = B("f")
i = A("i")
a = B("a")
c = B("c")
b = B("b")
h.x = i
h.u = i
f.u = a
i.x = h
i.u = h
a.u = c
c.u = a
b.u = a
assert h.u.u.u.txt == "i" | h | i | h | i | x | x | x | x | i | h | i | h | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
167 | class A:
def __init__(self, txt: str):
self.r: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.q: B = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
c = A("c")
i = B("i")
f.r = b
f.q = a
a.x = i
a.q = i
b.r = f
b.q = a
c.r = f
c.q = a
i.x = a
i.q = a
assert c.q.q.x.x.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.q: B = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
c = A("c")
i = B("i")
f.r = b
f.q = a
a.x = i
a.q = i
b.r = f
b.q = a
c.r = f
c.q = a
i.x = a
i.q = a
assert c.q.q.x.x.q.txt == "a" | c | a | i | a | i | a | x | x | a | i | a | i | a | c | x | x | 5 | 8 | 2 | 5 | 3 |
168 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
e = A("e")
d = B("d")
j = B("j")
g = B("g")
b = A("b")
h = A("h")
f = A("f")
e.y = h
d.y = g
d.o = e
j.y = g
j.o = b
g.y = d
g.o = e
b.y = f
h.y = e
f.y = e
assert f.y.y.y.y.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
e = A("e")
d = B("d")
j = B("j")
g = B("g")
b = A("b")
h = A("h")
f = A("f")
e.y = h
d.y = g
d.o = e
j.y = g
j.o = b
g.y = d
g.o = e
b.y = f
h.y = e
f.y = e
assert f.y.y.y.y.txt == "h" | f | e | h | e | h | x | x | x | h | e | h | e | f | x | x | x | 7 | 10 | 2 | 4 | 2 |
169 | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.txt = txt
i = A("i")
f = B("f")
b = B("b")
d = A("d")
g = A("g")
a = B("a")
i.u = a
i.p = f
f.r = a
f.o = a
b.r = a
b.o = f
d.u = f
d.p = f
g.u = b
g.p = b
a.r = b
a.o = f
assert b.o.o.r.txt == " | b" | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.txt = txt
i = A("i")
f = B("f")
b = B("b")
d = A("d")
g = A("g")
a = B("a")
i.u = a
i.p = f
f.r = a
f.o = a
b.r = a
b.o = f
d.u = f
d.p = f
g.u = b
g.p = b
a.r = b
a.o = f
assert b.o.o.r.txt == "b" | b | f | a | b | x | x | x | x | b | a | f | b | x | x | x | x | 6 | 9 | 2 | 3 | 1 |
170 | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
f.q = i
f.o = e
e.r = f
i.r = f
assert f.q.r.o.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
f.q = i
f.o = e
e.r = f
i.r = f
assert f.q.r.o.txt == "e" | f | i | f | e | x | x | x | x | e | f | i | f | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
171 | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
i = B("i")
f = A("f")
b = A("b")
g.q = i
g.x = i
i.p = g
f.q = i
f.x = i
b.q = i
b.x = i
assert i.p.x.p.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
i = B("i")
f = A("f")
b = A("b")
g.q = i
g.x = i
i.p = g
f.q = i
f.x = i
b.q = i
b.x = i
assert i.p.x.p.txt == "g" | i | g | i | g | x | x | x | x | g | i | g | i | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
172 | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
c = A("c")
b = B("b")
e = A("e")
g = A("g")
d = B("d")
c.r = b
c.y = e
b.r = d
b.w = e
e.r = d
e.y = c
g.r = d
g.y = c
d.r = b
d.w = g
assert d.r.r.r.r.r.txt == " | b" | class A:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
c = A("c")
b = B("b")
e = A("e")
g = A("g")
d = B("d")
c.r = b
c.y = e
b.r = d
b.w = e
e.r = d
e.y = c
g.r = d
g.y = c
d.r = b
d.w = g
assert d.r.r.r.r.r.txt == "b" | d | b | d | b | d | b | x | x | b | d | b | d | b | d | x | x | 5 | 10 | 2 | 5 | 4 |
173 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.s: A = None
self.txt = txt
f = A("f")
h = B("h")
d = A("d")
b = B("b")
f.x = b
h.o = f
h.s = f
d.x = h
b.o = f
b.s = f
assert b.o.x.s.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.s: A = None
self.txt = txt
f = A("f")
h = B("h")
d = A("d")
b = B("b")
f.x = b
h.o = f
h.s = f
d.x = h
b.o = f
b.s = f
assert b.o.x.s.txt == "f" | b | f | b | f | x | x | x | x | f | b | f | b | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
174 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
f = B("f")
d = B("d")
b.w = d
f.v = d
d.v = f
assert f.v.v.v.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
f = B("f")
d = B("d")
b.w = d
f.v = d
d.v = f
assert f.v.v.v.txt == "d" | f | d | f | d | x | x | x | x | d | f | d | f | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
175 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
h = B("h")
a = A("a")
f = B("f")
c = B("c")
j.q = a
h.q = a
a.q = j
f.q = a
c.q = j
assert a.q.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
h = B("h")
a = A("a")
f = B("f")
c = B("c")
j.q = a
h.q = a
a.q = j
f.q = a
c.q = j
assert a.q.q.q.q.txt == "a" | a | j | a | j | a | x | x | x | a | j | a | j | a | x | x | x | 5 | 5 | 2 | 4 | 3 |
176 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
a = A("a")
i = B("i")
b = B("b")
c = A("c")
g = B("g")
a.v = g
i.x = g
b.x = g
c.v = g
g.x = i
assert g.x.x.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
a = A("a")
i = B("i")
b = B("b")
c = A("c")
g = B("g")
a.v = g
i.x = g
b.x = g
c.v = g
g.x = i
assert g.x.x.x.txt == "i" | g | i | g | i | x | x | x | x | i | g | i | g | x | x | x | x | 5 | 5 | 2 | 3 | 2 |
177 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
a = B("a")
b = A("b")
d.v = c
c.o = d
c.y = a
a.o = b
a.y = c
b.v = a
assert a.y.y.o.v.txt == " | a" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
a = B("a")
b = A("b")
d.v = c
c.o = d
c.y = a
a.o = b
a.y = c
b.v = a
assert a.y.y.o.v.txt == "a" | a | c | a | b | a | x | x | x | a | b | a | c | a | x | x | x | 4 | 6 | 2 | 4 | 2 |
178 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
a = B("a")
h = B("h")
e.q = j
g.s = e
g.p = h
j.s = e
j.p = h
a.s = e
a.p = j
h.s = e
h.p = g
assert a.p.p.s.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.p: B = None
self.txt = txt
e = A("e")
g = B("g")
j = B("j")
a = B("a")
h = B("h")
e.q = j
g.s = e
g.p = h
j.s = e
j.p = h
a.s = e
a.p = j
h.s = e
h.p = g
assert a.p.p.s.q.txt == "j" | a | j | h | e | j | x | x | x | j | e | h | j | a | x | x | x | 5 | 9 | 2 | 4 | 1 |
179 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
g = B("g")
h = B("h")
j = A("j")
a.v = g
g.t = h
h.t = g
j.v = g
assert g.t.t.t.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
a = A("a")
g = B("g")
h = B("h")
j = A("j")
a.v = g
g.t = h
h.t = g
j.v = g
assert g.t.t.t.t.txt == "g" | g | h | g | h | g | x | x | x | g | h | g | h | g | x | x | x | 4 | 4 | 2 | 4 | 3 |
180 | class A:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
h = A("h")
j = B("j")
b = B("b")
e = B("e")
i = A("i")
c = A("c")
h.p = i
h.z = i
j.y = e
b.y = j
e.y = b
i.p = c
i.z = c
c.p = h
c.z = i
assert e.y.y.y.y.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.p: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
h = A("h")
j = B("j")
b = B("b")
e = B("e")
i = A("i")
c = A("c")
h.p = i
h.z = i
j.y = e
b.y = j
e.y = b
i.p = c
i.z = c
c.p = h
c.z = i
assert e.y.y.y.y.y.txt == "j" | e | b | j | e | b | j | x | x | j | b | e | j | b | e | x | x | 6 | 7 | 2 | 5 | 3 |
181 | class A:
def __init__(self, txt: str):
self.z: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
i = A("i")
f = B("f")
j = B("j")
b.z = i
b.v = i
c.x = i
d.x = i
i.z = b
i.v = b
f.x = b
j.x = b
assert j.x.z.v.v.z.v.txt == " | i" | class A:
def __init__(self, txt: str):
self.z: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
i = A("i")
f = B("f")
j = B("j")
b.z = i
b.v = i
c.x = i
d.x = i
i.z = b
i.v = b
f.x = b
j.x = b
assert j.x.z.v.v.z.v.txt == "i" | j | b | i | b | i | b | i | x | i | b | i | b | i | b | j | x | 6 | 6 | 2 | 6 | 4 |
182 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.w: A = None
self.txt = txt
b = A("b")
a = B("a")
i = A("i")
e = A("e")
c = A("c")
g = A("g")
b.z = a
a.s = i
a.w = i
i.z = a
e.z = a
c.z = a
g.z = a
assert b.z.s.z.w.z.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.w: A = None
self.txt = txt
b = A("b")
a = B("a")
i = A("i")
e = A("e")
c = A("c")
g = A("g")
b.z = a
a.s = i
a.w = i
i.z = a
e.z = a
c.z = a
g.z = a
assert b.z.s.z.w.z.txt == "a" | b | a | i | a | i | a | x | x | a | i | a | i | a | b | x | x | 6 | 6 | 2 | 5 | 3 |
183 | class A:
def __init__(self, txt: str):
self.o: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: A = None
self.txt = txt
b = A("b")
g = B("g")
h = B("h")
i = A("i")
f = B("f")
b.o = i
b.z = f
g.x = h
g.u = b
h.x = g
h.u = b
i.o = b
i.z = f
f.x = g
f.u = i
assert g.u.z.x.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: A = None
self.txt = txt
b = A("b")
g = B("g")
h = B("h")
i = A("i")
f = B("f")
b.o = i
b.z = f
g.x = h
g.u = b
h.x = g
h.u = b
i.o = b
i.z = f
f.x = g
f.u = i
assert g.u.z.x.txt == "g" | g | b | f | g | x | x | x | x | g | f | b | g | x | x | x | x | 5 | 10 | 2 | 3 | 1 |
184 | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
i = B("i")
d = A("d")
j = A("j")
h = A("h")
e.u = i
e.x = i
i.o = h
d.u = i
d.x = i
j.u = i
j.x = i
h.u = i
h.x = i
assert e.x.o.u.o.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
i = B("i")
d = A("d")
j = A("j")
h = A("h")
e.u = i
e.x = i
i.o = h
d.u = i
d.x = i
j.u = i
j.x = i
h.u = i
h.x = i
assert e.x.o.u.o.u.txt == "i" | e | i | h | i | h | i | x | x | i | h | i | h | i | e | x | x | 5 | 5 | 2 | 5 | 3 |
185 | class A:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
h = B("h")
a = A("a")
c = A("c")
f = B("f")
j = B("j")
d.q = c
d.v = a
h.w = f
a.q = d
a.v = c
c.q = a
c.v = d
f.w = j
j.w = f
assert f.w.w.w.w.w.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
d = A("d")
h = B("h")
a = A("a")
c = A("c")
f = B("f")
j = B("j")
d.q = c
d.v = a
h.w = f
a.q = d
a.v = c
c.q = a
c.v = d
f.w = j
j.w = f
assert f.w.w.w.w.w.w.txt == "f" | f | j | f | j | f | j | f | x | f | j | f | j | f | j | f | x | 6 | 9 | 2 | 6 | 5 |
186 | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
d = A("d")
g = B("g")
h = B("h")
j = B("j")
c = A("c")
d.v = c
d.o = c
g.y = h
g.s = d
h.y = j
h.s = d
j.y = h
j.s = c
c.v = d
c.o = d
assert h.y.s.v.o.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
d = A("d")
g = B("g")
h = B("h")
j = B("j")
c = A("c")
d.v = c
d.o = c
g.y = h
g.s = d
h.y = j
h.s = d
j.y = h
j.s = c
c.v = d
c.o = d
assert h.y.s.v.o.o.txt == "d" | h | j | c | d | c | d | x | x | d | c | d | c | j | h | x | x | 5 | 8 | 2 | 5 | 2 |
187 | class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
e = A("e")
h = B("h")
c = A("c")
e.t = h
e.o = h
h.w = c
h.t = e
c.t = h
c.o = h
assert e.o.w.t.txt == " | h" | class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.t: A = None
self.txt = txt
e = A("e")
h = B("h")
c = A("c")
e.t = h
e.o = h
h.w = c
h.t = e
c.t = h
c.o = h
assert e.o.w.t.txt == "h" | e | h | c | h | x | x | x | x | h | c | h | e | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
188 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
j = A("j")
e = B("e")
c = A("c")
j.y = c
e.u = c
e.z = c
c.y = j
assert j.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.z: A = None
self.txt = txt
j = A("j")
e = B("e")
c = A("c")
j.y = c
e.u = c
e.z = c
c.y = j
assert j.y.y.y.txt == "c" | j | c | j | c | x | x | x | x | c | j | c | j | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
189 | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
b = B("b")
j = B("j")
h = A("h")
i = A("i")
a.s = i
c.r = b
g.s = a
b.r = j
j.r = c
h.s = a
i.s = h
assert b.r.r.r.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
b = B("b")
j = B("j")
h = A("h")
i = A("i")
a.s = i
c.r = b
g.s = a
b.r = j
j.r = c
h.s = a
i.s = h
assert b.r.r.r.r.txt == "j" | b | j | c | b | j | x | x | x | j | b | c | j | b | x | x | x | 7 | 7 | 2 | 4 | 2 |
190 | class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: A = None
self.txt = txt
g = A("g")
i = B("i")
a = A("a")
h = B("h")
b = B("b")
g.p = i
g.u = i
i.w = h
i.y = a
a.p = b
a.u = h
h.w = i
h.y = a
b.w = h
b.y = g
assert g.u.w.w.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.y: A = None
self.txt = txt
g = A("g")
i = B("i")
a = A("a")
h = B("h")
b = B("b")
g.p = i
g.u = i
i.w = h
i.y = a
a.p = b
a.u = h
h.w = i
h.y = a
b.w = h
b.y = g
assert g.u.w.w.y.txt == "a" | g | i | h | i | a | x | x | x | a | i | h | i | g | x | x | x | 5 | 9 | 2 | 4 | 1 |
191 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
e = A("e")
f = B("f")
b = B("b")
e.y = b
f.w = b
f.r = b
b.w = f
b.r = f
assert e.y.w.w.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
e = A("e")
f = B("f")
b = B("b")
e.y = b
f.w = b
f.r = b
b.w = f
b.r = f
assert e.y.w.w.txt == "b" | e | b | f | b | x | x | x | x | b | f | b | e | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
192 | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
e = A("e")
a = B("a")
j = A("j")
d = B("d")
b = A("b")
h = B("h")
e.o = a
e.r = j
a.p = b
a.y = b
j.o = d
j.r = e
d.p = b
d.y = e
b.o = d
b.r = j
h.p = j
h.y = e
assert e.o.y.o.p.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.y: A = None
self.txt = txt
e = A("e")
a = B("a")
j = A("j")
d = B("d")
b = A("b")
h = B("h")
e.o = a
e.r = j
a.p = b
a.y = b
j.o = d
j.r = e
d.p = b
d.y = e
b.o = d
b.r = j
h.p = j
h.y = e
assert e.o.y.o.p.o.txt == "d" | e | a | b | d | b | d | x | x | d | b | d | b | a | e | x | x | 6 | 11 | 2 | 5 | 2 |
193 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: A = None
self.txt = txt
f = A("f")
e = B("e")
j = B("j")
h = A("h")
f.r = h
e.s = h
e.q = f
j.s = f
j.q = f
h.r = f
assert j.s.r.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.q: A = None
self.txt = txt
f = A("f")
e = B("e")
j = B("j")
h = A("h")
f.r = h
e.s = h
e.q = f
j.s = f
j.q = f
h.r = f
assert j.s.r.r.txt == "f" | j | f | h | f | x | x | x | x | f | h | f | j | x | x | x | x | 4 | 5 | 2 | 3 | 1 |
194 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.v: B = None
self.txt = txt
b = A("b")
i = B("i")
d = B("d")
b.y = d
i.r = b
i.v = d
d.r = b
d.v = i
assert b.y.r.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.v: B = None
self.txt = txt
b = A("b")
i = B("i")
d = B("d")
b.y = d
i.r = b
i.v = d
d.r = b
d.v = i
assert b.y.r.y.txt == "d" | b | d | b | d | x | x | x | x | d | b | d | b | x | x | x | x | 3 | 5 | 2 | 3 | 2 |
195 | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
i = B("i")
g = A("g")
d.y = g
d.w = i
c.r = i
c.y = i
i.r = c
i.y = c
g.y = d
g.w = c
assert d.y.y.y.y.txt == " | d" | class A:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
i = B("i")
g = A("g")
d.y = g
d.w = i
c.r = i
c.y = i
i.r = c
i.y = c
g.y = d
g.w = c
assert d.y.y.y.y.txt == "d" | d | g | d | g | d | x | x | x | d | g | d | g | d | x | x | x | 4 | 6 | 2 | 4 | 3 |
196 | class A:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
f = A("f")
h = B("h")
j = A("j")
i = B("i")
g = A("g")
f.r = h
f.u = j
h.o = i
h.v = i
j.r = i
j.u = g
i.o = h
i.v = h
g.r = i
g.u = f
assert f.r.o.v.v.txt == " | i" | class A:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
f = A("f")
h = B("h")
j = A("j")
i = B("i")
g = A("g")
f.r = h
f.u = j
h.o = i
h.v = i
j.r = i
j.u = g
i.o = h
i.v = h
g.r = i
g.u = f
assert f.r.o.v.v.txt == "i" | f | h | i | h | i | x | x | x | i | h | i | h | f | x | x | x | 5 | 8 | 2 | 4 | 2 |
197 | class A:
def __init__(self, txt: str):
self.r: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
g = A("g")
d = B("d")
i = B("i")
f = B("f")
h = B("h")
e = A("e")
a = B("a")
g.r = e
g.w = e
d.w = f
d.x = i
i.w = d
i.x = h
f.w = d
f.x = a
h.w = f
h.x = i
e.r = g
e.w = g
a.w = h
a.x = i
assert g.r.r.w.r.txt == " | g" | class A:
def __init__(self, txt: str):
self.r: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
g = A("g")
d = B("d")
i = B("i")
f = B("f")
h = B("h")
e = A("e")
a = B("a")
g.r = e
g.w = e
d.w = f
d.x = i
i.w = d
i.x = h
f.w = d
f.x = a
h.w = f
h.x = i
e.r = g
e.w = g
a.w = h
a.x = i
assert g.r.r.w.r.txt == "g" | g | e | g | e | g | x | x | x | g | e | g | e | g | x | x | x | 7 | 12 | 2 | 4 | 3 |
198 | class A:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
f = B("f")
d = B("d")
i = A("i")
h.q = i
h.x = i
f.q = d
d.q = f
i.q = h
i.x = h
assert f.q.q.q.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
f = B("f")
d = B("d")
i = A("i")
h.q = i
h.x = i
f.q = d
d.q = f
i.q = h
i.x = h
assert f.q.q.q.q.txt == "f" | f | d | f | d | f | x | x | x | f | d | f | d | f | x | x | x | 4 | 4 | 2 | 4 | 3 |
199 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
b = B("b")
a.x = g
d.q = a
g.q = a
b.q = a
assert a.x.q.x.txt == " | g" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
b = B("b")
a.x = g
d.q = a
g.q = a
b.q = a
assert a.x.q.x.txt == "g" | a | g | a | g | x | x | x | x | g | a | g | a | x | x | x | x | 4 | 4 | 2 | 3 | 2 |