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
400
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.txt = txt k = A("k") f = B("f") h = A("h") k.w = f f.w = k h.w = f assert k.w.w.w.txt == "
f"
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.txt = txt k = A("k") f = B("f") h = A("h") k.w = f f.w = k h.w = f assert k.w.w.w.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
401
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.x: A = None self.txt = txt h = A("h") b = B("b") m = B("m") j = B("j") d = A("d") k = B("k") l = A("l") g = B("g") n = A("n") h.z = l h.t = m b.x = d m.x = l j.x = l d.z = h d.t = b k.x = h l.z = n l.t = g g.x = h n.z = d n.t = g assert m.x.z.t.x.z.txt == "
l"
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.x: A = None self.txt = txt h = A("h") b = B("b") m = B("m") j = B("j") d = A("d") k = B("k") l = A("l") g = B("g") n = A("n") h.z = l h.t = m b.x = d m.x = l j.x = l d.z = h d.t = b k.x = h l.z = n l.t = g g.x = h n.z = d n.t = g assert m.x.z.t.x.z.txt == "l"
9
13
1.444444
0.180556
2
4.5
2
1
1.5
5
2
1
5
0.555556
5
0.384615
1
4
4
4
3
2
1
1
402
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") l = B("l") m = B("m") c = A("c") a = A("a") j.w = f j.z = f f.w = m l.w = m m.w = l c.w = f c.z = f a.w = l a.z = m assert j.w.w.w.w.w.w.txt == "
m"
class A: def __init__(self, txt: str): self.w: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") l = B("l") m = B("m") c = A("c") a = A("a") j.w = f j.z = f f.w = m l.w = m m.w = l c.w = f c.z = f a.w = l a.z = m assert j.w.w.w.w.w.w.txt == "m"
6
7
1.166667
0.233333
2
3
2
1
1.5
6
3
2
4
0.666667
4
0.571429
3
2
4
2.5
1
6
6
1
403
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.txt = txt l = A("l") k = B("k") a = B("a") e = B("e") f = B("f") i = B("i") j = B("j") b = A("b") h = A("h") l.u = i l.o = b k.z = l a.z = b e.z = h f.z = h i.z = b j.z = b b.u = f b.o = h h.u = j h.o = b assert a.z.o.o.txt == "
b"
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.txt = txt l = A("l") k = B("k") a = B("a") e = B("e") f = B("f") i = B("i") j = B("j") b = A("b") h = A("h") l.u = i l.o = b k.z = l a.z = b e.z = h f.z = h i.z = b j.z = b b.u = f b.o = h h.u = j h.o = b assert a.z.o.o.txt == "b"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
3
2
1
3
0.333333
3
0.25
1
2
2
2
2
2
2
1
404
class A: def __init__(self, txt: str): self.q: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt m = A("m") a = B("a") n = B("n") i = B("i") b = A("b") g = A("g") l = A("l") c = B("c") h = A("h") d = A("d") m.q = b m.r = d a.w = h n.w = l i.w = l b.q = l b.r = h g.q = m g.r = d l.q = h l.r = g c.w = b h.q = b h.r = g d.q = g d.r = l assert b.r.r.q.q.r.txt == "
h"
class A: def __init__(self, txt: str): self.q: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt m = A("m") a = B("a") n = B("n") i = B("i") b = A("b") g = A("g") l = A("l") c = B("c") h = A("h") d = A("d") m.q = b m.r = d a.w = h n.w = l i.w = l b.q = l b.r = h g.q = m g.r = d l.q = h l.r = g c.w = b h.q = b h.r = g d.q = g d.r = l assert b.r.r.q.q.r.txt == "h"
10
16
1.6
0.177778
2
5
2
1
1.5
5
2
2
4
0.4
4
0.25
2
4
4
4
2
3
2
1
405
class A: def __init__(self, txt: str): self.y: A = None self.z: B = 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") c = B("c") l = B("l") k = A("k") h = B("h") g.y = k g.z = h c.o = h c.v = k l.o = h l.v = g k.y = g k.z = l h.o = l h.v = k assert l.v.z.v.z.o.txt == "
h"
class A: def __init__(self, txt: str): self.y: A = None self.z: B = 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") c = B("c") l = B("l") k = A("k") h = B("h") g.y = k g.z = h c.o = h c.v = k l.o = h l.v = g k.y = g k.z = l h.o = l h.v = k assert l.v.z.v.z.o.txt == "h"
5
10
2
0.5
2
2.5
2
2
2
5
2
1
4
0.8
5
0.5
2
3
4
3.5
3
2
1
2
406
class A: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.u: A = None self.txt = txt f = A("f") a = B("a") d = A("d") e = A("e") i = A("i") b = B("b") k = A("k") f.r = i f.x = i a.p = e a.u = i d.r = f d.x = f e.r = f e.x = k i.r = d i.x = e b.p = e b.u = i k.r = i k.x = e assert e.r.x.r.txt == "
d"
class A: def __init__(self, txt: str): self.r: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.u: A = None self.txt = txt f = A("f") a = B("a") d = A("d") e = A("e") i = A("i") b = B("b") k = A("k") f.r = i f.x = i a.p = e a.u = i d.r = f d.x = f e.r = f e.x = k i.r = d i.x = e b.p = e b.u = i k.r = i k.x = e assert e.r.x.r.txt == "d"
7
12
1.714286
0.285714
2
3.5
2
2
2
3
1
1
4
0.571429
3
0.25
0
null
null
null
2
2
1
1
407
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt m = A("m") a = B("a") d = B("d") h = A("h") m.t = a a.p = d d.p = a h.t = a assert m.t.p.p.p.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt m = A("m") a = B("a") d = B("d") h = A("h") m.t = a a.p = d d.p = a h.t = a assert m.t.p.p.p.txt == "d"
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
408
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.x: B = None self.txt = txt e = A("e") l = B("l") h = B("h") j = A("j") i = A("i") a = B("a") e.p = j l.u = j l.x = h h.u = j h.x = l j.p = e i.p = j a.u = i a.x = l assert i.p.p.p.p.p.p.txt == "
e"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.x: B = None self.txt = txt e = A("e") l = B("l") h = B("h") j = A("j") i = A("i") a = B("a") e.p = j l.u = j l.x = h h.u = j h.x = l j.p = e i.p = j a.u = i a.x = l assert i.p.p.p.p.p.p.txt == "e"
6
9
1.5
0.3
2
3
2
1
1.5
6
3
3
3
0.5
3
0.333333
4
2
4
2.666667
1
6
6
1
409
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.q: B = None self.txt = txt f = A("f") m = B("m") c = B("c") i = A("i") g = A("g") h = B("h") a = A("a") k = A("k") f.y = i f.z = a m.q = h c.q = m i.y = f i.z = k g.y = k g.z = i h.q = c a.y = k a.z = k k.y = a k.z = i assert a.z.z.y.y.z.y.z.txt == "
k"
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.q: B = None self.txt = txt f = A("f") m = B("m") c = B("c") i = A("i") g = A("g") h = B("h") a = A("a") k = A("k") f.y = i f.z = a m.q = h c.q = m i.y = f i.z = k g.y = k g.z = i h.q = c a.y = k a.z = k k.y = a k.z = i assert a.z.z.y.y.z.y.z.txt == "k"
8
12
1.5
0.214286
2
4
2
1
1.5
7
3
2
4
0.5
6
0.5
4
2
6
4
2
4
2
2
410
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.t: B = None self.txt = txt h = A("h") c = B("c") n = A("n") l = B("l") b = A("b") k = B("k") f = B("f") h.x = b h.v = l c.q = b c.t = f n.x = h n.v = l l.q = b l.t = k b.x = h b.v = f k.q = h k.t = l f.q = b f.t = l assert b.v.q.x.txt == "
h"
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.t: B = None self.txt = txt h = A("h") c = B("c") n = A("n") l = B("l") b = A("b") k = B("k") f = B("f") h.x = b h.v = l c.q = b c.t = f n.x = h n.v = l l.q = b l.t = k b.x = h b.v = f k.q = h k.t = l f.q = b f.t = l assert b.v.q.x.txt == "h"
7
14
2
0.333333
2
3.5
2
2
2
3
2
1
3
0.428571
3
0.214286
1
2
2
2
3
1
1
2
411
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt c = A("c") f = B("f") n = A("n") c.z = f f.w = c f.u = n n.z = f assert n.z.u.z.txt == "
f"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt c = A("c") f = B("f") n = A("n") c.z = f f.w = c f.u = n n.z = f assert n.z.u.z.txt == "f"
3
4
1.333333
0.666667
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
412
class A: def __init__(self, txt: str): self.v: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.u: B = None self.txt = txt i = A("i") j = B("j") g = A("g") c = A("c") b = A("b") k = B("k") e = B("e") i.v = g i.u = j j.t = e j.u = k g.v = c g.u = j c.v = b c.u = k b.v = g b.u = e k.t = e k.u = e e.t = k e.u = k assert g.v.u.t.u.t.txt == "
e"
class A: def __init__(self, txt: str): self.v: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.u: B = None self.txt = txt i = A("i") j = B("j") g = A("g") c = A("c") b = A("b") k = B("k") e = B("e") i.v = g i.u = j j.t = e j.u = k g.v = c g.u = j c.v = b c.u = k b.v = g b.u = e k.t = e k.u = e e.t = k e.u = k assert g.v.u.t.u.t.txt == "e"
7
12
1.714286
0.285714
2
3.5
2
2
2
5
2
2
4
0.571429
4
0.333333
2
2
2
2
3
2
1
1
413
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") d = B("d") m = A("m") h = A("h") b = A("b") i = B("i") l = A("l") e.w = d d.r = i m.w = d h.w = i b.w = d i.r = d l.w = i assert i.r.r.r.txt == "
d"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") d = B("d") m = A("m") h = A("h") b = A("b") i = B("i") l = A("l") e.w = d d.r = i m.w = d h.w = i b.w = d i.r = d l.w = i assert i.r.r.r.txt == "d"
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
414
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.txt = txt e = A("e") b = B("b") k = A("k") d = A("d") h = A("h") a = A("a") l = A("l") f = B("f") c = A("c") m = B("m") e.u = f b.q = k k.u = f d.u = m h.u = m a.u = m l.u = m f.q = c c.u = f m.q = e assert l.u.q.u.txt == "
f"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt e = A("e") b = B("b") k = A("k") d = A("d") h = A("h") a = A("a") l = A("l") f = B("f") c = A("c") m = B("m") e.u = f b.q = k k.u = f d.u = m h.u = m a.u = m l.u = m f.q = c c.u = f m.q = e assert l.u.q.u.txt == "f"
10
10
1
0.111111
2
5
1
1
1
3
1
1
4
0.4
3
0.3
0
null
null
null
2
2
1
1
415
class A: def __init__(self, txt: str): self.v: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt f = A("f") k = B("k") g = A("g") i = A("i") b = A("b") j = B("j") n = B("n") f.v = g f.s = g k.o = j k.u = b g.v = f g.s = i i.v = g i.s = g b.v = f b.s = i j.o = n j.u = b n.o = k n.u = i assert n.o.o.o.u.v.s.txt == "
i"
class A: def __init__(self, txt: str): self.v: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt f = A("f") k = B("k") g = A("g") i = A("i") b = A("b") j = B("j") n = B("n") f.v = g f.s = g k.o = j k.u = b g.v = f g.s = i i.v = g i.s = g b.v = f b.s = i j.o = n j.u = b n.o = k n.u = i assert n.o.o.o.u.v.s.txt == "i"
7
12
1.714286
0.285714
2
3.5
2
2
2
6
2
1
5
0.714286
6
0.5
2
2
3
2.5
4
3
3
2
416
class A: def __init__(self, txt: str): self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt l = A("l") g = B("g") c = B("c") f = A("f") l.y = c l.x = g g.q = c c.q = g f.y = c f.x = c assert c.q.q.q.q.txt == "
c"
class A: def __init__(self, txt: str): self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt l = A("l") g = B("g") c = B("c") f = A("f") l.y = c l.x = g g.q = c c.q = g f.y = c f.x = c assert c.q.q.q.q.txt == "c"
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
417
class A: def __init__(self, txt: str): self.z: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt l = A("l") c = B("c") f = B("f") n = B("n") d = A("d") k = B("k") m = A("m") l.z = n l.x = m c.r = d f.r = m n.r = d d.z = c d.x = m k.r = l m.z = n m.x = l assert f.r.z.r.txt == "
d"
class A: def __init__(self, txt: str): self.z: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt l = A("l") c = B("c") f = B("f") n = B("n") d = A("d") k = B("k") m = A("m") l.z = n l.x = m c.r = d f.r = m n.r = d d.z = c d.x = m k.r = l m.z = n m.x = l assert f.r.z.r.txt == "d"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
3
1
1
4
0.571429
3
0.3
0
null
null
null
2
2
1
1
418
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt g = A("g") e = B("e") a = B("a") i = A("i") g.p = a e.u = i e.z = g a.u = i a.z = g i.p = a assert e.z.p.z.p.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt g = A("g") e = B("e") a = B("a") i = A("i") g.p = a e.u = i e.z = g a.u = i a.z = g i.p = a assert e.z.p.z.p.txt == "a"
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
2
2
1
1
419
class A: def __init__(self, txt: str): self.o: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: A = None self.txt = txt a = A("a") d = B("d") n = B("n") c = B("c") l = B("l") j = A("j") a.o = j a.w = j d.u = a d.y = j n.u = j n.y = j c.u = j c.y = j l.u = j l.y = a j.o = a j.w = a assert c.y.o.o.o.txt == "
a"
class A: def __init__(self, txt: str): self.o: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: A = None self.txt = txt a = A("a") d = B("d") n = B("n") c = B("c") l = B("l") j = A("j") a.o = j a.w = j d.u = a d.y = j n.u = j n.y = j c.u = j c.y = j l.u = j l.y = a j.o = a j.w = a assert c.y.o.o.o.txt == "a"
6
8
1.333333
0.266667
2
3
2
2
2
4
2
2
3
0.5
3
0.375
2
2
2
2
2
3
3
1
420
class A: def __init__(self, txt: str): self.y: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt c = A("c") m = B("m") e = A("e") a = B("a") n = B("n") g = A("g") i = B("i") k = A("k") c.y = m c.r = a m.t = g m.w = g e.y = n e.r = n a.t = g a.w = c n.t = e n.w = e g.y = a g.r = a i.t = c i.w = c k.y = n k.r = a assert c.y.w.r.txt == "
a"
class A: def __init__(self, txt: str): self.y: B = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.w: A = None self.txt = txt c = A("c") m = B("m") e = A("e") a = B("a") n = B("n") g = A("g") i = B("i") k = A("k") c.y = m c.r = a m.t = g m.w = g e.y = n e.r = n a.t = g a.w = c n.t = e n.w = e g.y = a g.r = a i.t = c i.w = c k.y = n k.r = a assert c.y.w.r.txt == "a"
8
11
1.375
0.196429
2
4
2
2
2
3
1
1
4
0.5
3
0.272727
0
null
null
null
3
1
1
1
421
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt c = A("c") d = B("d") n = A("n") c.o = d c.x = d d.z = c n.o = d n.x = d assert n.o.z.x.txt == "
d"
class A: def __init__(self, txt: str): self.o: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt c = A("c") d = B("d") n = A("n") c.o = d c.x = d d.z = c n.o = d n.x = d assert n.o.z.x.txt == "d"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
3
1
1
1
422
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 f = A("f") c = B("c") k = B("k") f.y = k c.o = f k.o = f assert c.o.y.o.txt == "
f"
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 f = A("f") c = B("c") k = B("k") f.y = k c.o = f k.o = f assert c.o.y.o.txt == "f"
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
423
class A: def __init__(self, txt: str): self.z: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.r: B = None self.txt = txt e = A("e") f = B("f") m = A("m") i = B("i") e.z = m e.x = f f.x = m f.r = i m.z = e m.x = f i.x = m i.r = f assert i.x.x.x.txt == "
m"
class A: def __init__(self, txt: str): self.z: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.r: B = None self.txt = txt e = A("e") f = B("f") m = A("m") i = B("i") e.z = m e.x = f f.x = m f.r = i m.z = e m.x = f i.x = m i.r = f assert i.x.x.x.txt == "m"
4
8
2
0.666667
2
2
2
2
2
3
2
1
3
0.75
3
0.375
1
2
2
2
1
3
3
1
424
class A: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt m = A("m") a = B("a") l = A("l") m.w = a m.x = a a.r = l a.o = l l.w = a l.x = a assert a.o.x.r.txt == "
l"
class A: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.o: A = None self.txt = txt m = A("m") a = B("a") l = A("l") m.w = a m.x = a a.r = l a.o = l l.w = a l.x = a assert a.o.x.r.txt == "l"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
2
0.666667
3
1
2
2
2
2
3
1
1
2
425
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt e = A("e") b = B("b") c = B("c") l = B("l") j = B("j") a = B("a") f = B("f") e.t = b b.x = e c.x = e l.x = e j.x = e a.x = e f.x = e assert c.x.t.x.t.x.txt == "
e"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt e = A("e") b = B("b") c = B("c") l = B("l") j = B("j") a = B("a") f = B("f") e.t = b b.x = e c.x = e l.x = e j.x = e a.x = e f.x = e assert c.x.t.x.t.x.txt == "e"
7
7
1
0.166667
2
3.5
1
1
1
5
3
2
3
0.428571
3
0.428571
3
2
4
2.5
2
3
1
1
426
class A: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt b = A("b") h = B("h") n = B("n") j = A("j") g = B("g") b.q = j b.y = j h.r = g h.u = n n.r = h n.u = g j.q = b j.y = b g.r = n g.u = n assert j.y.q.y.q.txt == "
j"
class A: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt b = A("b") h = B("h") n = B("n") j = A("j") g = B("g") b.q = j b.y = j h.r = g h.u = n n.r = h n.u = g j.q = b j.y = b g.r = n g.u = n assert j.y.q.y.q.txt == "j"
5
7
1.4
0.35
2
2.5
2
2
2
4
3
2
2
0.4
2
0.285714
3
2
4
2.5
2
2
1
1
427
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt m = A("m") e = B("e") c = A("c") h = B("h") g = B("g") k = B("k") n = A("n") j = A("j") l = B("l") f = A("f") m.v = e e.q = c e.y = c c.v = l h.q = c h.y = m g.q = n g.y = f k.q = c k.y = m n.v = h j.v = k l.q = n l.y = f f.v = e assert m.v.y.v.txt == "
l"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt m = A("m") e = B("e") c = A("c") h = B("h") g = B("g") k = B("k") n = A("n") j = A("j") l = B("l") f = A("f") m.v = e e.q = c e.y = c c.v = l h.q = c h.y = m g.q = n g.y = f k.q = c k.y = m n.v = h j.v = k l.q = n l.y = f f.v = e assert m.v.y.v.txt == "l"
10
14
1.4
0.155556
2
5
2
1
1.5
3
1
1
4
0.4
3
0.214286
0
null
null
null
2
2
1
1
428
class A: def __init__(self, txt: str): self.o: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt l = A("l") n = B("n") d = A("d") l.o = n l.y = d n.p = d n.q = l d.o = n d.y = l assert l.o.p.y.txt == "
l"
class A: def __init__(self, txt: str): self.o: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.q: A = None self.txt = txt l = A("l") n = B("n") d = A("d") l.o = n l.y = d n.p = d n.q = l d.o = n d.y = l assert l.o.p.y.txt == "l"
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
429
class A: def __init__(self, txt: str): self.w: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt l = A("l") c = B("c") k = A("k") l.w = c l.s = k c.o = l k.w = c k.s = l assert k.w.o.w.txt == "
c"
class A: def __init__(self, txt: str): self.w: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt l = A("l") c = B("c") k = A("k") l.w = c l.s = k c.o = l k.w = c k.s = l assert k.w.o.w.txt == "c"
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
2
2
1
1
430
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt c = A("c") f = B("f") n = A("n") a = B("a") c.y = n f.u = a f.o = a n.y = c a.u = f a.o = f assert a.o.o.o.txt == "
f"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt c = A("c") f = B("f") n = A("n") a = B("a") c.y = n f.u = a f.o = a n.y = c a.u = f a.o = f assert a.o.o.o.txt == "f"
4
4
1
0.333333
2
2
2
1
1.5
3
2
2
2
0.5
2
0.5
2
2
2
2
1
3
3
1
431
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.z: A = None self.txt = txt f = A("f") h = B("h") b = A("b") i = A("i") e = A("e") m = A("m") g = A("g") k = A("k") f.w = b f.y = h h.z = g b.w = i b.y = h i.w = g i.y = h e.w = f e.y = h m.w = f m.y = h g.w = b g.y = h k.w = m k.y = h assert b.w.w.w.y.z.txt == "
g"
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.z: A = None self.txt = txt f = A("f") h = B("h") b = A("b") i = A("i") e = A("e") m = A("m") g = A("g") k = A("k") f.w = b f.y = h h.z = g b.w = i b.y = h i.w = g i.y = h e.w = f e.y = h m.w = f m.y = h g.w = b g.y = h k.w = m k.y = h assert b.w.w.w.y.z.txt == "g"
8
15
1.875
0.267857
2
4
2
1
1.5
5
2
1
4
0.5
5
0.333333
2
3
3
3
3
3
3
2
432
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.x: B = None self.txt = txt g = A("g") f = B("f") k = B("k") h = A("h") a = B("a") g.z = k f.u = h f.x = a k.u = h k.x = f h.z = k a.u = g a.x = f assert a.u.z.u.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.u: A = None self.x: B = None self.txt = txt g = A("g") f = B("f") k = B("k") h = A("h") a = B("a") g.z = k f.u = h f.x = a k.u = h k.x = f h.z = k a.u = g a.x = f assert a.u.z.u.z.txt == "k"
5
8
1.6
0.4
2
2.5
2
1
1.5
4
2
1
4
0.8
4
0.5
1
2
2
2
2
2
1
1
433
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.p: B = None self.s: B = None self.txt = txt c = A("c") h = B("h") i = A("i") l = B("l") a = A("a") c.z = h c.o = h h.p = l h.s = l i.z = h i.o = h l.p = h l.s = h a.z = h a.o = h assert c.z.s.s.p.p.txt == "
h"
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.p: B = None self.s: B = None self.txt = txt c = A("c") h = B("h") i = A("i") l = B("l") a = A("a") c.z = h c.o = h h.p = l h.s = l i.z = h i.o = h l.p = h l.s = h a.z = h a.o = h assert c.z.s.s.p.p.txt == "h"
5
5
1
0.25
2
2.5
2
2
2
5
3
1
3
0.6
5
1
3
2
4
2.5
3
2
2
2
434
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt l = A("l") d = B("d") g = A("g") b = B("b") l.s = g d.w = l g.s = l b.w = l assert d.w.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.w: A = None self.txt = txt l = A("l") d = B("d") g = A("g") b = B("b") l.s = g d.w = l g.s = l b.w = l assert d.w.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
435
class A: def __init__(self, txt: str): self.q: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt f = A("f") n = B("n") a = B("a") f.q = a f.z = a n.v = f n.r = f a.v = f a.r = f assert a.r.z.r.txt == "
f"
class A: def __init__(self, txt: str): self.q: B = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.r: A = None self.txt = txt f = A("f") n = B("n") a = B("a") f.q = a f.z = a n.v = f n.r = f a.v = f a.r = f assert a.r.z.r.txt == "f"
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
436
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt h = A("h") l = B("l") b = A("b") h.p = b l.o = b b.p = h assert l.o.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: A = None self.txt = txt h = A("h") l = B("l") b = A("b") h.p = b l.o = b b.p = h assert l.o.p.p.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
437
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt j = A("j") h = B("h") d = B("d") f = B("f") j.v = h h.o = f h.u = j d.o = f d.u = j f.o = h f.u = j assert h.u.v.o.u.txt == "
j"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt j = A("j") h = B("h") d = B("d") f = B("f") j.v = h h.o = f h.u = j d.o = f d.u = j f.o = h f.u = j assert h.u.v.o.u.txt == "j"
4
7
1.75
0.583333
2
2
2
1
1.5
4
2
1
3
0.75
4
0.571429
2
2
3
2.5
3
2
1
2
438
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.v: B = None self.txt = txt a = A("a") e = B("e") m = B("m") i = B("i") h = A("h") l = A("l") f = B("f") c = B("c") a.s = i e.z = m e.v = i m.z = f m.v = c i.z = f i.v = e h.s = e l.s = f f.z = i f.v = i c.z = m c.v = m assert a.s.z.z.z.z.z.z.z.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: B = None self.v: B = None self.txt = txt a = A("a") e = B("e") m = B("m") i = B("i") h = A("h") l = A("l") f = B("f") c = B("c") a.s = i e.z = m e.v = i m.z = f m.v = c i.z = f i.v = e h.s = e l.s = f f.z = i f.v = i c.z = m c.v = m assert a.s.z.z.z.z.z.z.z.txt == "f"
8
11
1.375
0.196429
2
4
2
1
1.5
8
4
4
3
0.375
3
0.272727
6
2
6
3.333333
2
7
7
1
439
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt n = A("n") l = B("l") a = A("a") k = A("k") n.u = k l.p = a a.u = n k.u = a assert a.u.u.u.txt == "
a"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt n = A("n") l = B("l") a = A("a") k = A("k") n.u = k l.p = a a.u = n k.u = a assert a.u.u.u.txt == "a"
4
4
1
0.333333
2
2
1
1
1
3
2
1
3
0.75
3
0.75
1
3
3
3
1
3
3
1
440
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.v: A = None self.txt = txt c = A("c") d = B("d") m = B("m") g = B("g") c.x = g d.w = g d.v = c m.w = d m.v = c g.w = d g.v = c assert c.x.v.x.txt == "
g"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.v: A = None self.txt = txt c = A("c") d = B("d") m = B("m") g = B("g") c.x = g d.w = g d.v = c m.w = d m.v = c g.w = d g.v = c assert c.x.v.x.txt == "g"
4
7
1.75
0.583333
2
2
2
1
1.5
3
2
2
2
0.5
2
0.285714
2
2
2
2
2
2
1
1
441
class A: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt n = A("n") l = B("l") h = B("h") i = B("i") e = A("e") n.o = e n.p = h l.x = e h.x = e i.x = e e.o = n e.p = l assert l.x.p.x.o.p.txt == "
h"
class A: def __init__(self, txt: str): self.o: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt n = A("n") l = B("l") h = B("h") i = B("i") e = A("e") n.o = e n.p = h l.x = e h.x = e i.x = e e.o = n e.p = l assert l.x.p.x.o.p.txt == "h"
5
7
1.4
0.35
2
2.5
2
1
1.5
5
2
2
4
0.8
4
0.571429
2
2
2
2
3
2
1
2
442
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.txt = txt m = A("m") e = B("e") f = A("f") b = A("b") i = A("i") m.z = e e.o = f f.z = e b.z = e i.z = e assert i.z.o.z.txt == "
e"
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.txt = txt m = A("m") e = B("e") f = A("f") b = A("b") i = A("i") m.z = e e.o = f f.z = e b.z = e i.z = e assert i.z.o.z.txt == "e"
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
443
class A: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: A = None self.txt = txt m = A("m") e = B("e") c = A("c") f = A("f") g = B("g") j = B("j") h = B("h") n = A("n") i = B("i") m.v = f m.w = f e.v = j e.w = n c.v = n c.w = n f.v = n f.w = c g.v = j g.w = f j.v = e j.w = m h.v = i h.w = n n.v = c n.w = f i.v = h i.w = c assert c.v.v.v.v.v.w.v.txt == "
n"
class A: def __init__(self, txt: str): self.v: A = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: A = None self.txt = txt m = A("m") e = B("e") c = A("c") f = A("f") g = B("g") j = B("j") h = B("h") n = A("n") i = B("i") m.v = f m.w = f e.v = j e.w = n c.v = n c.w = n f.v = n f.w = c g.v = j g.w = f j.v = e j.w = m h.v = i h.w = n n.v = c n.w = f i.v = h i.w = c assert c.v.v.v.v.v.w.v.txt == "n"
9
16
1.777778
0.222222
2
4.5
2
2
2
7
4
3
3
0.333333
4
0.25
5
2
6
3.111111
2
6
5
2
444
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt i = A("i") d = B("d") a = B("a") e = A("e") c = B("c") k = B("k") b = B("b") f = A("f") n = B("n") i.x = e d.p = e a.p = i e.x = f c.p = f k.p = e b.p = f f.x = i n.p = f assert c.p.x.x.txt == "
e"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt i = A("i") d = B("d") a = B("a") e = A("e") c = B("c") k = B("k") b = B("b") f = A("f") n = B("n") i.x = e d.p = e a.p = i e.x = f c.p = f k.p = e b.p = f f.x = i n.p = f assert c.p.x.x.txt == "e"
9
9
1
0.125
2
4.5
1
1
1
3
1
1
4
0.444444
3
0.333333
0
null
null
null
2
2
2
1
445
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") n = A("n") c = A("c") a = B("a") i = B("i") k = B("k") h.p = a h.s = b b.p = i n.p = b n.s = k c.p = i c.s = a a.p = i i.p = k k.p = i assert i.p.p.p.p.p.p.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") n = A("n") c = A("c") a = B("a") i = B("i") k = B("k") h.p = a h.s = b b.p = i n.p = b n.s = k c.p = i c.s = a a.p = i i.p = k k.p = i assert i.p.p.p.p.p.p.txt == "i"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
6
4
3
2
0.285714
2
0.2
5
2
6
3.111111
1
6
6
1
446
class A: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt k = A("k") a = B("a") m = B("m") f = A("f") h = A("h") b = B("b") j = B("j") e = B("e") k.x = a k.w = j a.s = h m.s = k f.x = j f.w = a h.x = e h.w = m b.s = h j.s = h e.s = h assert h.x.s.w.s.x.s.x.s.txt == "
h"
class A: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt k = A("k") a = B("a") m = B("m") f = A("f") h = A("h") b = B("b") j = B("j") e = B("e") k.x = a k.w = j a.s = h m.s = k f.x = j f.w = a h.x = e h.w = m b.s = h j.s = h e.s = h assert h.x.s.w.s.x.s.x.s.txt == "h"
8
11
1.375
0.196429
2
4
2
1
1.5
8
4
2
5
0.625
6
0.545455
4
2
8
4.857143
3
4
1
2
447
class A: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.q: A = None self.txt = txt n = A("n") c = B("c") j = B("j") a = A("a") f = B("f") m = B("m") k = B("k") e = A("e") n.q = a n.y = a c.u = e c.q = a j.u = a j.q = a a.q = e a.y = e f.u = a f.q = a m.u = e m.q = e k.u = n k.q = a e.q = n e.y = a assert k.u.q.q.q.q.txt == "
a"
class A: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.q: A = None self.txt = txt n = A("n") c = B("c") j = B("j") a = A("a") f = B("f") m = B("m") k = B("k") e = A("e") n.q = a n.y = a c.u = e c.q = a j.u = a j.q = a a.q = e a.y = e f.u = a f.q = a m.u = e m.q = e k.u = n k.q = a e.q = n e.y = a assert k.u.q.q.q.q.txt == "a"
8
11
1.375
0.196429
2
4
2
2
2
5
2
2
4
0.5
4
0.363636
2
3
3
3
2
4
4
1
448
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.o: A = None self.txt = txt j = A("j") k = B("k") a = A("a") j.v = a j.q = a k.o = a a.v = j a.q = j assert j.v.q.v.txt == "
a"
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.o: A = None self.txt = txt j = A("j") k = B("k") a = A("a") j.v = a j.q = a k.o = a a.v = j a.q = j assert j.v.q.v.txt == "a"
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
449
class A: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.t: A = None self.txt = txt d = A("d") a = B("a") e = B("e") b = A("b") d.r = a d.q = b a.w = b a.t = d e.w = b e.t = d b.r = e b.q = d assert a.t.q.q.q.txt == "
b"
class A: def __init__(self, txt: str): self.r: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.t: A = None self.txt = txt d = A("d") a = B("a") e = B("e") b = A("b") d.r = a d.q = b a.w = b a.t = d e.w = b e.t = d b.r = e b.q = d assert a.t.q.q.q.txt == "b"
4
8
2
0.666667
2
2
2
2
2
4
2
2
3
0.75
3
0.375
2
2
2
2
2
3
3
1
450
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.s: A = None self.txt = txt f = A("f") l = B("l") m = A("m") j = A("j") f.o = j l.w = j l.s = j m.o = f j.o = f assert f.o.o.o.txt == "
j"
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.s: A = None self.txt = txt f = A("f") l = B("l") m = A("m") j = A("j") f.o = j l.w = j l.s = j m.o = f j.o = f assert f.o.o.o.txt == "j"
4
4
1
0.333333
2
2
2
1
1.5
3
2
2
2
0.5
2
0.5
2
2
2
2
1
3
3
1
451
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.v: B = None self.txt = txt g = A("g") m = B("m") h = B("h") n = B("n") l = A("l") j = A("j") d = A("d") g.v = d m.w = n m.v = h h.w = m h.v = n n.w = h n.v = m l.v = g j.v = d d.v = l assert n.v.v.w.w.w.v.w.txt == "
h"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.v: B = None self.txt = txt g = A("g") m = B("m") h = B("h") n = B("n") l = A("l") j = A("j") d = A("d") g.v = d m.w = n m.v = h h.w = m h.v = n n.w = h n.v = m l.v = g j.v = d d.v = l assert n.v.v.w.w.w.v.w.txt == "h"
7
10
1.428571
0.238095
2
3.5
2
1
1.5
7
3
2
3
0.428571
6
0.6
5
2
6
3.428571
2
4
3
2
452
class A: def __init__(self, txt: str): self.r: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.v: A = None self.txt = txt i = A("i") m = B("m") e = B("e") g = A("g") k = B("k") i.r = e i.x = k m.q = k m.v = g e.q = k e.v = i g.r = k g.x = k k.q = m k.v = g assert k.v.r.v.txt == "
g"
class A: def __init__(self, txt: str): self.r: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.v: A = None self.txt = txt i = A("i") m = B("m") e = B("e") g = A("g") k = B("k") i.r = e i.x = k m.q = k m.v = g e.q = k e.v = i g.r = k g.x = k k.q = m k.v = g assert k.v.r.v.txt == "g"
5
9
1.8
0.45
2
2.5
2
2
2
3
2
2
2
0.4
2
0.222222
2
2
2
2
2
2
1
1
453
class A: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt g = A("g") l = B("l") h = A("h") m = B("m") i = B("i") g.y = l g.w = m l.u = g h.y = l h.w = l m.u = h i.u = g assert l.u.y.u.txt == "
g"
class A: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt g = A("g") l = B("l") h = A("h") m = B("m") i = B("i") g.y = l g.w = m l.u = g h.y = l h.w = l m.u = h i.u = g assert l.u.y.u.txt == "g"
5
6
1.2
0.3
2
2.5
2
1
1.5
3
2
2
2
0.4
2
0.333333
2
2
2
2
2
2
1
1
454
class A: def __init__(self, txt: str): self.p: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt e = A("e") h = B("h") m = A("m") j = B("j") a = A("a") l = A("l") c = B("c") i = A("i") e.p = c e.q = m h.t = a m.p = j m.q = e j.t = l a.p = h a.q = m l.p = c l.q = e c.t = i i.p = j i.q = m assert a.q.p.t.txt == "
l"
class A: def __init__(self, txt: str): self.p: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt e = A("e") h = B("h") m = A("m") j = B("j") a = A("a") l = A("l") c = B("c") i = A("i") e.p = c e.q = m h.t = a m.p = j m.q = e j.t = l a.p = h a.q = m l.p = c l.q = e c.t = i i.p = j i.q = m assert a.q.p.t.txt == "l"
8
13
1.625
0.232143
2
4
2
1
1.5
3
1
1
4
0.5
3
0.230769
0
null
null
null
3
1
1
1
455
class A: def __init__(self, txt: str): self.p: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") e = B("e") j = B("j") b = B("b") l = B("l") f = A("f") c = A("c") i = B("i") g = B("g") a.p = l a.v = f e.x = c j.x = c b.x = f l.x = f f.p = j f.v = c c.p = b c.v = a i.x = c g.x = a assert c.p.x.p.x.v.txt == "
a"
class A: def __init__(self, txt: str): self.p: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") e = B("e") j = B("j") b = B("b") l = B("l") f = A("f") c = A("c") i = B("i") g = B("g") a.p = l a.v = f e.x = c j.x = c b.x = f l.x = f f.p = j f.v = c c.p = b c.v = a i.x = c g.x = a assert c.p.x.p.x.v.txt == "a"
9
12
1.333333
0.166667
2
4.5
2
1
1.5
5
2
1
5
0.555556
5
0.416667
1
4
4
4
3
2
1
2
456
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt e = A("e") d = B("d") b = A("b") i = A("i") j = A("j") e.v = d d.w = b b.v = d i.v = d j.v = d assert i.v.w.v.w.v.txt == "
d"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt e = A("e") d = B("d") b = A("b") i = A("i") j = A("j") e.v = d d.w = b b.v = d i.v = d j.v = d assert i.v.w.v.w.v.txt == "d"
5
5
1
0.25
2
2.5
1
1
1
5
3
2
3
0.6
3
0.6
3
2
4
2.5
2
3
1
1
457
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt c = A("c") g = B("g") d = A("d") a = B("a") c.o = a g.p = a g.s = c d.o = g a.p = g a.s = c assert a.p.p.s.txt == "
c"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt c = A("c") g = B("g") d = A("d") a = B("a") c.o = a g.p = a g.s = c d.o = g a.p = g a.s = c assert a.p.p.s.txt == "c"
4
6
1.5
0.5
2
2
2
1
1.5
3
2
1
3
0.75
3
0.5
1
2
2
2
2
2
2
2
458
class A: def __init__(self, txt: str): self.q: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") g = B("g") f = A("f") i = B("i") c = A("c") a = B("a") e = A("e") h = A("h") j.q = g j.y = e g.q = h f.q = i f.y = e i.q = c c.q = a c.y = h a.q = e e.q = a e.y = j h.q = g h.y = j assert h.q.q.q.q.txt == "
h"
class A: def __init__(self, txt: str): self.q: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") g = B("g") f = A("f") i = B("i") c = A("c") a = B("a") e = A("e") h = A("h") j.q = g j.y = e g.q = h f.q = i f.y = e i.q = c c.q = a c.y = h a.q = e e.q = a e.y = j h.q = g h.y = j assert h.q.q.q.q.txt == "h"
8
13
1.625
0.232143
2
4
2
1
1.5
4
3
2
2
0.25
2
0.153846
3
2
4
2.5
1
4
4
1
459
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") h = B("h") n = A("n") f = B("f") g = A("g") b.r = g h.s = b n.r = g f.s = b g.r = n assert f.s.r.r.txt == "
n"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt b = A("b") h = B("h") n = A("n") f = B("f") g = A("g") b.r = g h.s = b n.r = g f.s = b g.r = n assert f.s.r.r.txt == "n"
5
5
1
0.25
2
2.5
1
1
1
3
1
1
4
0.8
3
0.6
0
null
null
null
2
2
2
1
460
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") g = B("g") c = A("c") d = B("d") m = B("m") i = B("i") n = A("n") h.w = d b.p = i g.p = d c.w = i d.p = g m.p = b i.p = b n.w = i assert b.p.p.p.p.txt == "
b"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt h = A("h") b = B("b") g = B("g") c = A("c") d = B("d") m = B("m") i = B("i") n = A("n") h.w = d b.p = i g.p = d c.w = i d.p = g m.p = b i.p = b n.w = i assert b.p.p.p.p.txt == "b"
8
8
1
0.142857
2
4
1
1
1
4
3
2
2
0.25
2
0.25
3
2
4
2.5
1
4
4
1
461
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.u: A = None self.txt = txt e = A("e") c = B("c") l = A("l") g = A("g") j = B("j") m = B("m") f = A("f") i = A("i") e.p = l c.r = i c.u = g l.p = i g.p = l j.r = f j.u = l m.r = i m.u = e f.p = g i.p = g assert e.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.r: A = None self.u: A = None self.txt = txt e = A("e") c = B("c") l = A("l") g = A("g") j = B("j") m = B("m") f = A("f") i = A("i") e.p = l c.r = i c.u = g l.p = i g.p = l j.r = f j.u = l m.r = i m.u = e f.p = g i.p = g assert e.p.p.p.txt == "g"
8
11
1.375
0.196429
2
4
2
1
1.5
3
1
1
4
0.5
3
0.272727
0
null
null
null
1
3
3
1
462
class A: def __init__(self, txt: str): self.t: B = None self.p: 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") d = B("d") l = A("l") n = B("n") i = B("i") k = B("k") h = A("h") f.t = i f.p = n d.t = l d.z = n l.t = i l.p = i n.t = h n.z = d i.t = l i.z = d k.t = l k.z = d h.t = n h.p = d assert n.z.z.t.t.z.z.txt == "
n"
class A: def __init__(self, txt: str): self.t: B = None self.p: 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") d = B("d") l = A("l") n = B("n") i = B("i") k = B("k") h = A("h") f.t = i f.p = n d.t = l d.z = n l.t = i l.p = i n.t = h n.z = d i.t = l i.z = d k.t = l k.z = d h.t = n h.p = d assert n.z.z.t.t.z.z.txt == "n"
7
13
1.857143
0.309524
2
3.5
2
2
2
6
4
2
3
0.428571
4
0.307692
4
2
6
3.428571
2
4
2
2
463
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt k = A("k") j = B("j") l = B("l") f = A("f") d = A("d") k.o = l j.s = l j.p = d l.s = j l.p = d f.o = j d.o = j assert d.o.p.o.p.o.txt == "
j"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt k = A("k") j = B("j") l = B("l") f = A("f") d = A("d") k.o = l j.s = l j.p = d l.s = j l.p = d f.o = j d.o = j assert d.o.p.o.p.o.txt == "j"
5
7
1.4
0.35
2
2.5
2
1
1.5
5
3
3
2
0.4
2
0.285714
4
2
4
2.666667
2
3
1
1
464
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.s: A = None self.txt = txt g = A("g") n = B("n") i = B("i") l = A("l") g.w = l n.z = l n.s = l i.z = l i.s = g l.w = g assert l.w.w.w.txt == "
g"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.s: A = None self.txt = txt g = A("g") n = B("n") i = B("i") l = A("l") g.w = l n.z = l n.s = l i.z = l i.s = g l.w = g assert l.w.w.w.txt == "g"
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
465
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: A = None self.txt = txt e = A("e") h = B("h") f = A("f") n = A("n") i = B("i") j = B("j") l = A("l") e.o = h h.t = n h.v = e f.o = i n.o = i i.t = l i.v = f j.t = n j.v = n l.o = i assert l.o.v.o.t.o.t.txt == "
l"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: A = None self.txt = txt e = A("e") h = B("h") f = A("f") n = A("n") i = B("i") j = B("j") l = A("l") e.o = h h.t = n h.v = e f.o = i n.o = i i.t = l i.v = f j.t = n j.v = n l.o = i assert l.o.v.o.t.o.t.txt == "l"
7
9
1.285714
0.214286
2
3.5
2
1
1.5
6
3
2
3
0.428571
4
0.444444
4
2
6
3.333333
3
3
1
2
466
class A: def __init__(self, txt: str): self.s: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.r: A = None self.txt = txt a = A("a") f = B("f") c = A("c") l = A("l") n = B("n") e = B("e") h = B("h") b = B("b") m = A("m") a.s = f a.v = n f.q = n f.r = c c.s = b c.v = h l.s = n l.v = h n.q = f n.r = c e.q = b e.r = l h.q = n h.r = c b.q = n b.r = a m.s = h m.v = n assert c.s.r.v.q.txt == "
f"
class A: def __init__(self, txt: str): self.s: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.r: A = None self.txt = txt a = A("a") f = B("f") c = A("c") l = A("l") n = B("n") e = B("e") h = B("h") b = B("b") m = A("m") a.s = f a.v = n f.q = n f.r = c c.s = b c.v = h l.s = n l.v = h n.q = f n.r = c e.q = b e.r = l h.q = n h.r = c b.q = n b.r = a m.s = h m.v = n assert c.s.r.v.q.txt == "f"
9
18
2
0.25
2
4.5
2
2
2
4
1
1
5
0.555556
4
0.222222
0
null
null
null
4
1
1
1
467
class A: def __init__(self, txt: str): self.s: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt h = A("h") k = B("k") c = A("c") n = A("n") h.s = k h.y = k k.w = c c.s = k c.y = k n.s = k n.y = k assert n.y.w.s.w.txt == "
c"
class A: def __init__(self, txt: str): self.s: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt h = A("h") k = B("k") c = A("c") n = A("n") h.s = k h.y = k k.w = c c.s = k c.y = k n.s = k n.y = k assert n.y.w.s.w.txt == "c"
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
468
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") d = B("d") i = A("i") h = B("h") l = B("l") e = B("e") a = B("a") m = A("m") g = A("g") b = A("b") n.v = i d.r = b i.v = g h.r = n l.r = b e.r = b a.r = b m.v = i g.v = m b.v = i assert d.r.v.v.v.v.txt == "
i"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") d = B("d") i = A("i") h = B("h") l = B("l") e = B("e") a = B("a") m = A("m") g = A("g") b = A("b") n.v = i d.r = b i.v = g h.r = n l.r = b e.r = b a.r = b m.v = i g.v = m b.v = i assert d.r.v.v.v.v.txt == "i"
10
10
1
0.111111
2
5
1
1
1
5
2
1
5
0.5
5
0.5
1
3
3
3
2
4
4
1
469
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.r: B = None self.txt = txt n = A("n") e = B("e") k = A("k") j = B("j") l = A("l") g = A("g") a = B("a") c = B("c") n.w = g e.s = a e.r = j k.w = g j.s = c j.r = a l.w = g g.w = k a.s = c a.r = j c.s = a c.r = a assert n.w.w.w.w.w.w.w.w.txt == "
k"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.r: B = None self.txt = txt n = A("n") e = B("e") k = A("k") j = B("j") l = A("l") g = A("g") a = B("a") c = B("c") n.w = g e.s = a e.r = j k.w = g j.s = c j.r = a l.w = g g.w = k a.s = c a.r = j c.s = a c.r = a assert n.w.w.w.w.w.w.w.w.txt == "k"
8
11
1.375
0.196429
2
4
2
1
1.5
8
4
4
3
0.375
3
0.272727
6
2
6
3.333333
1
8
8
1
470
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.y: B = None self.txt = txt d = A("d") f = B("f") m = B("m") d.p = f d.s = f f.q = m f.y = m m.q = f m.y = f assert m.y.q.y.txt == "
f"
class A: def __init__(self, txt: str): self.p: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.y: B = None self.txt = txt d = A("d") f = B("f") m = B("m") d.p = f d.s = f f.q = m f.y = m m.q = f m.y = f assert m.y.q.y.txt == "f"
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
471
class A: def __init__(self, txt: str): self.t: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt j = A("j") b = B("b") h = A("h") i = B("i") c = A("c") e = B("e") d = B("d") l = B("l") j.t = l j.s = b b.y = d b.s = l h.t = d h.s = d i.y = d i.s = d c.t = e c.s = b e.y = l e.s = i d.y = l d.s = b l.y = e l.s = i assert c.s.s.s.s.s.y.txt == "
d"
class A: def __init__(self, txt: str): self.t: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt j = A("j") b = B("b") h = A("h") i = B("i") c = A("c") e = B("e") d = B("d") l = B("l") j.t = l j.s = b b.y = d b.s = l h.t = d h.s = d i.y = d i.s = d c.t = e c.s = b e.y = l e.s = i d.y = l d.s = b l.y = e l.s = i assert c.s.s.s.s.s.y.txt == "d"
8
14
1.75
0.25
2
4
2
2
2
6
2
1
5
0.625
6
0.428571
2
2
4
3
2
5
5
2
472
class A: def __init__(self, txt: str): self.s: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt f = A("f") l = B("l") a = A("a") b = B("b") d = B("d") c = B("c") i = B("i") f.s = a f.q = a l.t = f a.s = f a.q = f b.t = a d.t = f c.t = f i.t = f assert d.t.s.s.s.q.q.s.txt == "
f"
class A: def __init__(self, txt: str): self.s: A = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt f = A("f") l = B("l") a = A("a") b = B("b") d = B("d") c = B("c") i = B("i") f.s = a f.q = a l.t = f a.s = f a.q = f b.t = a d.t = f c.t = f i.t = f assert d.t.s.s.s.q.q.s.txt == "f"
7
7
1
0.166667
2
3.5
2
1
1.5
7
4
2
3
0.428571
5
0.714286
5
2
6
3.111111
3
4
3
2
473
class A: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.x: A = None self.txt = txt i = A("i") j = B("j") n = B("n") a = A("a") k = A("k") m = B("m") i.p = m i.q = m j.t = i j.x = a n.t = i n.x = a a.p = n a.q = m k.p = n k.q = m m.t = a m.x = a assert n.t.q.t.q.txt == "
m"
class A: def __init__(self, txt: str): self.p: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.x: A = None self.txt = txt i = A("i") j = B("j") n = B("n") a = A("a") k = A("k") m = B("m") i.p = m i.q = m j.t = i j.x = a n.t = i n.x = a a.p = n a.q = m k.p = n k.q = m m.t = a m.x = a assert n.t.q.t.q.txt == "m"
6
10
1.666667
0.333333
2
3
2
2
2
4
2
1
4
0.666667
4
0.4
1
2
2
2
2
2
1
1
474
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.w: A = None self.txt = txt b = A("b") g = B("g") d = A("d") i = A("i") m = A("m") n = B("n") b.w = d g.u = d g.w = d d.w = b i.w = m m.w = b n.u = b n.w = m assert n.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: A = None self.w: A = None self.txt = txt b = A("b") g = B("g") d = A("d") i = A("i") m = A("m") n = B("n") b.w = d g.u = d g.w = d d.w = b i.w = m m.w = b n.u = b n.w = m assert n.w.w.w.txt == "d"
6
7
1.166667
0.233333
2
3
2
1
1.5
3
1
1
4
0.666667
3
0.428571
0
null
null
null
1
3
3
1
475
class A: def __init__(self, txt: str): self.u: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt g = A("g") i = B("i") f = B("f") c = A("c") j = B("j") n = B("n") d = A("d") m = A("m") l = A("l") g.u = i g.z = l i.r = j f.r = n c.u = j c.z = l j.r = i n.r = j d.u = j d.z = g m.u = f m.z = d l.u = n l.z = c assert g.u.r.r.r.r.r.r.r.r.txt == "
i"
class A: def __init__(self, txt: str): self.u: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt g = A("g") i = B("i") f = B("f") c = A("c") j = B("j") n = B("n") d = A("d") m = A("m") l = A("l") g.u = i g.z = l i.r = j f.r = n c.u = j c.z = l j.r = i n.r = j d.u = j d.z = g m.u = f m.z = d l.u = n l.z = c assert g.u.r.r.r.r.r.r.r.r.txt == "i"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
9
5
4
3
0.333333
3
0.214286
7
2
8
3.75
2
8
8
1
476
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt e = A("e") k = B("k") d = A("d") m = A("m") g = B("g") n = A("n") c = B("c") e.z = d k.s = c d.z = m m.z = e g.s = k n.z = d c.s = g assert m.z.z.z.z.txt == "
e"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt e = A("e") k = B("k") d = A("d") m = A("m") g = B("g") n = A("n") c = B("c") e.z = d k.s = c d.z = m m.z = e g.s = k n.z = d c.s = g assert m.z.z.z.z.txt == "e"
7
7
1
0.166667
2
3.5
1
1
1
4
2
2
3
0.428571
3
0.428571
2
3
3
3
1
4
4
1
477
class A: def __init__(self, txt: str): self.z: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.p: A = None self.txt = txt n = A("n") e = B("e") l = B("l") g = A("g") n.z = e n.v = l e.z = n e.p = g l.z = n l.p = n g.z = l g.v = e assert l.p.z.p.v.txt == "
e"
class A: def __init__(self, txt: str): self.z: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.p: A = None self.txt = txt n = A("n") e = B("e") l = B("l") g = A("g") n.z = e n.v = l e.z = n e.p = g l.z = n l.p = n g.z = l g.v = e assert l.p.z.p.v.txt == "e"
4
7
1.75
0.583333
2
2
2
2
2
4
2
1
4
1
4
0.571429
1
2
2
2
3
2
1
1
478
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt g = A("g") f = B("f") n = A("n") m = A("m") i = B("i") j = A("j") g.w = i f.y = i n.w = f m.w = i i.y = f j.w = i assert j.w.y.y.y.txt == "
f"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt g = A("g") f = B("f") n = A("n") m = A("m") i = B("i") j = A("j") g.w = i f.y = i n.w = f m.w = i i.y = f j.w = i assert j.w.y.y.y.txt == "f"
6
6
1
0.2
2
3
1
1
1
4
2
2
3
0.5
3
0.5
2
2
2
2
2
3
3
1
479
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.p: A = None self.txt = txt c = A("c") m = B("m") b = A("b") g = B("g") j = B("j") c.r = b m.o = j m.p = b b.r = c g.o = j g.p = c j.o = g j.p = b assert c.r.r.r.r.r.txt == "
b"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.p: A = None self.txt = txt c = A("c") m = B("m") b = A("b") g = B("g") j = B("j") c.r = b m.o = j m.p = b b.r = c g.o = j g.p = c j.o = g j.p = b assert c.r.r.r.r.r.txt == "b"
5
8
1.6
0.4
2
2.5
2
1
1.5
5
3
3
2
0.4
2
0.25
4
2
4
2.666667
1
5
5
1
480
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 h = A("h") j = B("j") n = B("n") k = B("k") c = A("c") b = A("b") h.u = b j.s = h n.s = h k.s = c c.u = b b.u = c assert b.u.u.u.u.txt == "
b"
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 h = A("h") j = B("j") n = B("n") k = B("k") c = A("c") b = A("b") h.u = b j.s = h n.s = h k.s = c c.u = b b.u = c assert b.u.u.u.u.txt == "b"
6
6
1
0.2
2
3
1
1
1
4
3
2
2
0.333333
2
0.333333
3
2
4
2.5
1
4
4
1
481
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt n = A("n") l = B("l") c = B("c") k = B("k") a = B("a") g = A("g") e = B("e") b = B("b") h = A("h") j = B("j") n.t = a l.w = g c.w = n k.w = h a.w = g g.t = b e.w = n b.w = g h.t = b j.w = g assert j.w.t.w.txt == "
g"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt n = A("n") l = B("l") c = B("c") k = B("k") a = B("a") g = A("g") e = B("e") b = B("b") h = A("h") j = B("j") n.t = a l.w = g c.w = n k.w = h a.w = g g.t = b e.w = n b.w = g h.t = b j.w = g assert j.w.t.w.txt == "g"
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
1
1
482
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt l = A("l") f = B("f") e = A("e") n = B("n") m = B("m") a = A("a") b = B("b") c = B("c") k = A("k") d = B("d") l.z = e f.y = d f.p = n e.z = k n.y = d n.p = b m.y = b m.p = b a.z = k b.y = c b.p = c c.y = m c.p = d k.z = e d.y = b d.p = b assert e.z.z.z.z.z.txt == "
k"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt l = A("l") f = B("f") e = A("e") n = B("n") m = B("m") a = A("a") b = B("b") c = B("c") k = A("k") d = B("d") l.z = e f.y = d f.p = n e.z = k n.y = d n.p = b m.y = b m.p = b a.z = k b.y = c b.p = c c.y = m c.p = d k.z = e d.y = b d.p = b assert e.z.z.z.z.z.txt == "k"
10
13
1.3
0.144444
2
5
2
1
1.5
5
3
3
2
0.2
2
0.153846
4
2
4
2.666667
1
5
5
1
483
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt h = A("h") i = B("i") a = B("a") h.q = a i.o = h a.o = h assert h.q.o.q.txt == "
a"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt h = A("h") i = B("i") a = B("a") h.q = a i.o = h a.o = h assert h.q.o.q.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
2
2
1
1
484
class A: def __init__(self, txt: str): self.s: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt m = A("m") e = B("e") f = A("f") n = B("n") l = B("l") c = B("c") g = B("g") b = B("b") d = B("d") h = B("h") m.s = e m.o = d e.t = m f.s = g f.o = l n.t = m l.t = m c.t = f g.t = m b.t = m d.t = m h.t = m assert n.t.o.t.s.t.o.t.s.txt == "
e"
class A: def __init__(self, txt: str): self.s: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt m = A("m") e = B("e") f = A("f") n = B("n") l = B("l") c = B("c") g = B("g") b = B("b") d = B("d") h = B("h") m.s = e m.o = d e.t = m f.s = g f.o = l n.t = m l.t = m c.t = f g.t = m b.t = m d.t = m h.t = m assert n.t.o.t.s.t.o.t.s.txt == "e"
10
12
1.2
0.133333
2
5
2
1
1.5
8
4
2
4
0.4
5
0.416667
5
2
6
3.5
3
4
1
2
485
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.txt = txt g = A("g") f = B("f") h = A("h") l = B("l") j = B("j") g.o = l f.v = l h.o = f l.v = j j.v = l assert j.v.v.v.v.v.txt == "
l"
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.txt = txt g = A("g") f = B("f") h = A("h") l = B("l") j = B("j") g.o = l f.v = l h.o = f l.v = j j.v = l assert j.v.v.v.v.v.txt == "l"
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
486
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.z: A = None self.txt = txt m = A("m") h = B("h") j = B("j") g = A("g") a = B("a") f = A("f") m.q = g h.t = m h.z = m j.t = g j.z = g g.q = m a.t = g a.z = g f.q = m assert j.z.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: A = None self.z: A = None self.txt = txt m = A("m") h = B("h") j = B("j") g = A("g") a = B("a") f = A("f") m.q = g h.t = m h.z = m j.t = g j.z = g g.q = m a.t = g a.z = g f.q = m assert j.z.q.q.txt == "g"
6
6
1
0.2
2
3
2
1
1.5
3
2
1
3
0.5
3
0.5
1
2
2
2
2
2
2
1
487
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.r: A = None self.txt = txt f = A("f") i = B("i") j = B("j") m = B("m") c = A("c") f.z = c f.v = m i.z = j i.r = c j.z = i j.r = f m.z = j m.r = f c.z = f c.v = i assert f.z.z.v.z.txt == "
j"
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.r: A = None self.txt = txt f = A("f") i = B("i") j = B("j") m = B("m") c = A("c") f.z = c f.v = m i.z = j i.r = c j.z = i j.r = f m.z = j m.r = f c.z = f c.v = i assert f.z.z.v.z.txt == "j"
5
10
2
0.5
2
2.5
2
2
2
4
2
1
4
0.8
4
0.4
1
2
2
2
2
3
2
2
488
class A: def __init__(self, txt: str): self.u: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: B = None self.txt = txt e = A("e") i = B("i") m = A("m") a = B("a") f = B("f") h = B("h") b = B("b") c = B("c") l = A("l") n = A("n") e.u = n e.p = m i.t = h i.v = h m.u = e m.p = e a.t = c a.v = f f.t = a f.v = h h.t = i h.v = i b.t = h b.v = a c.t = i c.v = i l.u = m l.p = m n.u = e n.p = e assert i.t.t.t.v.t.t.t.v.t.t.txt == "
i"
class A: def __init__(self, txt: str): self.u: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: B = None self.txt = txt e = A("e") i = B("i") m = A("m") a = B("a") f = B("f") h = B("h") b = B("b") c = B("c") l = A("l") n = A("n") e.u = n e.p = m i.t = h i.v = h m.u = e m.p = e a.t = c a.v = f f.t = a f.v = h h.t = i h.v = i b.t = h b.v = a c.t = i c.v = i l.u = m l.p = m n.u = e n.p = e assert i.t.t.t.v.t.t.t.v.t.t.txt == "i"
10
14
1.4
0.155556
2
5
2
2
2
10
6
5
2
0.2
3
0.214286
9
2
10
4.4
2
8
3
2
489
class A: def __init__(self, txt: str): self.o: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") k = B("k") g = A("g") f = A("f") a.o = g a.r = f k.x = g g.o = f g.r = f f.o = g f.r = a assert g.o.r.r.r.txt == "
a"
class A: def __init__(self, txt: str): self.o: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") k = B("k") g = A("g") f = A("f") a.o = g a.r = f k.x = g g.o = f g.r = f f.o = g f.r = a assert g.o.r.r.r.txt == "a"
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
2
3
3
1
490
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt c = A("c") i = B("i") j = B("j") g = A("g") b = B("b") c.o = g i.w = j i.p = b j.w = i j.p = b g.o = c b.w = j b.p = i assert g.o.o.o.o.o.txt == "
c"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt c = A("c") i = B("i") j = B("j") g = A("g") b = B("b") c.o = g i.w = j i.p = b j.w = i j.p = b g.o = c b.w = j b.p = i assert g.o.o.o.o.o.txt == "c"
5
8
1.6
0.4
2
2.5
2
1
1.5
5
3
3
2
0.4
2
0.25
4
2
4
2.666667
1
5
5
1
491
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt n = A("n") i = B("i") d = B("d") m = B("m") g = B("g") c = A("c") n.w = m i.x = d i.y = g d.x = g d.y = i m.x = i m.y = d g.x = m g.y = m c.w = i assert i.y.y.x.txt == "
i"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.y: B = None self.txt = txt n = A("n") i = B("i") d = B("d") m = B("m") g = B("g") c = A("c") n.w = m i.x = d i.y = g d.x = g d.y = i m.x = i m.y = d g.x = m g.y = m c.w = i assert i.y.y.x.txt == "i"
6
9
1.5
0.3
2
3
2
1
1.5
3
2
1
3
0.5
3
0.333333
1
3
3
3
2
2
2
1
492
class A: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") n = B("n") g = B("g") f = A("f") b = A("b") e = A("e") a.o = g a.s = f n.x = a g.x = b f.o = n f.s = b b.o = g b.s = f e.o = g e.s = b assert e.o.x.s.o.x.txt == "
a"
class A: def __init__(self, txt: str): self.o: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt a = A("a") n = B("n") g = B("g") f = A("f") b = A("b") e = A("e") a.o = g a.s = f n.x = a g.x = b f.o = n f.s = b b.o = g b.s = f e.o = g e.s = b assert e.o.x.s.o.x.txt == "a"
6
10
1.666667
0.333333
2
3
2
1
1.5
5
1
1
6
1
5
0.5
0
null
null
null
3
2
1
1
493
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.s: A = None self.txt = txt l = A("l") b = B("b") g = A("g") d = B("d") c = A("c") e = B("e") i = A("i") m = B("m") n = B("n") l.y = i b.q = m b.s = g g.y = c d.q = b d.s = i c.y = i e.q = n e.s = g i.y = c m.q = n m.s = g n.q = m n.s = g assert b.q.q.q.q.q.q.q.q.q.txt == "
m"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.s: A = None self.txt = txt l = A("l") b = B("b") g = A("g") d = B("d") c = A("c") e = B("e") i = A("i") m = B("m") n = B("n") l.y = i b.q = m b.s = g g.y = c d.q = b d.s = i c.y = i e.q = n e.s = g i.y = c m.q = n m.s = g n.q = m n.s = g assert b.q.q.q.q.q.q.q.q.q.txt == "m"
9
14
1.555556
0.194444
2
4.5
2
1
1.5
9
5
4
3
0.333333
3
0.214286
7
2
8
3.75
1
9
9
1
494
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt g = A("g") i = B("i") h = B("h") a = B("a") m = A("m") c = B("c") l = A("l") g.s = l i.o = c h.o = c a.o = i m.s = g c.o = h l.s = g assert m.s.s.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.o: B = None self.txt = txt g = A("g") i = B("i") h = B("h") a = B("a") m = A("m") c = B("c") l = A("l") g.s = l i.o = c h.o = c a.o = i m.s = g c.o = h l.s = g assert m.s.s.s.s.s.txt == "g"
7
7
1
0.166667
2
3.5
1
1
1
5
3
2
3
0.428571
3
0.428571
3
2
4
2.5
1
5
5
1
495
class A: def __init__(self, txt: str): self.v: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.u: A = None self.txt = txt m = A("m") i = B("i") n = A("n") e = A("e") h = A("h") m.v = i m.w = i i.o = n i.u = n n.v = i n.w = i e.v = i e.w = i h.v = i h.w = i assert i.o.v.o.w.txt == "
i"
class A: def __init__(self, txt: str): self.v: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.u: A = None self.txt = txt m = A("m") i = B("i") n = A("n") e = A("e") h = A("h") m.v = i m.w = i i.o = n i.u = n n.v = i n.w = i e.v = i e.w = i h.v = i h.w = i assert i.o.v.o.w.txt == "i"
5
5
1
0.25
2
2.5
2
2
2
4
3
2
2
0.4
3
0.6
3
2
4
2.5
3
2
1
2
496
class A: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.o: A = None self.txt = txt d = A("d") h = B("h") k = B("k") a = A("a") b = B("b") d.y = a d.w = k h.q = b h.o = a k.q = h k.o = d a.y = d a.w = h b.q = k b.o = d assert a.y.w.q.q.o.txt == "
d"
class A: def __init__(self, txt: str): self.y: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.o: A = None self.txt = txt d = A("d") h = B("h") k = B("k") a = A("a") b = B("b") d.y = a d.w = k h.q = b h.o = a k.q = h k.o = d a.y = d a.w = h b.q = k b.o = d assert a.y.w.q.q.o.txt == "d"
5
10
2
0.5
2
2.5
2
2
2
5
2
1
5
1
5
0.5
1
4
4
4
4
2
2
1
497
class A: def __init__(self, txt: str): self.o: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.r: A = None self.txt = txt j = A("j") i = B("i") m = B("m") j.o = i j.w = m i.y = j i.r = j m.y = j m.r = j assert j.w.r.w.txt == "
m"
class A: def __init__(self, txt: str): self.o: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.r: A = None self.txt = txt j = A("j") i = B("i") m = B("m") j.o = i j.w = m i.y = j i.r = j m.y = j m.r = j assert j.w.r.w.txt == "m"
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
2
2
1
1
498
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt d = A("d") h = B("h") i = A("i") e = A("e") j = B("j") k = B("k") a = B("a") d.z = k d.y = e h.w = k h.q = j i.z = k i.y = d e.z = j e.y = i j.w = k j.q = h k.w = j k.q = j a.w = h a.q = j assert e.y.z.q.q.q.txt == "
j"
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.q: B = None self.txt = txt d = A("d") h = B("h") i = A("i") e = A("e") j = B("j") k = B("k") a = B("a") d.z = k d.y = e h.w = k h.q = j i.z = k i.y = d e.z = j e.y = i j.w = k j.q = h k.w = j k.q = j a.w = h a.q = j assert e.y.z.q.q.q.txt == "j"
7
13
1.857143
0.309524
2
3.5
2
2
2
5
2
1
5
0.714286
5
0.384615
1
2
2
2
3
3
3
1
499
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt n = A("n") a = B("a") c = B("c") f = B("f") l = B("l") i = B("i") k = B("k") d = A("d") j = B("j") n.v = d a.y = k c.y = j f.y = k l.y = f i.y = f k.y = j d.v = n j.y = f assert a.y.y.y.y.y.txt == "
j"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt n = A("n") a = B("a") c = B("c") f = B("f") l = B("l") i = B("i") k = B("k") d = A("d") j = B("j") n.v = d a.y = k c.y = j f.y = k l.y = f i.y = f k.y = j d.v = n j.y = f assert a.y.y.y.y.y.txt == "j"
9
9
1
0.125
2
4.5
1
1
1
5
2
2
4
0.444444
4
0.444444
2
3
3
3
1
5
5
1