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
800
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt h = A("h") a = B("a") b = A("b") l = B("l") h.s = a a.r = h b.s = l l.r = h assert b.s.r.s.r.txt == "
h"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt h = A("h") a = B("a") b = A("b") l = B("l") h.s = a a.r = h b.s = l l.r = h assert b.s.r.s.r.txt == "h"
4
4
1
0.333333
2
2
1
1
1
4
2
1
4
1
4
1
1
2
2
2
2
2
1
1
801
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") b = B("b") i = B("i") f = B("f") a = A("a") g = B("g") m = B("m") h.u = a b.v = a i.v = h f.v = h a.u = h g.v = a m.v = a assert b.v.u.u.u.txt == "
h"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") b = B("b") i = B("i") f = B("f") a = A("a") g = B("g") m = B("m") h.u = a b.v = a i.v = h f.v = h a.u = h g.v = a m.v = a assert b.v.u.u.u.txt == "h"
7
7
1
0.166667
2
3.5
1
1
1
4
2
2
3
0.428571
3
0.428571
2
2
2
2
2
3
3
1
802
class A: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.x: B = None self.txt = txt d = A("d") b = B("b") j = A("j") a = B("a") k = B("k") i = B("i") d.z = j d.t = i b.q = d b.x = a j.z = d j.t = i a.q = j a.x = k k.q = d k.x = a i.q = j i.x = k assert j.z.z.z.txt == "
d"
class A: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.x: B = None self.txt = txt d = A("d") b = B("b") j = A("j") a = B("a") k = B("k") i = B("i") d.z = j d.t = i b.q = d b.x = a j.z = d j.t = i a.q = j a.x = k k.q = d k.x = a i.q = j i.x = k assert j.z.z.z.txt == "d"
6
12
2
0.4
2
3
2
2
2
3
2
2
2
0.333333
2
0.166667
2
2
2
2
1
3
3
1
803
class A: def __init__(self, txt: str): self.w: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt i = A("i") a = B("a") m = A("m") h = B("h") k = A("k") d = B("d") c = A("c") i.w = k i.v = c a.u = d m.w = k m.v = c h.u = a k.w = c k.v = c d.u = h c.w = m c.v = i assert h.u.u.u.txt == "
h"
class A: def __init__(self, txt: str): self.w: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt i = A("i") a = B("a") m = A("m") h = B("h") k = A("k") d = B("d") c = A("c") i.w = k i.v = c a.u = d m.w = k m.v = c h.u = a k.w = c k.v = c d.u = h c.w = m c.v = i assert h.u.u.u.txt == "h"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
3
2
1
3
0.428571
3
0.3
1
3
3
3
1
3
3
1
804
class A: def __init__(self, txt: str): self.z: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt m = A("m") i = B("i") a = A("a") k = B("k") n = B("n") m.z = a m.v = i i.z = n a.z = m a.v = n k.z = i n.z = i assert m.z.z.z.z.v.txt == "
i"
class A: def __init__(self, txt: str): self.z: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt m = A("m") i = B("i") a = A("a") k = B("k") n = B("n") m.z = a m.v = i i.z = n a.z = m a.v = n k.z = i n.z = i assert m.z.z.z.z.v.txt == "i"
5
7
1.4
0.35
2
2.5
2
1
1.5
5
3
2
3
0.6
3
0.428571
3
2
4
2.5
2
4
4
2
805
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") b = B("b") k = B("k") f = A("f") n.z = f b.r = f k.r = f f.z = n assert b.r.z.z.txt == "
f"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") b = B("b") k = B("k") f = A("f") n.z = f b.r = f k.r = f f.z = n assert b.r.z.z.txt == "f"
4
4
1
0.333333
2
2
1
1
1
3
2
1
3
0.75
3
0.75
1
2
2
2
2
2
2
1
806
class A: def __init__(self, txt: str): self.q: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") i = B("i") n = B("n") j = A("j") l = B("l") g = B("g") h = A("h") b.q = h b.w = g i.q = b n.q = b j.q = b j.w = g l.q = b g.q = b h.q = j h.w = g assert j.q.q.w.q.w.q.txt == "
b"
class A: def __init__(self, txt: str): self.q: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt b = A("b") i = B("i") n = B("n") j = A("j") l = B("l") g = B("g") h = A("h") b.q = h b.w = g i.q = b n.q = b j.q = b j.w = g l.q = b g.q = b h.q = j h.w = g assert j.q.q.w.q.w.q.txt == "b"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
6
3
2
4
0.571429
5
0.5
3
2
5
3
2
4
2
2
807
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 a = A("a") g = B("g") d = B("d") i = A("i") l = B("l") n = A("n") a.y = l g.v = d d.v = g i.y = l l.v = g n.y = d assert g.v.v.v.v.v.txt == "
d"
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 a = A("a") g = B("g") d = B("d") i = A("i") l = B("l") n = A("n") a.y = l g.v = d d.v = g i.y = l l.v = g n.y = d assert g.v.v.v.v.v.txt == "d"
6
6
1
0.2
2
3
1
1
1
5
3
3
2
0.333333
2
0.333333
4
2
4
2.666667
1
5
5
1
808
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.txt = txt l = A("l") h = B("h") i = B("i") f = B("f") j = B("j") g = B("g") l.v = i h.t = l i.t = l f.t = l j.t = l g.t = l assert f.t.v.t.txt == "
l"
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.txt = txt l = A("l") h = B("h") i = B("i") f = B("f") j = B("j") g = B("g") l.v = i h.t = l i.t = l f.t = l j.t = l g.t = l assert f.t.v.t.txt == "l"
6
6
1
0.2
2
3
1
1
1
3
2
1
3
0.5
3
0.5
1
2
2
2
2
2
1
1
809
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt d = A("d") m = B("m") i = B("i") f = B("f") g = A("g") j = B("j") h = B("h") e = A("e") b = A("b") d.o = g m.s = h m.v = g i.s = m i.v = d f.s = j f.v = g g.o = d j.s = m j.v = b h.s = f h.v = g e.o = b b.o = d assert f.v.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.s: B = None self.v: A = None self.txt = txt d = A("d") m = B("m") i = B("i") f = B("f") g = A("g") j = B("j") h = B("h") e = A("e") b = A("b") d.o = g m.s = h m.v = g i.s = m i.v = d f.s = j f.v = g g.o = d j.s = m j.v = b h.s = f h.v = g e.o = b b.o = d assert f.v.o.o.o.o.txt == "g"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
5
3
2
3
0.333333
3
0.214286
3
2
4
2.5
2
4
4
1
810
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.y: B = None self.txt = txt j = A("j") a = B("a") k = A("k") e = B("e") c = B("c") m = A("m") b = A("b") g = A("g") j.t = k j.p = e a.y = c k.t = g k.p = e e.y = c c.y = e m.t = k m.p = e b.t = m b.p = a g.t = k g.p = a assert m.t.p.y.y.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.y: B = None self.txt = txt j = A("j") a = B("a") k = A("k") e = B("e") c = B("c") m = A("m") b = A("b") g = A("g") j.t = k j.p = e a.y = c k.t = g k.p = e e.y = c c.y = e m.t = k m.p = e b.t = m b.p = a g.t = k g.p = a assert m.t.p.y.y.txt == "e"
8
13
1.625
0.232143
2
4
2
1
1.5
4
2
1
4
0.5
4
0.307692
1
2
2
2
3
2
2
1
811
class A: def __init__(self, txt: str): self.y: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt g = A("g") n = B("n") h = A("h") b = A("b") c = A("c") i = A("i") g.y = c g.v = n n.q = g h.y = i h.v = n b.y = h b.v = n c.y = g c.v = n i.y = c i.v = n assert i.v.q.y.y.txt == "
g"
class A: def __init__(self, txt: str): self.y: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt g = A("g") n = B("n") h = A("h") b = A("b") c = A("c") i = A("i") g.y = c g.v = n n.q = g h.y = i h.v = n b.y = h b.v = n c.y = g c.v = n i.y = c i.v = n assert i.v.q.y.y.txt == "g"
6
11
1.833333
0.366667
2
3
2
1
1.5
4
2
1
4
0.666667
4
0.363636
1
2
2
2
3
2
2
1
812
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt g = A("g") b = B("b") c = A("c") i = B("i") f = B("f") n = B("n") j = A("j") k = A("k") g.u = j b.p = f c.u = k i.p = b f.p = b n.p = f j.u = k k.u = g assert f.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt g = A("g") b = B("b") c = A("c") i = B("i") f = B("f") n = B("n") j = A("j") k = A("k") g.u = j b.p = f c.u = k i.p = b f.p = b n.p = f j.u = k k.u = g assert f.p.p.p.txt == "b"
8
8
1
0.142857
2
4
1
1
1
3
2
2
2
0.25
2
0.25
2
2
2
2
1
3
3
1
813
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 g = A("g") c = B("c") e = B("e") f = B("f") b = A("b") l = B("l") h = B("h") n = A("n") k = B("k") j = A("j") g.w = b c.z = n e.z = n f.z = n b.w = n l.z = j h.z = j n.w = b k.z = b j.w = b assert f.z.w.w.w.w.w.w.txt == "
n"
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 g = A("g") c = B("c") e = B("e") f = B("f") b = A("b") l = B("l") h = B("h") n = A("n") k = B("k") j = A("j") g.w = b c.z = n e.z = n f.z = n b.w = n l.z = j h.z = j n.w = b k.z = b j.w = b assert f.z.w.w.w.w.w.w.txt == "n"
10
10
1
0.111111
2
5
1
1
1
7
4
3
3
0.3
3
0.3
5
2
6
3.111111
2
6
6
1
814
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.u: A = None self.txt = txt m = A("m") f = B("f") d = A("d") n = A("n") l = A("l") j = A("j") c = B("c") h = B("h") e = B("e") m.y = j f.t = j f.u = j d.y = m n.y = d l.y = n j.y = m c.t = l c.u = n h.t = j h.u = j e.t = j e.u = m assert d.y.y.y.y.y.txt == "
m"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.u: A = None self.txt = txt m = A("m") f = B("f") d = A("d") n = A("n") l = A("l") j = A("j") c = B("c") h = B("h") e = B("e") m.y = j f.t = j f.u = j d.y = m n.y = d l.y = n j.y = m c.t = l c.u = n h.t = j h.u = j e.t = j e.u = m assert d.y.y.y.y.y.txt == "m"
9
11
1.222222
0.152778
2
4.5
2
1
1.5
5
3
2
3
0.333333
3
0.272727
3
2
4
2.5
1
5
5
1
815
class A: def __init__(self, txt: str): self.t: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt e = A("e") a = B("a") i = B("i") m = B("m") d = B("d") j = A("j") l = A("l") b = B("b") e.t = i e.w = j a.r = e i.r = j m.r = e d.r = j j.t = b j.w = l l.t = m l.w = e b.r = l assert e.w.t.r.t.r.txt == "
e"
class A: def __init__(self, txt: str): self.t: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt e = A("e") a = B("a") i = B("i") m = B("m") d = B("d") j = A("j") l = A("l") b = B("b") e.t = i e.w = j a.r = e i.r = j m.r = e d.r = j j.t = b j.w = l l.t = m l.w = e b.r = l assert e.w.t.r.t.r.txt == "e"
8
11
1.375
0.196429
2
4
2
1
1.5
5
2
1
5
0.625
5
0.454545
1
5
5
5
3
2
1
1
816
class A: def __init__(self, txt: str): self.w: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt n = A("n") i = B("i") k = B("k") f = A("f") b = B("b") e = A("e") a = A("a") c = A("c") n.w = c n.y = i i.r = n i.x = a k.r = n k.x = c f.w = c f.y = i b.r = n b.x = a e.w = c e.y = k a.w = n a.y = b c.w = a c.y = i assert e.w.y.r.w.w.txt == "
a"
class A: def __init__(self, txt: str): self.w: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt n = A("n") i = B("i") k = B("k") f = A("f") b = B("b") e = A("e") a = A("a") c = A("c") n.w = c n.y = i i.r = n i.x = a k.r = n k.x = c f.w = c f.y = i b.r = n b.x = a e.w = c e.y = k a.w = n a.y = b c.w = a c.y = i assert e.w.y.r.w.w.txt == "a"
8
16
2
0.285714
2
4
2
2
2
5
2
1
5
0.625
5
0.3125
1
3
3
3
3
3
2
2
817
class A: def __init__(self, txt: str): self.q: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt g = A("g") j = B("j") e = A("e") k = A("k") i = B("i") a = B("a") g.q = i g.s = j j.x = e e.q = i e.s = a k.q = j k.s = j i.x = e a.x = g assert k.q.x.q.x.txt == "
e"
class A: def __init__(self, txt: str): self.q: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt g = A("g") j = B("j") e = A("e") k = A("k") i = B("i") a = B("a") g.q = i g.s = j j.x = e e.q = i e.s = a k.q = j k.s = j i.x = e a.x = g assert k.q.x.q.x.txt == "e"
6
8
1.333333
0.266667
2
3
2
1
1.5
4
2
1
4
0.666667
4
0.5
1
2
2
2
2
2
1
1
818
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt f = A("f") d = B("d") k = B("k") j = B("j") a = B("a") f.y = d d.w = f k.w = f j.w = f a.w = f assert j.w.y.w.txt == "
f"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt f = A("f") d = B("d") k = B("k") j = B("j") a = B("a") f.y = d d.w = f k.w = f j.w = f a.w = f assert j.w.y.w.txt == "f"
5
5
1
0.25
2
2.5
1
1
1
3
2
1
3
0.6
3
0.6
1
2
2
2
2
2
1
1
819
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: B = None self.txt = txt m = A("m") b = B("b") h = B("h") d = B("d") a = B("a") m.t = b b.z = m b.u = a h.z = m h.u = d d.z = m d.u = a a.z = m a.u = b assert d.z.t.z.txt == "
m"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: B = None self.txt = txt m = A("m") b = B("b") h = B("h") d = B("d") a = B("a") m.t = b b.z = m b.u = a h.z = m h.u = d d.z = m d.u = a a.z = m a.u = b assert d.z.t.z.txt == "m"
5
9
1.8
0.45
2
2.5
2
1
1.5
3
2
1
3
0.6
3
0.333333
1
2
2
2
2
2
1
1
820
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt f = A("f") a = B("a") m = A("m") f.t = m a.s = m m.t = f assert m.t.t.t.txt == "
f"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt f = A("f") a = B("a") m = A("m") f.t = m a.s = m m.t = f assert m.t.t.t.txt == "f"
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
821
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt a = A("a") e = B("e") n = A("n") j = B("j") h = B("h") l = A("l") k = A("k") b = A("b") m = B("m") a.u = j e.q = l e.y = a n.u = e j.q = b j.y = n h.q = b h.y = b l.u = j k.u = e b.u = j m.q = k m.y = n assert n.u.y.u.y.txt == "
n"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt a = A("a") e = B("e") n = A("n") j = B("j") h = B("h") l = A("l") k = A("k") b = A("b") m = B("m") a.u = j e.q = l e.y = a n.u = e j.q = b j.y = n h.q = b h.y = b l.u = j k.u = e b.u = j m.q = k m.y = n assert n.u.y.u.y.txt == "n"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
4
2
1
4
0.444444
4
0.333333
1
4
4
4
2
2
1
1
822
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.q: B = None self.txt = txt a = A("a") h = B("h") e = B("e") c = A("c") g = A("g") k = B("k") d = A("d") m = B("m") a.w = k a.y = g h.q = e e.q = m c.w = k c.y = d g.w = e g.y = a k.q = m d.w = m d.y = c m.q = k assert g.y.w.q.q.q.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.q: B = None self.txt = txt a = A("a") h = B("h") e = B("e") c = A("c") g = A("g") k = B("k") d = A("d") m = B("m") a.w = k a.y = g h.q = e e.q = m c.w = k c.y = d g.w = e g.y = a k.q = m d.w = m d.y = c m.q = k assert g.y.w.q.q.q.txt == "m"
8
12
1.5
0.214286
2
4
2
1
1.5
5
2
2
4
0.5
4
0.333333
2
2
2
2
3
3
3
1
823
class A: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt j = A("j") b = B("b") i = B("i") d = A("d") j.o = b j.r = d b.z = i i.z = b d.o = b d.r = j assert b.z.z.z.txt == "
i"
class A: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt j = A("j") b = B("b") i = B("i") d = A("d") j.o = b j.r = d b.z = i i.z = b d.o = b d.r = j assert b.z.z.z.txt == "i"
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
1
3
3
1
824
class A: def __init__(self, txt: str): self.s: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt m = A("m") h = B("h") b = A("b") f = A("f") m.s = b m.r = b h.v = b h.o = m b.s = m b.r = m f.s = b f.r = b assert f.r.r.s.txt == "
b"
class A: def __init__(self, txt: str): self.s: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt m = A("m") h = B("h") b = A("b") f = A("f") m.s = b m.r = b h.v = b h.o = m b.s = m b.r = m f.s = b f.r = b assert f.r.r.s.txt == "b"
4
5
1.25
0.416667
2
2
2
2
2
3
2
1
3
0.75
3
0.6
1
2
2
2
2
2
2
1
825
class A: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") d = B("d") c = B("c") e = A("e") g = B("g") f.z = e f.r = e d.v = g c.v = d e.z = f e.r = f g.v = d assert c.v.v.v.txt == "
d"
class A: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") d = B("d") c = B("c") e = A("e") g = B("g") f.z = e f.r = e d.v = g c.v = d e.z = f e.r = f g.v = d assert c.v.v.v.txt == "d"
5
5
1
0.25
2
2.5
2
1
1.5
3
2
1
3
0.6
3
0.6
1
2
2
2
1
3
3
1
826
class A: def __init__(self, txt: str): self.p: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt c = A("c") g = B("g") a = A("a") l = B("l") n = A("n") e = B("e") f = B("f") h = B("h") j = B("j") c.p = h c.u = n g.y = l a.p = j a.u = n l.y = j n.p = l n.u = a e.y = g f.y = l h.y = l j.y = h assert f.y.y.y.y.y.txt == "
j"
class A: def __init__(self, txt: str): self.p: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt c = A("c") g = B("g") a = A("a") l = B("l") n = A("n") e = B("e") f = B("f") h = B("h") j = B("j") c.p = h c.u = n g.y = l a.p = j a.u = n l.y = j n.p = l n.u = a e.y = g f.y = l h.y = l j.y = h assert f.y.y.y.y.y.txt == "j"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
5
2
2
4
0.444444
4
0.333333
2
3
3
3
1
5
5
1
827
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt k = A("k") g = B("g") n = B("n") j = A("j") e = A("e") d = A("d") k.u = n k.y = d g.y = n g.p = n n.y = g n.p = g j.u = g j.y = k e.u = n e.y = k d.u = g d.y = j assert e.u.p.p.txt == "
n"
class A: def __init__(self, txt: str): self.u: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt k = A("k") g = B("g") n = B("n") j = A("j") e = A("e") d = A("d") k.u = n k.y = d g.y = n g.p = n n.y = g n.p = g j.u = g j.y = k e.u = n e.y = k d.u = g d.y = j assert e.u.p.p.txt == "n"
6
10
1.666667
0.333333
2
3
2
2
2
3
2
1
3
0.5
3
0.3
1
2
2
2
2
2
2
1
828
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.txt = txt k = A("k") m = B("m") b = A("b") i = A("i") j = B("j") n = A("n") a = B("a") k.r = n m.y = j b.r = n i.r = k j.y = a n.r = k a.y = j assert a.y.y.y.y.y.y.y.txt == "
j"
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.txt = txt k = A("k") m = B("m") b = A("b") i = A("i") j = B("j") n = A("n") a = B("a") k.r = n m.y = j b.r = n i.r = k j.y = a n.r = k a.y = j assert a.y.y.y.y.y.y.y.txt == "j"
7
7
1
0.166667
2
3.5
1
1
1
7
4
4
2
0.285714
2
0.285714
6
2
6
3.333333
1
7
7
1
829
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 b = A("b") d = B("d") h = A("h") b.q = h d.t = h h.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.t: A = None self.txt = txt b = A("b") d = B("d") h = A("h") b.q = h d.t = h h.q = b assert h.q.q.q.txt == "b"
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
830
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt k = A("k") a = B("a") j = B("j") h = A("h") k.r = j a.z = j j.z = a h.r = j assert h.r.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt k = A("k") a = B("a") j = B("j") h = A("h") k.r = j a.z = j j.z = a h.r = j assert h.r.z.z.z.txt == "a"
4
4
1
0.333333
2
2
1
1
1
4
2
2
3
0.75
3
0.75
2
2
2
2
2
3
3
1
831
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.r: B = None self.txt = txt g = A("g") n = B("n") l = B("l") b = A("b") m = A("m") h = B("h") i = A("i") g.y = m n.t = l n.r = h l.t = n l.r = n b.y = g m.y = i h.t = n h.r = n i.y = g assert g.y.y.y.y.y.y.y.txt == "
m"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.r: B = None self.txt = txt g = A("g") n = B("n") l = B("l") b = A("b") m = A("m") h = B("h") i = A("i") g.y = m n.t = l n.r = h l.t = n l.r = n b.y = g m.y = i h.t = n h.r = n i.y = g assert g.y.y.y.y.y.y.y.txt == "m"
7
8
1.142857
0.190476
2
3.5
2
1
1.5
7
3
3
3
0.428571
3
0.375
5
3
6
3.857143
1
7
7
1
832
class A: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt j = A("j") a = B("a") d = A("d") i = A("i") b = B("b") n = A("n") j.u = a j.r = i a.u = n a.t = b d.u = b d.r = n i.u = b i.r = j b.u = j b.t = a n.u = a n.r = d assert i.u.u.u.t.txt == "
b"
class A: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt j = A("j") a = B("a") d = A("d") i = A("i") b = B("b") n = A("n") j.u = a j.r = i a.u = n a.t = b d.u = b d.r = n i.u = b i.r = j b.u = j b.t = a n.u = a n.r = d assert i.u.u.u.t.txt == "b"
6
12
2
0.4
2
3
2
2
2
4
2
1
4
0.666667
4
0.333333
1
3
3
3
2
3
3
1
833
class A: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt l = A("l") k = B("k") b = B("b") a = A("a") f = A("f") e = B("e") h = B("h") d = B("d") l.z = a l.t = e k.z = a b.z = a a.z = l a.t = d f.z = l f.t = h e.z = f h.z = f d.z = l assert h.z.z.t.z.z.t.txt == "
e"
class A: def __init__(self, txt: str): self.z: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt l = A("l") k = B("k") b = B("b") a = A("a") f = A("f") e = B("e") h = B("h") d = B("d") l.z = a l.t = e k.z = a b.z = a a.z = l a.t = d f.z = l f.t = h e.z = f h.z = f d.z = l assert h.z.z.t.z.z.t.txt == "e"
8
11
1.375
0.196429
2
4
2
1
1.5
6
2
2
4
0.5
4
0.363636
3
3
3
3
2
4
2
1
834
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt k = A("k") d = B("d") g = A("g") k.p = g d.s = k g.p = k assert k.p.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.s: A = None self.txt = txt k = A("k") d = B("d") g = A("g") k.p = g d.s = k g.p = k assert k.p.p.p.txt == "g"
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
835
class A: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt b = A("b") f = B("f") n = A("n") c = B("c") g = B("g") b.z = n b.u = n f.q = g n.z = b n.u = b c.q = f g.q = c assert n.u.u.z.u.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt b = A("b") f = B("f") n = A("n") c = B("c") g = B("g") b.z = n b.u = n f.q = g n.z = b n.u = b c.q = f g.q = c assert n.u.u.z.u.z.txt == "b"
5
5
1
0.25
2
2.5
2
1
1.5
5
3
2
2
0.4
3
0.6
4
2
4
2.666667
2
3
2
2
836
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.z: B = None self.txt = txt k = A("k") j = B("j") d = B("d") b = B("b") g = B("g") e = B("e") m = B("m") i = B("i") k.w = i j.w = k j.z = m d.w = k d.z = g b.w = k b.z = i g.w = k g.z = b e.w = k e.z = g m.w = k m.z = j i.w = k i.z = j assert e.w.w.w.txt == "
k"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.z: B = None self.txt = txt k = A("k") j = B("j") d = B("d") b = B("b") g = B("g") e = B("e") m = B("m") i = B("i") k.w = i j.w = k j.z = m d.w = k d.z = g b.w = k b.z = i g.w = k g.z = b e.w = k e.z = g m.w = k m.z = j i.w = k i.z = j assert e.w.w.w.txt == "k"
8
15
1.875
0.267857
2
4
2
1
1.5
3
2
1
3
0.375
3
0.2
1
2
2
2
1
3
3
1
837
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt k = A("k") i = B("i") l = A("l") j = B("j") g = A("g") e = A("e") c = B("c") d = A("d") b = A("b") n = A("n") k.s = i i.o = l l.s = j j.o = b g.s = i e.s = c c.o = e d.s = j b.s = i n.s = i assert j.o.s.o.s.o.s.txt == "
i"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt k = A("k") i = B("i") l = A("l") j = B("j") g = A("g") e = A("e") c = B("c") d = A("d") b = A("b") n = A("n") k.s = i i.o = l l.s = j j.o = b g.s = i e.s = c c.o = e d.s = j b.s = i n.s = i assert j.o.s.o.s.o.s.txt == "i"
10
10
1
0.111111
2
5
1
1
1
6
2
2
4
0.4
4
0.4
3
4
4
4
2
3
1
1
838
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt h = A("h") m = B("m") k = A("k") h.q = m m.x = k k.q = m assert h.q.x.q.txt == "
m"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt h = A("h") m = B("m") k = A("k") h.q = m m.x = k k.q = m assert h.q.x.q.txt == "m"
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
839
class A: def __init__(self, txt: str): self.u: 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") j = A("j") m = A("m") a = A("a") e = A("e") n = A("n") l.u = j i.s = l j.u = n m.u = a a.u = e e.u = a n.u = l assert e.u.u.u.u.txt == "
e"
class A: def __init__(self, txt: str): self.u: 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") j = A("j") m = A("m") a = A("a") e = A("e") n = A("n") l.u = j i.s = l j.u = n m.u = a a.u = e e.u = a n.u = l assert e.u.u.u.u.txt == "e"
7
7
1
0.166667
2
3.5
1
1
1
4
3
2
2
0.285714
2
0.285714
3
2
4
2.5
1
4
4
1
840
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt h = A("h") g = B("g") c = A("c") b = B("b") e = B("e") f = A("f") a = A("a") m = B("m") h.z = c g.w = a c.z = a b.w = h e.w = c f.z = a a.z = c m.w = f assert g.w.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt h = A("h") g = B("g") c = A("c") b = B("b") e = B("e") f = A("f") a = A("a") m = B("m") h.z = c g.w = a c.z = a b.w = h e.w = c f.z = a a.z = c m.w = f assert g.w.z.z.z.txt == "c"
8
8
1
0.142857
2
4
1
1
1
4
2
2
3
0.375
3
0.375
2
2
2
2
2
3
3
1
841
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.r: A = None self.txt = txt m = A("m") b = B("b") l = A("l") f = B("f") j = B("j") a = B("a") k = A("k") h = B("h") m.p = k m.u = h b.r = k l.p = k l.u = b f.r = l j.r = k a.r = m k.p = m k.u = f h.r = l assert j.r.p.u.r.txt == "
l"
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.r: A = None self.txt = txt m = A("m") b = B("b") l = A("l") f = B("f") j = B("j") a = B("a") k = A("k") h = B("h") m.p = k m.u = h b.r = k l.p = k l.u = b f.r = l j.r = k a.r = m k.p = m k.u = f h.r = l assert j.r.p.u.r.txt == "l"
8
11
1.375
0.196429
2
4
2
1
1.5
4
1
1
5
0.625
4
0.363636
0
null
null
null
3
2
1
1
842
class A: def __init__(self, txt: str): self.x: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.x: A = None self.txt = txt e = A("e") g = B("g") l = A("l") e.x = l e.v = g g.q = e g.x = l l.x = e l.v = g assert e.v.x.x.txt == "
e"
class A: def __init__(self, txt: str): self.x: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.x: A = None self.txt = txt e = A("e") g = B("g") l = A("l") e.x = l e.v = g g.q = e g.x = l l.x = e l.v = g assert e.v.x.x.txt == "e"
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
3
3
3
2
2
2
1
843
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt g = A("g") n = B("n") l = B("l") d = B("d") e = A("e") g.q = n n.s = l n.x = g l.s = n l.x = g d.s = n d.x = g e.q = n assert l.x.q.x.q.s.txt == "
l"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.x: A = None self.txt = txt g = A("g") n = B("n") l = B("l") d = B("d") e = A("e") g.q = n n.s = l n.x = g l.s = n l.x = g d.s = n d.x = g e.q = n assert l.x.q.x.q.s.txt == "l"
5
8
1.6
0.4
2
2.5
2
1
1.5
5
2
2
3
0.6
4
0.5
3
2
5
3
3
2
1
2
844
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.o: A = None self.txt = txt a = A("a") l = B("l") h = B("h") a.q = h l.p = h l.o = a h.p = l h.o = a assert l.p.o.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.p: B = None self.o: A = None self.txt = txt a = A("a") l = B("l") h = B("h") a.q = h l.p = h l.o = a h.p = l h.o = a assert l.p.o.q.txt == "h"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
3
1
1
1
845
class A: def __init__(self, txt: str): self.w: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt m = A("m") b = B("b") k = B("k") g = A("g") e = A("e") l = A("l") i = B("i") h = B("h") m.w = i m.u = b b.t = g b.w = e k.t = g k.w = l g.w = i g.u = b e.w = h e.u = i l.w = b l.u = k i.t = e i.w = m h.t = e h.w = e assert e.w.w.w.w.u.t.w.txt == "
h"
class A: def __init__(self, txt: str): self.w: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt m = A("m") b = B("b") k = B("k") g = A("g") e = A("e") l = A("l") i = B("i") h = B("h") m.w = i m.u = b b.t = g b.w = e k.t = g k.w = l g.w = i g.u = b e.w = h e.u = i l.w = b l.u = k i.t = e i.w = m h.t = e h.w = e assert e.w.w.w.w.u.t.w.txt == "h"
8
15
1.875
0.267857
2
4
2
2
2
7
4
3
3
0.375
4
0.266667
5
2
6
3.555556
3
5
4
2
846
class A: def __init__(self, txt: str): self.o: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.z: A = None self.txt = txt g = A("g") j = B("j") f = A("f") i = B("i") d = A("d") k = B("k") g.o = k g.z = i j.y = k j.z = d f.o = k f.z = j i.y = k i.z = f d.o = i d.z = i k.y = j k.z = d assert g.z.z.o.y.z.z.txt == "
i"
class A: def __init__(self, txt: str): self.o: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.z: A = None self.txt = txt g = A("g") j = B("j") f = A("f") i = B("i") d = A("d") k = B("k") g.o = k g.z = i j.y = k j.z = d f.o = k f.z = j i.y = k i.z = f d.o = i d.z = i k.y = j k.z = d assert g.z.z.o.y.z.z.txt == "i"
6
11
1.833333
0.366667
2
3
2
2
2
6
2
1
6
1
6
0.545455
1
5
5
5
3
4
2
1
847
class A: def __init__(self, txt: str): self.u: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt b = A("b") e = B("e") g = B("g") h = A("h") b.u = e b.o = h e.z = h e.u = b g.z = h g.u = h h.u = e h.o = b assert b.u.z.u.txt == "
e"
class A: def __init__(self, txt: str): self.u: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt b = A("b") e = B("e") g = B("g") h = A("h") b.u = e b.o = h e.z = h e.u = b g.z = h g.u = h h.u = e h.o = b assert b.u.z.u.txt == "e"
4
7
1.75
0.583333
2
2
2
2
2
3
2
1
3
0.75
3
0.428571
1
2
2
2
2
2
1
1
848
class A: def __init__(self, txt: str): self.t: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: A = None self.txt = txt j = A("j") h = B("h") g = B("g") l = A("l") e = A("e") a = B("a") i = A("i") d = B("d") k = B("k") j.t = e j.u = i h.y = g h.u = e g.y = a g.u = l l.t = j l.u = j e.t = l e.u = l a.y = d a.u = i i.t = l i.u = j d.y = h d.u = i k.y = d k.u = e assert k.u.u.t.t.t.t.txt == "
j"
class A: def __init__(self, txt: str): self.t: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.u: A = None self.txt = txt j = A("j") h = B("h") g = B("g") l = A("l") e = A("e") a = B("a") i = A("i") d = B("d") k = B("k") j.t = e j.u = i h.y = g h.u = e g.y = a g.u = l l.t = j l.u = j e.t = l e.u = l a.y = d a.u = i i.t = l i.u = j d.y = h d.u = i k.y = d k.u = e assert k.u.u.t.t.t.t.txt == "j"
9
16
1.777778
0.222222
2
4.5
2
2
2
6
2
2
4
0.444444
5
0.3125
3
3
3
3
2
4
4
2
849
class A: def __init__(self, txt: str): self.r: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.t: A = None self.txt = txt h = A("h") c = B("c") n = A("n") e = B("e") j = B("j") a = A("a") b = A("b") g = B("g") h.r = e h.p = b c.z = e c.t = a n.r = e n.p = a e.z = g e.t = n j.z = g j.t = h a.r = g a.p = b b.r = e b.p = a g.z = j g.t = h assert a.r.t.r.t.r.z.t.txt == "
h"
class A: def __init__(self, txt: str): self.r: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.t: A = None self.txt = txt h = A("h") c = B("c") n = A("n") e = B("e") j = B("j") a = A("a") b = A("b") g = B("g") h.r = e h.p = b c.z = e c.t = a n.r = e n.p = a e.z = g e.t = n j.z = g j.t = h a.r = g a.p = b b.r = e b.p = a g.z = j g.t = h assert a.r.t.r.t.r.z.t.txt == "h"
8
16
2
0.285714
2
4
2
2
2
7
2
2
5
0.625
6
0.375
3
2
5
4
3
3
1
2
850
class A: def __init__(self, txt: str): self.p: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.r: B = None self.txt = txt m = A("m") a = B("a") f = B("f") m.p = a m.t = a a.p = f a.r = f f.p = a f.r = a assert m.p.p.p.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.r: B = None self.txt = txt m = A("m") a = B("a") f = B("f") m.p = a m.t = a a.p = f a.r = f f.p = a f.r = a assert m.p.p.p.txt == "a"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
851
class A: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: B = None self.txt = txt m = A("m") i = B("i") c = A("c") k = A("k") j = B("j") g = B("g") e = B("e") m.o = c m.x = k i.z = g i.q = j c.o = m c.x = m k.o = c k.x = c j.z = e j.q = e g.z = j g.q = j e.z = j e.q = j assert j.z.z.q.txt == "
e"
class A: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: B = None self.txt = txt m = A("m") i = B("i") c = A("c") k = A("k") j = B("j") g = B("g") e = B("e") m.o = c m.x = k i.z = g i.q = j c.o = m c.x = m k.o = c k.x = c j.z = e j.q = e g.z = j g.q = j e.z = j e.q = j assert j.z.z.q.txt == "e"
7
9
1.285714
0.214286
2
3.5
2
2
2
3
2
1
2
0.285714
3
0.333333
2
2
2
2
2
2
2
2
852
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 c = A("c") j = B("j") b = B("b") e = B("e") k = A("k") n = B("n") g = A("g") i = B("i") m = B("m") c.o = m j.u = i b.u = j e.u = m k.o = m n.u = i g.o = n i.u = m m.u = j assert c.o.u.u.u.u.u.txt == "
i"
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 c = A("c") j = B("j") b = B("b") e = B("e") k = A("k") n = B("n") g = A("g") i = B("i") m = B("m") c.o = m j.u = i b.u = j e.u = m k.o = m n.u = i g.o = n i.u = m m.u = j assert c.o.u.u.u.u.u.txt == "i"
9
9
1
0.125
2
4.5
1
1
1
6
2
2
4
0.444444
4
0.444444
3
3
3
3
2
5
5
1
853
class A: def __init__(self, txt: str): self.r: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.t: B = None self.txt = txt m = A("m") i = B("i") k = A("k") e = A("e") b = B("b") l = B("l") f = A("f") m.r = i m.v = b i.s = l i.t = b k.r = i k.v = i e.r = b e.v = i b.s = i b.t = i l.s = i l.t = i f.r = l f.v = i assert l.s.s.t.t.t.t.t.txt == "
i"
class A: def __init__(self, txt: str): self.r: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.t: B = None self.txt = txt m = A("m") i = B("i") k = A("k") e = A("e") b = B("b") l = B("l") f = A("f") m.r = i m.v = b i.s = l i.t = b k.r = i k.v = i e.r = b e.v = i b.s = i b.t = i l.s = i l.t = i f.r = l f.v = i assert l.s.s.t.t.t.t.t.txt == "i"
7
11
1.571429
0.261905
2
3.5
2
2
2
7
4
2
3
0.428571
5
0.454545
5
2
6
3
2
5
5
2
854
class A: def __init__(self, txt: str): self.p: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt j = A("j") k = B("k") e = B("e") n = B("n") d = B("d") i = B("i") j.p = n j.z = d k.p = j k.q = j e.p = j e.q = j n.p = j n.q = j d.p = j d.q = j i.p = j i.q = j assert n.q.p.q.p.txt == "
n"
class A: def __init__(self, txt: str): self.p: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt j = A("j") k = B("k") e = B("e") n = B("n") d = B("d") i = B("i") j.p = n j.z = d k.p = j k.q = j e.p = j e.q = j n.p = j n.q = j d.p = j d.q = j i.p = j i.q = j assert n.q.p.q.p.txt == "n"
6
7
1.166667
0.233333
2
3
2
2
2
4
3
2
2
0.333333
2
0.285714
3
2
4
2.5
2
2
1
1
855
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.z: B = None self.txt = txt i = A("i") k = B("k") j = B("j") l = A("l") n = A("n") d = A("d") g = A("g") a = B("a") i.v = a k.u = a k.z = a j.u = k j.z = a l.v = k n.v = j d.v = j g.v = a a.u = k a.z = k assert i.v.u.u.u.u.u.u.z.txt == "
k"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.z: B = None self.txt = txt i = A("i") k = B("k") j = B("j") l = A("l") n = A("n") d = A("d") g = A("g") a = B("a") i.v = a k.u = a k.z = a j.u = k j.z = a l.v = k n.v = j d.v = j g.v = a a.u = k a.z = k assert i.v.u.u.u.u.u.u.z.txt == "k"
8
9
1.125
0.160714
2
4
2
1
1.5
8
4
3
3
0.375
4
0.444444
6
2
6
3.333333
3
6
6
2
856
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.w: A = None self.txt = txt k = A("k") l = B("l") c = B("c") a = A("a") k.z = a l.x = k l.w = a c.x = k c.w = k a.z = k assert k.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.w: A = None self.txt = txt k = A("k") l = B("l") c = B("c") a = A("a") k.z = a l.x = k l.w = a c.x = k c.w = k a.z = k assert k.z.z.z.txt == "a"
4
5
1.25
0.416667
2
2
2
1
1.5
3
2
2
2
0.5
2
0.4
2
2
2
2
1
3
3
1
857
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.o: A = None self.txt = txt l = A("l") j = B("j") n = B("n") e = B("e") b = A("b") l.u = b l.s = b j.o = b n.o = b e.o = b b.u = l b.s = l assert l.s.s.s.txt == "
b"
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.o: A = None self.txt = txt l = A("l") j = B("j") n = B("n") e = B("e") b = A("b") l.u = b l.s = b j.o = b n.o = b e.o = b b.u = l b.s = l assert l.s.s.s.txt == "b"
5
5
1
0.25
2
2.5
2
1
1.5
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
858
class A: def __init__(self, txt: str): self.z: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: B = None self.txt = txt m = A("m") k = B("k") b = B("b") m.z = k m.o = b k.u = b k.x = b b.u = k b.x = k assert b.u.u.u.txt == "
k"
class A: def __init__(self, txt: str): self.z: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: B = None self.txt = txt m = A("m") k = B("k") b = B("b") m.z = k m.o = b k.u = b k.x = b b.u = k b.x = k assert b.u.u.u.txt == "k"
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.5
2
2
2
2
1
3
3
1
859
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.s: A = None self.txt = txt l = A("l") k = B("k") c = B("c") f = B("f") l.o = k k.x = c k.s = l c.x = f c.s = l f.x = k f.s = l assert f.s.o.s.o.txt == "
k"
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.s: A = None self.txt = txt l = A("l") k = B("k") c = B("c") f = B("f") l.o = k k.x = c k.s = l c.x = f c.s = l f.x = k f.s = l assert f.s.o.s.o.txt == "k"
4
7
1.75
0.583333
2
2
2
1
1.5
4
2
2
3
0.75
3
0.428571
2
2
2
2
2
2
1
1
860
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt b = A("b") f = B("f") m = B("m") l = B("l") n = A("n") b.s = n f.v = l m.v = l l.v = f n.s = b assert l.v.v.v.txt == "
f"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt b = A("b") f = B("f") m = B("m") l = B("l") n = A("n") b.s = n f.v = l m.v = l l.v = f n.s = b assert l.v.v.v.txt == "f"
5
5
1
0.25
2
2.5
1
1
1
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
861
class A: def __init__(self, txt: str): self.o: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt n = A("n") l = B("l") i = A("i") n.o = i n.x = l l.o = i l.x = n i.o = n i.x = l assert n.o.x.x.txt == "
n"
class A: def __init__(self, txt: str): self.o: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.x: A = None self.txt = txt n = A("n") l = B("l") i = A("i") n.o = i n.x = l l.o = i l.x = n i.o = n i.x = l assert n.o.x.x.txt == "n"
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
3
3
3
2
2
2
1
862
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.z: A = None self.txt = txt a = A("a") d = B("d") j = A("j") k = B("k") l = A("l") a.z = k d.o = a d.z = l j.z = k k.o = j k.z = l l.z = k assert l.z.z.z.txt == "
k"
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.z: A = None self.txt = txt a = A("a") d = B("d") j = A("j") k = B("k") l = A("l") a.z = k d.o = a d.z = l j.z = k k.o = j k.z = l l.z = k assert l.z.z.z.txt == "k"
5
7
1.4
0.35
2
2.5
2
1
1.5
3
2
2
2
0.4
2
0.285714
2
2
2
2
1
3
3
1
863
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.w: A = None self.txt = txt g = A("g") k = B("k") i = B("i") c = A("c") b = A("b") d = A("d") g.w = d k.u = i k.w = c i.u = k i.w = g c.w = g b.w = c d.w = b assert g.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.u: B = None self.w: A = None self.txt = txt g = A("g") k = B("k") i = B("i") c = A("c") b = A("b") d = A("d") g.w = d k.u = i k.w = c i.u = k i.w = g c.w = g b.w = c d.w = b assert g.w.w.w.w.w.txt == "d"
6
8
1.333333
0.266667
2
3
2
1
1.5
5
2
2
4
0.666667
4
0.5
2
4
4
4
1
5
5
1
864
class A: def __init__(self, txt: str): self.t: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.y: B = None self.txt = txt i = A("i") h = B("h") m = B("m") g = B("g") k = B("k") b = B("b") d = B("d") l = A("l") i.t = l i.u = d h.u = b h.y = d m.u = h m.y = k g.u = k g.y = b k.u = m k.y = m b.u = h b.y = h d.u = h d.y = k l.t = i l.u = g assert b.u.y.y.y.y.y.y.txt == "
k"
class A: def __init__(self, txt: str): self.t: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.y: B = None self.txt = txt i = A("i") h = B("h") m = B("m") g = B("g") k = B("k") b = B("b") d = B("d") l = A("l") i.t = l i.u = d h.u = b h.y = d m.u = h m.y = k g.u = k g.y = b k.u = m k.y = m b.u = h b.y = h d.u = h d.y = k l.t = i l.u = g assert b.u.y.y.y.y.y.y.txt == "k"
8
14
1.75
0.25
2
4
2
2
2
7
3
2
5
0.625
5
0.357143
3
2
4
2.5
2
6
6
1
865
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.s: A = None self.txt = txt b = A("b") n = B("n") h = B("h") b.x = h n.t = h n.s = b h.t = n h.s = b 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.t: B = None self.s: A = None self.txt = txt b = A("b") n = B("n") h = B("h") b.x = h n.t = h n.s = b h.t = n h.s = b assert b.x.s.x.txt == "h"
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
866
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.o: A = None self.txt = txt g = A("g") k = B("k") f = A("f") c = A("c") g.s = k k.y = f k.o = g f.s = k c.s = k assert k.y.s.o.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.o: A = None self.txt = txt g = A("g") k = B("k") f = A("f") c = A("c") g.s = k k.y = f k.o = g f.s = k c.s = k assert k.y.s.o.txt == "g"
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
3
1
1
2
867
class A: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") g = B("g") n = A("n") c = B("c") d.q = g d.v = c g.v = c n.q = c n.v = c c.v = g assert d.q.v.v.txt == "
g"
class A: def __init__(self, txt: str): self.q: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt d = A("d") g = B("g") n = A("n") c = B("c") d.q = g d.v = c g.v = c n.q = c n.v = c c.v = g assert d.q.v.v.txt == "g"
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
2
2
2
1
868
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.t: B = None self.s: B = None self.txt = txt f = A("f") d = B("d") i = A("i") l = A("l") c = B("c") k = B("k") f.s = i f.v = l d.t = k d.s = k i.s = l i.v = f l.s = f l.v = f c.t = d c.s = k k.t = c k.s = d assert d.s.t.t.s.t.s.txt == "
k"
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.t: B = None self.s: B = None self.txt = txt f = A("f") d = B("d") i = A("i") l = A("l") c = B("c") k = B("k") f.s = i f.v = l d.t = k d.s = k i.s = l i.v = f l.s = f l.v = f c.t = d c.s = k k.t = c k.s = d assert d.s.t.t.s.t.s.txt == "k"
6
10
1.666667
0.333333
2
3
2
2
2
6
3
2
3
0.5
4
0.4
4
2
5
3.2
2
3
2
2
869
class A: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt n = A("n") d = B("d") a = B("a") h = A("h") f = B("f") c = A("c") e = B("e") i = A("i") m = A("m") n.p = e n.s = m d.w = f a.w = e h.p = f h.s = m f.w = a c.p = d c.s = i e.w = f i.p = d i.s = n m.p = e m.s = h assert d.w.w.w.w.w.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt n = A("n") d = B("d") a = B("a") h = A("h") f = B("f") c = A("c") e = B("e") i = A("i") m = A("m") n.p = e n.s = m d.w = f a.w = e h.p = f h.s = m f.w = a c.p = d c.s = i e.w = f i.p = d i.s = n m.p = e m.s = h assert d.w.w.w.w.w.txt == "a"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
5
2
2
4
0.444444
4
0.285714
2
3
3
3
1
5
5
1
870
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt k = A("k") n = B("n") h = B("h") e = B("e") f = A("f") d = B("d") a = B("a") i = B("i") j = A("j") m = A("m") k.q = f n.s = a h.s = i e.s = i f.q = m d.s = a a.s = e i.s = a j.q = f m.q = f assert j.q.q.q.q.q.q.q.txt == "
f"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt k = A("k") n = B("n") h = B("h") e = B("e") f = A("f") d = B("d") a = B("a") i = B("i") j = A("j") m = A("m") k.q = f n.s = a h.s = i e.s = i f.q = m d.s = a a.s = e i.s = a j.q = f m.q = f assert j.q.q.q.q.q.q.q.txt == "f"
10
10
1
0.111111
2
5
1
1
1
7
4
3
3
0.3
3
0.3
5
2
6
3.111111
1
7
7
1
871
class A: def __init__(self, txt: str): self.y: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.t: B = None self.txt = txt d = A("d") b = B("b") i = B("i") k = B("k") n = A("n") e = A("e") j = A("j") l = A("l") d.y = k d.t = i b.y = i b.t = k i.y = b i.t = b k.y = i k.t = i n.y = k n.t = b e.y = b e.t = k j.y = b j.t = k l.y = k l.t = i assert b.y.t.y.t.t.txt == "
k"
class A: def __init__(self, txt: str): self.y: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.t: B = None self.txt = txt d = A("d") b = B("b") i = B("i") k = B("k") n = A("n") e = A("e") j = A("j") l = A("l") d.y = k d.t = i b.y = i b.t = k i.y = b i.t = b k.y = i k.t = i n.y = k n.t = b e.y = b e.t = k j.y = b j.t = k l.y = k l.t = i assert b.y.t.y.t.t.txt == "k"
8
14
1.75
0.25
2
4
2
2
2
5
3
2
3
0.375
3
0.214286
3
2
4
2.5
2
3
2
2
872
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") m = B("m") d = A("d") b.z = d m.r = b d.z = b assert m.r.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt b = A("b") m = B("m") d = A("d") b.z = d m.r = b d.z = b assert m.r.z.z.txt == "b"
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
873
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.o: B = None self.txt = txt a = A("a") n = B("n") m = B("m") h = B("h") f = A("f") k = B("k") a.v = f n.x = k n.o = m m.x = n m.o = n h.x = m h.o = m f.v = a k.x = n k.o = n assert k.x.x.o.txt == "
n"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.o: B = None self.txt = txt a = A("a") n = B("n") m = B("m") h = B("h") f = A("f") k = B("k") a.v = f n.x = k n.o = m m.x = n m.o = n h.x = m h.o = m f.v = a k.x = n k.o = n assert k.x.x.o.txt == "n"
6
7
1.166667
0.233333
2
3
2
1
1.5
3
2
1
2
0.333333
3
0.428571
2
2
2
2
2
2
2
2
874
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") n = B("n") b = A("b") d = A("d") g.s = b n.p = b b.s = g d.s = b assert n.p.s.s.s.txt == "
g"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") n = B("n") b = A("b") d = A("d") g.s = b n.p = b b.s = g d.s = b assert n.p.s.s.s.txt == "g"
4
4
1
0.333333
2
2
1
1
1
4
2
2
3
0.75
3
0.75
2
2
2
2
2
3
3
1
875
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: B = None self.txt = txt a = A("a") n = B("n") m = A("m") h = A("h") c = A("c") j = B("j") b = B("b") i = B("i") e = B("e") a.w = m n.x = m n.p = j m.w = h h.w = c c.w = m j.x = m j.p = e b.x = c b.p = n i.x = m i.p = e e.x = m e.p = b assert n.p.x.w.w.w.w.w.txt == "
c"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: B = None self.txt = txt a = A("a") n = B("n") m = A("m") h = A("h") c = A("c") j = B("j") b = B("b") i = B("i") e = B("e") a.w = m n.x = m n.p = j m.w = h h.w = c c.w = m j.x = m j.p = e b.x = c b.p = n i.x = m i.p = e e.x = m e.p = b assert n.p.x.w.w.w.w.w.txt == "c"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
7
2
2
5
0.555556
5
0.357143
3
3
3
3
3
5
5
1
876
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.y: A = None self.x: A = None self.txt = txt d = A("d") h = B("h") j = A("j") d.r = j d.o = j h.y = d h.x = d j.r = d j.o = d assert j.o.r.r.txt == "
d"
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.y: A = None self.x: A = None self.txt = txt d = A("d") h = B("h") j = A("j") d.r = j d.o = j h.y = d h.x = d j.r = d j.o = d assert j.o.r.r.txt == "d"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
2
0.666667
3
1
2
2
2
2
2
2
2
2
877
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.y: A = None self.txt = txt n = A("n") m = B("m") f = A("f") k = A("k") b = B("b") d = A("d") h = A("h") e = A("e") g = B("g") n.q = d m.o = b m.y = n f.q = e k.q = d b.o = g b.y = n d.q = h h.q = d e.q = k g.o = m g.y = f assert b.y.q.q.q.txt == "
d"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.y: A = None self.txt = txt n = A("n") m = B("m") f = A("f") k = A("k") b = B("b") d = A("d") h = A("h") e = A("e") g = B("g") n.q = d m.o = b m.y = n f.q = e k.q = d b.o = g b.y = n d.q = h h.q = d e.q = k g.o = m g.y = f assert b.y.q.q.q.txt == "d"
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
2
3
3
1
878
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt f = A("f") e = B("e") g = A("g") c = A("c") j = B("j") k = A("k") m = B("m") n = A("n") l = A("l") f.x = g e.v = c e.y = j g.x = f c.x = k j.v = f j.y = m k.x = c m.v = n m.y = j n.x = l l.x = g assert f.x.x.x.x.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.v: A = None self.y: B = None self.txt = txt f = A("f") e = B("e") g = A("g") c = A("c") j = B("j") k = A("k") m = B("m") n = A("n") l = A("l") f.x = g e.v = c e.y = j g.x = f c.x = k j.v = f j.y = m k.x = c m.v = n m.y = j n.x = l l.x = g assert f.x.x.x.x.x.x.x.x.x.txt == "g"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
9
5
5
2
0.222222
2
0.166667
8
2
8
4
1
9
9
1
879
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt g = A("g") m = B("m") i = A("i") n = B("n") c = A("c") h = B("h") d = A("d") f = B("f") g.o = c m.w = i i.o = d n.w = i c.o = g h.w = g d.o = i f.w = g assert n.w.o.o.o.o.o.o.txt == "
i"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt g = A("g") m = B("m") i = A("i") n = B("n") c = A("c") h = B("h") d = A("d") f = B("f") g.o = c m.w = i i.o = d n.w = i c.o = g h.w = g d.o = i f.w = g assert n.w.o.o.o.o.o.o.txt == "i"
8
8
1
0.142857
2
4
1
1
1
7
4
3
3
0.375
3
0.375
5
2
6
3.111111
2
6
6
1
880
class A: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: B = None self.txt = txt n = A("n") e = B("e") m = B("m") b = A("b") h = B("h") n.u = b n.t = b e.s = m e.p = h m.s = h m.p = h b.u = n b.t = n h.s = e h.p = e assert b.t.u.t.t.txt == "
b"
class A: def __init__(self, txt: str): self.u: A = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: B = None self.txt = txt n = A("n") e = B("e") m = B("m") b = A("b") h = B("h") n.u = b n.t = b e.s = m e.p = h m.s = h m.p = h b.u = n b.t = n h.s = e h.p = e assert b.t.u.t.t.txt == "b"
5
6
1.2
0.3
2
2.5
2
2
2
4
3
2
2
0.4
3
0.5
3
2
4
2.5
2
3
2
2
881
class A: def __init__(self, txt: str): self.y: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") k = B("k") c = B("c") d = A("d") j = B("j") f = B("f") h = A("h") e.y = h e.p = f k.w = j c.w = j d.y = h d.p = c j.w = c f.w = c h.y = d h.p = j assert h.y.p.w.w.w.txt == "
j"
class A: def __init__(self, txt: str): self.y: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") k = B("k") c = B("c") d = A("d") j = B("j") f = B("f") h = A("h") e.y = h e.p = f k.w = j c.w = j d.y = h d.p = c j.w = c f.w = c h.y = d h.p = j assert h.y.p.w.w.w.txt == "j"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
5
2
2
4
0.571429
4
0.4
2
2
2
2
3
3
3
1
882
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt l = A("l") f = B("f") h = A("h") l.s = f f.z = l f.r = h h.s = f assert h.s.z.s.txt == "
f"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.r: A = None self.txt = txt l = A("l") f = B("f") h = A("h") l.s = f f.z = l f.r = h h.s = f assert h.s.z.s.txt == "f"
3
4
1.333333
0.666667
2
1.5
2
1
1.5
3
2
1
3
1
3
0.75
1
2
2
2
2
2
1
1
883
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.y: A = None self.txt = txt f = A("f") e = B("e") b = B("b") c = A("c") j = A("j") f.x = b e.t = j e.y = c b.t = c b.y = j c.x = e j.x = e assert j.x.t.x.y.txt == "
c"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.y: A = None self.txt = txt f = A("f") e = B("e") b = B("b") c = A("c") j = A("j") f.x = b e.t = j e.y = c b.t = c b.y = j c.x = e j.x = e assert j.x.t.x.y.txt == "c"
5
7
1.4
0.35
2
2.5
2
1
1.5
4
2
2
3
0.6
3
0.428571
2
2
2
2
3
2
1
2
884
class A: def __init__(self, txt: str): self.v: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") e = B("e") g = B("g") b = A("b") n = A("n") m = A("m") h = A("h") a.v = e a.y = h e.y = g g.y = e b.v = e b.y = m n.v = e n.y = b m.v = e m.y = n h.v = g h.y = a assert h.y.y.y.v.y.y.y.txt == "
g"
class A: def __init__(self, txt: str): self.v: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt a = A("a") e = B("e") g = B("g") b = A("b") n = A("n") m = A("m") h = A("h") a.v = e a.y = h e.y = g g.y = e b.v = e b.y = m n.v = e n.y = b m.v = e m.y = n h.v = g h.y = a assert h.y.y.y.v.y.y.y.txt == "g"
7
12
1.714286
0.285714
2
3.5
2
1
1.5
7
2
2
4
0.571429
5
0.416667
4
2
2
2
2
6
3
2
885
class A: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.x: B = None self.txt = txt a = A("a") l = B("l") j = B("j") k = B("k") i = B("i") b = A("b") d = B("d") m = B("m") h = B("h") f = B("f") a.u = i a.o = l l.t = a l.x = i j.t = a j.x = i k.t = a k.x = h i.t = a i.x = d b.u = j b.o = h d.t = a d.x = l m.t = a m.x = i h.t = a h.x = j f.t = a f.x = h assert l.t.o.t.o.txt == "
l"
class A: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.x: B = None self.txt = txt a = A("a") l = B("l") j = B("j") k = B("k") i = B("i") b = A("b") d = B("d") m = B("m") h = B("h") f = B("f") a.u = i a.o = l l.t = a l.x = i j.t = a j.x = i k.t = a k.x = h i.t = a i.x = d b.u = j b.o = h d.t = a d.x = l m.t = a m.x = i h.t = a h.x = j f.t = a f.x = h assert l.t.o.t.o.txt == "l"
10
20
2
0.222222
2
5
2
2
2
4
3
2
2
0.2
2
0.1
3
2
4
2.5
2
2
1
1
886
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt g = A("g") b = B("b") c = A("c") g.r = b b.r = g c.r = b assert g.r.r.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.r: A = None self.txt = txt g = A("g") b = B("b") c = A("c") g.r = b b.r = g c.r = b assert g.r.r.r.txt == "b"
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
887
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt f = A("f") e = B("e") c = A("c") l = B("l") n = A("n") g = A("g") i = B("i") f.x = l e.q = i c.x = i l.q = i n.x = e g.x = i i.q = l assert g.x.q.q.q.q.q.q.txt == "
i"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt f = A("f") e = B("e") c = A("c") l = B("l") n = A("n") g = A("g") i = B("i") f.x = l e.q = i c.x = i l.q = i n.x = e g.x = i i.q = l assert g.x.q.q.q.q.q.q.txt == "i"
7
7
1
0.166667
2
3.5
1
1
1
7
4
3
3
0.428571
3
0.428571
5
2
6
3.111111
2
6
6
1
888
class A: def __init__(self, txt: str): self.o: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt e = A("e") d = B("d") h = B("h") e.o = h e.q = h d.s = e h.s = e assert h.s.q.s.txt == "
e"
class A: def __init__(self, txt: str): self.o: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt e = A("e") d = B("d") h = B("h") e.o = h e.q = h d.s = e h.s = e assert h.s.q.s.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
889
class A: def __init__(self, txt: str): self.r: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt f = A("f") b = B("b") d = B("d") n = A("n") f.r = n f.u = n b.o = n d.o = n n.r = f n.u = f assert d.o.u.r.u.txt == "
f"
class A: def __init__(self, txt: str): self.r: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt f = A("f") b = B("b") d = B("d") n = A("n") f.r = n f.u = n b.o = n d.o = n n.r = f n.u = f assert d.o.u.r.u.txt == "f"
4
4
1
0.333333
2
2
2
1
1.5
4
2
2
3
0.75
3
0.75
2
2
2
2
3
2
1
1
890
class A: def __init__(self, txt: str): self.x: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.z: A = None self.txt = txt j = A("j") b = B("b") a = B("a") e = A("e") d = B("d") c = A("c") h = B("h") j.x = c j.u = c b.y = j b.z = e a.y = e a.z = c e.x = c e.u = j d.y = j d.z = j c.x = e c.u = j h.y = j h.z = j assert h.y.x.x.u.x.txt == "
c"
class A: def __init__(self, txt: str): self.x: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.z: A = None self.txt = txt j = A("j") b = B("b") a = B("a") e = A("e") d = B("d") c = A("c") h = B("h") j.x = c j.u = c b.y = j b.z = e a.y = e a.z = c e.x = c e.u = j d.y = j d.z = j c.x = e c.u = j h.y = j h.z = j assert h.y.x.x.u.x.txt == "c"
7
11
1.571429
0.261905
2
3.5
2
2
2
5
2
2
4
0.571429
4
0.363636
2
3
3
3
3
3
2
1
891
class A: def __init__(self, txt: str): self.r: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.o: A = None self.txt = txt n = A("n") d = B("d") m = B("m") n.r = d n.p = d d.t = n d.o = n m.t = n m.o = n assert m.t.r.o.txt == "
n"
class A: def __init__(self, txt: str): self.r: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.o: A = None self.txt = txt n = A("n") d = B("d") m = B("m") n.r = d n.p = d d.t = n d.o = n m.t = n m.o = n assert m.t.r.o.txt == "n"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
3
1
3
1
1
2
2
2
3
1
1
1
892
class A: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt g = A("g") b = B("b") l = A("l") e = A("e") a = B("a") k = B("k") d = A("d") n = B("n") g.w = b g.q = k b.p = a l.w = a l.q = a e.w = a e.q = n a.p = n k.p = n d.w = n d.q = a n.p = k assert k.p.p.p.p.p.p.p.txt == "
n"
class A: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt g = A("g") b = B("b") l = A("l") e = A("e") a = B("a") k = B("k") d = A("d") n = B("n") g.w = b g.q = k b.p = a l.w = a l.q = a e.w = a e.q = n a.p = n k.p = n d.w = n d.q = a n.p = k assert k.p.p.p.p.p.p.p.txt == "n"
8
11
1.375
0.196429
2
4
2
1
1.5
7
4
4
2
0.25
2
0.181818
6
2
6
3.333333
1
7
7
1
893
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") m = B("m") a = B("a") i = A("i") d = B("d") h = B("h") k = A("k") l = A("l") g = A("g") e.s = a m.w = d a.w = d i.s = m d.w = a h.w = d k.s = h l.s = d g.s = a assert m.w.w.w.w.w.w.txt == "
a"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt e = A("e") m = B("m") a = B("a") i = A("i") d = B("d") h = B("h") k = A("k") l = A("l") g = A("g") e.s = a m.w = d a.w = d i.s = m d.w = a h.w = d k.s = h l.s = d g.s = a assert m.w.w.w.w.w.w.txt == "a"
9
9
1
0.125
2
4.5
1
1
1
6
3
3
3
0.333333
3
0.333333
4
2
4
2.666667
1
6
6
1
894
class A: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt n = A("n") g = B("g") m = B("m") d = B("d") i = B("i") j = A("j") k = B("k") e = A("e") n.p = j n.w = j g.z = e m.z = n d.z = e i.z = n j.p = n j.w = e k.z = n e.p = n e.w = j assert m.z.p.w.p.txt == "
n"
class A: def __init__(self, txt: str): self.p: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt n = A("n") g = B("g") m = B("m") d = B("d") i = B("i") j = A("j") k = B("k") e = A("e") n.p = j n.w = j g.z = e m.z = n d.z = e i.z = n j.p = n j.w = e k.z = n e.p = n e.w = j assert m.z.p.w.p.txt == "n"
8
10
1.25
0.178571
2
4
2
1
1.5
4
2
1
4
0.5
4
0.4
1
3
3
3
3
2
1
1
895
class A: def __init__(self, txt: str): self.t: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt i = A("i") e = B("e") m = B("m") l = B("l") a = B("a") c = B("c") k = A("k") n = A("n") d = B("d") h = B("h") i.t = e i.q = m e.r = n e.q = i m.r = n m.q = k l.r = k l.q = i a.r = k a.q = i c.r = i c.q = i k.t = l k.q = a n.t = l n.q = a d.r = k d.q = i h.r = n h.q = i assert m.q.q.q.t.r.t.txt == "
l"
class A: def __init__(self, txt: str): self.t: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt i = A("i") e = B("e") m = B("m") l = B("l") a = B("a") c = B("c") k = A("k") n = A("n") d = B("d") h = B("h") i.t = e i.q = m e.r = n e.q = i m.r = n m.q = k l.r = k l.q = i a.r = k a.q = i c.r = i c.q = i k.t = l k.q = a n.t = l n.q = a d.r = k d.q = i h.r = n h.q = i assert m.q.q.q.t.r.t.txt == "l"
10
19
1.9
0.211111
2
5
2
2
2
6
1
1
7
0.7
6
0.315789
0
null
null
null
3
3
3
1
896
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt l = A("l") a = B("a") i = B("i") f = B("f") j = B("j") e = A("e") m = A("m") h = A("h") d = A("d") n = A("n") l.z = a a.x = n i.x = l f.x = n j.x = h e.z = i m.z = a h.z = a d.z = j n.z = i assert n.z.x.z.x.z.txt == "
i"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt l = A("l") a = B("a") i = B("i") f = B("f") j = B("j") e = A("e") m = A("m") h = A("h") d = A("d") n = A("n") l.z = a a.x = n i.x = l f.x = n j.x = h e.z = i m.z = a h.z = a d.z = j n.z = i assert n.z.x.z.x.z.txt == "i"
10
10
1
0.111111
2
5
1
1
1
5
2
2
4
0.4
4
0.4
2
4
4
4
2
3
1
1
897
class A: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt f = A("f") k = B("k") l = A("l") f.s = k f.v = l k.v = l k.o = f l.s = k l.v = f assert f.v.s.o.txt == "
f"
class A: def __init__(self, txt: str): self.s: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt f = A("f") k = B("k") l = A("l") f.s = k f.v = l k.v = l k.o = f l.s = k l.v = f assert f.v.s.o.txt == "f"
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
3
3
3
3
1
1
1
898
class A: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt f = A("f") a = B("a") m = A("m") g = B("g") j = B("j") k = A("k") h = A("h") i = B("i") f.r = a f.q = i a.r = m a.s = i m.r = j m.q = i g.r = k g.s = a j.r = k j.s = i k.r = j k.q = g h.r = g h.q = i i.r = k i.s = g assert g.s.r.q.r.q.r.txt == "
k"
class A: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt f = A("f") a = B("a") m = A("m") g = B("g") j = B("j") k = A("k") h = A("h") i = B("i") f.r = a f.q = i a.r = m a.s = i m.r = j m.q = i g.r = k g.s = a j.r = k j.s = i k.r = j k.q = g h.r = g h.q = i i.r = k i.s = g assert g.s.r.q.r.q.r.txt == "k"
8
16
2
0.285714
2
4
2
2
2
6
2
1
5
0.625
6
0.375
2
2
5
3.5
3
3
1
2
899
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt j = A("j") a = B("a") k = A("k") h = B("h") n = A("n") c = B("c") b = B("b") f = B("f") m = B("m") g = B("g") j.s = a a.r = f a.q = j k.s = a h.r = b h.q = k n.s = m c.r = h c.q = j b.r = a b.q = j f.r = h f.q = j m.r = g m.q = k g.r = m g.q = j assert n.s.q.s.q.s.q.txt == "
j"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt j = A("j") a = B("a") k = A("k") h = B("h") n = A("n") c = B("c") b = B("b") f = B("f") m = B("m") g = B("g") j.s = a a.r = f a.q = j k.s = a h.r = b h.q = k n.s = m c.r = h c.q = j b.r = a b.q = j f.r = h f.q = j m.r = g m.q = k g.r = m g.q = j assert n.s.q.s.q.s.q.txt == "j"
10
17
1.7
0.188889
2
5
2
1
1.5
6
2
2
5
0.5
5
0.294118
2
2
2
2
2
3
1
1