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
100
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt h = A("h") j = B("j") i = B("i") c = B("c") b = A("b") e = A("e") h.r = j j.u = i i.u = c c.u = j b.r = i e.r = i assert c.u.u.u.txt == "
c"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt h = A("h") j = B("j") i = B("i") c = B("c") b = A("b") e = A("e") h.r = j j.u = i i.u = c c.u = j b.r = i e.r = i assert c.u.u.u.txt == "c"
c
j
i
c
x
x
x
x
6
6
2
3
1
101
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.o: A = None self.t: A = None self.txt = txt c = A("c") d = B("d") j = B("j") i = B("i") f = A("f") a = A("a") b = A("b") c.x = i c.o = i d.o = f d.t = b j.o = b j.t = f i.o = a i.t = a f.x = i f.o = i a.x = d a.o = d b.x = j b.o = d assert i.o.o.t.o.o.o.txt == "
i"
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.o: A = None self.t: A = None self.txt = txt c = A("c") d = B("d") j = B("j") i = B("i") f = A("f") a = A("a") b = A("b") c.x = i c.o = i d.o = f d.t = b j.o = b j.t = f i.o = a i.t = a f.x = i f.o = i a.x = d a.o = d b.x = j b.o = d assert i.o.o.t.o.o.o.txt == "i"
i
a
d
b
d
f
i
x
7
10
2
6
2
102
class A: def __init__(self, txt: str): self.x: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt i = A("i") j = B("j") h = B("h") d = B("d") b = A("b") a = B("a") f = A("f") i.x = j i.p = j j.p = f h.p = b d.p = i b.x = a b.p = a a.p = i f.x = h f.p = h assert b.p.p.x.p.txt == "
f"
class A: def __init__(self, txt: str): self.x: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt i = A("i") j = B("j") h = B("h") d = B("d") b = A("b") a = B("a") f = A("f") i.x = j i.p = j j.p = f h.p = b d.p = i b.x = a b.p = a a.p = i f.x = h f.p = h assert b.p.p.x.p.txt == "f"
b
a
i
j
f
x
x
x
7
7
2
4
0
103
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt j = A("j") d = B("d") a = A("a") c = A("c") g = B("g") i = B("i") j.t = d j.x = a d.x = a d.y = a a.t = i a.x = j c.t = i c.x = a g.x = c g.y = a i.x = a i.y = j assert i.x.x.t.y.x.t.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt j = A("j") d = B("d") a = A("a") c = A("c") g = B("g") i = B("i") j.t = d j.x = a d.x = a d.y = a a.t = i a.x = j c.t = i c.x = a g.x = c g.y = a i.x = a i.y = j assert i.x.x.t.y.x.t.txt == "d"
i
a
j
d
a
j
d
x
6
11
2
6
3
104
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt f = A("f") d = B("d") j = B("j") i = A("i") e = A("e") a = A("a") f.x = d d.t = j j.t = d i.x = j e.x = j a.x = j assert f.x.t.t.t.t.txt == "
d"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt f = A("f") d = B("d") j = B("j") i = A("i") e = A("e") a = A("a") f.x = d d.t = j j.t = d i.x = j e.x = j a.x = j assert f.x.t.t.t.t.txt == "d"
f
d
j
d
j
d
x
x
6
6
2
5
3
105
class A: def __init__(self, txt: str): self.y: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt f = A("f") b = B("b") g = B("g") j = A("j") i = B("i") e = A("e") f.y = e f.t = i b.v = f g.v = f j.y = f j.t = b i.v = f e.y = j e.t = g assert e.y.y.y.txt == "
e"
class A: def __init__(self, txt: str): self.y: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt f = A("f") b = B("b") g = B("g") j = A("j") i = B("i") e = A("e") f.y = e f.t = i b.v = f g.v = f j.y = f j.t = b i.v = f e.y = j e.t = g assert e.y.y.y.txt == "e"
e
j
f
e
x
x
x
x
6
9
2
3
1
106
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 a = A("a") c = B("c") d = A("d") b = A("b") f = B("f") a.r = c c.w = f d.r = c b.r = f f.w = c assert a.r.w.w.txt == "
c"
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 a = A("a") c = B("c") d = A("d") b = A("b") f = B("f") a.r = c c.w = f d.r = c b.r = f f.w = c assert a.r.w.w.txt == "c"
a
c
f
c
x
x
x
x
5
5
2
3
1
107
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.y: A = None self.txt = txt h = A("h") j = B("j") a = B("a") g = A("g") d = A("d") i = A("i") e = A("e") h.z = j h.w = j j.y = h a.y = i g.z = a g.w = j d.z = j d.w = j i.z = a i.w = a e.z = a e.w = a assert d.w.y.w.y.z.y.txt == "
h"
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.y: A = None self.txt = txt h = A("h") j = B("j") a = B("a") g = A("g") d = A("d") i = A("i") e = A("e") h.z = j h.w = j j.y = h a.y = i g.z = a g.w = j d.z = j d.w = j i.z = a i.w = a e.z = a e.w = a assert d.w.y.w.y.z.y.txt == "h"
d
j
h
j
h
j
h
x
7
8
2
6
4
108
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt d = A("d") a = B("a") e = B("e") j = A("j") c = A("c") d.y = j a.v = d a.r = j e.v = d e.r = d j.y = d c.y = d assert a.v.y.y.txt == "
d"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt d = A("d") a = B("a") e = B("e") j = A("j") c = A("c") d.y = j a.v = d a.r = j e.v = d e.r = d j.y = d c.y = d assert a.v.y.y.txt == "d"
a
d
j
d
x
x
x
x
5
6
2
3
1
109
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") g = B("g") a = A("a") e = A("e") c = B("c") h = A("h") f.v = h g.v = c a.v = h e.v = f c.v = g h.v = e assert g.v.v.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.v: B = None self.txt = txt f = A("f") g = B("g") a = A("a") e = A("e") c = B("c") h = A("h") f.v = h g.v = c a.v = h e.v = f c.v = g h.v = e assert g.v.v.v.v.v.txt == "c"
g
c
g
c
g
c
x
x
6
6
2
5
4
110
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt g = A("g") a = B("a") j = A("j") g.s = a a.y = g j.s = a assert a.y.s.y.txt == "
g"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt g = A("g") a = B("a") j = A("j") g.s = a a.y = g j.s = a assert a.y.s.y.txt == "g"
a
g
a
g
x
x
x
x
3
3
2
3
2
111
class A: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.r: B = None self.txt = txt f = A("f") c = B("c") g = A("g") a = B("a") b = B("b") f.y = c f.w = c c.z = b c.r = b g.y = c g.w = a a.z = c a.r = c b.z = c b.r = a assert g.w.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.r: B = None self.txt = txt f = A("f") c = B("c") g = A("g") a = B("a") b = B("b") f.y = c f.w = c c.z = b c.r = b g.y = c g.w = a a.z = c a.r = c b.z = c b.r = a assert g.w.z.z.z.txt == "c"
g
a
c
b
c
x
x
x
5
7
2
4
1
112
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: A = None self.txt = txt c = A("c") d = B("d") f = A("f") c.u = f c.s = f d.t = c d.v = f f.u = c f.s = c assert d.t.s.u.txt == "
c"
class A: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: A = None self.txt = txt c = A("c") d = B("d") f = A("f") c.u = f c.s = f d.t = c d.v = f f.u = c f.s = c assert d.t.s.u.txt == "c"
d
c
f
c
x
x
x
x
3
4
2
3
1
113
class A: def __init__(self, txt: str): self.t: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt j = A("j") c = B("c") e = A("e") b = A("b") d = B("d") a = A("a") j.t = a j.z = e c.o = a c.y = d e.t = a e.z = a b.t = e b.z = j d.o = a d.y = c a.t = b a.z = e assert b.t.t.z.t.txt == "
a"
class A: def __init__(self, txt: str): self.t: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt j = A("j") c = B("c") e = A("e") b = A("b") d = B("d") a = A("a") j.t = a j.z = e c.o = a c.y = d e.t = a e.z = a b.t = e b.z = j d.o = a d.y = c a.t = b a.z = e assert b.t.t.z.t.txt == "a"
b
e
a
e
a
x
x
x
6
11
2
4
2
114
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt d = A("d") b = B("b") c = A("c") a = A("a") d.p = b b.r = c c.p = b a.p = b assert c.p.r.p.r.txt == "
c"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt d = A("d") b = B("b") c = A("c") a = A("a") d.p = b b.r = c c.p = b a.p = b assert c.p.r.p.r.txt == "c"
c
b
c
b
c
x
x
x
4
4
2
4
3
115
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.q: B = None self.txt = txt i = A("i") e = B("e") b = B("b") i.v = b i.z = b e.q = b b.q = e assert b.q.q.q.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.q: B = None self.txt = txt i = A("i") e = B("e") b = B("b") i.v = b i.z = b e.q = b b.q = e assert b.q.q.q.txt == "e"
b
e
b
e
x
x
x
x
3
3
2
3
2
116
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt e = A("e") j = B("j") a = A("a") b = B("b") e.u = a j.u = b a.u = e b.u = j assert b.u.u.u.txt == "
j"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt e = A("e") j = B("j") a = A("a") b = B("b") e.u = a j.u = b a.u = e b.u = j assert b.u.u.u.txt == "j"
b
j
b
j
x
x
x
x
4
4
2
3
2
117
class A: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") i = B("i") d = A("d") c = B("c") g.r = d g.w = c i.r = d d.r = g d.w = i c.r = g assert i.r.r.w.txt == "
c"
class A: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") i = B("i") d = A("d") c = B("c") g.r = d g.w = c i.r = d d.r = g d.w = i c.r = g assert i.r.r.w.txt == "c"
i
d
g
c
x
x
x
x
4
6
2
3
0
118
class A: def __init__(self, txt: str): self.t: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.t: B = None self.txt = txt h = A("h") f = B("f") j = B("j") d = A("d") g = A("g") h.t = j h.y = j f.r = j f.t = j j.r = f j.t = f d.t = f d.y = f g.t = f g.y = f assert j.t.r.t.txt == "
f"
class A: def __init__(self, txt: str): self.t: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.t: B = None self.txt = txt h = A("h") f = B("f") j = B("j") d = A("d") g = A("g") h.t = j h.y = j f.r = j f.t = j j.r = f j.t = f d.t = f d.y = f g.t = f g.y = f assert j.t.r.t.txt == "f"
j
f
j
f
x
x
x
x
5
5
2
3
2
119
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") g = B("g") e = A("e") a.w = e g.w = e e.w = a assert e.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.w: A = None self.txt = txt a = A("a") g = B("g") e = A("e") a.w = e g.w = e e.w = a assert e.w.w.w.txt == "a"
e
a
e
a
x
x
x
x
3
3
2
3
2
120
class A: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt c = A("c") g = B("g") e = B("e") b = B("b") j = A("j") d = B("d") h = B("h") c.w = j c.q = j g.s = h e.s = b b.s = g j.w = c j.q = c d.s = h h.s = e assert d.s.s.s.s.s.txt == "
h"
class A: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt c = A("c") g = B("g") e = B("e") b = B("b") j = A("j") d = B("d") h = B("h") c.w = j c.q = j g.s = h e.s = b b.s = g j.w = c j.q = c d.s = h h.s = e assert d.s.s.s.s.s.txt == "h"
d
h
e
b
g
h
x
x
7
7
2
5
1
121
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt d = A("d") h = B("h") g = A("g") c = B("c") b = B("b") d.w = g h.p = c h.o = c g.w = d c.p = h c.o = h b.p = h b.o = h assert h.p.o.o.p.o.txt == "
c"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt d = A("d") h = B("h") g = A("g") c = B("c") b = B("b") d.w = g h.p = c h.o = c g.w = d c.p = h c.o = h b.p = h b.o = h assert h.p.o.o.p.o.txt == "c"
h
c
h
c
h
c
x
x
5
5
2
5
4
122
class A: def __init__(self, txt: str): self.x: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt d = A("d") i = B("i") j = A("j") g = A("g") b = B("b") c = A("c") f = A("f") d.x = b d.o = c i.p = d j.x = b j.o = f g.x = b g.o = j b.p = g c.x = b c.o = f f.x = b f.o = c assert j.o.x.p.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt d = A("d") i = B("i") j = A("j") g = A("g") b = B("b") c = A("c") f = A("f") d.x = b d.o = c i.p = d j.x = b j.o = f g.x = b g.o = j b.p = g c.x = b c.o = f f.x = b f.o = c assert j.o.x.p.txt == "g"
j
f
b
g
x
x
x
x
7
12
2
3
0
123
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 h = A("h") b = B("b") f = A("f") d = B("d") i = B("i") c = B("c") e = A("e") h.t = i b.o = f f.t = d d.o = f i.o = h c.o = e e.t = d assert i.o.t.o.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.o: A = None self.txt = txt h = A("h") b = B("b") f = A("f") d = B("d") i = B("i") c = B("c") e = A("e") h.t = i b.o = f f.t = d d.o = f i.o = h c.o = e e.t = d assert i.o.t.o.t.txt == "i"
i
h
i
h
i
x
x
x
7
7
2
4
3
124
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt g = A("g") a = B("a") b = B("b") e = A("e") h = A("h") i = B("i") j = B("j") g.v = a a.x = e a.y = h b.x = g b.y = e e.v = j h.v = j i.x = g i.y = h j.x = g j.y = g assert j.x.v.x.v.y.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt g = A("g") a = B("a") b = B("b") e = A("e") h = A("h") i = B("i") j = B("j") g.v = a a.x = e a.y = h b.x = g b.y = e e.v = j h.v = j i.x = g i.y = h j.x = g j.y = g assert j.x.v.x.v.y.txt == "g"
j
g
a
e
j
g
x
x
7
10
2
5
2
125
class A: def __init__(self, txt: str): self.p: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt g = A("g") h = B("h") c = B("c") d = A("d") g.p = c g.z = d h.o = c c.o = h d.p = h d.z = g assert d.p.o.o.o.txt == "
c"
class A: def __init__(self, txt: str): self.p: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt g = A("g") h = B("h") c = B("c") d = A("d") g.p = c g.z = d h.o = c c.o = h d.p = h d.z = g assert d.p.o.o.o.txt == "c"
d
h
c
h
c
x
x
x
4
6
2
4
2
126
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.v: A = None self.txt = txt j = A("j") d = B("d") g = B("g") e = A("e") f = B("f") h = A("h") j.o = g d.x = f d.v = j g.x = d g.v = j e.o = g f.x = d f.v = h h.o = g assert h.o.x.v.txt == "
j"
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.v: A = None self.txt = txt j = A("j") d = B("d") g = B("g") e = A("e") f = B("f") h = A("h") j.o = g d.x = f d.v = j g.x = d g.v = j e.o = g f.x = d f.v = h h.o = g assert h.o.x.v.txt == "j"
h
g
d
j
x
x
x
x
6
9
2
3
0
127
class A: def __init__(self, txt: str): self.q: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") d = B("d") h = A("h") i = B("i") b.q = h b.p = h d.r = b h.q = b h.p = b i.r = b assert i.r.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.q: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") d = B("d") h = A("h") i = B("i") b.q = h b.p = h d.r = b h.q = b h.p = b i.r = b assert i.r.p.p.txt == "b"
i
b
h
b
x
x
x
x
4
4
2
3
1
128
class A: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt d = A("d") f = B("f") a = B("a") g = A("g") j = B("j") e = B("e") d.p = e d.o = f f.x = d a.x = d g.p = f g.o = j j.x = d e.x = d assert f.x.o.x.o.x.p.txt == "
e"
class A: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt d = A("d") f = B("f") a = B("a") g = A("g") j = B("j") e = B("e") d.p = e d.o = f f.x = d a.x = d g.p = f g.o = j j.x = d e.x = d assert f.x.o.x.o.x.p.txt == "e"
f
d
f
d
f
d
e
x
6
8
2
6
4
129
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt h = A("h") f = B("f") b = B("b") h.u = f f.x = h b.x = h assert f.x.u.x.txt == "
h"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt h = A("h") f = B("f") b = B("b") h.u = f f.x = h b.x = h assert f.x.u.x.txt == "h"
f
h
f
h
x
x
x
x
3
3
2
3
2
130
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") c = B("c") a = A("a") f.q = c c.p = f a.q = c assert a.q.p.q.txt == "
c"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") c = B("c") a = A("a") f.q = c c.p = f a.q = c assert a.q.p.q.txt == "c"
a
c
f
c
x
x
x
x
3
3
2
3
1
131
class A: def __init__(self, txt: str): self.u: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt j = A("j") h = B("h") c = B("c") e = B("e") a = A("a") g = B("g") f = A("f") j.u = e j.p = a h.s = c c.s = e e.s = c a.u = h a.p = f g.s = c f.u = g f.p = j assert a.u.s.s.txt == "
e"
class A: def __init__(self, txt: str): self.u: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt j = A("j") h = B("h") c = B("c") e = B("e") a = A("a") g = B("g") f = A("f") j.u = e j.p = a h.s = c c.s = e e.s = c a.u = h a.p = f g.s = c f.u = g f.p = j assert a.u.s.s.txt == "e"
a
h
c
e
x
x
x
x
7
10
2
3
0
132
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") h = B("h") b = B("b") j = B("j") f = A("f") c.t = h h.z = j b.z = j j.z = h f.t = h assert f.t.z.z.z.z.txt == "
h"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") h = B("h") b = B("b") j = B("j") f = A("f") c.t = h h.z = j b.z = j j.z = h f.t = h assert f.t.z.z.z.z.txt == "h"
f
h
j
h
j
h
x
x
5
5
2
5
3
133
class A: def __init__(self, txt: str): self.v: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt b = A("b") d = B("d") j = A("j") f = A("f") b.v = f b.z = d d.x = j j.v = f j.z = d f.v = b f.z = d assert d.x.v.z.txt == "
d"
class A: def __init__(self, txt: str): self.v: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt b = A("b") d = B("d") j = A("j") f = A("f") b.v = f b.z = d d.x = j j.v = f j.z = d f.v = b f.z = d assert d.x.v.z.txt == "d"
d
j
f
d
x
x
x
x
4
7
2
3
1
134
class A: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt c = A("c") g = B("g") e = A("e") i = A("i") f = A("f") d = B("d") c.s = i c.v = i g.v = d e.s = i e.v = f i.s = f i.v = f f.s = c f.v = c d.v = g assert c.s.v.v.txt == "
c"
class A: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt c = A("c") g = B("g") e = A("e") i = A("i") f = A("f") d = B("d") c.s = i c.v = i g.v = d e.s = i e.v = f i.s = f i.v = f f.s = c f.v = c d.v = g assert c.s.v.v.txt == "c"
c
i
f
c
x
x
x
x
6
7
2
3
1
135
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.v: A = None self.txt = txt j = A("j") e = B("e") h = B("h") a = B("a") i = A("i") c = A("c") b = A("b") j.y = b e.r = b e.v = b h.r = j h.v = c a.r = i a.v = i i.y = j c.y = b b.y = j assert j.y.y.y.y.y.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.r: A = None self.v: A = None self.txt = txt j = A("j") e = B("e") h = B("h") a = B("a") i = A("i") c = A("c") b = A("b") j.y = b e.r = b e.v = b h.r = j h.v = c a.r = i a.v = i i.y = j c.y = b b.y = j assert j.y.y.y.y.y.y.y.txt == "b"
j
b
j
b
j
b
j
b
7
8
2
7
6
136
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt i = A("i") g = B("g") c = A("c") h = A("h") b = A("b") d = B("d") i.w = b g.r = b c.w = b h.w = i b.w = i d.r = i assert b.w.w.w.w.txt == "
b"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt i = A("i") g = B("g") c = A("c") h = A("h") b = A("b") d = B("d") i.w = b g.r = b c.w = b h.w = i b.w = i d.r = i assert b.w.w.w.w.txt == "b"
b
i
b
i
b
x
x
x
6
6
2
4
3
137
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt i = A("i") a = B("a") b = A("b") c = A("c") j = B("j") h = A("h") e = B("e") i.r = b a.r = c b.r = i c.r = b j.r = c h.r = b e.r = b assert b.r.r.r.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.r: A = None self.txt = txt i = A("i") a = B("a") b = A("b") c = A("c") j = B("j") h = A("h") e = B("e") i.r = b a.r = c b.r = i c.r = b j.r = c h.r = b e.r = b assert b.r.r.r.r.r.r.r.txt == "i"
b
i
b
i
b
i
b
i
7
7
2
7
6
138
class A: def __init__(self, txt: str): self.y: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") g = B("g") b = A("b") f = B("f") e.y = b e.v = b g.q = b b.y = e b.v = e f.q = e assert e.y.v.v.v.txt == "
e"
class A: def __init__(self, txt: str): self.y: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") g = B("g") b = A("b") f = B("f") e.y = b e.v = b g.q = b b.y = e b.v = e f.q = e assert e.y.v.v.v.txt == "e"
e
b
e
b
e
x
x
x
4
4
2
4
3
139
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: B = None self.txt = txt d = A("d") a = B("a") g = B("g") e = A("e") d.w = e a.z = g a.w = g g.z = a g.w = a e.w = d assert a.w.z.z.txt == "
g"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: B = None self.txt = txt d = A("d") a = B("a") g = B("g") e = A("e") d.w = e a.z = g a.w = g g.z = a g.w = a e.w = d assert a.w.z.z.txt == "g"
a
g
a
g
x
x
x
x
4
4
2
3
2
140
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt c = A("c") i = B("i") f = A("f") e = B("e") d = A("d") j = B("j") h = A("h") c.x = e i.p = h f.x = j e.p = d d.x = j j.p = c h.x = e assert e.p.x.p.txt == "
c"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt c = A("c") i = B("i") f = A("f") e = B("e") d = A("d") j = B("j") h = A("h") c.x = e i.p = h f.x = j e.p = d d.x = j j.p = c h.x = e assert e.p.x.p.txt == "c"
e
d
j
c
x
x
x
x
7
7
2
3
0
141
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt j = A("j") i = B("i") d = B("d") j.q = i i.x = d i.y = d d.x = i d.y = i assert d.x.x.x.txt == "
i"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt j = A("j") i = B("i") d = B("d") j.q = i i.x = d i.y = d d.x = i d.y = i assert d.x.x.x.txt == "i"
d
i
d
i
x
x
x
x
3
3
2
3
2
142
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt a = A("a") i = B("i") c = B("c") d = A("d") b = A("b") e = B("e") g = B("g") a.r = g i.u = g c.u = i d.r = c b.r = g e.u = c g.u = e assert c.u.u.u.txt == "
e"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt a = A("a") i = B("i") c = B("c") d = A("d") b = A("b") e = B("e") g = B("g") a.r = g i.u = g c.u = i d.r = c b.r = g e.u = c g.u = e assert c.u.u.u.txt == "e"
c
i
g
e
x
x
x
x
7
7
2
3
0
143
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") b = B("b") i = B("i") e = A("e") h.o = i h.u = i b.z = e i.z = e e.o = i e.u = b assert e.o.z.o.txt == "
i"
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt h = A("h") b = B("b") i = B("i") e = A("e") h.o = i h.u = i b.z = e i.z = e e.o = i e.u = b assert e.o.z.o.txt == "i"
e
i
e
i
x
x
x
x
4
5
2
3
2
144
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: A = None self.txt = txt e = A("e") b = B("b") c = A("c") h = A("h") f = B("f") e.z = f b.y = f b.s = e c.z = b h.z = f f.y = b f.s = c assert f.s.z.y.txt == "
f"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: A = None self.txt = txt e = A("e") b = B("b") c = A("c") h = A("h") f = B("f") e.z = f b.y = f b.s = e c.z = b h.z = f f.y = b f.s = c assert f.s.z.y.txt == "f"
f
c
b
f
x
x
x
x
5
7
2
3
1
145
class A: def __init__(self, txt: str): self.o: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt f = A("f") b = B("b") j = B("j") h = B("h") e = A("e") i = B("i") a = A("a") f.o = j f.t = j b.t = f j.t = e h.t = a e.o = j e.t = b i.t = f a.o = i a.t = h assert f.o.t.o.txt == "
j"
class A: def __init__(self, txt: str): self.o: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt f = A("f") b = B("b") j = B("j") h = B("h") e = A("e") i = B("i") a = A("a") f.o = j f.t = j b.t = f j.t = e h.t = a e.o = j e.t = b i.t = f a.o = i a.t = h assert f.o.t.o.txt == "j"
f
j
e
j
x
x
x
x
7
9
2
3
1
146
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.u: A = None self.txt = txt i = A("i") f = B("f") e = B("e") g = A("g") a = B("a") i.z = a f.z = i f.u = g e.z = i e.u = i g.z = f a.z = i a.u = g assert e.u.z.u.z.txt == "
f"
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.u: A = None self.txt = txt i = A("i") f = B("f") e = B("e") g = A("g") a = B("a") i.z = a f.z = i f.u = g e.z = i e.u = i g.z = f a.z = i a.u = g assert e.u.z.u.z.txt == "f"
e
i
a
g
f
x
x
x
5
7
2
4
0
147
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt c = A("c") b = B("b") a = B("a") i = B("i") e = B("e") h = A("h") f = A("f") c.z = f b.q = i a.q = i i.q = a e.q = i h.z = f f.z = c assert a.q.q.q.q.q.txt == "
i"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt c = A("c") b = B("b") a = B("a") i = B("i") e = B("e") h = A("h") f = A("f") c.z = f b.q = i a.q = i i.q = a e.q = i h.z = f f.z = c assert a.q.q.q.q.q.txt == "i"
a
i
a
i
a
i
x
x
7
7
2
5
4
148
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.y: A = None self.txt = txt e = A("e") j = B("j") g = B("g") c = B("c") e.u = j j.w = g j.y = e g.w = c g.y = e c.w = j c.y = e assert c.y.u.y.u.txt == "
j"
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.y: A = None self.txt = txt e = A("e") j = B("j") g = B("g") c = B("c") e.u = j j.w = g j.y = e g.w = c g.y = e c.w = j c.y = e assert c.y.u.y.u.txt == "j"
c
e
j
e
j
x
x
x
4
7
2
4
2
149
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt c = A("c") h = B("h") d = A("d") j = B("j") c.y = j h.v = j d.y = h j.v = h assert h.v.v.v.txt == "
j"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt c = A("c") h = B("h") d = A("d") j = B("j") c.y = j h.v = j d.y = h j.v = h assert h.v.v.v.txt == "j"
h
j
h
j
x
x
x
x
4
4
2
3
2
150
class A: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt g = A("g") d = B("d") h = A("h") g.y = d g.q = h d.s = g h.y = d h.q = g assert g.y.s.q.txt == "
h"
class A: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt g = A("g") d = B("d") h = A("h") g.y = d g.q = h d.s = g h.y = d h.q = g assert g.y.s.q.txt == "h"
g
d
g
h
x
x
x
x
3
5
2
3
1
151
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.t: A = None self.txt = txt g = A("g") e = B("e") a = B("a") d = B("d") j = B("j") g.v = d e.x = g e.t = g a.x = g a.t = g d.x = g d.t = g j.x = g j.t = g assert d.t.v.x.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.t: A = None self.txt = txt g = A("g") e = B("e") a = B("a") d = B("d") j = B("j") g.v = d e.x = g e.t = g a.x = g a.t = g d.x = g d.t = g j.x = g j.t = g assert d.t.v.x.txt == "g"
d
g
d
g
x
x
x
x
5
5
2
3
2
152
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") h = B("h") i = A("i") b.x = h h.s = b i.x = h assert b.x.s.x.txt == "
h"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") h = B("h") i = A("i") b.x = h h.s = b i.x = h assert b.x.s.x.txt == "h"
b
h
b
h
x
x
x
x
3
3
2
3
2
153
class A: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt d = A("d") c = B("c") h = B("h") b = B("b") e = A("e") f = B("f") a = A("a") d.o = e d.y = b c.z = f h.z = c b.z = c e.o = d e.y = h f.z = c a.o = d a.y = f assert d.o.o.y.z.txt == "
c"
class A: def __init__(self, txt: str): self.o: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt d = A("d") c = B("c") h = B("h") b = B("b") e = A("e") f = B("f") a = A("a") d.o = e d.y = b c.z = f h.z = c b.z = c e.o = d e.y = h f.z = c a.o = d a.y = f assert d.o.o.y.z.txt == "c"
d
e
d
b
c
x
x
x
7
10
2
4
1
154
class A: def __init__(self, txt: str): self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt d = A("d") a = B("a") e = A("e") g = B("g") f = A("f") d.y = a d.x = a a.w = g a.q = g e.y = g e.x = g g.w = a g.q = a f.y = g f.x = a assert d.y.w.q.w.txt == "
g"
class A: def __init__(self, txt: str): self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt d = A("d") a = B("a") e = A("e") g = B("g") f = A("f") d.y = a d.x = a a.w = g a.q = g e.y = g e.x = g g.w = a g.q = a f.y = g f.x = a assert d.y.w.q.w.txt == "g"
d
a
g
a
g
x
x
x
5
6
2
4
2
155
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.v: A = None self.txt = txt a = A("a") h = B("h") e = B("e") a.t = h h.p = a h.v = a e.p = a e.v = a assert e.p.t.p.txt == "
a"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.v: A = None self.txt = txt a = A("a") h = B("h") e = B("e") a.t = h h.p = a h.v = a e.p = a e.v = a assert e.p.t.p.txt == "a"
e
a
h
a
x
x
x
x
3
3
2
3
1
156
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.v: A = None self.u: A = None self.txt = txt e = A("e") f = B("f") d = A("d") c = B("c") e.t = d e.p = c f.v = d f.u = d d.t = e d.p = f c.v = e c.u = e assert c.v.p.v.txt == "
e"
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.v: A = None self.u: A = None self.txt = txt e = A("e") f = B("f") d = A("d") c = B("c") e.t = d e.p = c f.v = d f.u = d d.t = e d.p = f c.v = e c.u = e assert c.v.p.v.txt == "e"
c
e
c
e
x
x
x
x
4
6
2
3
2
157
class A: def __init__(self, txt: str): self.s: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt b = A("b") a = B("a") d = A("d") g = B("g") i = B("i") h = A("h") j = A("j") b.s = h b.t = g a.x = g d.s = b d.t = g g.x = i i.x = a h.s = j h.t = i j.s = b j.t = a assert g.x.x.x.txt == "
g"
class A: def __init__(self, txt: str): self.s: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt b = A("b") a = B("a") d = A("d") g = B("g") i = B("i") h = A("h") j = A("j") b.s = h b.t = g a.x = g d.s = b d.t = g g.x = i i.x = a h.s = j h.t = i j.s = b j.t = a assert g.x.x.x.txt == "g"
g
i
a
g
x
x
x
x
7
11
2
3
1
158
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 b = A("b") j = B("j") g = A("g") i = A("i") e = B("e") h = A("h") b.z = e j.u = b g.z = j i.z = e e.u = i h.z = j assert j.u.z.u.txt == "
i"
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 b = A("b") j = B("j") g = A("g") i = A("i") e = B("e") h = A("h") b.z = e j.u = b g.z = j i.z = e e.u = i h.z = j assert j.u.z.u.txt == "i"
j
b
e
i
x
x
x
x
6
6
2
3
0
159
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") b = B("b") f = A("f") e.v = b b.q = e f.v = b assert e.v.q.v.txt == "
b"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") b = B("b") f = A("f") e.v = b b.q = e f.v = b assert e.v.q.v.txt == "b"
e
b
e
b
x
x
x
x
3
3
2
3
2
160
class A: def __init__(self, txt: str): self.v: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") h = B("h") d = A("d") a = B("a") f = B("f") g.v = d g.s = d h.r = d d.v = g d.s = g a.r = d f.r = g assert d.s.v.v.v.txt == "
d"
class A: def __init__(self, txt: str): self.v: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") h = B("h") d = A("d") a = B("a") f = B("f") g.v = d g.s = d h.r = d d.v = g d.s = g a.r = d f.r = g assert d.s.v.v.v.txt == "d"
d
g
d
g
d
x
x
x
5
5
2
4
3
161
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt d = A("d") f = B("f") c = B("c") i = B("i") d.q = i f.v = i f.t = i c.v = i c.t = f i.v = c i.t = f assert i.t.t.v.t.txt == "
f"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt d = A("d") f = B("f") c = B("c") i = B("i") d.q = i f.v = i f.t = i c.v = i c.t = f i.v = c i.t = f assert i.t.t.v.t.txt == "f"
i
f
i
c
f
x
x
x
4
6
2
4
2
162
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt f = A("f") b = B("b") c = B("c") f.o = b b.v = f c.v = f assert f.o.v.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.v: A = None self.txt = txt f = A("f") b = B("b") c = B("c") f.o = b b.v = f c.v = f assert f.o.v.o.txt == "b"
f
b
f
b
x
x
x
x
3
3
2
3
2
163
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt c = A("c") h = B("h") f = A("f") a = B("a") i = B("i") c.v = f h.z = a h.w = c f.v = c a.z = h a.w = c i.z = h i.w = f assert c.v.v.v.txt == "
f"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt c = A("c") h = B("h") f = A("f") a = B("a") i = B("i") c.v = f h.z = a h.w = c f.v = c a.z = h a.w = c i.z = h i.w = f assert c.v.v.v.txt == "f"
c
f
c
f
x
x
x
x
5
8
2
3
2
164
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt i = A("i") e = B("e") b = A("b") d = A("d") i.y = b e.z = i e.y = b b.y = i d.y = i assert b.y.y.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.z: A = None self.y: A = None self.txt = txt i = A("i") e = B("e") b = A("b") d = A("d") i.y = b e.z = i e.y = b b.y = i d.y = i assert b.y.y.y.y.txt == "b"
b
i
b
i
b
x
x
x
4
5
2
4
3
165
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.o: B = None self.txt = txt g = A("g") f = B("f") d = B("d") b = B("b") i = A("i") c = B("c") h = B("h") g.o = i f.t = i f.o = b d.t = i d.o = f b.t = i b.o = c i.o = g c.t = i c.o = f h.t = i h.o = c assert h.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.t: A = None self.o: B = None self.txt = txt g = A("g") f = B("f") d = B("d") b = B("b") i = A("i") c = B("c") h = B("h") g.o = i f.t = i f.o = b d.t = i d.o = f b.t = i b.o = c i.o = g c.t = i c.o = f h.t = i h.o = c assert h.o.o.o.o.txt == "c"
h
c
f
b
c
x
x
x
7
12
2
4
1
166
class A: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.u: A = None self.txt = txt d = A("d") j = B("j") h = A("h") e = B("e") i = B("i") a = B("a") b = A("b") d.y = i d.p = j j.o = h j.u = b h.y = e h.p = e e.o = h e.u = d i.o = b i.u = b a.o = d a.u = h b.y = j b.p = i assert a.u.y.u.y.txt == "
i"
class A: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.u: A = None self.txt = txt d = A("d") j = B("j") h = A("h") e = B("e") i = B("i") a = B("a") b = A("b") d.y = i d.p = j j.o = h j.u = b h.y = e h.p = e e.o = h e.u = d i.o = b i.u = b a.o = d a.u = h b.y = j b.p = i assert a.u.y.u.y.txt == "i"
a
h
e
d
i
x
x
x
7
12
2
4
0
167
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.o: A = None self.txt = txt b = A("b") i = B("i") c = B("c") j = A("j") d = B("d") e = A("e") f = A("f") b.r = f i.y = d i.o = j c.y = d c.o = f j.r = e d.y = c d.o = f e.r = f f.r = e assert i.y.o.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.y: B = None self.o: A = None self.txt = txt b = A("b") i = B("i") c = B("c") j = A("j") d = B("d") e = A("e") f = A("f") b.r = f i.y = d i.o = j c.y = d c.o = f j.r = e d.y = c d.o = f e.r = f f.r = e assert i.y.o.r.r.txt == "f"
i
d
f
e
f
x
x
x
7
10
2
4
1
168
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt j = A("j") i = B("i") c = A("c") d = B("d") j.u = i i.p = d i.q = d c.u = d d.p = i d.q = i assert c.u.q.p.txt == "
d"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt j = A("j") i = B("i") c = A("c") d = B("d") j.u = i i.p = d i.q = d c.u = d d.p = i d.q = i assert c.u.q.p.txt == "d"
c
d
i
d
x
x
x
x
4
4
2
3
1
169
class A: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt h = A("h") f = B("f") i = B("i") h.u = f h.q = f f.q = h i.q = h assert h.q.q.q.txt == "
f"
class A: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt h = A("h") f = B("f") i = B("i") h.u = f h.q = f f.q = h i.q = h assert h.q.q.q.txt == "f"
h
f
h
f
x
x
x
x
3
3
2
3
2
170
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt c = A("c") h = B("h") d = A("d") j = B("j") g = A("g") a = A("a") c.q = j h.w = a d.q = j j.w = g g.q = j a.q = h assert h.w.q.w.q.txt == "
h"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt c = A("c") h = B("h") d = A("d") j = B("j") g = A("g") a = A("a") c.q = j h.w = a d.q = j j.w = g g.q = j a.q = h assert h.w.q.w.q.txt == "h"
h
a
h
a
h
x
x
x
6
6
2
4
3
171
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt b = A("b") c = B("c") g = A("g") e = B("e") d = B("d") b.p = d c.y = g g.p = e e.y = g d.y = g assert d.y.p.y.txt == "
g"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt b = A("b") c = B("c") g = A("g") e = B("e") d = B("d") b.p = d c.y = g g.p = e e.y = g d.y = g assert d.y.p.y.txt == "g"
d
g
e
g
x
x
x
x
5
5
2
3
1
172
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.q: A = None self.txt = txt e = A("e") j = B("j") g = A("g") a = B("a") d = B("d") i = A("i") b = A("b") e.z = a j.v = i j.q = i g.z = j a.v = g a.q = g d.v = e d.q = e i.z = a b.z = a assert g.z.v.z.v.z.q.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.v: A = None self.q: A = None self.txt = txt e = A("e") j = B("j") g = A("g") a = B("a") d = B("d") i = A("i") b = A("b") e.z = a j.v = i j.q = i g.z = j a.v = g a.q = g d.v = e d.q = e i.z = a b.z = a assert g.z.v.z.v.z.q.z.txt == "a"
g
j
i
a
g
j
i
a
7
7
2
7
4
173
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: B = None self.txt = txt d = A("d") c = B("c") b = B("b") e = B("e") i = A("i") a = A("a") d.w = a c.v = e c.w = e b.v = c b.w = e e.v = c e.w = b i.w = a a.w = d assert d.w.w.w.w.w.w.txt == "
d"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: B = None self.txt = txt d = A("d") c = B("c") b = B("b") e = B("e") i = A("i") a = A("a") d.w = a c.v = e c.w = e b.v = c b.w = e e.v = c e.w = b i.w = a a.w = d assert d.w.w.w.w.w.w.txt == "d"
d
a
d
a
d
a
d
x
6
8
2
6
5
174
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.w: A = None self.txt = txt g = A("g") a = B("a") j = A("j") f = A("f") b = B("b") g.r = b a.q = g a.w = f j.r = a f.r = b b.q = j b.w = g assert j.r.q.r.txt == "
b"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.w: A = None self.txt = txt g = A("g") a = B("a") j = A("j") f = A("f") b = B("b") g.r = b a.q = g a.w = f j.r = a f.r = b b.q = j b.w = g assert j.r.q.r.txt == "b"
j
a
g
b
x
x
x
x
5
7
2
3
0
175
class A: def __init__(self, txt: str): self.p: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt h = A("h") e = B("e") d = A("d") c = B("c") g = A("g") a = A("a") h.p = a h.r = g e.w = h e.q = g d.p = a d.r = g c.w = g c.q = d g.p = a g.r = h a.p = h a.r = g assert h.p.p.p.txt == "
a"
class A: def __init__(self, txt: str): self.p: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt h = A("h") e = B("e") d = A("d") c = B("c") g = A("g") a = A("a") h.p = a h.r = g e.w = h e.q = g d.p = a d.r = g c.w = g c.q = d g.p = a g.r = h a.p = h a.r = g assert h.p.p.p.txt == "a"
h
a
h
a
x
x
x
x
6
12
2
3
2
176
class A: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt b = A("b") a = B("a") j = A("j") c = B("c") f = B("f") b.z = c b.w = j a.s = c j.z = a j.w = b c.s = a f.s = a assert b.w.w.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt b = A("b") a = B("a") j = A("j") c = B("c") f = B("f") b.z = c b.w = j a.s = c j.z = a j.w = b c.s = a f.s = a assert b.w.w.z.txt == "c"
b
j
b
c
x
x
x
x
5
7
2
3
1
177
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") d = B("d") c = A("c") g = B("g") e = A("e") j = B("j") f.v = c d.v = j c.v = e g.v = j e.v = c j.v = d assert f.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.v: B = None self.txt = txt f = A("f") d = B("d") c = A("c") g = B("g") e = A("e") j = B("j") f.v = c d.v = j c.v = e g.v = j e.v = c j.v = d assert f.v.v.v.txt == "c"
f
c
e
c
x
x
x
x
6
6
2
3
1
178
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.y: A = None self.txt = txt d = A("d") a = B("a") b = B("b") d.p = a d.w = b a.y = d b.y = d assert b.y.p.y.txt == "
d"
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.y: A = None self.txt = txt d = A("d") a = B("a") b = B("b") d.p = a d.w = b a.y = d b.y = d assert b.y.p.y.txt == "d"
b
d
a
d
x
x
x
x
3
4
2
3
1
179
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.u: A = None self.txt = txt e = A("e") c = B("c") h = A("h") a = A("a") i = B("i") e.y = h c.s = a c.u = h h.y = e a.y = h i.s = e i.u = e assert a.y.y.y.y.txt == "
e"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.u: A = None self.txt = txt e = A("e") c = B("c") h = A("h") a = A("a") i = B("i") e.y = h c.s = a c.u = h h.y = e a.y = h i.s = e i.u = e assert a.y.y.y.y.txt == "e"
a
h
e
h
e
x
x
x
5
6
2
4
2
180
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 d = A("d") h = B("h") a = B("a") g = B("g") j = B("j") d.r = g h.v = g a.v = j g.v = a j.v = h assert j.v.v.v.v.v.txt == "
h"
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 d = A("d") h = B("h") a = B("a") g = B("g") j = B("j") d.r = g h.v = g a.v = j g.v = a j.v = h assert j.v.v.v.v.v.txt == "h"
j
h
g
a
j
h
x
x
5
5
2
5
2
181
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: B = None self.x: B = None self.txt = txt e = A("e") h = B("h") g = B("g") j = A("j") f = A("f") b = A("b") e.x = b e.q = j h.o = g h.x = g g.o = h g.x = h j.x = f j.q = e f.x = j f.q = b b.x = j b.q = j assert e.q.q.q.x.txt == "
f"
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: B = None self.x: B = None self.txt = txt e = A("e") h = B("h") g = B("g") j = A("j") f = A("f") b = A("b") e.x = b e.q = j h.o = g h.x = g g.o = h g.x = h j.x = f j.q = e f.x = j f.q = b b.x = j b.q = j assert e.q.q.q.x.txt == "f"
e
j
e
j
f
x
x
x
6
9
2
4
2
182
class A: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt i = A("i") h = B("h") f = A("f") d = B("d") b = A("b") e = A("e") j = B("j") i.v = f i.u = e h.v = f h.q = i f.v = e f.u = b d.v = f d.q = e b.v = e b.u = e e.v = i e.u = i j.v = f j.q = b assert j.q.v.u.u.u.u.v.txt == "
i"
class A: def __init__(self, txt: str): self.v: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.q: A = None self.txt = txt i = A("i") h = B("h") f = A("f") d = B("d") b = A("b") e = A("e") j = B("j") i.v = f i.u = e h.v = f h.q = i f.v = e f.u = b d.v = f d.q = e b.v = e b.u = e e.v = i e.u = i j.v = f j.q = b assert j.q.v.u.u.u.u.v.txt == "i"
j
b
e
i
e
i
e
i
7
12
2
7
4
183
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") h = B("h") i = A("i") f = B("f") b = B("b") a.z = i h.z = a i.z = a f.z = i b.z = a assert f.z.z.z.z.z.txt == "
i"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") h = B("h") i = A("i") f = B("f") b = B("b") a.z = i h.z = a i.z = a f.z = i b.z = a assert f.z.z.z.z.z.txt == "i"
f
i
a
i
a
i
x
x
5
5
2
5
3
184
class A: def __init__(self, txt: str): self.r: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: A = None self.txt = txt j = A("j") e = B("e") i = A("i") g = A("g") h = A("h") d = B("d") j.r = d j.s = h e.t = i e.q = g i.r = d i.s = g g.r = d g.s = i h.r = d h.s = i d.t = g d.q = j assert j.r.q.r.t.s.r.txt == "
d"
class A: def __init__(self, txt: str): self.r: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: A = None self.txt = txt j = A("j") e = B("e") i = A("i") g = A("g") h = A("h") d = B("d") j.r = d j.s = h e.t = i e.q = g i.r = d i.s = g g.r = d g.s = i h.r = d h.s = i d.t = g d.q = j assert j.r.q.r.t.s.r.txt == "d"
j
d
j
d
g
i
d
x
6
12
2
6
3
185
class A: def __init__(self, txt: str): self.r: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt j = A("j") a = B("a") c = B("c") f = A("f") j.r = a j.o = f a.x = c c.x = a f.r = c f.o = j assert a.x.x.x.x.txt == "
a"
class A: def __init__(self, txt: str): self.r: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt j = A("j") a = B("a") c = B("c") f = A("f") j.r = a j.o = f a.x = c c.x = a f.r = c f.o = j assert a.x.x.x.x.txt == "a"
a
c
a
c
a
x
x
x
4
6
2
4
3
186
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.z: A = None self.txt = txt f = A("f") j = B("j") g = B("g") f.o = g j.x = g j.z = f g.x = j g.z = f assert j.x.z.o.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.z: A = None self.txt = txt f = A("f") j = B("j") g = B("g") f.o = g j.x = g j.z = f g.x = j g.z = f assert j.x.z.o.txt == "g"
j
g
f
g
x
x
x
x
3
5
2
3
1
187
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.v: B = None self.txt = txt g = A("g") a = B("a") i = B("i") c = A("c") f = A("f") h = A("h") g.w = i a.r = f a.v = i i.r = h i.v = a c.w = a f.w = i h.w = a assert f.w.r.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.r: A = None self.v: B = None self.txt = txt g = A("g") a = B("a") i = B("i") c = A("c") f = A("f") h = A("h") g.w = i a.r = f a.v = i i.r = h i.v = a c.w = a f.w = i h.w = a assert f.w.r.w.v.txt == "i"
f
i
h
a
i
x
x
x
6
8
2
4
1
188
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt j = A("j") a = B("a") d = A("d") j.z = a a.t = j a.w = d d.z = a assert a.t.z.t.txt == "
j"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt j = A("j") a = B("a") d = A("d") j.z = a a.t = j a.w = d d.z = a assert a.t.z.t.txt == "j"
a
j
a
j
x
x
x
x
3
4
2
3
2
189
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.y: A = None self.txt = txt g = A("g") b = B("b") e = B("e") g.x = e b.p = e b.y = g e.p = b e.y = g assert e.y.x.y.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.y: A = None self.txt = txt g = A("g") b = B("b") e = B("e") g.x = e b.p = e b.y = g e.p = b e.y = g assert e.y.x.y.txt == "g"
e
g
e
g
x
x
x
x
3
5
2
3
2
190
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt e = A("e") i = B("i") f = B("f") c = B("c") b = A("b") g = B("g") e.v = b i.p = e f.p = b c.p = e b.v = e g.p = e assert b.v.v.v.v.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.p: A = None self.txt = txt e = A("e") i = B("i") f = B("f") c = B("c") b = A("b") g = B("g") e.v = b i.p = e f.p = b c.p = e b.v = e g.p = e assert b.v.v.v.v.v.v.txt == "b"
b
e
b
e
b
e
b
x
6
6
2
6
5
191
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt f = A("f") d = B("d") j = B("j") g = A("g") e = A("e") f.w = d d.q = f d.y = f j.q = e j.y = e g.w = j e.w = d assert d.q.w.y.w.txt == "
d"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt f = A("f") d = B("d") j = B("j") g = A("g") e = A("e") f.w = d d.q = f d.y = f j.q = e j.y = e g.w = j e.w = d assert d.q.w.y.w.txt == "d"
d
f
d
f
d
x
x
x
5
5
2
4
3
192
class A: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") g = B("g") f = B("f") d.u = g d.q = f g.v = f f.v = g assert g.v.v.v.txt == "
f"
class A: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") g = B("g") f = B("f") d.u = g d.q = f g.v = f f.v = g assert g.v.v.v.txt == "f"
g
f
g
f
x
x
x
x
3
4
2
3
2
193
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt c = A("c") h = B("h") j = A("j") i = A("i") g = A("g") e = A("e") c.x = h h.v = g j.x = h i.x = h g.x = h e.x = h assert g.x.v.x.v.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt c = A("c") h = B("h") j = A("j") i = A("i") g = A("g") e = A("e") c.x = h h.v = g j.x = h i.x = h g.x = h e.x = h assert g.x.v.x.v.txt == "g"
g
h
g
h
g
x
x
x
6
6
2
4
3
194
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt f = A("f") h = B("h") e = B("e") g = A("g") d = A("d") f.o = e h.u = e e.u = h g.o = e d.o = e assert d.o.u.u.u.u.txt == "
e"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt f = A("f") h = B("h") e = B("e") g = A("g") d = A("d") f.o = e h.u = e e.u = h g.o = e d.o = e assert d.o.u.u.u.u.txt == "e"
d
e
h
e
h
e
x
x
5
5
2
5
3
195
class A: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt j = A("j") i = B("i") d = A("d") e = A("e") b = B("b") c = A("c") a = B("a") j.w = b j.t = a i.y = d d.w = a d.t = b e.w = i e.t = i b.y = j c.w = a c.t = i a.y = e assert d.t.y.w.y.txt == "
j"
class A: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt j = A("j") i = B("i") d = A("d") e = A("e") b = B("b") c = A("c") a = B("a") j.w = b j.t = a i.y = d d.w = a d.t = b e.w = i e.t = i b.y = j c.w = a c.t = i a.y = e assert d.t.y.w.y.txt == "j"
d
b
j
b
j
x
x
x
7
10
2
4
2
196
class A: def __init__(self, txt: str): self.q: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt j = A("j") e = B("e") g = B("g") f = B("f") b = A("b") i = A("i") j.q = g j.w = i e.o = i g.o = j f.o = i b.q = g b.w = i i.q = e i.w = j assert i.w.q.o.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt j = A("j") e = B("e") g = B("g") f = B("f") b = A("b") i = A("i") j.q = g j.w = i e.o = i g.o = j f.o = i b.q = g b.w = i i.q = e i.w = j assert i.w.q.o.txt == "j"
i
j
g
j
x
x
x
x
6
9
2
3
1
197
class A: def __init__(self, txt: str): self.y: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.v: A = None self.txt = txt f = A("f") b = B("b") e = A("e") d = B("d") g = A("g") a = B("a") f.y = a f.v = e b.w = e b.v = f e.y = d e.v = g d.w = g d.v = e g.y = d g.v = e a.w = f a.v = e assert a.w.v.v.v.y.w.txt == "
g"
class A: def __init__(self, txt: str): self.y: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.v: A = None self.txt = txt f = A("f") b = B("b") e = A("e") d = B("d") g = A("g") a = B("a") f.y = a f.v = e b.w = e b.v = f e.y = d e.v = g d.w = g d.v = e g.y = d g.v = e a.w = f a.v = e assert a.w.v.v.v.y.w.txt == "g"
a
f
e
g
e
d
g
x
6
12
2
6
2
198
class A: def __init__(self, txt: str): self.t: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt e = A("e") c = B("c") h = A("h") j = B("j") g = B("g") d = A("d") i = B("i") e.t = h e.w = g c.p = j h.t = d h.w = j j.p = c g.p = i d.t = e d.w = c i.p = g assert d.t.t.t.w.p.txt == "
j"
class A: def __init__(self, txt: str): self.t: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt e = A("e") c = B("c") h = A("h") j = B("j") g = B("g") d = A("d") i = B("i") e.t = h e.w = g c.p = j h.t = d h.w = j j.p = c g.p = i d.t = e d.w = c i.p = g assert d.t.t.t.w.p.txt == "j"
d
e
h
d
c
j
x
x
7
10
2
5
1
199
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: B = None self.txt = txt f = A("f") e = B("e") i = B("i") h = A("h") f.x = i e.u = i e.x = i i.u = e i.x = e h.x = e assert i.u.x.x.x.txt == "
i"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: B = None self.txt = txt f = A("f") e = B("e") i = B("i") h = A("h") f.x = i e.u = i e.x = i i.u = e i.x = e h.x = e assert i.u.x.x.x.txt == "i"
i
e
i
e
i
x
x
x
4
4
2
4
3