id
int64
0
6k
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
num_nodes
int64
3
7
num_edges
int64
3
29
num_classes
int64
2
7
path_length
int64
3
7
num_cycle
int64
0
6
200
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.s: A = None self.txt = txt f = A("f") h = B("h") i = B("i") e = A("e") a = A("a") f.y = e h.p = a h.s = f i.p = e i.s = a e.y = f a.y = e assert h.p.y.y.txt == "
f"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.s: A = None self.txt = txt f = A("f") h = B("h") i = B("i") e = A("e") a = A("a") f.y = e h.p = a h.s = f i.p = e i.s = a e.y = f a.y = e assert h.p.y.y.txt == "f"
h
a
e
f
x
x
x
x
5
7
2
3
0
201
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt d = A("d") c = B("c") g = B("g") j = B("j") e = A("e") f = B("f") i = A("i") d.w = j d.z = g c.p = e g.p = d j.p = e e.w = c e.z = f f.p = i i.w = f i.z = f assert g.p.z.p.z.p.txt == "
d"
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt d = A("d") c = B("c") g = B("g") j = B("j") e = A("e") f = B("f") i = A("i") d.w = j d.z = g c.p = e g.p = d j.p = e e.w = c e.z = f f.p = i i.w = f i.z = f assert g.p.z.p.z.p.txt == "d"
g
d
g
d
g
d
x
x
7
9
2
5
4
202
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt f = A("f") c = B("c") j = A("j") b = B("b") e = B("e") i = A("i") g = A("g") f.r = e c.r = f c.o = j j.r = b b.r = g b.o = i e.r = g e.o = g i.r = b g.r = c assert c.r.r.r.txt == "
g"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt f = A("f") c = B("c") j = A("j") b = B("b") e = B("e") i = A("i") g = A("g") f.r = e c.r = f c.o = j j.r = b b.r = g b.o = i e.r = g e.o = g i.r = b g.r = c assert c.r.r.r.txt == "g"
c
f
e
g
x
x
x
x
7
9
2
3
0
203
class A: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt c = A("c") a = B("a") h = B("h") c.q = h c.v = h a.v = c h.v = c assert c.v.v.q.txt == "
h"
class A: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt c = A("c") a = B("a") h = B("h") c.q = h c.v = h a.v = c h.v = c assert c.v.v.q.txt == "h"
c
h
c
h
x
x
x
x
3
3
2
3
2
204
class A: def __init__(self, txt: str): self.t: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt e = A("e") h = B("h") c = A("c") j = B("j") e.t = j e.s = c h.t = e c.t = h c.s = e j.t = e assert j.t.t.t.txt == "
e"
class A: def __init__(self, txt: str): self.t: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt e = A("e") h = B("h") c = A("c") j = B("j") e.t = j e.s = c h.t = e c.t = h c.s = e j.t = e assert j.t.t.t.txt == "e"
j
e
j
e
x
x
x
x
4
6
2
3
2
205
class A: def __init__(self, txt: str): self.o: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt h = A("h") i = B("i") j = B("j") h.o = j h.y = i i.u = j i.x = h j.u = i j.x = h assert h.o.u.x.txt == "
h"
class A: def __init__(self, txt: str): self.o: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt h = A("h") i = B("i") j = B("j") h.o = j h.y = i i.u = j i.x = h j.u = i j.x = h assert h.o.u.x.txt == "h"
h
j
i
h
x
x
x
x
3
6
2
3
1
206
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.w: A = None self.txt = txt e = A("e") a = B("a") g = B("g") e.v = g e.u = a a.w = e g.w = e assert e.u.w.v.txt == "
g"
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.w: A = None self.txt = txt e = A("e") a = B("a") g = B("g") e.v = g e.u = a a.w = e g.w = e assert e.u.w.v.txt == "g"
e
a
e
g
x
x
x
x
3
4
2
3
1
207
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") h = B("h") i = B("i") g = A("g") j = A("j") b = A("b") c = A("c") a.y = i h.y = i i.y = h g.y = i j.y = i b.y = i c.y = i assert h.y.y.y.y.y.y.txt == "
h"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") h = B("h") i = B("i") g = A("g") j = A("j") b = A("b") c = A("c") a.y = i h.y = i i.y = h g.y = i j.y = i b.y = i c.y = i assert h.y.y.y.y.y.y.txt == "h"
h
i
h
i
h
i
h
x
7
7
2
6
5
208
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.r: B = None self.txt = txt g = A("g") i = B("i") e = A("e") h = A("h") c = B("c") g.z = e i.z = c i.r = c e.z = g h.z = e c.z = i c.r = i assert g.z.z.z.z.z.txt == "
e"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.r: B = None self.txt = txt g = A("g") i = B("i") e = A("e") h = A("h") c = B("c") g.z = e i.z = c i.r = c e.z = g h.z = e c.z = i c.r = i assert g.z.z.z.z.z.txt == "e"
g
e
g
e
g
e
x
x
5
5
2
5
4
209
class A: def __init__(self, txt: str): self.v: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt b = A("b") g = B("g") e = B("e") i = A("i") a = B("a") c = B("c") j = A("j") b.v = i b.w = a g.p = c g.s = b e.p = c e.s = i i.v = j i.w = a a.p = c a.s = j c.p = a c.s = j j.v = i j.w = g assert i.v.v.w.s.txt == "
j"
class A: def __init__(self, txt: str): self.v: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt b = A("b") g = B("g") e = B("e") i = A("i") a = B("a") c = B("c") j = A("j") b.v = i b.w = a g.p = c g.s = b e.p = c e.s = i i.v = j i.w = a a.p = c a.s = j c.p = a c.s = j j.v = i j.w = g assert i.v.v.w.s.txt == "j"
i
j
i
a
j
x
x
x
7
14
2
4
2
210
class A: def __init__(self, txt: str): self.u: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") i = B("i") b = A("b") a.u = b a.o = b i.w = a b.u = a b.o = a assert b.u.u.o.txt == "
a"
class A: def __init__(self, txt: str): self.u: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") i = B("i") b = A("b") a.u = b a.o = b i.w = a b.u = a b.o = a assert b.u.u.o.txt == "a"
b
a
b
a
x
x
x
x
3
3
2
3
2
211
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") j = B("j") f = B("f") c.r = j j.z = f f.z = j assert f.z.z.z.txt == "
j"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") j = B("j") f = B("f") c.r = j j.z = f f.z = j assert f.z.z.z.txt == "j"
f
j
f
j
x
x
x
x
3
3
2
3
2
212
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.x: B = None self.txt = txt d = A("d") c = B("c") h = B("h") a = A("a") b = A("b") g = A("g") f = A("f") d.p = a c.r = b c.x = h h.r = g h.x = c a.p = b b.p = f g.p = b f.p = d assert b.p.p.p.p.p.p.txt == "
d"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.x: B = None self.txt = txt d = A("d") c = B("c") h = B("h") a = A("a") b = A("b") g = A("g") f = A("f") d.p = a c.r = b c.x = h h.r = g h.x = c a.p = b b.p = f g.p = b f.p = d assert b.p.p.p.p.p.p.txt == "d"
b
f
d
a
b
f
d
x
7
9
2
6
3
213
class A: def __init__(self, txt: str): self.v: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") d = A("d") b = B("b") g = A("g") h = B("h") e = B("e") j.v = b j.z = g f.w = b d.v = e d.z = g b.w = f g.v = b g.z = j h.w = f e.w = b assert h.w.w.w.w.w.w.w.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") d = A("d") b = B("b") g = A("g") h = B("h") e = B("e") j.v = b j.z = g f.w = b d.v = e d.z = g b.w = f g.v = b g.z = j h.w = f e.w = b assert h.w.w.w.w.w.w.w.txt == "f"
h
f
b
f
b
f
b
f
7
10
2
7
5
214
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt b = A("b") j = B("j") g = A("g") f = B("f") h = A("h") c = A("c") b.q = g j.p = b j.w = c g.q = h f.p = c f.w = h h.q = g c.q = h assert c.q.q.q.q.txt == "
g"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt b = A("b") j = B("j") g = A("g") f = B("f") h = A("h") c = A("c") b.q = g j.p = b j.w = c g.q = h f.p = c f.w = h h.q = g c.q = h assert c.q.q.q.q.txt == "g"
c
h
g
h
g
x
x
x
6
8
2
4
2
215
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 i = A("i") f = B("f") d = B("d") h = B("h") a = B("a") i.y = a f.y = i d.y = i h.y = i a.y = i assert i.y.y.y.y.y.txt == "
a"
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 i = A("i") f = B("f") d = B("d") h = B("h") a = B("a") i.y = a f.y = i d.y = i h.y = i a.y = i assert i.y.y.y.y.y.txt == "a"
i
a
i
a
i
a
x
x
5
5
2
5
4
216
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt b = A("b") d = B("d") i = B("i") b.z = i d.t = i d.x = b i.t = d i.x = b assert b.z.t.x.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt b = A("b") d = B("d") i = B("i") b.z = i d.t = i d.x = b i.t = d i.x = b assert b.z.t.x.txt == "b"
b
i
d
b
x
x
x
x
3
5
2
3
1
217
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt e = A("e") i = B("i") d = B("d") e.r = d i.r = e i.w = d d.r = e d.w = i assert e.r.w.w.txt == "
d"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt e = A("e") i = B("i") d = B("d") e.r = d i.r = e i.w = d d.r = e d.w = i assert e.r.w.w.txt == "d"
e
d
i
d
x
x
x
x
3
5
2
3
1
218
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt b = A("b") j = B("j") a = B("a") c = A("c") f = B("f") d = B("d") b.y = c j.p = c a.p = b c.y = b f.p = b d.p = b assert d.p.y.y.txt == "
b"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt b = A("b") j = B("j") a = B("a") c = A("c") f = B("f") d = B("d") b.y = c j.p = c a.p = b c.y = b f.p = b d.p = b assert d.p.y.y.txt == "b"
d
b
c
b
x
x
x
x
6
6
2
3
1
219
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt j = A("j") f = B("f") i = A("i") h = A("h") c = B("c") b = B("b") j.y = c f.o = j f.x = h i.y = f h.y = c c.o = h c.x = j b.o = i b.x = j assert j.y.x.y.o.txt == "
h"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt j = A("j") f = B("f") i = A("i") h = A("h") c = B("c") b = B("b") j.y = c f.o = j f.x = h i.y = f h.y = c c.o = h c.x = j b.o = i b.x = j assert j.y.x.y.o.txt == "h"
j
c
j
c
h
x
x
x
6
9
2
4
2
220
class A: def __init__(self, txt: str): self.z: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.s: B = None self.txt = txt d = A("d") g = B("g") j = A("j") c = A("c") e = A("e") i = B("i") d.z = i d.t = i g.u = d g.s = i j.z = g j.t = i c.z = i c.t = i e.z = i e.t = g i.u = e i.s = g assert e.t.u.t.txt == "
i"
class A: def __init__(self, txt: str): self.z: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.s: B = None self.txt = txt d = A("d") g = B("g") j = A("j") c = A("c") e = A("e") i = B("i") d.z = i d.t = i g.u = d g.s = i j.z = g j.t = i c.z = i c.t = i e.z = i e.t = g i.u = e i.s = g assert e.t.u.t.txt == "i"
e
g
d
i
x
x
x
x
6
10
2
3
0
221
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") d = B("d") f = B("f") a.v = f d.z = f f.z = d assert a.v.z.z.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") d = B("d") f = B("f") a.v = f d.z = f f.z = d assert a.v.z.z.txt == "f"
a
f
d
f
x
x
x
x
3
3
2
3
1
222
class A: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") h = B("h") g = B("g") b = B("b") i = B("i") c = B("c") d = A("d") a.z = d a.r = d h.x = a g.x = d b.x = d i.x = d c.x = d d.z = a d.r = a assert b.x.z.z.r.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") h = B("h") g = B("g") b = B("b") i = B("i") c = B("c") d = A("d") a.z = d a.r = d h.x = a g.x = d b.x = d i.x = d c.x = d d.z = a d.r = a assert b.x.z.z.r.z.z.txt == "a"
b
d
a
d
a
d
a
x
7
7
2
6
4
223
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.p: A = None self.txt = txt b = A("b") d = B("d") i = A("i") b.q = i d.u = i d.p = i i.q = b assert d.u.q.q.txt == "
i"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.p: A = None self.txt = txt b = A("b") d = B("d") i = A("i") b.q = i d.u = i d.p = i i.q = b assert d.u.q.q.txt == "i"
d
i
b
i
x
x
x
x
3
3
2
3
1
224
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") e = B("e") h = B("h") g = B("g") c = B("c") f = B("f") d = A("d") a.t = d e.s = a h.s = a g.s = d c.s = a f.s = a d.t = a assert a.t.t.t.t.t.txt == "
d"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") e = B("e") h = B("h") g = B("g") c = B("c") f = B("f") d = A("d") a.t = d e.s = a h.s = a g.s = d c.s = a f.s = a d.t = a assert a.t.t.t.t.t.txt == "d"
a
d
a
d
a
d
x
x
7
7
2
5
4
225
class A: def __init__(self, txt: str): self.v: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") h = B("h") c = A("c") g = B("g") d = A("d") i.v = g i.t = d h.t = g c.v = g c.t = d g.t = h d.v = h d.t = i assert c.v.t.t.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") h = B("h") c = A("c") g = B("g") d = A("d") i.v = g i.t = d h.t = g c.v = g c.t = d g.t = h d.v = h d.t = i assert c.v.t.t.txt == "g"
c
g
h
g
x
x
x
x
5
8
2
3
1
226
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: A = None self.txt = txt i = A("i") b = B("b") e = B("e") i.z = b b.r = i b.s = i e.r = i e.s = i assert i.z.s.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: A = None self.txt = txt i = A("i") b = B("b") e = B("e") i.z = b b.r = i b.s = i e.r = i e.s = i assert i.z.s.z.txt == "b"
i
b
i
b
x
x
x
x
3
3
2
3
2
227
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.o: A = None self.txt = txt d = A("d") f = B("f") j = B("j") d.o = j d.x = f f.y = j f.o = d j.y = f j.o = d assert d.x.o.o.txt == "
j"
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.o: A = None self.txt = txt d = A("d") f = B("f") j = B("j") d.o = j d.x = f f.y = j f.o = d j.y = f j.o = d assert d.x.o.o.txt == "j"
d
f
d
j
x
x
x
x
3
6
2
3
1
228
class A: def __init__(self, txt: str): self.q: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt i = A("i") e = B("e") j = A("j") d = B("d") a = A("a") h = A("h") g = A("g") i.q = d i.o = g e.u = d j.q = e j.o = g d.u = e a.q = e a.o = h h.q = d h.o = a g.q = e g.o = j assert g.o.o.q.u.txt == "
d"
class A: def __init__(self, txt: str): self.q: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt i = A("i") e = B("e") j = A("j") d = B("d") a = A("a") h = A("h") g = A("g") i.q = d i.o = g e.u = d j.q = e j.o = g d.u = e a.q = e a.o = h h.q = d h.o = a g.q = e g.o = j assert g.o.o.q.u.txt == "d"
g
j
g
e
d
x
x
x
7
12
2
4
1
229
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.w: A = None self.txt = txt h = A("h") g = B("g") a = B("a") h.w = a g.u = a g.w = h a.u = g a.w = h assert g.w.w.w.txt == "
h"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.w: A = None self.txt = txt h = A("h") g = B("g") a = B("a") h.w = a g.u = a g.w = h a.u = g a.w = h assert g.w.w.w.txt == "h"
g
h
a
h
x
x
x
x
3
5
2
3
1
230
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.r: B = None self.w: B = None self.txt = txt a = A("a") f = B("f") j = B("j") a.v = f a.u = j f.r = j f.w = j j.r = f j.w = f assert j.w.w.r.txt == "
f"
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.r: B = None self.w: B = None self.txt = txt a = A("a") f = B("f") j = B("j") a.v = f a.u = j f.r = j f.w = j j.r = f j.w = f assert j.w.w.r.txt == "f"
j
f
j
f
x
x
x
x
3
4
2
3
2
231
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt i = A("i") f = B("f") b = A("b") a = B("a") i.t = a f.t = a f.x = i b.t = a a.t = f a.x = i assert i.t.x.t.txt == "
a"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt i = A("i") f = B("f") b = A("b") a = B("a") i.t = a f.t = a f.x = i b.t = a a.t = f a.x = i assert i.t.x.t.txt == "a"
i
a
i
a
x
x
x
x
4
6
2
3
2
232
class A: def __init__(self, txt: str): self.w: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt a = A("a") g = B("g") c = B("c") h = A("h") a.w = h a.t = c g.s = c c.s = g h.w = a h.t = g assert c.s.s.s.s.txt == "
c"
class A: def __init__(self, txt: str): self.w: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt a = A("a") g = B("g") c = B("c") h = A("h") a.w = h a.t = c g.s = c c.s = g h.w = a h.t = g assert c.s.s.s.s.txt == "c"
c
g
c
g
c
x
x
x
4
6
2
4
3
233
class A: def __init__(self, txt: str): self.o: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt b = A("b") i = B("i") d = B("d") f = B("f") e = A("e") b.o = d b.y = d i.r = d d.r = f f.r = i e.o = d e.y = i assert e.y.r.r.r.txt == "
i"
class A: def __init__(self, txt: str): self.o: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt b = A("b") i = B("i") d = B("d") f = B("f") e = A("e") b.o = d b.y = d i.r = d d.r = f f.r = i e.o = d e.y = i assert e.y.r.r.r.txt == "i"
e
i
d
f
i
x
x
x
5
6
2
4
1
234
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt a = A("a") e = B("e") c = B("c") a.y = e e.p = a c.p = a assert a.y.p.y.txt == "
e"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt a = A("a") e = B("e") c = B("c") a.y = e e.p = a c.p = a assert a.y.p.y.txt == "e"
a
e
a
e
x
x
x
x
3
3
2
3
2
235
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.z: A = None self.txt = txt a = A("a") c = B("c") f = A("f") e = B("e") b = A("b") i = B("i") d = A("d") a.s = b c.v = b c.z = d f.s = b e.v = a e.z = d b.s = f i.v = b i.z = d d.s = a assert b.s.s.s.s.s.s.s.txt == "
f"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.z: A = None self.txt = txt a = A("a") c = B("c") f = A("f") e = B("e") b = A("b") i = B("i") d = A("d") a.s = b c.v = b c.z = d f.s = b e.v = a e.z = d b.s = f i.v = b i.z = d d.s = a assert b.s.s.s.s.s.s.s.txt == "f"
b
f
b
f
b
f
b
f
7
10
2
7
6
236
class A: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt i = A("i") h = B("h") j = A("j") g = B("g") f = A("f") d = B("d") b = A("b") i.u = f i.t = f h.q = i j.u = b j.t = b g.q = b f.u = b f.t = j d.q = f b.u = f b.t = j assert j.t.u.u.u.u.t.txt == "
j"
class A: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt i = A("i") h = B("h") j = A("j") g = B("g") f = A("f") d = B("d") b = A("b") i.u = f i.t = f h.q = i j.u = b j.t = b g.q = b f.u = b f.t = j d.q = f b.u = f b.t = j assert j.t.u.u.u.u.t.txt == "j"
j
b
f
b
f
b
j
x
7
9
2
6
4
237
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt e = A("e") j = B("j") f = B("f") a = B("a") c = A("c") e.x = f j.s = a j.w = a f.s = j f.w = j a.s = f a.w = f c.x = j assert j.w.w.w.w.w.txt == "
f"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt e = A("e") j = B("j") f = B("f") a = B("a") c = A("c") e.x = f j.s = a j.w = a f.s = j f.w = j a.s = f a.w = f c.x = j assert j.w.w.w.w.w.txt == "f"
j
a
f
j
a
f
x
x
5
5
2
5
3
238
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.txt = txt h = A("h") b = B("b") d = B("d") i = B("i") g = B("g") c = B("c") a = A("a") h.r = d b.y = a d.y = h i.y = h g.y = a c.y = h a.r = b assert a.r.y.r.y.r.y.txt == "
a"
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.txt = txt h = A("h") b = B("b") d = B("d") i = B("i") g = B("g") c = B("c") a = A("a") h.r = d b.y = a d.y = h i.y = h g.y = a c.y = h a.r = b assert a.r.y.r.y.r.y.txt == "a"
a
b
a
b
a
b
a
x
7
7
2
6
5
239
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: B = None self.txt = txt e = A("e") a = B("a") h = A("h") d = B("d") j = A("j") e.t = a a.s = j a.v = d h.t = a d.s = j d.v = a j.t = d assert e.t.s.t.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: B = None self.txt = txt e = A("e") a = B("a") h = A("h") d = B("d") j = A("j") e.t = a a.s = j a.v = d h.t = a d.s = j d.v = a j.t = d assert e.t.s.t.txt == "d"
e
a
j
d
x
x
x
x
5
7
2
3
0
240
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") h = B("h") g = A("g") f = B("f") e = B("e") c = A("c") j = A("j") a.r = h h.y = e g.r = f f.y = h e.y = h c.r = f j.r = f assert j.r.y.y.y.y.txt == "
e"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") h = B("h") g = A("g") f = B("f") e = B("e") c = A("c") j = A("j") a.r = h h.y = e g.r = f f.y = h e.y = h c.r = f j.r = f assert j.r.y.y.y.y.txt == "e"
j
f
h
e
h
e
x
x
7
7
2
5
2
241
class A: def __init__(self, txt: str): self.x: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") f = B("f") b = B("b") c = B("c") j = A("j") a = B("a") g.x = b g.r = j f.q = c b.q = a c.q = b j.x = c j.r = g a.q = c assert b.q.q.q.q.txt == "
a"
class A: def __init__(self, txt: str): self.x: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt g = A("g") f = B("f") b = B("b") c = B("c") j = A("j") a = B("a") g.x = b g.r = j f.q = c b.q = a c.q = b j.x = c j.r = g a.q = c assert b.q.q.q.q.txt == "a"
b
a
c
b
a
x
x
x
6
8
2
4
2
242
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") c = B("c") a = B("a") g.x = c g.u = c c.t = g a.t = g assert c.t.u.t.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") c = B("c") a = B("a") g.x = c g.u = c c.t = g a.t = g assert c.t.u.t.txt == "g"
c
g
c
g
x
x
x
x
3
3
2
3
2
243
class A: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.s: A = None self.txt = txt g = A("g") j = B("j") h = B("h") a = A("a") b = B("b") c = B("c") f = A("f") g.p = c g.w = f j.z = c j.s = f h.z = b h.s = f a.p = c a.w = g b.z = h b.s = f c.z = h c.s = a f.p = j f.w = a assert g.p.s.p.s.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.s: A = None self.txt = txt g = A("g") j = B("j") h = B("h") a = A("a") b = B("b") c = B("c") f = A("f") g.p = c g.w = f j.z = c j.s = f h.z = b h.s = f a.p = c a.w = g b.z = h b.s = f c.z = h c.s = a f.p = j f.w = a assert g.p.s.p.s.txt == "a"
g
c
a
c
a
x
x
x
7
14
2
4
2
244
class A: def __init__(self, txt: str): self.y: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt i = A("i") h = B("h") b = B("b") a = B("a") i.y = h i.q = h h.r = i h.s = b b.r = i b.s = h a.r = i a.s = h assert a.r.y.s.txt == "
b"
class A: def __init__(self, txt: str): self.y: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt i = A("i") h = B("h") b = B("b") a = B("a") i.y = h i.q = h h.r = i h.s = b b.r = i b.s = h a.r = i a.s = h assert a.r.y.s.txt == "b"
a
i
h
b
x
x
x
x
4
7
2
3
0
245
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt h = A("h") e = B("e") a = A("a") g = B("g") h.p = a e.r = h a.p = h g.r = h assert h.p.p.p.p.txt == "
h"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt h = A("h") e = B("e") a = A("a") g = B("g") h.p = a e.r = h a.p = h g.r = h assert h.p.p.p.p.txt == "h"
h
a
h
a
h
x
x
x
4
4
2
4
3
246
class A: def __init__(self, txt: str): self.z: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt f = A("f") b = B("b") a = B("a") g = B("g") h = B("h") i = B("i") j = A("j") f.z = j f.q = j b.r = g b.q = h a.r = i a.q = b g.r = h g.q = h h.r = g h.q = g i.r = a i.q = g j.z = f j.q = f assert j.q.q.z.q.txt == "
j"
class A: def __init__(self, txt: str): self.z: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt f = A("f") b = B("b") a = B("a") g = B("g") h = B("h") i = B("i") j = A("j") f.z = j f.q = j b.r = g b.q = h a.r = i a.q = b g.r = h g.q = h h.r = g h.q = g i.r = a i.q = g j.z = f j.q = f assert j.q.q.z.q.txt == "j"
j
f
j
f
j
x
x
x
7
10
2
4
3
247
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt h = A("h") c = B("c") g = A("g") a = A("a") j = B("j") h.q = a c.o = a c.s = a g.q = a a.q = g j.o = a j.s = h assert j.s.q.q.q.q.txt == "
g"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt h = A("h") c = B("c") g = A("g") a = A("a") j = B("j") h.q = a c.o = a c.s = a g.q = a a.q = g j.o = a j.s = h assert j.s.q.q.q.q.txt == "g"
j
h
a
g
a
g
x
x
5
6
2
5
2
248
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt j = A("j") h = B("h") f = A("f") e = A("e") d = B("d") b = B("b") j.o = b h.z = j h.t = d f.o = b e.o = d d.z = j d.t = h b.z = f b.t = d assert f.o.z.o.txt == "
b"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt j = A("j") h = B("h") f = A("f") e = A("e") d = B("d") b = B("b") j.o = b h.z = j h.t = d f.o = b e.o = d d.z = j d.t = h b.z = f b.t = d assert f.o.z.o.txt == "b"
f
b
f
b
x
x
x
x
6
9
2
3
2
249
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.x: B = None self.q: A = None self.txt = txt f = A("f") d = B("d") a = B("a") e = B("e") h = B("h") g = B("g") j = B("j") f.v = d f.r = a d.x = h d.q = f a.x = d a.q = f e.x = a e.q = f h.x = g h.q = f g.x = a g.q = f j.x = h j.q = f assert e.q.r.q.v.q.v.q.txt == "
f"
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.x: B = None self.q: A = None self.txt = txt f = A("f") d = B("d") a = B("a") e = B("e") h = B("h") g = B("g") j = B("j") f.v = d f.r = a d.x = h d.q = f a.x = d a.q = f e.x = a e.q = f h.x = g h.q = f g.x = a g.q = f j.x = h j.q = f assert e.q.r.q.v.q.v.q.txt == "f"
e
f
a
f
d
f
d
f
7
14
2
7
4
250
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt e = A("e") d = B("d") c = A("c") i = B("i") h = B("h") a = A("a") e.z = d d.r = e c.z = d i.r = a h.r = a a.z = h assert e.z.r.z.r.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.r: A = None self.txt = txt e = A("e") d = B("d") c = A("c") i = B("i") h = B("h") a = A("a") e.z = d d.r = e c.z = d i.r = a h.r = a a.z = h assert e.z.r.z.r.z.txt == "d"
e
d
e
d
e
d
x
x
6
6
2
5
4
251
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt e = A("e") i = B("i") g = B("g") d = B("d") h = A("h") c = B("c") f = B("f") e.z = h i.z = d g.z = d d.z = f h.z = e c.z = g f.z = d assert f.z.z.z.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt e = A("e") i = B("i") g = B("g") d = B("d") h = A("h") c = B("c") f = B("f") e.z = h i.z = d g.z = d d.z = f h.z = e c.z = g f.z = d assert f.z.z.z.z.z.txt == "d"
f
d
f
d
f
d
x
x
7
7
2
5
4
252
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") e = B("e") b = B("b") h = A("h") i = A("i") j.y = i e.q = h b.q = j h.y = j i.y = j assert j.y.y.y.y.txt == "
j"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") e = B("e") b = B("b") h = A("h") i = A("i") j.y = i e.q = h b.q = j h.y = j i.y = j assert j.y.y.y.y.txt == "j"
j
i
j
i
j
x
x
x
5
5
2
4
3
253
class A: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt i = A("i") d = B("d") h = B("h") j = A("j") b = A("b") i.v = b i.q = b d.v = b d.u = i h.v = b h.u = i j.v = b j.q = b b.v = j b.q = i assert j.q.v.q.txt == "
b"
class A: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt i = A("i") d = B("d") h = B("h") j = A("j") b = A("b") i.v = b i.q = b d.v = b d.u = i h.v = b h.u = i j.v = b j.q = b b.v = j b.q = i assert j.q.v.q.txt == "b"
j
b
j
b
x
x
x
x
5
8
2
3
2
254
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 e = A("e") i = B("i") b = B("b") e.s = i i.x = e b.x = e assert i.x.s.x.txt == "
e"
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 e = A("e") i = B("i") b = B("b") e.s = i i.x = e b.x = e assert i.x.s.x.txt == "e"
i
e
i
e
x
x
x
x
3
3
2
3
2
255
class A: def __init__(self, txt: str): self.p: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.o: A = None self.txt = txt f = A("f") c = B("c") a = A("a") f.p = c f.v = a c.w = a c.o = a a.p = c a.v = f assert a.v.p.o.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.o: A = None self.txt = txt f = A("f") c = B("c") a = A("a") f.p = c f.v = a c.w = a c.o = a a.p = c a.v = f assert a.v.p.o.txt == "a"
a
f
c
a
x
x
x
x
3
5
2
3
1
256
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.u: A = None self.txt = txt h = A("h") g = B("g") e = B("e") j = B("j") d = B("d") a = A("a") b = A("b") h.y = a g.w = j g.u = h e.w = d e.u = a j.w = g j.u = h d.w = e d.u = h a.y = h b.y = h assert j.w.w.u.y.txt == "
a"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.u: A = None self.txt = txt h = A("h") g = B("g") e = B("e") j = B("j") d = B("d") a = A("a") b = A("b") h.y = a g.w = j g.u = h e.w = d e.u = a j.w = g j.u = h d.w = e d.u = h a.y = h b.y = h assert j.w.w.u.y.txt == "a"
j
g
j
h
a
x
x
x
7
11
2
4
1
257
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") j = B("j") e = A("e") d = B("d") i = B("i") f.x = i f.u = d j.p = i e.x = j e.u = d d.p = j i.p = j assert i.p.p.p.p.txt == "
i"
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") j = B("j") e = A("e") d = B("d") i = B("i") f.x = i f.u = d j.p = i e.x = j e.u = d d.p = j i.p = j assert i.p.p.p.p.txt == "i"
i
j
i
j
i
x
x
x
5
7
2
4
3
258
class A: def __init__(self, txt: str): self.s: 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 = A("d") g = A("g") b = A("b") c = B("c") j = A("j") h.s = b f.q = c d.s = h g.s = d b.s = g c.q = f j.s = d assert b.s.s.s.s.s.s.txt == "
d"
class A: def __init__(self, txt: str): self.s: 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 = A("d") g = A("g") b = A("b") c = B("c") j = A("j") h.s = b f.q = c d.s = h g.s = d b.s = g c.q = f j.s = d assert b.s.s.s.s.s.s.txt == "d"
b
g
d
h
b
g
d
x
7
7
2
6
3
259
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt g = A("g") b = B("b") a = A("a") h = A("h") g.y = b b.v = h a.y = b h.y = b assert g.y.v.y.v.txt == "
h"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt g = A("g") b = B("b") a = A("a") h = A("h") g.y = b b.v = h a.y = b h.y = b assert g.y.v.y.v.txt == "h"
g
b
h
b
h
x
x
x
4
4
2
4
2
260
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt g = A("g") d = B("d") a = B("a") e = A("e") g.v = e d.v = e d.o = e a.v = g a.o = g e.v = g assert g.v.v.v.v.txt == "
g"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt g = A("g") d = B("d") a = B("a") e = A("e") g.v = e d.v = e d.o = e a.v = g a.o = g e.v = g assert g.v.v.v.v.txt == "g"
g
e
g
e
g
x
x
x
4
4
2
4
3
261
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt a = A("a") h = B("h") f = A("f") i = B("i") c = A("c") d = A("d") j = B("j") a.u = f h.p = i h.q = j f.u = c i.p = j i.q = j c.u = f d.u = f j.p = i j.q = i assert d.u.u.u.txt == "
f"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt a = A("a") h = B("h") f = A("f") i = B("i") c = A("c") d = A("d") j = B("j") a.u = f h.p = i h.q = j f.u = c i.p = j i.q = j c.u = f d.u = f j.p = i j.q = i assert d.u.u.u.txt == "f"
d
f
c
f
x
x
x
x
7
8
2
3
1
262
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: A = None self.txt = txt j = A("j") f = B("f") e = B("e") h = A("h") d = B("d") j.q = e f.r = e f.u = j e.r = d e.u = j h.q = e d.r = e d.u = h assert h.q.u.q.txt == "
e"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: A = None self.txt = txt j = A("j") f = B("f") e = B("e") h = A("h") d = B("d") j.q = e f.r = e f.u = j e.r = d e.u = j h.q = e d.r = e d.u = h assert h.q.u.q.txt == "e"
h
e
j
e
x
x
x
x
5
8
2
3
1
263
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt h = A("h") c = B("c") f = B("f") g = B("g") i = A("i") d = B("d") e = A("e") h.v = d c.z = h c.t = g f.z = h f.t = g g.z = e g.t = d i.v = d d.z = e d.t = f e.v = c assert c.t.z.v.z.v.t.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt h = A("h") c = B("c") f = B("f") g = B("g") i = A("i") d = B("d") e = A("e") h.v = d c.z = h c.t = g f.z = h f.t = g g.z = e g.t = d i.v = d d.z = e d.t = f e.v = c assert c.t.z.v.z.v.t.txt == "f"
c
g
e
c
h
d
f
x
7
11
2
6
1
264
class A: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt e = A("e") h = B("h") d = A("d") j = A("j") f = B("f") c = A("c") g = B("g") e.v = j e.q = j h.v = g d.v = e d.q = c j.v = d j.q = d f.v = h c.v = j c.q = j g.v = h assert e.q.v.v.v.v.txt == "
d"
class A: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt e = A("e") h = B("h") d = A("d") j = A("j") f = B("f") c = A("c") g = B("g") e.v = j e.q = j h.v = g d.v = e d.q = c j.v = d j.q = d f.v = h c.v = j c.q = j g.v = h assert e.q.v.v.v.v.txt == "d"
e
j
d
e
j
d
x
x
7
8
2
5
3
265
class A: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: B = None self.txt = txt h = A("h") b = B("b") i = A("i") g = A("g") f = A("f") c = B("c") d = B("d") h.u = g h.r = f b.y = c b.u = d i.u = f i.r = f g.u = h g.r = f f.u = i f.r = i c.y = b c.u = d d.y = b d.u = b assert d.y.y.u.y.y.u.txt == "
d"
class A: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: B = None self.txt = txt h = A("h") b = B("b") i = A("i") g = A("g") f = A("f") c = B("c") d = B("d") h.u = g h.r = f b.y = c b.u = d i.u = f i.r = f g.u = h g.r = f f.u = i f.r = i c.y = b c.u = d d.y = b d.u = b assert d.y.y.u.y.y.u.txt == "d"
d
b
c
d
b
c
d
x
7
11
2
6
4
266
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt e = A("e") b = B("b") j = B("j") e.w = j b.x = j j.x = b assert j.x.x.x.txt == "
b"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt e = A("e") b = B("b") j = B("j") e.w = j b.x = j j.x = b assert j.x.x.x.txt == "b"
j
b
j
b
x
x
x
x
3
3
2
3
2
267
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt c = A("c") i = B("i") h = A("h") b = B("b") f = B("f") a = B("a") c.t = i i.z = c i.r = c h.t = a b.z = c b.r = c f.z = h f.r = c a.z = h a.r = c assert c.t.r.t.txt == "
i"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt c = A("c") i = B("i") h = A("h") b = B("b") f = B("f") a = B("a") c.t = i i.z = c i.r = c h.t = a b.z = c b.r = c f.z = h f.r = c a.z = h a.r = c assert c.t.r.t.txt == "i"
c
i
c
i
x
x
x
x
6
8
2
3
2
268
class A: def __init__(self, txt: str): self.t: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt b = A("b") h = B("h") j = B("j") d = B("d") e = A("e") b.t = e b.p = h h.z = b j.z = b d.z = b e.t = b e.p = j assert b.t.p.z.txt == "
b"
class A: def __init__(self, txt: str): self.t: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt b = A("b") h = B("h") j = B("j") d = B("d") e = A("e") b.t = e b.p = h h.z = b j.z = b d.z = b e.t = b e.p = j assert b.t.p.z.txt == "b"
b
e
j
b
x
x
x
x
5
7
2
3
1
269
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") f = B("f") c = A("c") g.v = f f.r = g c.v = f assert c.v.r.v.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") f = B("f") c = A("c") g.v = f f.r = g c.v = f assert c.v.r.v.txt == "f"
c
f
g
f
x
x
x
x
3
3
2
3
1
270
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.u: B = None self.txt = txt e = A("e") d = B("d") i = B("i") f = A("f") j = B("j") c = A("c") e.o = j d.p = i d.u = j i.p = j i.u = j f.o = i j.p = i j.u = i c.o = j assert d.u.u.p.u.u.p.txt == "
i"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.u: B = None self.txt = txt e = A("e") d = B("d") i = B("i") f = A("f") j = B("j") c = A("c") e.o = j d.p = i d.u = j i.p = j i.u = j f.o = i j.p = i j.u = i c.o = j assert d.u.u.p.u.u.p.txt == "i"
d
j
i
j
i
j
i
x
6
7
2
6
4
271
class A: def __init__(self, txt: str): self.w: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") j = B("j") h.w = b h.r = b b.p = j j.p = b assert j.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.w: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") j = B("j") h.w = b h.r = b b.p = j j.p = b assert j.p.p.p.txt == "b"
j
b
j
b
x
x
x
x
3
3
2
3
2
272
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.txt = txt e = A("e") c = B("c") h = B("h") g = A("g") a = A("a") f = A("f") e.r = g c.s = a h.s = f g.r = a a.r = e f.r = e assert e.r.r.r.txt == "
e"
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.txt = txt e = A("e") c = B("c") h = B("h") g = A("g") a = A("a") f = A("f") e.r = g c.s = a h.s = f g.r = a a.r = e f.r = e assert e.r.r.r.txt == "e"
e
g
a
e
x
x
x
x
6
6
2
3
1
273
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.p: A = None self.txt = txt j = A("j") c = B("c") d = A("d") a = A("a") j.o = d c.t = d c.p = j d.o = j a.o = d assert a.o.o.o.txt == "
d"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.p: A = None self.txt = txt j = A("j") c = B("c") d = A("d") a = A("a") j.o = d c.t = d c.p = j d.o = j a.o = d assert a.o.o.o.txt == "d"
a
d
j
d
x
x
x
x
4
5
2
3
1
274
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") d = B("d") j = B("j") a = A("a") c = B("c") e = B("e") h.w = a d.v = h j.v = h a.w = h c.v = a e.v = h assert h.w.w.w.w.w.txt == "
a"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") d = B("d") j = B("j") a = A("a") c = B("c") e = B("e") h.w = a d.v = h j.v = h a.w = h c.v = a e.v = h assert h.w.w.w.w.w.txt == "a"
h
a
h
a
h
a
x
x
6
6
2
5
4
275
class A: def __init__(self, txt: str): self.v: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.r: A = None self.txt = txt h = A("h") b = B("b") j = B("j") e = B("e") h.v = j h.z = e b.x = e b.r = h j.x = b j.r = h e.x = b e.r = h assert j.r.z.r.z.txt == "
e"
class A: def __init__(self, txt: str): self.v: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.r: A = None self.txt = txt h = A("h") b = B("b") j = B("j") e = B("e") h.v = j h.z = e b.x = e b.r = h j.x = b j.r = h e.x = b e.r = h assert j.r.z.r.z.txt == "e"
j
h
e
h
e
x
x
x
4
8
2
4
2
276
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt j = A("j") d = B("d") i = A("i") j.s = d d.u = j d.r = j i.s = d assert d.r.s.r.txt == "
j"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt j = A("j") d = B("d") i = A("i") j.s = d d.u = j d.r = j i.s = d assert d.r.s.r.txt == "j"
d
j
d
j
x
x
x
x
3
3
2
3
2
277
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.z: B = None self.txt = txt j = A("j") a = B("a") h = A("h") c = B("c") i = A("i") j.o = c a.o = c a.z = c h.o = c c.o = a c.z = a i.o = a assert i.o.o.o.o.o.txt == "
a"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.z: B = None self.txt = txt j = A("j") a = B("a") h = A("h") c = B("c") i = A("i") j.o = c a.o = c a.z = c h.o = c c.o = a c.z = a i.o = a assert i.o.o.o.o.o.txt == "a"
i
a
c
a
c
a
x
x
5
5
2
5
3
278
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") f = B("f") d = B("d") e = A("e") i = A("i") c.o = i f.o = e d.o = e e.o = c i.o = e assert f.o.o.o.txt == "
i"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") f = B("f") d = B("d") e = A("e") i = A("i") c.o = i f.o = e d.o = e e.o = c i.o = e assert f.o.o.o.txt == "i"
f
e
c
i
x
x
x
x
5
5
2
3
0
279
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt d = A("d") g = B("g") a = B("a") i = B("i") h = A("h") d.x = h g.q = i g.v = i a.q = i a.v = i i.q = g i.v = g h.x = d assert i.q.q.v.q.txt == "
i"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt d = A("d") g = B("g") a = B("a") i = B("i") h = A("h") d.x = h g.q = i g.v = i a.q = i a.v = i i.q = g i.v = g h.x = d assert i.q.q.v.q.txt == "i"
i
g
i
g
i
x
x
x
5
5
2
4
3
280
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") c = B("c") e = B("e") g = B("g") a = B("a") f = A("f") i.q = f c.x = f e.x = i g.x = f a.x = i f.q = i assert e.x.q.q.q.txt == "
f"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") c = B("c") e = B("e") g = B("g") a = B("a") f = A("f") i.q = f c.x = f e.x = i g.x = f a.x = i f.q = i assert e.x.q.q.q.txt == "f"
e
i
f
i
f
x
x
x
6
6
2
4
2
281
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt f = A("f") b = B("b") g = B("g") i = B("i") f.u = i b.w = g b.x = g g.w = i g.x = i i.w = b i.x = g assert f.u.w.w.txt == "
g"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt f = A("f") b = B("b") g = B("g") i = B("i") f.u = i b.w = g b.x = g g.w = i g.x = i i.w = b i.x = g assert f.u.w.w.txt == "g"
f
i
b
g
x
x
x
x
4
5
2
3
0
282
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 i = A("i") f = B("f") a = A("a") b = B("b") c = B("c") i.w = f f.v = i a.w = b b.v = i c.v = a assert c.v.w.v.w.v.txt == "
i"
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 i = A("i") f = B("f") a = A("a") b = B("b") c = B("c") i.w = f f.v = i a.w = b b.v = i c.v = a assert c.v.w.v.w.v.txt == "i"
c
a
b
i
f
i
x
x
5
5
2
5
1
283
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.y: B = None self.txt = txt g = A("g") i = B("i") c = B("c") b = B("b") e = A("e") j = A("j") a = B("a") g.z = c i.w = e i.y = b c.w = j c.y = i b.w = e b.y = a e.z = i j.z = c a.w = g a.y = c assert g.z.w.z.y.y.w.z.txt == "
i"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.y: B = None self.txt = txt g = A("g") i = B("i") c = B("c") b = B("b") e = A("e") j = A("j") a = B("a") g.z = c i.w = e i.y = b c.w = j c.y = i b.w = e b.y = a e.z = i j.z = c a.w = g a.y = c assert g.z.w.z.y.y.w.z.txt == "i"
g
c
j
c
i
b
e
i
7
11
2
7
2
284
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.x: B = None self.txt = txt b = A("b") i = B("i") j = B("j") g = B("g") c = B("c") a = B("a") b.z = g i.z = b i.x = c j.z = b j.x = g g.z = b g.x = a c.z = b c.x = g a.z = b a.x = c assert i.z.z.z.z.x.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.x: B = None self.txt = txt b = A("b") i = B("i") j = B("j") g = B("g") c = B("c") a = B("a") b.z = g i.z = b i.x = c j.z = b j.x = g g.z = b g.x = a c.z = b c.x = g a.z = b a.x = c assert i.z.z.z.z.x.z.txt == "b"
i
b
g
b
g
a
b
x
6
11
2
6
3
285
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt f = A("f") i = B("i") h = B("h") d = B("d") f.y = i i.z = d h.z = d d.z = i assert h.z.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt f = A("f") i = B("i") h = B("h") d = B("d") f.y = i i.z = d h.z = d d.z = i assert h.z.z.z.txt == "d"
h
d
i
d
x
x
x
x
4
4
2
3
1
286
class A: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt i = A("i") g = B("g") f = B("f") d = B("d") j = B("j") b = A("b") i.s = f i.x = b g.o = d f.o = j d.o = f j.o = d b.s = j b.x = i assert b.x.x.s.txt == "
j"
class A: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt i = A("i") g = B("g") f = B("f") d = B("d") j = B("j") b = A("b") i.s = f i.x = b g.o = d f.o = j d.o = f j.o = d b.s = j b.x = i assert b.x.x.s.txt == "j"
b
i
b
j
x
x
x
x
6
8
2
3
1
287
class A: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt c = A("c") d = B("d") a = A("a") g = A("g") c.r = a c.s = d d.t = c a.r = c a.s = d g.r = c g.s = d assert a.s.t.r.s.txt == "
d"
class A: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt c = A("c") d = B("d") a = A("a") g = A("g") c.r = a c.s = d d.t = c a.r = c a.s = d g.r = c g.s = d assert a.s.t.r.s.txt == "d"
a
d
c
a
d
x
x
x
4
7
2
4
2
288
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt c = A("c") b = B("b") e = A("e") g = B("g") c.p = e b.t = e b.o = g e.p = c g.t = c g.o = b assert e.p.p.p.p.txt == "
e"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt c = A("c") b = B("b") e = A("e") g = B("g") c.p = e b.t = e b.o = g e.p = c g.t = c g.o = b assert e.p.p.p.p.txt == "e"
e
c
e
c
e
x
x
x
4
6
2
4
3
289
class A: def __init__(self, txt: str): self.x: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt j = A("j") g = B("g") a = A("a") b = A("b") c = B("c") j.x = g j.v = a g.r = c a.x = g a.v = j b.x = g b.v = a c.r = g assert j.v.v.v.x.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt j = A("j") g = B("g") a = A("a") b = A("b") c = B("c") j.x = g j.v = a g.r = c a.x = g a.v = j b.x = g b.v = a c.r = g assert j.v.v.v.x.txt == "g"
j
a
j
a
g
x
x
x
5
8
2
4
2
290
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt g = A("g") j = B("j") a = A("a") g.t = j j.o = g a.t = j assert j.o.t.o.txt == "
g"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt g = A("g") j = B("j") a = A("a") g.t = j j.o = g a.t = j assert j.o.t.o.txt == "g"
j
g
j
g
x
x
x
x
3
3
2
3
2
291
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt h = A("h") f = B("f") j = B("j") a = B("a") b = B("b") g = B("g") h.u = f f.t = h j.t = h a.t = h b.t = h g.t = h assert h.u.t.u.txt == "
f"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt h = A("h") f = B("f") j = B("j") a = B("a") b = B("b") g = B("g") h.u = f f.t = h j.t = h a.t = h b.t = h g.t = h assert h.u.t.u.txt == "f"
h
f
h
f
x
x
x
x
6
6
2
3
2
292
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.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.u = a c.z = b assert a.z.u.z.txt == "
b"
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.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.u = a c.z = b assert a.z.u.z.txt == "b"
a
b
a
b
x
x
x
x
3
3
2
3
2
293
class A: def __init__(self, txt: str): self.q: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") g = B("g") c = B("c") d = A("d") a.q = d a.t = c g.t = a c.t = d d.q = a d.t = c assert d.q.t.t.txt == "
d"
class A: def __init__(self, txt: str): self.q: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt a = A("a") g = B("g") c = B("c") d = A("d") a.q = d a.t = c g.t = a c.t = d d.q = a d.t = c assert d.q.t.t.txt == "d"
d
a
c
d
x
x
x
x
4
6
2
3
1
294
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") g = A("g") j = A("j") e = B("e") c = A("c") f = B("f") a.r = c b.x = f b.y = c g.r = a j.r = g e.x = b e.y = a c.r = j f.x = e f.y = c assert j.r.r.r.txt == "
c"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") g = A("g") j = A("j") e = B("e") c = A("c") f = B("f") a.r = c b.x = f b.y = c g.r = a j.r = g e.x = b e.y = a c.r = j f.x = e f.y = c assert j.r.r.r.txt == "c"
j
g
a
c
x
x
x
x
7
10
2
3
0
295
class A: def __init__(self, txt: str): self.y: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") f = B("f") c = A("c") g.y = c g.p = f f.t = c c.y = g c.p = f assert g.y.y.p.txt == "
f"
class A: def __init__(self, txt: str): self.y: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") f = B("f") c = A("c") g.y = c g.p = f f.t = c c.y = g c.p = f assert g.y.y.p.txt == "f"
g
c
g
f
x
x
x
x
3
5
2
3
1
296
class A: def __init__(self, txt: str): self.p: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.o: A = None self.txt = txt c = A("c") b = B("b") g = B("g") f = A("f") c.p = g c.w = b b.s = f b.o = c g.s = f g.o = f f.p = g f.w = g assert b.o.w.s.txt == "
f"
class A: def __init__(self, txt: str): self.p: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.o: A = None self.txt = txt c = A("c") b = B("b") g = B("g") f = A("f") c.p = g c.w = b b.s = f b.o = c g.s = f g.o = f f.p = g f.w = g assert b.o.w.s.txt == "f"
b
c
b
f
x
x
x
x
4
6
2
3
1
297
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.t: A = None self.txt = txt c = A("c") e = B("e") f = A("f") c.t = e e.o = c e.t = c f.t = e assert c.t.o.t.txt == "
e"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.t: A = None self.txt = txt c = A("c") e = B("e") f = A("f") c.t = e e.o = c e.t = c f.t = e assert c.t.o.t.txt == "e"
c
e
c
e
x
x
x
x
3
3
2
3
2
298
class A: def __init__(self, txt: str): self.p: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt c = A("c") i = B("i") j = A("j") b = B("b") c.p = b c.y = j i.r = j j.p = b j.y = c b.r = j assert j.y.y.p.txt == "
b"
class A: def __init__(self, txt: str): self.p: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt c = A("c") i = B("i") j = A("j") b = B("b") c.p = b c.y = j i.r = j j.p = b j.y = c b.r = j assert j.y.y.p.txt == "b"
j
c
j
b
x
x
x
x
4
6
2
3
1
299
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt h = A("h") f = B("f") d = B("d") i = A("i") h.r = i f.y = i d.y = h i.r = h assert i.r.r.r.r.txt == "
i"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt h = A("h") f = B("f") d = B("d") i = A("i") h.r = i f.y = i d.y = h i.r = h assert i.r.r.r.r.txt == "i"
i
h
i
h
i
x
x
x
4
4
2
4
3