id
int64
0
25k
prompt
stringlengths
265
3.39k
answer
stringclasses
14 values
pythoncode
stringlengths
267
3.39k
num_nodes
int64
3
10
num_edges
int64
3
56
avg_node_edge
float64
1
5.6
graph_density
float64
0.11
1
num_classes
int64
2
10
avg_node_class
float64
1
5
max_num_field
int64
1
10
min_num_field
int64
1
5
avg_num_field
float64
1
7.8
path_length
int64
3
10
max_node_visits
int64
1
6
max_edge_visits
int64
1
5
unique_node_number
int64
2
10
path_node_coverage
float64
0.2
1
unique_edge_number
int64
2
10
path_edge_coverage
float64
0.04
1
num_cycle
int64
0
9
shortest_cycle
int64
2
9
longest_cycle
int64
2
10
average_cycle
float64
2
9
unique_edge_label
int64
1
9
max_label_occurrences
int64
1
10
max_label_consecutive
int64
1
10
max_node_outdegree
int64
1
5
900
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.y: A = None self.txt = txt a = A("a") m = B("m") c = A("c") a.q = c m.t = a m.y = a c.q = a assert m.y.q.q.txt == "
a"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.y: A = None self.txt = txt a = A("a") m = B("m") c = A("c") a.q = c m.t = a m.y = a c.q = a assert m.y.q.q.txt == "a"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
901
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt c = A("c") f = B("f") a = B("a") g = A("g") d = A("d") b = A("b") n = A("n") h = A("h") l = A("l") c.v = a f.y = a a.y = f g.v = f d.v = a b.v = f n.v = f h.v = a l.v = f assert c.v.y.y.y.y.y.y.y.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt c = A("c") f = B("f") a = B("a") g = A("g") d = A("d") b = A("b") n = A("n") h = A("h") l = A("l") c.v = a f.y = a a.y = f g.v = f d.v = a b.v = f n.v = f h.v = a l.v = f assert c.v.y.y.y.y.y.y.y.txt == "f"
9
9
1
0.125
2
4.5
1
1
1
8
4
4
3
0.333333
3
0.333333
6
2
6
3.333333
2
7
7
1
902
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.v: A = None self.txt = txt g = A("g") h = B("h") i = A("i") b = B("b") k = B("k") a = B("a") f = B("f") j = B("j") c = B("c") g.x = i h.o = j h.v = i i.x = g b.o = k b.v = i k.o = b k.v = i a.o = c a.v = g f.o = c f.v = g j.o = f j.v = i c.o = b c.v = i assert f.o.v.x.x.x.x.x.txt == "
g"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.v: A = None self.txt = txt g = A("g") h = B("h") i = A("i") b = B("b") k = B("k") a = B("a") f = B("f") j = B("j") c = B("c") g.x = i h.o = j h.v = i i.x = g b.o = k b.v = i k.o = b k.v = i a.o = c a.v = g f.o = c f.v = g j.o = f j.v = i c.o = b c.v = i assert f.o.v.x.x.x.x.x.txt == "g"
9
16
1.777778
0.222222
2
4.5
2
1
1.5
7
3
3
4
0.444444
4
0.25
4
2
4
2.666667
3
5
5
1
903
class A: def __init__(self, txt: str): self.s: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: B = None self.txt = txt g = A("g") c = B("c") b = B("b") e = B("e") n = A("n") l = A("l") k = B("k") i = B("i") f = A("f") m = B("m") g.s = k g.y = n c.y = m c.u = b b.y = k b.u = e e.y = b e.u = m n.s = i n.y = f l.s = b l.y = g k.y = i k.u = i i.y = b i.u = c f.s = i f.y = l m.y = e m.u = k assert c.y.y.y.u.y.y.u.txt == "
i"
class A: def __init__(self, txt: str): self.s: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: B = None self.txt = txt g = A("g") c = B("c") b = B("b") e = B("e") n = A("n") l = A("l") k = B("k") i = B("i") f = A("f") m = B("m") g.s = k g.y = n c.y = m c.u = b b.y = k b.u = e e.y = b e.u = m n.s = i n.y = f l.s = b l.y = g k.y = i k.u = i i.y = b i.u = c f.s = i f.y = l m.y = e m.u = k assert c.y.y.y.u.y.y.u.txt == "i"
10
19
1.9
0.211111
2
5
2
2
2
7
2
2
6
0.6
6
0.315789
2
2
2
2
2
5
3
2
904
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.o: A = None self.txt = txt g = A("g") n = B("n") a = B("a") g.o = a g.u = a n.o = g a.o = g assert n.o.o.o.txt == "
g"
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.o: A = None self.txt = txt g = A("g") n = B("n") a = B("a") g.o = a g.u = a n.o = g a.o = g assert n.o.o.o.txt == "g"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
905
class A: def __init__(self, txt: str): self.s: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt n = A("n") m = B("m") j = B("j") g = B("g") e = B("e") h = A("h") k = A("k") b = B("b") d = A("d") a = B("a") n.s = h n.x = j m.p = g j.p = g g.p = e e.p = m h.s = d h.x = g k.s = n k.x = b b.p = e d.s = h d.x = e a.p = m assert b.p.p.p.p.p.p.txt == "
g"
class A: def __init__(self, txt: str): self.s: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt n = A("n") m = B("m") j = B("j") g = B("g") e = B("e") h = A("h") k = A("k") b = B("b") d = A("d") a = B("a") n.s = h n.x = j m.p = g j.p = g g.p = e e.p = m h.s = d h.x = g k.s = n k.x = b b.p = e d.s = h d.x = e a.p = m assert b.p.p.p.p.p.p.txt == "g"
10
14
1.4
0.155556
2
5
2
1
1.5
6
2
2
4
0.4
4
0.285714
3
3
3
3
1
6
6
1
906
class A: def __init__(self, txt: str): self.u: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.v: A = None self.txt = txt a = A("a") m = B("m") i = A("i") j = A("j") h = A("h") d = A("d") c = A("c") f = B("f") a.u = c a.s = f m.o = j m.v = d i.u = a i.s = f j.u = c j.s = m h.u = i h.s = m d.u = i d.s = m c.u = a c.s = m f.o = h f.v = d assert c.s.o.u.s.o.s.o.s.txt == "
m"
class A: def __init__(self, txt: str): self.u: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.v: A = None self.txt = txt a = A("a") m = B("m") i = A("i") j = A("j") h = A("h") d = A("d") c = A("c") f = B("f") a.u = c a.s = f m.o = j m.v = d i.u = a i.s = f j.u = c j.s = m h.u = i h.s = m d.u = i d.s = m c.u = a c.s = m f.o = h f.v = d assert c.s.o.u.s.o.s.o.s.txt == "m"
8
16
2
0.285714
2
4
2
2
2
8
4
3
3
0.375
4
0.25
6
2
7
3.6
3
4
1
2
907
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt g = A("g") m = B("m") a = B("a") g.t = a m.y = a a.y = m assert m.y.y.y.txt == "
a"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt g = A("g") m = B("m") a = B("a") g.t = a m.y = a a.y = m assert m.y.y.y.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
908
class A: def __init__(self, txt: str): self.w: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt m = A("m") n = B("n") f = B("f") d = B("d") b = B("b") i = B("i") l = A("l") a = B("a") c = A("c") m.w = a m.y = c n.x = m f.x = m d.x = l b.x = m i.x = c l.w = a l.y = m a.x = l c.w = d c.y = m assert d.x.w.x.y.txt == "
m"
class A: def __init__(self, txt: str): self.w: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt m = A("m") n = B("n") f = B("f") d = B("d") b = B("b") i = B("i") l = A("l") a = B("a") c = A("c") m.w = a m.y = c n.x = m f.x = m d.x = l b.x = m i.x = c l.w = a l.y = m a.x = l c.w = d c.y = m assert d.x.w.x.y.txt == "m"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
4
2
1
4
0.444444
4
0.333333
1
2
2
2
3
2
1
2
909
class A: def __init__(self, txt: str): self.o: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.r: B = None self.txt = txt j = A("j") a = B("a") n = B("n") f = A("f") j.o = f j.s = n a.s = n a.r = n n.s = a n.r = a f.o = j f.s = a assert f.s.s.r.r.txt == "
n"
class A: def __init__(self, txt: str): self.o: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.r: B = None self.txt = txt j = A("j") a = B("a") n = B("n") f = A("f") j.o = f j.s = n a.s = n a.r = n n.s = a n.r = a f.o = j f.s = a assert f.s.s.r.r.txt == "n"
4
6
1.5
0.5
2
2
2
2
2
4
2
1
3
0.75
4
0.666667
2
2
2
2
2
2
2
2
910
class A: def __init__(self, txt: str): self.u: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: B = None self.txt = txt c = A("c") h = B("h") m = A("m") d = B("d") a = B("a") n = B("n") e = A("e") j = B("j") c.u = e c.z = j h.s = c h.v = j m.u = c m.z = j d.s = e d.v = j a.s = e a.v = h n.s = e n.v = h e.u = m e.z = n j.s = c j.v = h assert d.v.s.z.s.u.u.txt == "
m"
class A: def __init__(self, txt: str): self.u: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: B = None self.txt = txt c = A("c") h = B("h") m = A("m") d = B("d") a = B("a") n = B("n") e = A("e") j = B("j") c.u = e c.z = j h.s = c h.v = j m.u = c m.z = j d.s = e d.v = j a.s = e a.v = h n.s = e n.v = h e.u = m e.z = n j.s = c j.v = h assert d.v.s.z.s.u.u.txt == "m"
8
16
2
0.285714
2
4
2
2
2
6
2
2
5
0.625
5
0.3125
2
2
2
2
4
2
2
2
911
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt l = A("l") c = B("c") e = A("e") m = B("m") j = A("j") n = B("n") f = A("f") g = A("g") h = B("h") l.y = g c.y = h e.y = j m.y = n j.y = l n.y = h f.y = e g.y = l h.y = m assert c.y.y.y.y.y.y.y.y.y.txt == "
n"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt l = A("l") c = B("c") e = A("e") m = B("m") j = A("j") n = B("n") f = A("f") g = A("g") h = B("h") l.y = g c.y = h e.y = j m.y = n j.y = l n.y = h f.y = e g.y = l h.y = m assert c.y.y.y.y.y.y.y.y.y.txt == "n"
9
9
1
0.125
2
4.5
1
1
1
9
3
3
4
0.444444
4
0.444444
6
3
6
4
1
9
9
1
912
class A: def __init__(self, txt: str): self.y: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt m = A("m") h = B("h") i = B("i") e = A("e") l = B("l") k = A("k") f = A("f") c = B("c") g = B("g") a = A("a") m.y = a m.t = e h.o = c i.o = h e.y = a e.t = m l.o = i k.y = f k.t = m f.y = e f.t = e c.o = g g.o = l a.y = e a.t = e assert g.o.o.o.o.o.o.txt == "
l"
class A: def __init__(self, txt: str): self.y: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt m = A("m") h = B("h") i = B("i") e = A("e") l = B("l") k = A("k") f = A("f") c = B("c") g = B("g") a = A("a") m.y = a m.t = e h.o = c i.o = h e.y = a e.t = m l.o = i k.y = f k.t = m f.y = e f.t = e c.o = g g.o = l a.y = e a.t = e assert g.o.o.o.o.o.o.txt == "l"
10
13
1.3
0.144444
2
5
2
1
1.5
6
2
2
5
0.5
5
0.384615
2
5
5
5
1
6
6
1
913
class A: def __init__(self, txt: str): self.p: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt l = A("l") g = B("g") k = A("k") a = B("a") d = A("d") j = B("j") b = B("b") i = A("i") h = A("h") l.p = i l.u = g g.v = h k.p = l k.u = g a.v = h d.p = i d.u = g j.v = l b.v = d i.p = k i.u = b h.p = l h.u = g assert a.v.u.v.txt == "
h"
class A: def __init__(self, txt: str): self.p: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt l = A("l") g = B("g") k = A("k") a = B("a") d = A("d") j = B("j") b = B("b") i = A("i") h = A("h") l.p = i l.u = g g.v = h k.p = l k.u = g a.v = h d.p = i d.u = g j.v = l b.v = d i.p = k i.u = b h.p = l h.u = g assert a.v.u.v.txt == "h"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
3
2
1
3
0.333333
3
0.214286
1
2
2
2
2
2
1
1
914
class A: def __init__(self, txt: str): self.q: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt f = A("f") i = B("i") a = B("a") l = B("l") k = B("k") j = A("j") h = A("h") f.q = k f.t = j i.u = l i.r = j a.u = i a.r = j l.u = i l.r = h k.u = l k.r = j j.q = k j.t = f h.q = a h.t = j assert j.t.t.q.r.txt == "
j"
class A: def __init__(self, txt: str): self.q: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt f = A("f") i = B("i") a = B("a") l = B("l") k = B("k") j = A("j") h = A("h") f.q = k f.t = j i.u = l i.r = j a.u = i a.r = j l.u = i l.r = h k.u = l k.r = j j.q = k j.t = f h.q = a h.t = j assert j.t.t.q.r.txt == "j"
7
14
2
0.333333
2
3.5
2
2
2
4
3
1
3
0.428571
4
0.285714
2
2
4
2.666667
3
2
2
2
915
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.z: A = None self.txt = txt j = A("j") g = B("g") i = B("i") m = B("m") e = A("e") l = A("l") c = A("c") d = B("d") k = A("k") j.z = d g.t = i g.z = c i.t = d i.z = l m.t = i m.z = l e.z = m l.z = d c.z = d d.t = g d.z = k k.z = g assert e.z.z.z.z.z.z.z.t.txt == "
g"
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.z: A = None self.txt = txt j = A("j") g = B("g") i = B("i") m = B("m") e = A("e") l = A("l") c = A("c") d = B("d") k = A("k") j.z = d g.t = i g.z = c i.t = d i.z = l m.t = i m.z = l e.z = m l.z = d c.z = d d.t = g d.z = k k.z = g assert e.z.z.z.z.z.z.z.t.txt == "g"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
8
2
1
7
0.777778
8
0.615385
2
3
4
3.5
2
7
7
2
916
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.t: B = None self.txt = txt a = A("a") j = B("j") h = A("h") l = A("l") n = B("n") k = A("k") e = A("e") a.p = j a.z = k j.t = n h.p = j h.z = e l.p = j l.z = a n.t = j k.p = n k.z = h e.p = j e.z = h assert e.p.t.t.t.t.t.txt == "
n"
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.t: B = None self.txt = txt a = A("a") j = B("j") h = A("h") l = A("l") n = B("n") k = A("k") e = A("e") a.p = j a.z = k j.t = n h.p = j h.z = e l.p = j l.z = a n.t = j k.p = n k.z = h e.p = j e.z = h assert e.p.t.t.t.t.t.txt == "n"
7
12
1.714286
0.285714
2
3.5
2
1
1.5
6
3
3
3
0.428571
3
0.25
4
2
4
2.666667
2
5
5
1
917
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt l = A("l") g = B("g") c = B("c") m = A("m") h = A("h") i = B("i") e = B("e") j = A("j") a = B("a") l.q = m g.t = h c.t = l m.q = h h.q = m i.t = m e.t = h j.q = l a.t = h assert m.q.q.q.q.q.txt == "
h"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt l = A("l") g = B("g") c = B("c") m = A("m") h = A("h") i = B("i") e = B("e") j = A("j") a = B("a") l.q = m g.t = h c.t = l m.q = h h.q = m i.t = m e.t = h j.q = l a.t = h assert m.q.q.q.q.q.txt == "h"
9
9
1
0.125
2
4.5
1
1
1
5
3
3
2
0.222222
2
0.222222
4
2
4
2.666667
1
5
5
1
918
class A: def __init__(self, txt: str): self.z: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt m = A("m") j = B("j") a = A("a") f = A("f") n = B("n") h = A("h") m.z = h m.r = n j.t = a a.z = m a.r = n f.z = a f.r = j n.t = m h.z = m h.r = n assert m.r.t.r.t.z.z.txt == "
m"
class A: def __init__(self, txt: str): self.z: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt m = A("m") j = B("j") a = A("a") f = A("f") n = B("n") h = A("h") m.z = h m.r = n j.t = a a.z = m a.r = n f.z = a f.r = j n.t = m h.z = m h.r = n assert m.r.t.r.t.z.z.txt == "m"
6
10
1.666667
0.333333
2
3
2
1
1.5
6
4
2
3
0.5
4
0.4
4
2
6
3.142857
3
2
2
2
919
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") c = B("c") m = A("m") h = B("h") j = B("j") a = A("a") d = B("d") b.q = a c.q = a m.q = a h.q = b j.q = m a.q = b d.q = b assert h.q.q.q.txt == "
b"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") c = B("c") m = A("m") h = B("h") j = B("j") a = A("a") d = B("d") b.q = a c.q = a m.q = a h.q = b j.q = m a.q = b d.q = b assert h.q.q.q.txt == "b"
7
7
1
0.166667
2
3.5
1
1
1
3
2
1
3
0.428571
3
0.428571
1
2
2
2
1
3
3
1
920
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.q: B = None self.txt = txt m = A("m") g = B("g") e = A("e") k = B("k") m.r = g g.o = m g.q = k e.r = k k.o = e k.q = g assert m.r.o.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.o: A = None self.q: B = None self.txt = txt m = A("m") g = B("g") e = A("e") k = B("k") m.r = g g.o = m g.q = k e.r = k k.o = e k.q = g assert m.r.o.r.txt == "g"
4
6
1.5
0.5
2
2
2
1
1.5
3
2
2
2
0.5
2
0.333333
2
2
2
2
2
2
1
1
921
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt e = A("e") n = B("n") g = A("g") e.p = g n.w = g g.p = e assert n.w.p.p.txt == "
g"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt e = A("e") n = B("n") g = A("g") e.p = g n.w = g g.p = e assert n.w.p.p.txt == "g"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
922
class A: def __init__(self, txt: str): self.s: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.r: B = None self.txt = txt k = A("k") b = B("b") g = A("g") n = B("n") c = A("c") k.s = n k.y = c b.w = g b.r = n g.s = b g.y = k n.w = g n.r = b c.s = b c.y = k assert n.r.w.s.w.y.txt == "
k"
class A: def __init__(self, txt: str): self.s: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.r: B = None self.txt = txt k = A("k") b = B("b") g = A("g") n = B("n") c = A("c") k.s = n k.y = c b.w = g b.r = n g.s = b g.y = k n.w = g n.r = b c.s = b c.y = k assert n.r.w.s.w.y.txt == "k"
5
10
2
0.5
2
2.5
2
2
2
5
2
2
4
0.8
4
0.4
2
2
2
2
4
2
1
2
923
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.txt = txt m = A("m") l = B("l") a = A("a") g = A("g") h = A("h") d = B("d") f = A("f") m.y = a l.r = h a.y = f g.y = h h.y = f d.r = f f.y = a assert f.y.y.y.y.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.r: A = None self.txt = txt m = A("m") l = B("l") a = A("a") g = A("g") h = A("h") d = B("d") f = A("f") m.y = a l.r = h a.y = f g.y = h h.y = f d.r = f f.y = a assert f.y.y.y.y.y.y.txt == "f"
7
7
1
0.166667
2
3.5
1
1
1
6
4
3
2
0.285714
2
0.285714
5
2
6
3.111111
1
6
6
1
924
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.z: B = None self.txt = txt m = A("m") h = B("h") g = B("g") m.v = g h.v = g h.z = g g.v = h g.z = h assert h.v.z.z.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.z: B = None self.txt = txt m = A("m") h = B("h") g = B("g") m.v = g h.v = g h.z = g g.v = h g.z = h assert h.v.z.z.txt == "g"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
2
0.666667
3
1
2
2
2
2
2
2
2
2
925
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.txt = txt j = A("j") h = B("h") l = A("l") k = A("k") j.s = l h.v = j l.s = k k.s = l assert j.s.s.s.s.txt == "
k"
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.txt = txt j = A("j") h = B("h") l = A("l") k = A("k") j.s = l h.v = j l.s = k k.s = l assert j.s.s.s.s.txt == "k"
4
4
1
0.333333
2
2
1
1
1
4
2
2
3
0.75
3
0.75
2
2
2
2
1
4
4
1
926
class A: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") l = B("l") m = B("m") c = A("c") e = A("e") b = A("b") i = A("i") a = B("a") n = A("n") h.t = e h.q = l l.p = a m.p = l c.t = h c.q = m e.t = b e.q = m b.t = n b.q = a i.t = e i.q = m a.p = l n.t = b n.q = l assert e.t.q.p.p.p.p.p.p.txt == "
a"
class A: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") l = B("l") m = B("m") c = A("c") e = A("e") b = A("b") i = A("i") a = B("a") n = A("n") h.t = e h.q = l l.p = a m.p = l c.t = h c.q = m e.t = b e.q = m b.t = n b.q = a i.t = e i.q = m a.p = l n.t = b n.q = l assert e.t.q.p.p.p.p.p.p.txt == "a"
9
15
1.666667
0.208333
2
4.5
2
1
1.5
8
4
3
4
0.444444
4
0.266667
5
2
6
3.111111
3
6
6
1
927
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.u: B = None self.txt = txt k = A("k") f = B("f") j = B("j") e = B("e") n = B("n") m = B("m") d = B("d") k.o = n f.v = e f.u = j j.v = n j.u = e e.v = f e.u = n n.v = d n.u = m m.v = f m.u = e d.v = j d.u = m assert k.o.u.u.v.v.u.txt == "
n"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.u: B = None self.txt = txt k = A("k") f = B("f") j = B("j") e = B("e") n = B("n") m = B("m") d = B("d") k.o = n f.v = e f.u = j j.v = n j.u = e e.v = f e.u = n n.v = d n.u = m m.v = f m.u = e d.v = j d.u = m assert k.o.u.u.v.v.u.txt == "n"
7
13
1.857143
0.309524
2
3.5
2
1
1.5
6
2
1
5
0.714286
6
0.461538
2
2
5
3.5
3
3
2
2
928
class A: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt l = A("l") i = B("i") m = B("m") e = B("e") c = A("c") d = A("d") j = A("j") f = B("f") g = A("g") b = B("b") l.r = g l.o = g i.s = l m.s = c e.s = d c.r = d c.o = j d.r = g d.o = g j.r = c j.o = d f.s = l g.r = d g.o = j b.s = l assert j.o.r.o.txt == "
j"
class A: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt l = A("l") i = B("i") m = B("m") e = B("e") c = A("c") d = A("d") j = A("j") f = B("f") g = A("g") b = B("b") l.r = g l.o = g i.s = l m.s = c e.s = d c.r = d c.o = j d.r = g d.o = g j.r = c j.o = d f.s = l g.r = d g.o = j b.s = l assert j.o.r.o.txt == "j"
10
13
1.3
0.144444
2
5
2
1
1.5
3
2
1
3
0.3
3
0.230769
1
3
3
3
2
2
1
1
929
class A: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt c = A("c") l = B("l") f = B("f") h = B("h") c.x = h c.y = l l.p = f f.p = h h.p = f assert h.p.p.p.p.txt == "
h"
class A: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt c = A("c") l = B("l") f = B("f") h = B("h") c.x = h c.y = l l.p = f f.p = h h.p = f assert h.p.p.p.p.txt == "h"
4
5
1.25
0.416667
2
2
2
1
1.5
4
3
2
2
0.5
2
0.4
3
2
4
2.5
1
4
4
1
930
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt c = A("c") j = B("j") m = A("m") l = A("l") k = A("k") b = B("b") f = B("f") e = B("e") i = A("i") c.t = m j.p = e j.s = m m.t = c l.t = i k.t = i b.p = j b.s = l f.p = e f.s = m e.p = j e.s = c i.t = m assert m.t.t.t.t.t.t.txt == "
m"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt c = A("c") j = B("j") m = A("m") l = A("l") k = A("k") b = B("b") f = B("f") e = B("e") i = A("i") c.t = m j.p = e j.s = m m.t = c l.t = i k.t = i b.p = j b.s = l f.p = e f.s = m e.p = j e.s = c i.t = m assert m.t.t.t.t.t.t.txt == "m"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
6
4
3
2
0.222222
2
0.153846
5
2
6
3.111111
1
6
6
1
931
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.t: A = None self.txt = txt b = A("b") d = B("d") a = A("a") b.o = a d.o = b d.t = b a.o = b assert a.o.o.o.txt == "
b"
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.t: A = None self.txt = txt b = A("b") d = B("d") a = A("a") b.o = a d.o = b d.t = b a.o = b assert a.o.o.o.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
932
class A: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") a = B("a") l = A("l") k = B("k") g = A("g") n = A("n") b = B("b") i.s = a i.w = a a.t = k l.s = b l.w = k k.t = b g.s = a g.w = a n.s = k n.w = a b.t = a assert k.t.t.t.t.txt == "
b"
class A: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.txt = txt i = A("i") a = B("a") l = A("l") k = B("k") g = A("g") n = A("n") b = B("b") i.s = a i.w = a a.t = k l.s = b l.w = k k.t = b g.s = a g.w = a n.s = k n.w = a b.t = a assert k.t.t.t.t.txt == "b"
7
9
1.285714
0.214286
2
3.5
2
1
1.5
4
2
2
3
0.428571
3
0.333333
2
3
3
3
1
4
4
1
933
class A: def __init__(self, txt: str): self.t: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") j = B("j") k = A("k") l = A("l") m = A("m") f.t = j f.v = j j.p = l k.t = j k.v = j l.t = j l.v = j m.t = j m.v = j assert j.p.v.p.v.p.txt == "
l"
class A: def __init__(self, txt: str): self.t: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") j = B("j") k = A("k") l = A("l") m = A("m") f.t = j f.v = j j.p = l k.t = j k.v = j l.t = j l.v = j m.t = j m.v = j assert j.p.v.p.v.p.txt == "l"
5
5
1
0.25
2
2.5
2
1
1.5
5
3
3
2
0.4
2
0.4
4
2
4
2.666667
2
3
1
1
934
class A: def __init__(self, txt: str): self.v: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt a = A("a") f = B("f") l = A("l") n = B("n") d = A("d") m = A("m") c = B("c") k = B("k") g = A("g") h = B("h") a.v = m a.s = k f.w = n l.v = d l.s = n n.w = h d.v = l d.s = f m.v = l m.s = n c.w = n k.w = h g.v = l g.s = n h.w = f assert f.w.w.w.w.w.w.w.txt == "
n"
class A: def __init__(self, txt: str): self.v: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt a = A("a") f = B("f") l = A("l") n = B("n") d = A("d") m = A("m") c = B("c") k = B("k") g = A("g") h = B("h") a.v = m a.s = k f.w = n l.v = d l.s = n n.w = h d.v = l d.s = f m.v = l m.s = n c.w = n k.w = h g.v = l g.s = n h.w = f assert f.w.w.w.w.w.w.w.txt == "n"
10
15
1.5
0.166667
2
5
2
1
1.5
7
3
3
3
0.3
3
0.2
5
3
6
3.857143
1
7
7
1
935
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt n = A("n") h = B("h") b = A("b") l = B("l") d = A("d") i = A("i") m = B("m") n.o = d h.x = l b.o = n l.x = h d.o = n i.o = n m.x = h assert h.x.x.x.txt == "
l"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt n = A("n") h = B("h") b = A("b") l = B("l") d = A("d") i = A("i") m = B("m") n.o = d h.x = l b.o = n l.x = h d.o = n i.o = n m.x = h assert h.x.x.x.txt == "l"
7
7
1
0.166667
2
3.5
1
1
1
3
2
2
2
0.285714
2
0.285714
2
2
2
2
1
3
3
1
936
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.o: A = None self.txt = txt m = A("m") i = B("i") l = A("l") m.y = l i.x = l i.o = l l.y = m assert i.o.y.y.txt == "
l"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.o: A = None self.txt = txt m = A("m") i = B("i") l = A("l") m.y = l i.x = l i.o = l l.y = m assert i.o.y.y.txt == "l"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
937
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt g = A("g") e = B("e") c = A("c") g.y = e e.s = c c.y = e assert e.s.y.s.txt == "
c"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt g = A("g") e = B("e") c = A("c") g.y = e e.s = c c.y = e assert e.s.y.s.txt == "c"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
938
class A: def __init__(self, txt: str): self.y: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt k = A("k") n = B("n") i = A("i") b = B("b") c = B("c") a = B("a") d = A("d") j = A("j") g = A("g") k.y = j k.z = g n.y = j n.w = c i.y = j i.z = j b.y = d b.w = n c.y = i c.w = a a.y = i a.w = c d.y = k d.z = i j.y = i j.z = g g.y = j g.z = j assert a.w.y.z.z.z.y.z.y.txt == "
i"
class A: def __init__(self, txt: str): self.y: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt k = A("k") n = B("n") i = A("i") b = B("b") c = B("c") a = B("a") d = A("d") j = A("j") g = A("g") k.y = j k.z = g n.y = j n.w = c i.y = j i.z = j b.y = d b.w = n c.y = i c.w = a a.y = i a.w = c d.y = k d.z = i j.y = i j.z = g g.y = j g.z = j assert a.w.y.z.z.z.y.z.y.txt == "i"
9
16
1.777778
0.222222
2
4.5
2
2
2
8
3
2
5
0.555556
6
0.375
4
2
6
3.333333
3
4
3
2
939
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.z: A = None self.q: B = None self.txt = txt m = A("m") d = B("d") f = A("f") e = A("e") i = A("i") j = A("j") a = B("a") m.u = a m.q = a d.z = f d.q = a f.u = a f.q = a e.u = a e.q = a i.u = a i.q = d j.u = d j.q = a a.z = f a.q = d assert d.z.q.q.q.z.q.txt == "
a"
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.z: A = None self.q: B = None self.txt = txt m = A("m") d = B("d") f = A("f") e = A("e") i = A("i") j = A("j") a = B("a") m.u = a m.q = a d.z = f d.q = a f.u = a f.q = a e.u = a e.q = a i.u = a i.q = d j.u = d j.q = a a.z = f a.q = d assert d.z.q.q.q.z.q.txt == "a"
7
11
1.571429
0.261905
2
3.5
2
2
2
6
3
2
3
0.428571
5
0.454545
4
2
4
3
2
4
3
2
940
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") d = B("d") h = A("h") c = A("c") l = B("l") i = A("i") k = A("k") a.v = h d.s = k h.v = a c.v = h l.s = c i.v = h k.v = c assert l.s.v.v.v.txt == "
h"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt a = A("a") d = B("d") h = A("h") c = A("c") l = B("l") i = A("i") k = A("k") a.v = h d.s = k h.v = a c.v = h l.s = c i.v = h k.v = c assert l.s.v.v.v.txt == "h"
7
7
1
0.166667
2
3.5
1
1
1
4
2
1
4
0.571429
4
0.571429
1
2
2
2
2
3
3
1
941
class A: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt n = A("n") g = B("g") f = B("f") l = B("l") n.w = g n.p = g g.o = n g.z = l f.o = n f.z = g l.o = n l.z = f assert f.z.o.p.o.txt == "
n"
class A: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt n = A("n") g = B("g") f = B("f") l = B("l") n.w = g n.p = g g.o = n g.z = l f.o = n f.z = g l.o = n l.z = f assert f.z.o.p.o.txt == "n"
4
7
1.75
0.583333
2
2
2
2
2
4
2
2
3
0.75
3
0.428571
2
2
2
2
3
2
1
1
942
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt l = A("l") b = B("b") j = A("j") m = B("m") d = B("d") a = B("a") g = A("g") l.y = g l.q = b b.o = l b.z = a j.y = g j.q = b m.o = g m.z = a d.o = g d.z = b a.o = g a.z = d g.y = l g.q = a assert b.o.q.o.txt == "
l"
class A: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt l = A("l") b = B("b") j = A("j") m = B("m") d = B("d") a = B("a") g = A("g") l.y = g l.q = b b.o = l b.z = a j.y = g j.q = b m.o = g m.z = a d.o = g d.z = b a.o = g a.z = d g.y = l g.q = a assert b.o.q.o.txt == "l"
7
14
2
0.333333
2
3.5
2
2
2
3
2
2
2
0.285714
2
0.142857
2
2
2
2
2
2
1
1
943
class A: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt j = A("j") h = B("h") m = B("m") c = A("c") f = B("f") e = A("e") n = B("n") i = A("i") d = B("d") j.r = n j.u = f h.w = i m.w = i c.r = n c.u = m f.w = i e.r = m e.u = m n.w = e i.r = n i.u = f d.w = i assert c.r.w.u.w.u.w.u.txt == "
f"
class A: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt j = A("j") h = B("h") m = B("m") c = A("c") f = B("f") e = A("e") n = B("n") i = A("i") d = B("d") j.r = n j.u = f h.w = i m.w = i c.r = n c.u = m f.w = i e.r = m e.u = m n.w = e i.r = n i.u = f d.w = i assert c.r.w.u.w.u.w.u.txt == "f"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
7
2
2
6
0.666667
6
0.5
2
2
2
2
3
3
1
1
944
class A: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.s: A = None self.txt = txt m = A("m") f = B("f") i = A("i") g = A("g") m.u = f m.x = i f.y = m f.s = i i.u = f i.x = m g.u = f g.x = i assert m.u.y.x.u.txt == "
f"
class A: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.s: A = None self.txt = txt m = A("m") f = B("f") i = A("i") g = A("g") m.u = f m.x = i f.y = m f.s = i i.u = f i.x = m g.u = f g.x = i assert m.u.y.x.u.txt == "f"
4
8
2
0.666667
2
2
2
2
2
4
2
1
3
0.75
4
0.5
2
2
3
2.5
3
2
1
2
945
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.u: A = None self.txt = txt d = A("d") f = B("f") a = A("a") j = B("j") m = A("m") h = B("h") b = A("b") c = B("c") n = A("n") i = B("i") d.x = h f.p = b f.u = b a.x = j j.p = a j.u = d m.x = h h.p = a h.u = b b.x = h c.p = d c.u = d n.x = h i.p = m i.u = d assert a.x.p.x.u.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.p: A = None self.u: A = None self.txt = txt d = A("d") f = B("f") a = A("a") j = B("j") m = A("m") h = B("h") b = A("b") c = B("c") n = A("n") i = B("i") d.x = h f.p = b f.u = b a.x = j j.p = a j.u = d m.x = h h.p = a h.u = b b.x = h c.p = d c.u = d n.x = h i.p = m i.u = d assert a.x.p.x.u.x.txt == "h"
10
13
1.3
0.144444
2
5
2
1
1.5
5
2
2
4
0.4
4
0.307692
2
2
2
2
3
3
1
2
946
class A: def __init__(self, txt: str): self.r: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt f = A("f") h = B("h") j = A("j") l = A("l") i = A("i") b = B("b") g = A("g") f.r = l f.v = l h.v = f j.r = i j.v = g l.r = j l.v = g i.r = g i.v = g b.v = j g.r = f g.v = l assert h.v.v.v.v.r.r.r.txt == "
g"
class A: def __init__(self, txt: str): self.r: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt f = A("f") h = B("h") j = A("j") l = A("l") i = A("i") b = B("b") g = A("g") f.r = l f.v = l h.v = f j.r = i j.v = g l.r = j l.v = g i.r = g i.v = g b.v = j g.r = f g.v = l assert h.v.v.v.v.r.r.r.txt == "g"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
7
2
1
6
0.857143
7
0.7
2
2
4
3
2
4
4
2
947
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 b = A("b") n = B("n") a = A("a") b.w = a n.w = b a.w = b assert n.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.w: A = None self.txt = txt b = A("b") n = B("n") a = A("a") b.w = a n.w = b a.w = b assert n.w.w.w.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
948
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt c = A("c") l = B("l") e = B("e") c.r = e l.z = c e.z = c assert l.z.r.z.txt == "
c"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt c = A("c") l = B("l") e = B("e") c.r = e l.z = c e.z = c assert l.z.r.z.txt == "c"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
2
2
1
1
949
class A: def __init__(self, txt: str): self.t: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") f = B("f") g = B("g") e.t = g e.z = g f.q = e g.q = e assert g.q.z.q.txt == "
e"
class A: def __init__(self, txt: str): self.t: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") f = B("f") g = B("g") e.t = g e.z = g f.q = e g.q = e assert g.q.z.q.txt == "e"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
950
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.z: A = None self.txt = txt b = A("b") l = B("l") n = A("n") k = A("k") b.y = n l.v = k l.z = n n.y = b k.y = b assert k.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.v: A = None self.z: A = None self.txt = txt b = A("b") l = B("l") n = A("n") k = A("k") b.y = n l.v = k l.z = n n.y = b k.y = b assert k.y.y.y.txt == "b"
4
5
1.25
0.416667
2
2
2
1
1.5
3
2
1
3
0.75
3
0.6
1
2
2
2
1
3
3
1
951
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt j = A("j") l = B("l") b = A("b") m = B("m") c = B("c") k = A("k") d = B("d") f = A("f") g = A("g") i = A("i") j.s = d l.u = c b.s = l m.u = c c.u = l k.s = m d.u = l f.s = m g.s = d i.s = d assert b.s.u.u.txt == "
l"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt j = A("j") l = B("l") b = A("b") m = B("m") c = B("c") k = A("k") d = B("d") f = A("f") g = A("g") i = A("i") j.s = d l.u = c b.s = l m.u = c c.u = l k.s = m d.u = l f.s = m g.s = d i.s = d assert b.s.u.u.txt == "l"
10
10
1
0.111111
2
5
1
1
1
3
2
1
3
0.3
3
0.3
1
2
2
2
2
2
2
1
952
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt i = A("i") b = B("b") l = B("l") f = B("f") i.v = l b.p = i b.w = i l.p = i l.w = i f.p = i f.w = i assert l.p.v.w.txt == "
i"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt i = A("i") b = B("b") l = B("l") f = B("f") i.v = l b.p = i b.w = i l.p = i l.w = i f.p = i f.w = i assert l.p.v.w.txt == "i"
4
4
1
0.333333
2
2
2
1
1.5
3
2
1
2
0.5
3
0.75
2
2
2
2
3
1
1
2
953
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt k = A("k") j = B("j") e = A("e") m = A("m") i = B("i") k.v = e j.s = e j.v = k e.v = m m.v = k i.s = e i.v = e assert e.v.v.v.v.v.txt == "
k"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt k = A("k") j = B("j") e = A("e") m = A("m") i = B("i") k.v = e j.s = e j.v = k e.v = m m.v = k i.s = e i.v = e assert e.v.v.v.v.v.txt == "k"
5
6
1.2
0.3
2
2.5
2
1
1.5
5
2
2
3
0.6
3
0.5
3
3
3
3
1
5
5
1
954
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt d = A("d") l = B("l") g = B("g") d.o = g l.r = g g.r = l assert d.o.r.r.txt == "
g"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt d = A("d") l = B("l") g = B("g") d.o = g l.r = g g.r = l assert d.o.r.r.txt == "g"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
955
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") k = B("k") n = A("n") a.x = n k.w = a n.x = a assert k.w.x.x.txt == "
a"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt a = A("a") k = B("k") n = A("n") a.x = n k.w = a n.x = a assert k.w.x.x.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
956
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt k = A("k") a = B("a") g = A("g") j = A("j") c = B("c") f = B("f") e = B("e") n = A("n") b = A("b") h = A("h") k.x = e a.r = n g.x = e j.x = f c.r = b f.r = n e.r = b n.x = a b.x = f h.x = a assert b.x.r.x.r.x.r.x.r.txt == "
n"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt k = A("k") a = B("a") g = A("g") j = A("j") c = B("c") f = B("f") e = B("e") n = A("n") b = A("b") h = A("h") k.x = e a.r = n g.x = e j.x = f c.r = b f.r = n e.r = b n.x = a b.x = f h.x = a assert b.x.r.x.r.x.r.x.r.txt == "n"
10
10
1
0.111111
2
5
1
1
1
8
4
3
4
0.4
4
0.4
5
2
6
3.111111
2
4
1
1
957
class A: def __init__(self, txt: str): self.w: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt k = A("k") a = B("a") n = A("n") i = A("i") j = B("j") c = B("c") m = A("m") h = B("h") f = A("f") k.w = c k.o = m a.u = j n.w = j n.o = k i.w = a i.o = m j.u = a c.u = j m.w = a m.o = n h.u = a f.w = c f.o = m assert m.o.w.u.txt == "
a"
class A: def __init__(self, txt: str): self.w: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt k = A("k") a = B("a") n = A("n") i = A("i") j = B("j") c = B("c") m = A("m") h = B("h") f = A("f") k.w = c k.o = m a.u = j n.w = j n.o = k i.w = a i.o = m j.u = a c.u = j m.w = a m.o = n h.u = a f.w = c f.o = m assert m.o.w.u.txt == "a"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
3
1
1
4
0.444444
3
0.214286
0
null
null
null
3
1
1
1
958
class A: def __init__(self, txt: str): self.x: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.r: B = None self.txt = txt d = A("d") g = B("g") h = A("h") l = A("l") c = A("c") e = B("e") f = B("f") n = B("n") b = A("b") d.x = b d.t = g g.t = f g.r = n h.x = l h.t = e l.x = h l.t = g c.x = b c.t = g e.t = n e.r = f f.t = e f.r = g n.t = e n.r = f b.x = l b.t = n assert e.r.t.r.t.r.r.t.r.txt == "
g"
class A: def __init__(self, txt: str): self.x: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.r: B = None self.txt = txt d = A("d") g = B("g") h = A("h") l = A("l") c = A("c") e = B("e") f = B("f") n = B("n") b = A("b") d.x = b d.t = g g.t = f g.r = n h.x = l h.t = e l.x = h l.t = g c.x = b c.t = g e.t = n e.r = f f.t = e f.r = g n.t = e n.r = f b.x = l b.t = n assert e.r.t.r.t.r.r.t.r.txt == "g"
9
18
2
0.25
2
4.5
2
2
2
8
4
3
3
0.333333
4
0.222222
6
2
6
3
2
5
2
2
959
class A: def __init__(self, txt: str): self.r: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt h = A("h") a = B("a") l = A("l") n = B("n") k = B("k") f = B("f") m = A("m") h.r = m h.t = m a.p = l a.q = h l.r = h l.t = h n.p = h n.q = h k.p = m k.q = m f.p = m f.q = m m.r = h m.t = l assert m.t.r.t.t.t.txt == "
h"
class A: def __init__(self, txt: str): self.r: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt h = A("h") a = B("a") l = A("l") n = B("n") k = B("k") f = B("f") m = A("m") h.r = m h.t = m a.p = l a.q = h l.r = h l.t = h n.p = h n.q = h k.p = m k.q = m f.p = m f.q = m m.r = h m.t = l assert m.t.r.t.t.t.txt == "h"
7
9
1.285714
0.214286
2
3.5
2
2
2
5
2
2
3
0.428571
4
0.444444
3
3
3
3
2
4
3
2
960
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt e = A("e") c = B("c") i = B("i") b = B("b") a = A("a") m = B("m") n = B("n") e.w = c c.z = b i.z = n b.z = m a.w = i m.z = n n.z = i assert b.z.z.z.z.z.z.z.txt == "
i"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt e = A("e") c = B("c") i = B("i") b = B("b") a = A("a") m = B("m") n = B("n") e.w = c c.z = b i.z = n b.z = m a.w = i m.z = n n.z = i assert b.z.z.z.z.z.z.z.txt == "i"
7
7
1
0.166667
2
3.5
1
1
1
7
3
3
4
0.571429
4
0.571429
4
2
4
2.666667
1
7
7
1
961
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt h = A("h") j = B("j") m = B("m") n = B("n") l = A("l") h.t = l j.r = l j.p = m m.r = h m.p = n n.r = h n.p = m l.t = h assert m.r.t.t.txt == "
h"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt h = A("h") j = B("j") m = B("m") n = B("n") l = A("l") h.t = l j.r = l j.p = m m.r = h m.p = n n.r = h n.p = m l.t = h assert m.r.t.t.txt == "h"
5
8
1.6
0.4
2
2.5
2
1
1.5
3
2
1
3
0.6
3
0.375
1
2
2
2
2
2
2
1
962
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.z: B = None self.txt = txt f = A("f") i = B("i") g = B("g") a = B("a") j = B("j") e = A("e") l = A("l") d = A("d") f.v = i i.t = f i.z = j g.t = l g.z = j a.t = d a.z = i j.t = f j.z = i e.v = g l.v = i d.v = a assert j.t.v.t.v.t.v.z.txt == "
j"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.z: B = None self.txt = txt f = A("f") i = B("i") g = B("g") a = B("a") j = B("j") e = A("e") l = A("l") d = A("d") f.v = i i.t = f i.z = j g.t = l g.z = j a.t = d a.z = i j.t = f j.z = i e.v = g l.v = i d.v = a assert j.t.v.t.v.t.v.z.txt == "j"
8
12
1.5
0.214286
2
4
2
1
1.5
7
3
3
3
0.375
4
0.333333
5
2
7
3.285714
3
3
1
2
963
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt d = A("d") i = B("i") c = A("c") m = B("m") d.v = i i.p = c i.t = c c.v = m m.p = c m.t = c assert i.t.v.t.v.txt == "
m"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt d = A("d") i = B("i") c = A("c") m = B("m") d.v = i i.p = c i.t = c c.v = m m.p = c m.t = c assert i.t.v.t.v.txt == "m"
4
4
1
0.333333
2
2
2
1
1.5
4
2
2
3
0.75
3
0.75
2
2
2
2
2
2
1
1
964
class A: def __init__(self, txt: str): self.x: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: B = None self.txt = txt l = A("l") f = B("f") m = B("m") a = B("a") h = A("h") l.x = h l.v = h f.z = h f.r = a m.z = l m.r = f a.z = l a.r = m h.x = l h.v = l assert f.r.r.z.x.v.txt == "
l"
class A: def __init__(self, txt: str): self.x: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: B = None self.txt = txt l = A("l") f = B("f") m = B("m") a = B("a") h = A("h") l.x = h l.v = h f.z = h f.r = a m.z = l m.r = f a.z = l a.r = m h.x = l h.v = l assert f.r.r.z.x.v.txt == "l"
5
8
1.6
0.4
2
2.5
2
2
2
5
2
1
5
1
5
0.625
1
2
2
2
4
2
2
1
965
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.w: A = None self.txt = txt d = A("d") l = B("l") i = A("i") b = A("b") k = B("k") h = A("h") m = B("m") d.v = b l.p = b l.w = i i.v = d b.v = h k.p = b k.w = i h.v = b m.p = h m.w = i assert d.v.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.w: A = None self.txt = txt d = A("d") l = B("l") i = A("i") b = A("b") k = B("k") h = A("h") m = B("m") d.v = b l.p = b l.w = i i.v = d b.v = h k.p = b k.w = i h.v = b m.p = h m.w = i assert d.v.v.v.v.v.v.v.txt == "b"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
7
4
3
3
0.428571
3
0.3
5
2
6
3.111111
1
7
7
1
966
class A: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.p: B = None self.txt = txt g = A("g") f = B("f") a = B("a") k = B("k") n = B("n") l = A("l") m = B("m") e = A("e") d = B("d") c = A("c") g.t = a g.v = e f.v = l f.p = n a.v = e a.p = f k.v = c k.p = f n.v = c n.p = d l.t = n l.v = g m.v = c m.p = n e.t = k e.v = l d.v = l d.p = a c.t = m c.v = e assert a.p.p.v.t.v.t.txt == "
m"
class A: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.p: B = None self.txt = txt g = A("g") f = B("f") a = B("a") k = B("k") n = B("n") l = A("l") m = B("m") e = A("e") d = B("d") c = A("c") g.t = a g.v = e f.v = l f.p = n a.v = e a.p = f k.v = c k.p = f n.v = c n.p = d l.t = n l.v = g m.v = c m.p = n e.t = k e.v = l d.v = l d.p = a c.t = m c.v = e assert a.p.p.v.t.v.t.txt == "m"
10
20
2
0.222222
2
5
2
2
2
6
2
2
5
0.5
5
0.25
2
2
2
2
3
2
2
1
967
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt b = A("b") h = B("h") l = B("l") e = B("e") n = A("n") i = B("i") b.p = n h.o = e h.r = n l.o = h l.r = b e.o = i e.r = b n.p = b i.o = h i.r = n assert l.o.r.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt b = A("b") h = B("h") l = B("l") e = B("e") n = A("n") i = B("i") b.p = n h.o = e h.r = n l.o = h l.r = b e.o = i e.r = b n.p = b i.o = h i.r = n assert l.o.r.p.p.p.txt == "b"
6
10
1.666667
0.333333
2
3
2
1
1.5
5
2
2
4
0.666667
4
0.4
2
2
2
2
3
3
3
1
968
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.u: A = None self.txt = txt j = A("j") i = B("i") h = B("h") d = A("d") j.t = i i.z = h i.u = d h.z = i h.u = d d.t = h assert i.z.u.t.u.txt == "
d"
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.u: A = None self.txt = txt j = A("j") i = B("i") h = B("h") d = A("d") j.t = i i.z = h i.u = d h.z = i h.u = d d.t = h assert i.z.u.t.u.txt == "d"
4
6
1.5
0.5
2
2
2
1
1.5
4
2
2
3
0.75
3
0.5
2
2
2
2
3
2
1
1
969
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 m = A("m") d = B("d") i = B("i") n = A("n") a = B("a") e = A("e") g = A("g") b = B("b") k = B("k") m.o = n d.o = n i.o = g n.o = g a.o = m e.o = m g.o = m b.o = g k.o = e assert i.o.o.o.o.txt == "
g"
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 m = A("m") d = B("d") i = B("i") n = A("n") a = B("a") e = A("e") g = A("g") b = B("b") k = B("k") m.o = n d.o = n i.o = g n.o = g a.o = m e.o = m g.o = m b.o = g k.o = e assert i.o.o.o.o.txt == "g"
9
9
1
0.125
2
4.5
1
1
1
4
2
1
4
0.444444
4
0.444444
1
3
3
3
1
4
4
1
970
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.z: A = None self.w: A = None self.txt = txt h = A("h") j = B("j") k = B("k") d = B("d") i = B("i") b = B("b") m = A("m") l = B("l") h.y = m h.v = m j.z = m j.w = m k.z = m k.w = h d.z = m d.w = h i.z = m i.w = h b.z = m b.w = h m.y = h m.v = h l.z = h l.w = m assert k.w.y.v.v.y.y.txt == "
m"
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.z: A = None self.w: A = None self.txt = txt h = A("h") j = B("j") k = B("k") d = B("d") i = B("i") b = B("b") m = A("m") l = B("l") h.y = m h.v = m j.z = m j.w = m k.z = m k.w = h d.z = m d.w = h i.z = m i.w = h b.z = m b.w = h m.y = h m.v = h l.z = h l.w = m assert k.w.y.v.v.y.y.txt == "m"
8
13
1.625
0.232143
2
4
2
2
2
6
3
2
3
0.375
5
0.384615
4
2
4
2.666667
3
3
2
2
971
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.z: A = None self.txt = txt c = A("c") k = B("k") m = A("m") n = A("n") a = B("a") e = B("e") j = B("j") c.q = n k.w = a k.z = m m.q = n n.q = c a.w = j a.z = n e.w = k e.z = n j.w = a j.z = m assert e.z.q.q.q.txt == "
c"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.z: A = None self.txt = txt c = A("c") k = B("k") m = A("m") n = A("n") a = B("a") e = B("e") j = B("j") c.q = n k.w = a k.z = m m.q = n n.q = c a.w = j a.z = n e.w = k e.z = n j.w = a j.z = m assert e.z.q.q.q.txt == "c"
7
11
1.571429
0.261905
2
3.5
2
1
1.5
4
2
2
3
0.428571
3
0.272727
2
2
2
2
2
3
3
1
972
class A: def __init__(self, txt: str): self.q: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt d = A("d") c = B("c") j = A("j") b = B("b") f = A("f") k = B("k") d.q = b d.r = f c.x = b j.q = k j.r = f b.x = c f.q = c f.r = j k.x = c assert c.x.x.x.txt == "
b"
class A: def __init__(self, txt: str): self.q: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt d = A("d") c = B("c") j = A("j") b = B("b") f = A("f") k = B("k") d.q = b d.r = f c.x = b j.q = k j.r = f b.x = c f.q = c f.r = j k.x = c assert c.x.x.x.txt == "b"
6
9
1.5
0.3
2
3
2
1
1.5
3
2
2
2
0.333333
2
0.222222
2
2
2
2
1
3
3
1
973
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.p: B = None self.txt = txt j = A("j") h = B("h") c = A("c") n = A("n") k = B("k") d = B("d") e = A("e") g = B("g") a = A("a") f = A("f") j.r = g h.v = d h.p = d c.r = d n.r = d k.v = d k.p = g d.v = k d.p = g e.r = d g.v = h g.p = h a.r = g f.r = g assert j.r.p.v.v.p.txt == "
g"
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.p: B = None self.txt = txt j = A("j") h = B("h") c = A("c") n = A("n") k = B("k") d = B("d") e = A("e") g = B("g") a = A("a") f = A("f") j.r = g h.v = d h.p = d c.r = d n.r = d k.v = d k.p = g d.v = k d.p = g e.r = d g.v = h g.p = h a.r = g f.r = g assert j.r.p.v.v.p.txt == "g"
10
12
1.2
0.133333
2
5
2
1
1.5
5
2
1
5
0.5
5
0.416667
1
4
4
4
3
2
2
1
974
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.r: B = None self.txt = txt d = A("d") m = B("m") j = A("j") b = B("b") e = A("e") l = A("l") a = A("a") i = A("i") n = B("n") d.t = a d.p = m m.r = n j.t = i j.p = b b.r = m e.t = l e.p = m l.t = i l.p = b a.t = j a.p = m i.t = d i.p = b n.r = b assert j.t.t.t.p.r.r.r.r.txt == "
n"
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.r: B = None self.txt = txt d = A("d") m = B("m") j = A("j") b = B("b") e = A("e") l = A("l") a = A("a") i = A("i") n = B("n") d.t = a d.p = m m.r = n j.t = i j.p = b b.r = m e.t = l e.p = m l.t = i l.p = b a.t = j a.p = m i.t = d i.p = b n.r = b assert j.t.t.t.p.r.r.r.r.txt == "n"
9
15
1.666667
0.208333
2
4.5
2
1
1.5
8
2
2
7
0.777778
7
0.466667
2
3
3
3
3
4
4
1
975
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") n = B("n") h = A("h") i = A("i") m = A("m") j.w = h n.z = m h.w = j i.w = j m.w = i assert j.w.w.w.w.w.txt == "
h"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") n = B("n") h = A("h") i = A("i") m = A("m") j.w = h n.z = m h.w = j i.w = j m.w = i assert j.w.w.w.w.w.txt == "h"
5
5
1
0.25
2
2.5
1
1
1
5
3
3
2
0.4
2
0.4
4
2
4
2.666667
1
5
5
1
976
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") j = B("j") i = B("i") g = A("g") b = A("b") f = B("f") d = B("d") l = A("l") e = A("e") m = B("m") k.s = m j.w = e i.w = e g.s = m b.s = d f.w = b d.w = e l.s = j e.s = m m.w = l assert l.s.w.s.w.s.w.s.w.txt == "
l"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") j = B("j") i = B("i") g = A("g") b = A("b") f = B("f") d = B("d") l = A("l") e = A("e") m = B("m") k.s = m j.w = e i.w = e g.s = m b.s = d f.w = b d.w = e l.s = j e.s = m m.w = l assert l.s.w.s.w.s.w.s.w.txt == "l"
10
10
1
0.111111
2
5
1
1
1
8
3
2
4
0.4
4
0.4
5
4
8
4.666667
2
4
1
1
977
class A: def __init__(self, txt: str): self.w: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.v: A = None self.txt = txt g = A("g") f = B("f") j = A("j") a = A("a") m = A("m") e = B("e") d = B("d") l = A("l") n = B("n") g.w = j g.p = l f.r = a f.v = g j.w = l j.p = g a.w = m a.p = g m.w = a m.p = l e.r = a e.v = g d.r = j d.v = a l.w = a l.p = j n.r = m n.v = j assert a.p.p.w.w.p.p.txt == "
j"
class A: def __init__(self, txt: str): self.w: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.v: A = None self.txt = txt g = A("g") f = B("f") j = A("j") a = A("a") m = A("m") e = B("e") d = B("d") l = A("l") n = B("n") g.w = j g.p = l f.r = a f.v = g j.w = l j.p = g a.w = m a.p = g m.w = a m.p = l e.r = a e.v = g d.r = j d.v = a l.w = a l.p = j n.r = m n.v = j assert a.p.p.w.w.p.p.txt == "j"
9
18
2
0.25
2
4.5
2
2
2
6
2
1
5
0.555556
6
0.333333
2
3
3
3
2
4
2
2
978
class A: def __init__(self, txt: str): self.y: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt i = A("i") g = B("g") j = A("j") c = B("c") l = A("l") h = B("h") i.y = j i.o = l g.z = i g.y = c j.y = l j.o = i c.z = l c.y = h l.y = j l.o = j h.z = i h.y = g assert c.y.z.o.y.o.o.txt == "
l"
class A: def __init__(self, txt: str): self.y: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt i = A("i") g = B("g") j = A("j") c = B("c") l = A("l") h = B("h") i.y = j i.o = l g.z = i g.y = c j.y = l j.o = i c.z = l c.y = h l.y = j l.o = j h.z = i h.y = g assert c.y.z.o.y.o.o.txt == "l"
6
11
1.833333
0.366667
2
3
2
2
2
6
2
2
5
0.833333
5
0.454545
2
3
3
3
3
3
2
1
979
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt f = A("f") j = B("j") l = B("l") e = B("e") n = A("n") m = B("m") a = A("a") d = A("d") b = B("b") c = B("c") f.s = d j.u = m j.q = b l.u = b l.q = e e.u = m e.q = j n.s = a m.u = j m.q = l a.s = d d.s = n b.u = m b.q = c c.u = j c.q = m assert j.u.q.u.u.q.u.u.txt == "
m"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.q: B = None self.txt = txt f = A("f") j = B("j") l = B("l") e = B("e") n = A("n") m = B("m") a = A("a") d = A("d") b = B("b") c = B("c") f.s = d j.u = m j.q = b l.u = b l.q = e e.u = m e.q = j n.s = a m.u = j m.q = l a.s = d d.s = n b.u = m b.q = c c.u = j c.q = m assert j.u.q.u.u.q.u.u.txt == "m"
10
16
1.6
0.177778
2
5
2
1
1.5
7
3
2
4
0.4
4
0.25
4
3
6
3.6
2
5
2
1
980
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.r: A = None self.txt = txt d = A("d") a = B("a") g = A("g") n = B("n") m = B("m") h = B("h") j = B("j") d.q = g a.t = m a.r = g g.q = d n.t = m n.r = d m.t = a m.r = d h.t = j h.r = g j.t = h j.r = g assert j.t.r.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.t: B = None self.r: A = None self.txt = txt d = A("d") a = B("a") g = A("g") n = B("n") m = B("m") h = B("h") j = B("j") d.q = g a.t = m a.r = g g.q = d n.t = m n.r = d m.t = a m.r = d h.t = j h.r = g j.t = h j.r = g assert j.t.r.q.q.q.q.txt == "g"
7
12
1.714286
0.285714
2
3.5
2
1
1.5
6
3
2
4
0.571429
4
0.333333
3
2
4
2.5
3
4
4
1
981
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.x: A = None self.txt = txt m = A("m") c = B("c") n = B("n") l = A("l") a = A("a") d = B("d") f = A("f") j = B("j") e = B("e") m.v = a c.r = d c.x = m n.r = d n.x = m l.v = a a.v = f d.r = j d.x = f f.v = l j.r = n j.x = f e.r = c e.x = m assert d.r.x.v.v.v.v.txt == "
l"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.x: A = None self.txt = txt m = A("m") c = B("c") n = B("n") l = A("l") a = A("a") d = B("d") f = A("f") j = B("j") e = B("e") m.v = a c.r = d c.x = m n.r = d n.x = m l.v = a a.v = f d.r = j d.x = f f.v = l j.r = n j.x = f e.r = c e.x = m assert d.r.x.v.v.v.v.txt == "l"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
6
2
2
5
0.555556
5
0.357143
2
3
3
3
3
4
4
1
982
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt m = A("m") b = B("b") d = A("d") m.q = b b.q = m d.q = b assert d.q.q.q.txt == "
b"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt m = A("m") b = B("b") d = A("d") m.q = b b.q = m d.q = b assert d.q.q.q.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
983
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.txt = txt a = A("a") j = B("j") b = A("b") e = B("e") a.y = j j.o = a b.y = e e.o = a assert j.o.y.o.y.txt == "
j"
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.txt = txt a = A("a") j = B("j") b = A("b") e = B("e") a.y = j j.o = a b.y = e e.o = a assert j.o.y.o.y.txt == "j"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
2
2
1
1
984
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt b = A("b") i = B("i") l = B("l") b.z = l i.o = b i.p = l l.o = b l.p = i assert b.z.o.z.txt == "
l"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt b = A("b") i = B("i") l = B("l") b.z = l i.o = b i.p = l l.o = b l.p = i assert b.z.o.z.txt == "l"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.4
2
2
2
2
2
2
1
1
985
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt f = A("f") j = B("j") m = B("m") c = A("c") f.w = c j.y = m m.y = j c.w = f assert f.w.w.w.w.txt == "
f"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt f = A("f") j = B("j") m = B("m") c = A("c") f.w = c j.y = m m.y = j c.w = f assert f.w.w.w.w.txt == "f"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
1
4
4
1
986
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt c = A("c") e = B("e") g = A("g") l = B("l") i = B("i") d = A("d") n = B("n") m = B("m") h = A("h") c.x = i e.u = h g.x = e l.u = h i.u = g d.x = m n.u = g m.u = h h.x = n assert m.u.x.u.x.u.x.txt == "
n"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt c = A("c") e = B("e") g = A("g") l = B("l") i = B("i") d = A("d") n = B("n") m = B("m") h = A("h") c.x = i e.u = h g.x = e l.u = h i.u = g d.x = m n.u = g m.u = h h.x = n assert m.u.x.u.x.u.x.txt == "n"
9
9
1
0.125
2
4.5
1
1
1
6
2
2
5
0.555556
5
0.555556
2
4
4
4
2
3
1
1
987
class A: def __init__(self, txt: str): self.r: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.v: A = None self.txt = txt b = A("b") e = B("e") f = A("f") b.r = e b.o = e e.z = b e.v = b f.r = e f.o = e assert b.r.z.r.txt == "
e"
class A: def __init__(self, txt: str): self.r: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.v: A = None self.txt = txt b = A("b") e = B("e") f = A("f") b.r = e b.o = e e.z = b e.v = b f.r = e f.o = e assert b.r.z.r.txt == "e"
3
3
1
0.5
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
988
class A: def __init__(self, txt: str): self.z: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: A = None self.txt = txt a = A("a") i = B("i") d = A("d") h = A("h") k = A("k") g = B("g") a.z = g a.r = h i.w = g i.q = k d.z = i d.r = h h.z = g h.r = k k.z = i k.r = h g.w = i g.q = a assert d.r.r.z.w.w.w.txt == "
g"
class A: def __init__(self, txt: str): self.z: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: A = None self.txt = txt a = A("a") i = B("i") d = A("d") h = A("h") k = A("k") g = B("g") a.z = g a.r = h i.w = g i.q = k d.z = i d.r = h h.z = g h.r = k k.z = i k.r = h g.w = i g.q = a assert d.r.r.z.w.w.w.txt == "g"
6
12
2
0.4
2
3
2
2
2
6
2
2
5
0.833333
5
0.416667
2
2
2
2
3
3
3
1
989
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: B = None self.txt = txt f = A("f") b = B("b") h = B("h") d = A("d") g = B("g") n = A("n") l = B("l") m = A("m") f.t = g f.x = m b.x = h h.x = b d.t = g d.x = m g.x = l n.t = g n.x = f l.x = g m.t = h m.x = d assert n.x.t.x.x.x.x.txt == "
g"
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: B = None self.txt = txt f = A("f") b = B("b") h = B("h") d = A("d") g = B("g") n = A("n") l = B("l") m = A("m") f.t = g f.x = m b.x = h h.x = b d.t = g d.x = m g.x = l n.t = g n.x = f l.x = g m.t = h m.x = d assert n.x.t.x.x.x.x.txt == "g"
8
12
1.5
0.214286
2
4
2
1
1.5
6
3
2
4
0.5
4
0.333333
3
2
4
2.5
2
5
4
1
990
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.v: A = None self.txt = txt m = A("m") h = B("h") n = A("n") k = B("k") e = A("e") c = B("c") j = A("j") d = B("d") f = B("f") m.t = j h.u = c h.v = m n.t = m k.u = c k.v = e e.t = n c.u = f c.v = n j.t = n d.u = f d.v = e f.u = k f.v = j assert m.t.t.t.txt == "
m"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.v: A = None self.txt = txt m = A("m") h = B("h") n = A("n") k = B("k") e = A("e") c = B("c") j = A("j") d = B("d") f = B("f") m.t = j h.u = c h.v = m n.t = m k.u = c k.v = e e.t = n c.u = f c.v = n j.t = n d.u = f d.v = e f.u = k f.v = j assert m.t.t.t.txt == "m"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
3
2
1
3
0.333333
3
0.214286
1
3
3
3
1
3
3
1
991
class A: def __init__(self, txt: str): self.s: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt g = A("g") b = B("b") m = B("m") i = A("i") e = B("e") k = B("k") d = A("d") n = B("n") g.s = d g.o = e b.y = e b.v = e m.y = k m.v = e i.s = g i.o = n e.y = b e.v = m k.y = m k.v = m d.s = g d.o = k n.y = b n.v = e assert b.y.y.v.v.y.v.y.v.txt == "
m"
class A: def __init__(self, txt: str): self.s: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt g = A("g") b = B("b") m = B("m") i = A("i") e = B("e") k = B("k") d = A("d") n = B("n") g.s = d g.o = e b.y = e b.v = e m.y = k m.v = e i.s = g i.o = n e.y = b e.v = m k.y = m k.v = m d.s = g d.o = k n.y = b n.v = e assert b.y.y.v.v.y.v.y.v.txt == "m"
8
14
1.75
0.25
2
4
2
2
2
8
3
2
4
0.5
6
0.428571
5
2
4
2.333333
2
4
2
2
992
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.q: B = None self.r: B = None self.txt = txt l = A("l") c = B("c") d = A("d") i = B("i") m = B("m") n = B("n") g = B("g") k = A("k") h = A("h") j = B("j") l.s = d l.t = m c.q = n c.r = g d.s = l d.t = j i.q = m i.r = j m.q = c m.r = i n.q = m n.r = i g.q = n g.r = m k.s = l k.t = i h.s = l h.t = m j.q = m j.r = c assert j.r.r.r.r.q.r.q.q.q.q.txt == "
m"
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.q: B = None self.r: B = None self.txt = txt l = A("l") c = B("c") d = A("d") i = B("i") m = B("m") n = B("n") g = B("g") k = A("k") h = A("h") j = B("j") l.s = d l.t = m c.q = n c.r = g d.s = l d.t = j i.q = m i.r = j m.q = c m.r = i n.q = m n.r = i g.q = n g.r = m k.s = l k.t = i h.s = l h.t = m j.q = m j.r = c assert j.r.r.r.r.q.r.q.q.q.q.txt == "m"
10
20
2
0.222222
2
5
2
2
2
10
4
2
6
0.6
8
0.4
5
2
7
4
2
5
4
2
993
class A: def __init__(self, txt: str): self.p: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.q: A = None self.txt = txt d = A("d") n = B("n") l = B("l") f = B("f") j = A("j") a = B("a") c = A("c") b = B("b") d.p = c d.t = b n.x = j n.q = j l.x = j l.q = j f.x = j f.q = c j.p = d j.t = b a.x = j a.q = j c.p = d c.t = a b.x = d b.q = d assert c.p.t.q.p.t.txt == "
a"
class A: def __init__(self, txt: str): self.p: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.q: A = None self.txt = txt d = A("d") n = B("n") l = B("l") f = B("f") j = A("j") a = B("a") c = A("c") b = B("b") d.p = c d.t = b n.x = j n.q = j l.x = j l.q = j f.x = j f.q = c j.p = d j.t = b a.x = j a.q = j c.p = d c.t = a b.x = d b.q = d assert c.p.t.q.p.t.txt == "a"
8
12
1.5
0.214286
2
4
2
2
2
5
2
1
4
0.5
5
0.416667
2
2
4
3
3
2
1
2
994
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.t: A = None self.txt = txt k = A("k") e = B("e") c = B("c") l = B("l") f = B("f") a = A("a") b = A("b") n = B("n") m = B("m") i = A("i") k.u = m e.o = c e.t = a c.o = f c.t = i l.o = m l.t = a f.o = m f.t = k a.u = n b.u = e n.o = e n.t = a m.o = l m.t = a i.u = l assert c.t.u.t.u.t.u.t.u.t.txt == "
a"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.t: A = None self.txt = txt k = A("k") e = B("e") c = B("c") l = B("l") f = B("f") a = A("a") b = A("b") n = B("n") m = B("m") i = A("i") k.u = m e.o = c e.t = a c.o = f c.t = i l.o = m l.t = a f.o = m f.t = k a.u = n b.u = e n.o = e n.t = a m.o = l m.t = a i.u = l assert c.t.u.t.u.t.u.t.u.t.txt == "a"
10
16
1.6
0.177778
2
5
2
1
1.5
9
4
3
5
0.5
5
0.3125
5
2
6
3.111111
2
5
1
1
995
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt h = A("h") m = B("m") j = B("j") c = A("c") d = A("d") i = A("i") b = B("b") h.t = m m.v = j j.v = m c.t = b d.t = j i.t = b b.v = m assert d.t.v.v.v.v.v.txt == "
m"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt h = A("h") m = B("m") j = B("j") c = A("c") d = A("d") i = A("i") b = B("b") h.t = m m.v = j j.v = m c.t = b d.t = j i.t = b b.v = m assert d.t.v.v.v.v.v.txt == "m"
7
7
1
0.166667
2
3.5
1
1
1
6
3
3
3
0.428571
3
0.428571
4
2
4
2.666667
2
5
5
1
996
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") b = B("b") e = B("e") c = A("c") k = A("k") h = B("h") f = B("f") d = B("d") g = B("g") j.o = c b.z = c e.z = c c.o = k k.o = c h.z = c f.z = j d.z = j g.z = c assert d.z.o.o.o.o.o.o.o.o.txt == "
k"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt j = A("j") b = B("b") e = B("e") c = A("c") k = A("k") h = B("h") f = B("f") d = B("d") g = B("g") j.o = c b.z = c e.z = c c.o = k k.o = c h.z = c f.z = j d.z = j g.z = c assert d.z.o.o.o.o.o.o.o.o.txt == "k"
9
9
1
0.125
2
4.5
1
1
1
9
4
4
4
0.444444
4
0.444444
6
2
6
3.333333
2
8
8
1
997
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.q: A = None self.txt = txt m = A("m") h = B("h") l = A("l") n = A("n") j = A("j") k = A("k") c = A("c") m.v = c m.q = c h.v = m h.q = k l.v = n l.q = j n.v = m n.q = k j.v = k j.q = c k.v = m k.q = m c.v = k c.q = n assert k.v.q.q.q.q.q.txt == "
c"
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.q: A = None self.txt = txt m = A("m") h = B("h") l = A("l") n = A("n") j = A("j") k = A("k") c = A("c") m.v = c m.q = c h.v = m h.q = k l.v = n l.q = j n.v = m n.q = k j.v = k j.q = c k.v = m k.q = m c.v = k c.q = n assert k.v.q.q.q.q.q.txt == "c"
7
12
1.714286
0.285714
2
3.5
2
2
2
6
2
2
4
0.571429
5
0.416667
3
4
4
4
2
5
5
2
998
class A: def __init__(self, txt: str): self.v: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt e = A("e") l = B("l") h = A("h") n = B("n") f = A("f") e.v = l e.q = n l.u = h l.s = f h.v = n h.q = l n.u = f n.s = e f.v = n f.q = n assert h.v.s.q.txt == "
n"
class A: def __init__(self, txt: str): self.v: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.s: A = None self.txt = txt e = A("e") l = B("l") h = A("h") n = B("n") f = A("f") e.v = l e.q = n l.u = h l.s = f h.v = n h.q = l n.u = f n.s = e f.v = n f.q = n assert h.v.s.q.txt == "n"
5
9
1.8
0.45
2
2.5
2
2
2
3
2
1
3
0.6
3
0.333333
1
2
2
2
3
1
1
1
999
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.o: B = None self.txt = txt n = A("n") m = B("m") i = B("i") j = A("j") h = A("h") f = A("f") l = A("l") g = A("g") d = B("d") b = B("b") n.x = g m.w = j m.o = i i.w = h i.o = b j.x = h h.x = j f.x = j l.x = j g.x = h d.w = f d.o = i b.w = j b.o = i assert f.x.x.x.x.txt == "
h"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.o: B = None self.txt = txt n = A("n") m = B("m") i = B("i") j = A("j") h = A("h") f = A("f") l = A("l") g = A("g") d = B("d") b = B("b") n.x = g m.w = j m.o = i i.w = h i.o = b j.x = h h.x = j f.x = j l.x = j g.x = h d.w = f d.o = i b.w = j b.o = i assert f.x.x.x.x.txt == "h"
10
14
1.4
0.155556
2
5
2
1
1.5
4
2
2
3
0.3
3
0.214286
2
2
2
2
1
4
4
1