id
int64
0
9k
prompt
stringlengths
265
3.32k
answer
stringclasses
14 values
pythoncode
stringlengths
267
3.32k
num_nodes
int64
3
10
num_edges
int64
3
53
avg_node_edge
float64
1
5.3
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.6
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
8
longest_cycle
int64
2
10
average_cycle
float64
2
8
unique_edge_label
int64
1
9
max_label_occurrences
int64
1
10
max_label_consecutive
int64
1
10
max_node_outdegree
int64
1
4
600
class A: def __init__(self, txt: str): self.y: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.u: B = None self.txt = txt m = A("m") l = B("l") c = A("c") n = A("n") i = A("i") j = B("j") m.y = j m.u = i l.t...
c"
class A: def __init__(self, txt: str): self.y: B = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.u: B = None self.txt = txt m = A("m") l = B("l") c = A("c") n = A("n") i = A("i") j = B("j") m.y = j m.u = i l.t...
6
12
2
0.4
2
3
2
2
2
6
3
2
4
0.666667
5
0.416667
3
2
6
3.5
3
2
1
2
601
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.x: B = None self.txt = txt h = A("h") g = B("g") b = B("b") a = B("a") i = B("i") c = A("c") e = A("e") k = B("k"...
i"
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.x: B = None self.txt = txt h = A("h") g = B("g") b = B("b") a = B("a") i = B("i") c = A("c") e = A("e") k = B("k"...
8
15
1.875
0.267857
2
4
2
2
2
7
2
1
7
0.875
7
0.466667
1
2
2
2
4
4
4
1
602
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.r: A = None self.txt = txt b = A("b") f = B("f") h = B("h") b.o = f f.o = b f.r = b h.o = b h.r = b assert b.o.r.o.txt == "
f"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.r: A = None self.txt = txt b = A("b") f = B("f") h = B("h") b.o = f f.o = b f.r = b h.o = b h.r = b assert b.o.r.o.txt == "f"
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
603
class A: def __init__(self, txt: str): self.o: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt b = A("b") k = B("k") f = B("f") n = A("n") h = B("h") j = A("j") l = B("l") g = B("g") d = B("d") m = A("m") ...
g"
class A: def __init__(self, txt: str): self.o: A = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.txt = txt b = A("b") k = B("k") f = B("f") n = A("n") h = B("h") j = A("j") l = B("l") g = B("g") d = B("d") m = A("m") ...
10
14
1.4
0.155556
2
5
2
1
1.5
4
2
2
3
0.3
3
0.214286
2
2
2
2
1
4
4
1
604
class A: def __init__(self, txt: str): self.v: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt n = A("n") a = B("a") i = B("i") l = A("l") c = B("c") j = A("j") e = B("e") n.v = j n.s = a a.v = c i.v = c l...
c"
class A: def __init__(self, txt: str): self.v: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt n = A("n") a = B("a") i = B("i") l = A("l") c = B("c") j = A("j") e = B("e") n.v = j n.s = a a.v = c i.v = c l...
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
2
4
3
1
605
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt a = A("a") b = B("b") l = A("l") g = A("g") j = B("j") e = A("e") c = A("c") n = A("n") k = A("k") h = A("h") a.y = j b.o = n l.y = j g...
b"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt a = A("a") b = B("b") l = A("l") g = A("g") j = B("j") e = A("e") c = A("c") n = A("n") k = A("k") h = A("h") a.y = j b.o = n l.y = j g...
10
10
1
0.111111
2
5
1
1
1
6
4
3
2
0.2
2
0.2
5
2
6
3.111111
2
3
1
1
606
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.p: A = None self.txt = txt d = A("d") a = B("a") i = A("i") g = B("g") f = A("f") j = A("j") b = B("b") d.o = f ...
f"
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.p: A = None self.txt = txt d = A("d") a = B("a") i = A("i") g = B("g") f = A("f") j = A("j") b = B("b") d.o = f ...
7
13
1.857143
0.309524
2
3.5
2
2
2
4
3
2
2
0.285714
3
0.230769
3
2
4
2.5
2
3
3
2
607
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt g = A("g") l = B("l") c = A("c") g.v = l g.t = l l.x = c c.v = l c.t = l assert c.v.x.v.txt == "
l"
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt g = A("g") l = B("l") c = A("c") g.v = l g.t = l l.x = c c.v = l c.t = l assert c.v.x.v.txt == "l"
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
608
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.s: B = None self.txt = txt k = A("k") m = B("m") f = B("f") d = A("d") e = B("e") h = B("h") a = A("a") l = B("l") k.v = d k.q = a m.s = ...
e"
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.s: B = None self.txt = txt k = A("k") m = B("m") f = B("f") d = A("d") e = B("e") h = B("h") a = A("a") l = B("l") k.v = d k.q = a m.s = ...
8
9
1.125
0.160714
2
4
2
1
1.5
5
3
3
2
0.25
2
0.222222
4
2
4
2.666667
1
5
5
1
609
class A: def __init__(self, txt: str): self.z: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt l = A("l") h = B("h") k = B("k") i = A("i") n = A("n") e = A("e") j = B("j") l.z = k ...
h"
class A: def __init__(self, txt: str): self.z: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.x: B = None self.txt = txt l = A("l") h = B("h") k = B("k") i = A("i") n = A("n") e = A("e") j = B("j") l.z = k ...
7
13
1.857143
0.309524
2
3.5
2
2
2
4
2
1
4
0.571429
4
0.307692
1
2
2
2
3
2
2
2
610
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt g = A("g") e = B("e") m = A("m") g.v = e e.o = m m.v = e assert g.v.o.v.txt == "
e"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt g = A("g") e = B("e") m = A("m") g.v = e e.o = m m.v = e assert g.v.o.v.txt == "e"
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
611
class A: def __init__(self, txt: str): self.p: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt c = A("c") n = B("n") d = B("d") c.p = d c.u = n n.t = d n.v = c d.t = n d.v = c asse...
n"
class A: def __init__(self, txt: str): self.p: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt c = A("c") n = B("n") d = B("d") c.p = d c.u = n n.t = d n.v = c d.t = n d.v = c asse...
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
2
2
2
2
2
2
1
612
class A: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.t: B = None self.txt = txt b = A("b") e = B("e") a = B("a") j = B("j") k = A("k") b.t = e b.o = k e.v = k e.t = ...
k"
class A: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.t: B = None self.txt = txt b = A("b") e = B("e") a = B("a") j = B("j") k = A("k") b.t = e b.o = k e.v = k e.t = ...
5
10
2
0.5
2
2.5
2
2
2
5
2
2
4
0.8
4
0.4
2
3
3
3
3
2
1
1
613
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") k = A("k") d = A("d") m = B("m") e = B("e") h = A("h") a = A("a") j.s = h f.w = e k.s = d d.s = h m.w = f e.w = f...
k"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") f = B("f") k = A("k") d = A("d") m = B("m") e = B("e") h = A("h") a = A("a") j.s = h f.w = e k.s = d d.s = h m.w = f e.w = f...
8
8
1
0.142857
2
4
1
1
1
3
1
1
4
0.5
3
0.375
0
null
null
null
1
3
3
1
614
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.r: A = None self.txt = txt n = A("n") f = B("f") e = A("e") i = A("i") g = B("g") l = A("l") b = B("b") c = A("c") n.r = c f.w = g f.r = ...
n"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.r: A = None self.txt = txt n = A("n") f = B("f") e = A("e") i = A("i") g = B("g") l = A("l") b = B("b") c = A("c") n.r = c f.w = g f.r = ...
8
11
1.375
0.196429
2
4
2
1
1.5
8
5
4
2
0.25
2
0.181818
7
2
8
3.75
1
8
8
1
615
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") h = B("h") m = B("m") a = A("a") b = B("b") g = A("g") d = B("d") l.v = a h.v = d m.v = d a.v = g b.v = m g.v = l d.v = b as...
d"
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") h = B("h") m = B("m") a = A("a") b = B("b") g = A("g") d = B("d") l.v = a h.v = d m.v = d a.v = g b.v = m g.v = l d.v = b as...
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
616
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.q: A = None self.txt = txt m = A("m") b = B("b") h = A("h") e = B("e") c = A("c") m.s = h b.x = m b.q = h h.s = c e.x = c e.q = m c.s = h...
h"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.q: A = None self.txt = txt m = A("m") b = B("b") h = A("h") e = B("e") c = A("c") m.s = h b.x = m b.q = h h.s = c e.x = c e.q = m c.s = h...
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
1
5
5
1
617
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt l = A("l") c = B("c") n = B("n") l.z = c c.p = l n.p = l assert c.p.z.p.txt == "
l"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt l = A("l") c = B("c") n = B("n") l.z = c c.p = l n.p = l assert c.p.z.p.txt == "l"
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
618
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.o: B = None self.txt = txt g = A("g") h = B("h") l = B("l") i = B("i") f = B("f") m = B("m") g.s = l h.u = g h.o = l l.u = g l.o = f i.u ...
l"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.o: B = None self.txt = txt g = A("g") h = B("h") l = B("l") i = B("i") f = B("f") m = B("m") g.s = l h.u = g h.o = l l.u = g l.o = f i.u ...
6
11
1.833333
0.366667
2
3
2
1
1.5
5
3
3
2
0.333333
2
0.181818
4
2
4
2.666667
2
3
1
1
619
class A: def __init__(self, txt: str): self.t: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: A = None self.txt = txt h = A("h") m = B("m") c = A("c") d = B("d") h.t = m h.r = c m.z = d m.q = h c.t = m c...
m"
class A: def __init__(self, txt: str): self.t: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.q: A = None self.txt = txt h = A("h") m = B("m") c = A("c") d = B("d") h.t = m h.r = c m.z = d m.q = h c.t = m c...
4
8
2
0.666667
2
2
2
2
2
4
2
1
4
1
4
0.5
1
3
3
3
4
1
1
1
620
class A: def __init__(self, txt: str): self.q: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.t: A = None self.txt = txt l = A("l") d = B("d") b = A("b") e = B("e") i = A("i") j = B("j") m = A("m") g = A("g"...
l"
class A: def __init__(self, txt: str): self.q: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.t: A = None self.txt = txt l = A("l") d = B("d") b = A("b") e = B("e") i = A("i") j = B("j") m = A("m") g = A("g"...
10
18
1.8
0.2
2
5
2
2
2
7
3
2
5
0.5
6
0.333333
3
2
5
3.25
2
5
3
2
621
class A: def __init__(self, txt: str): self.z: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") d = B("d") m = A("m") h = A("h") g.z = m g.v = h d.p = h m.z = h m.v = h h.z = m h.v = m assert h.v...
h"
class A: def __init__(self, txt: str): self.z: A = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") d = B("d") m = A("m") h = A("h") g.z = m g.v = h d.p = h m.z = h m.v = h h.z = m h.v = m assert h.v...
4
5
1.25
0.416667
2
2
2
1
1.5
4
3
2
2
0.5
3
0.6
3
2
4
2.5
2
3
2
2
622
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt l = A("l") d = B("d") c = A("c") g = B("g") j = A("j") h = B("h") f = A("f") e = B("e") l.o = f d.q = c c.o = f g.q = c j.o = f h.q = c...
f"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt l = A("l") d = B("d") c = A("c") g = B("g") j = A("j") h = B("h") f = A("f") e = B("e") l.o = f d.q = c c.o = f g.q = c j.o = f h.q = 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
623
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.y: A = None self.txt = txt g = A("g") m = B("m") j = B("j") e = A("e") h = A("h") g.z = e g.v = m m.y = h j.y = g e.z = h e.v = j h.z = e...
e"
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.y: A = None self.txt = txt g = A("g") m = B("m") j = B("j") e = A("e") h = A("h") g.z = e g.v = m m.y = h j.y = g e.z = h e.v = j h.z = e...
5
8
1.6
0.4
2
2.5
2
1
1.5
5
2
2
3
0.6
3
0.375
3
3
3
3
3
2
1
1
624
class A: def __init__(self, txt: str): self.u: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt l = A("l") n = B("n") k = A("k") a = A("a") h = B("h") l.u = n l.w = n n.o = k k.u = n k.w = n a.u = n a.w = h...
n"
class A: def __init__(self, txt: str): self.u: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt l = A("l") n = B("n") k = A("k") a = A("a") h = B("h") l.u = n l.w = n n.o = k k.u = n k.w = n a.u = n a.w = h...
5
6
1.2
0.3
2
2.5
2
1
1.5
5
2
2
4
0.8
4
0.666667
2
2
2
2
3
2
1
1
625
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.s: A = None self.txt = txt m = A("m") d = B("d") g = B("g") a = A("a") i = A("i") j = B("j") m.z = d m.v = j d.s = i g.s = i a.z = g a.v ...
i"
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.s: A = None self.txt = txt m = A("m") d = B("d") g = B("g") a = A("a") i = A("i") j = B("j") m.z = d m.v = j d.s = i g.s = i a.z = g a.v ...
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
626
class A: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.r: A = None self.txt = txt e = A("e") j = B("j") f = A("f") b = A("b") e.x = j e.s = j j.q = f j.r = f f.x = j f...
j"
class A: def __init__(self, txt: str): self.x: B = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.r: A = None self.txt = txt e = A("e") j = B("j") f = A("f") b = A("b") e.x = j e.s = j j.q = f j.r = f f.x = j f...
4
4
1
0.333333
2
2
2
2
2
3
2
1
3
0.75
3
0.75
1
2
2
2
2
2
1
1
627
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt l = A("l") h = B("h") a = B("a") f = A("f") c = A("c") j = A("j") i = B("i") l.u = c h.w = i a.w = h f.u = c c.u = l j.u = c i.w = a as...
c"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt l = A("l") h = B("h") a = B("a") f = A("f") c = A("c") j = A("j") i = B("i") l.u = c h.w = i a.w = h f.u = c c.u = l j.u = c i.w = a as...
7
7
1
0.166667
2
3.5
1
1
1
3
2
1
3
0.428571
3
0.428571
1
2
2
2
1
3
3
1
628
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.txt = txt c = A("c") d = B("d") h = B("h") l = B("l") i = A("i") c.r = i d.o = h h.o = l l.o = h i.r = c assert l.o.o.o.o.o.txt == "
h"
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.txt = txt c = A("c") d = B("d") h = B("h") l = B("l") i = A("i") c.r = i d.o = h h.o = l l.o = h i.r = c assert l.o.o.o.o.o.txt == "h"
5
5
1
0.25
2
2.5
1
1
1
5
3
3
2
0.4
2
0.4
4
2
4
2.666667
1
5
5
1
629
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt i = A("i") f = B("f") c = B("c") i.o = c f.o = c f.u = i c.o = f c.u = i assert i.o.u.o.txt == "
c"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.u: A = None self.txt = txt i = A("i") f = B("f") c = B("c") i.o = c f.o = c f.u = i c.o = f c.u = i assert i.o.u.o.txt == "c"
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
630
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") c = B("c") i = A("i") k = B("k") a = A("a") f = A("f") h.u = k c.v = a i.u = k k.v = h a.u = c f.u = k assert f.u.v.u.txt ==...
k"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt h = A("h") c = B("c") i = A("i") k = B("k") a = A("a") f = A("f") h.u = k c.v = a i.u = k k.v = h a.u = c f.u = k assert f.u.v.u.txt ==...
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
631
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt l = A("l") k = B("k") c = B("c") l.y = k k.o = c c.o = k assert l.y.o.o.txt == "
k"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt l = A("l") k = B("k") c = B("c") l.y = k k.o = c c.o = k assert l.y.o.o.txt == "k"
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
632
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt k = A("k") l = B("l") i = A("i") a = B("a") c = A("c") b = A("b") k.o = l l.o = a i.o = l a.o = l c.o = a b.o = a assert c.o.o.o.o.txt ...
l"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt k = A("k") l = B("l") i = A("i") a = B("a") c = A("c") b = A("b") k.o = l l.o = a i.o = l a.o = l c.o = a b.o = a assert c.o.o.o.o.txt ...
6
6
1
0.2
2
3
1
1
1
4
2
2
3
0.5
3
0.5
2
2
2
2
1
4
4
1
633
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") b = B("b") c = B("c") m = A("m") f.w = c b.v = c c.v = b m.w = c assert b.v.v.v.txt == "
c"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt f = A("f") b = B("b") c = B("c") m = A("m") f.w = c b.v = c c.v = b m.w = c assert b.v.v.v.txt == "c"
4
4
1
0.333333
2
2
1
1
1
3
2
2
2
0.5
2
0.5
2
2
2
2
1
3
3
1
634
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.w: B = None self.v: B = None self.txt = txt c = A("c") n = B("n") i = B("i") h = A("h") e = A("e") a = B("a") c.y = h c.z = h n.w...
e"
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.w: B = None self.v: B = None self.txt = txt c = A("c") n = B("n") i = B("i") h = A("h") e = A("e") a = B("a") c.y = h c.z = h n.w...
6
10
1.666667
0.333333
2
3
2
2
2
5
2
2
3
0.5
4
0.4
3
3
3
3
2
4
4
2
635
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt e = A("e") k = B("k") n = B("n") m = A("m") g = A("g") l = B("l") d = A("d") i = B("i") e.w = k k.q = l n.q = i m.w = n g.w = k l.q = n...
k"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.txt = txt e = A("e") k = B("k") n = B("n") m = A("m") g = A("g") l = B("l") d = A("d") i = B("i") e.w = k k.q = l n.q = i m.w = n g.w = k l.q = n...
8
8
1
0.142857
2
4
1
1
1
7
2
2
4
0.5
4
0.5
4
4
4
4
1
7
7
1
636
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.q: A = None self.txt = txt h = A("h") m = B("m") e = B("e") g = A("g") h.y = m m.o = h m.q = h e.o = g e.q = g g.y = e assert g.y.o.y.q.t...
g"
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.q: A = None self.txt = txt h = A("h") m = B("m") e = B("e") g = A("g") h.y = m m.o = h m.q = h e.o = g e.q = g g.y = e assert g.y.o.y.q.t...
4
4
1
0.333333
2
2
2
1
1.5
4
3
2
2
0.5
3
0.75
3
2
4
2.5
3
2
1
2
637
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt a = A("a") e = B("e") g = A("g") a.s = g e.u = g g.s = a assert g.s.s.s.txt == "
a"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt a = A("a") e = B("e") g = A("g") a.s = g e.u = g g.s = a assert g.s.s.s.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
638
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt n = A("n") j = B("j") g = A("g") i = A("i") e = A("e") h = A("h") m = B("m") d = B("d") n.o = j n.u = j j.z = ...
j"
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt n = A("n") j = B("j") g = A("g") i = A("i") e = A("e") h = A("h") m = B("m") d = B("d") n.o = j n.u = j j.z = ...
8
11
1.375
0.196429
2
4
2
1
1.5
7
2
1
6
0.75
7
0.636364
2
2
2
2
3
3
1
2
639
class A: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: A = None self.txt = txt m = A("m") h = B("h") g = A("g") a = A("a") k = B("k") l = B("l") i = A("i") e = A("e"...
l"
class A: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.p: A = None self.txt = txt m = A("m") h = B("h") g = A("g") a = A("a") k = B("k") l = B("l") i = A("i") e = A("e"...
8
15
1.875
0.267857
2
4
2
2
2
3
1
1
4
0.5
3
0.2
0
null
null
null
3
1
1
1
640
class A: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.p: B = None self.txt = txt l = A("l") f = B("f") a = A("a") k = A("k") n = A("n") m = B("m") e = A("e") l.v = a ...
m"
class A: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.p: B = None self.txt = txt l = A("l") f = B("f") a = A("a") k = A("k") n = A("n") m = B("m") e = A("e") l.v = a ...
7
14
2
0.333333
2
3.5
2
2
2
3
2
1
3
0.428571
3
0.214286
1
2
2
2
2
2
1
1
641
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt j = A("j") c = B("c") f = A("f") m = B("m") l = B("l") j.o = m j.u = l c.r = l c.u = ...
l"
class A: def __init__(self, txt: str): self.o: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.u: B = None self.txt = txt j = A("j") c = B("c") f = A("f") m = B("m") l = B("l") j.o = m j.u = l c.r = l c.u = ...
5
9
1.8
0.45
2
2.5
2
2
2
4
2
1
4
0.8
4
0.444444
1
3
3
3
2
3
2
1
642
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt a = A("a") c = B("c") e = A("e") a.o = c c.w = a c.u = a e.o = c assert c.u.o.u.txt == "
a"
class A: def __init__(self, txt: str): self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt a = A("a") c = B("c") e = A("e") a.o = c c.w = a c.u = a e.o = c assert c.u.o.u.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
643
class A: def __init__(self, txt: str): self.w: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.o: B = None self.txt = txt j = A("j") m = B("m") c = B("c") j.w = c j.v = m m.y = j m.o = c c.y = j c.o = m asse...
c"
class A: def __init__(self, txt: str): self.w: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.o: B = None self.txt = txt j = A("j") m = B("m") c = B("c") j.w = c j.v = m m.y = j m.o = c c.y = j c.o = m asse...
3
6
2
1
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.333333
2
2
2
2
1
3
3
1
644
class A: def __init__(self, txt: str): self.t: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt l = A("l") a = B("a") d = A("d") f = B("f") l.t = a l.y = f a.v = d a.y = l d.t = a d...
l"
class A: def __init__(self, txt: str): self.t: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt l = A("l") a = B("a") d = A("d") f = B("f") l.t = a l.y = f a.v = d a.y = l d.t = a d...
4
7
1.75
0.583333
2
2
2
2
2
4
2
1
4
1
4
0.571429
1
2
2
2
2
3
3
1
645
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt a = A("a") f = B("f") d = B("d") e = A("e") b = B("b") m = A("m") l = B("l") j = B("j") a.t = b f.q = e d.q = m e.t = b b.q = a m.t = f...
b"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt a = A("a") f = B("f") d = B("d") e = A("e") b = B("b") m = A("m") l = B("l") j = B("j") a.t = b f.q = e d.q = m e.t = b b.q = a m.t = f...
8
8
1
0.142857
2
4
1
1
1
4
1
1
5
0.625
4
0.5
0
null
null
null
2
2
1
1
646
class A: def __init__(self, txt: str): self.r: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.y: B = None self.txt = txt n = A("n") i = B("i") j = B("j") d = A("d") k = A("k") h = B("h") a = A("a") n.r = j ...
i"
class A: def __init__(self, txt: str): self.r: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.y: B = None self.txt = txt n = A("n") i = B("i") j = B("j") d = A("d") k = A("k") h = B("h") a = A("a") n.r = j ...
7
14
2
0.333333
2
3.5
2
2
2
7
2
2
5
0.714286
6
0.428571
3
4
5
4.666667
4
2
2
2
647
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.p: A = None self.txt = txt i = A("i") l = B("l") g = A("g") d = B("d") i.v = d i.t = l l.t = d l.p = i g.v = l g...
d"
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.p: A = None self.txt = txt i = A("i") l = B("l") g = A("g") d = B("d") i.v = d i.t = l l.t = d l.p = i g.v = l g...
4
8
2
0.666667
2
2
2
2
2
4
2
1
4
1
4
0.5
1
2
2
2
3
2
2
2
648
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt e = A("e") h = B("h") k = A("k") i = A("i") m = A("m") n = A("n") a = A("a") e.v = h h.u = k k.v = h i.v = h m.v = h n.v = h a.v = h as...
k"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt e = A("e") h = B("h") k = A("k") i = A("i") m = A("m") n = A("n") a = A("a") e.v = h h.u = k k.v = h i.v = h m.v = h n.v = h a.v = h as...
7
7
1
0.166667
2
3.5
1
1
1
6
3
3
3
0.428571
3
0.428571
4
2
4
2.666667
2
3
1
1
649
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: A = None self.txt = txt l = A("l") c = B("c") a = A("a") j = A("j") h = A("h") f = A("f") n = A("n") k = B("k") m = A("m") l.q = j c.v...
j"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.w: A = None self.txt = txt l = A("l") c = B("c") a = A("a") j = A("j") h = A("h") f = A("f") n = A("n") k = B("k") m = A("m") l.q = j c.v...
9
11
1.222222
0.152778
2
4.5
2
1
1.5
6
3
2
3
0.333333
3
0.272727
4
3
6
3.6
1
6
6
1
650
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt d = A("d") c = B("c") k = B("k") i = B("i") j = A("j") d.t = k c.r = i k.r = i i.r = k j.t = c assert i.r.r.r.r.r.txt == "
k"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt d = A("d") c = B("c") k = B("k") i = B("i") j = A("j") d.t = k c.r = i k.r = i i.r = k j.t = c assert i.r.r.r.r.r.txt == "k"
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
651
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt c = A("c") m = B("m") d = B("d") c.u = d m.y = c m.q = d d.y = c d.q = m assert d.q.y.u.txt == "
d"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.q: B = None self.txt = txt c = A("c") m = B("m") d = B("d") c.u = d m.y = c m.q = d d.y = c d.q = m assert d.q.y.u.txt == "d"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
3
3
3
3
1
1
1
652
class A: def __init__(self, txt: str): self.y: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt m = A("m") e = B("e") d = B("d") b = B("b") l = A("l") k = A("k") m.y = b m.w = l e.y = l d.y = m b.y = k l.y ...
b"
class A: def __init__(self, txt: str): self.y: B = None self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt m = A("m") e = B("e") d = B("d") b = B("b") l = A("l") k = A("k") m.y = b m.w = l e.y = l d.y = m b.y = k l.y ...
6
9
1.5
0.3
2
3
2
1
1.5
4
1
1
5
0.833333
4
0.444444
0
null
null
null
2
2
2
1
653
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt a = A("a") h = B("h") k = B("k") l = A("l") g = B("g") a.w = k h.v = a h.y = a k.v = a k.y = a l.w = h g.v = l...
a"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: A = None self.txt = txt a = A("a") h = B("h") k = B("k") l = A("l") g = B("g") a.w = k h.v = a h.y = a k.v = a k.y = a l.w = h g.v = l...
5
5
1
0.25
2
2.5
2
1
1.5
4
3
2
2
0.4
2
0.4
3
2
4
2.5
2
2
1
1
654
class A: def __init__(self, txt: str): self.o: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: B = None self.txt = txt k = A("k") f = B("f") i = B("i") g = A("g") e = B("e") k.o = g k.r = i f.q = g f.y = ...
i"
class A: def __init__(self, txt: str): self.o: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: B = None self.txt = txt k = A("k") f = B("f") i = B("i") g = A("g") e = B("e") k.o = g k.r = i f.q = g f.y = ...
5
10
2
0.5
2
2.5
2
2
2
4
2
1
4
0.8
4
0.4
1
2
2
2
3
2
1
2
655
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt c = A("c") g = B("g") n = B("n") l = A("l") c.o = l g.x = l n.x = l l.o = c assert c.o.o.o.txt == "
l"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt c = A("c") g = B("g") n = B("n") l = A("l") c.o = l g.x = l n.x = l l.o = c assert c.o.o.o.txt == "l"
4
4
1
0.333333
2
2
1
1
1
3
2
2
2
0.5
2
0.5
2
2
2
2
1
3
3
1
656
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.w: A = None self.txt = txt b = A("b") j = B("j") m = A("m") l = B("l") b.y = m b.w = j j.w = b m.y = b m.w = j l.w = b assert b.y.y.y.y.t...
b"
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.w: A = None self.txt = txt b = A("b") j = B("j") m = A("m") l = B("l") b.y = m b.w = j j.w = b m.y = b m.w = j l.w = b assert b.y.y.y.y.t...
4
6
1.5
0.5
2
2
2
1
1.5
4
3
2
2
0.5
2
0.333333
3
2
4
2.5
1
4
4
1
657
class A: def __init__(self, txt: str): self.r: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt e = A("e") c = B("c") a = A("a") m = B("m") k = B("k") e.r = a e.o = c c.v = a c.y = ...
e"
class A: def __init__(self, txt: str): self.r: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.y: B = None self.txt = txt e = A("e") c = B("c") a = A("a") m = B("m") k = B("k") e.r = a e.o = c c.v = a c.y = ...
5
10
2
0.5
2
2.5
2
2
2
5
2
1
4
0.8
5
0.5
2
2
5
3.5
4
2
2
2
658
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt m = A("m") k = B("k") a = A("a") c = A("c") l = A("l") i = A("i") f = B("f") n = A("n") m.p = l k.p = f a.p = c c.p = a l.p = n i.p = n...
f"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt m = A("m") k = B("k") a = A("a") c = A("c") l = A("l") i = A("i") f = B("f") n = A("n") m.p = l k.p = f a.p = c c.p = a l.p = n i.p = n...
8
8
1
0.142857
2
4
1
1
1
5
3
3
2
0.25
2
0.25
4
2
4
2.666667
1
5
5
1
659
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt k = A("k") m = B("m") e = A("e") b = A("b") g = A("g") h = B("h") l = A("l") i = A("i") f = A("f") n = B("n") ...
e"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt k = A("k") m = B("m") e = A("e") b = A("b") g = A("g") h = B("h") l = A("l") i = A("i") f = A("f") n = B("n") ...
10
13
1.3
0.144444
2
5
2
1
1.5
7
2
2
5
0.5
6
0.461538
3
3
4
3.333333
2
4
2
2
660
class A: def __init__(self, txt: str): self.p: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") k = B("k") i = B("i") m = A("m") h = B("h") c = A("c") b = B("b") e.p = c e.q = i k.r = b i.r = k m...
k"
class A: def __init__(self, txt: str): self.p: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt e = A("e") k = B("k") i = B("i") m = A("m") h = B("h") c = A("c") b = B("b") e.p = c e.q = i k.r = b i.r = k m...
7
10
1.428571
0.238095
2
3.5
2
1
1.5
6
3
2
4
0.571429
4
0.4
3
2
4
2.5
2
5
5
1
661
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.o: B = None self.txt = txt e = A("e") k = B("k") d = B("d") a = A("a") b = A("b") i = A("i") n = B("n") h = A("h") l = A("l") f = B("f") ...
i"
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.o: B = None self.txt = txt e = A("e") k = B("k") d = B("d") a = A("a") b = A("b") i = A("i") n = B("n") h = A("h") l = A("l") f = B("f") ...
10
16
1.6
0.177778
2
5
2
1
1.5
8
3
2
4
0.4
7
0.4375
5
2
7
4.285714
2
5
3
2
662
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.txt = txt m = A("m") f = B("f") e = B("e") l = A("l") h = A("h") m.y = l f.q = e e.q = f l.y = h h.y = m assert m.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.q: B = None self.txt = txt m = A("m") f = B("f") e = B("e") l = A("l") h = A("h") m.y = l f.q = e e.q = f l.y = h h.y = m assert m.y.y.y.txt == "m"
5
5
1
0.25
2
2.5
1
1
1
3
2
1
3
0.6
3
0.6
1
3
3
3
1
3
3
1
663
class A: def __init__(self, txt: str): self.q: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.w: B = None self.txt = txt c = A("c") b = B("b") e = B("e") j = B("j") m = B("m") k = A("k") a = A("a") c.q = k ...
b"
class A: def __init__(self, txt: str): self.q: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.w: B = None self.txt = txt c = A("c") b = B("b") e = B("e") j = B("j") m = B("m") k = A("k") a = A("a") c.q = k ...
7
14
2
0.333333
2
3.5
2
2
2
4
2
2
3
0.428571
3
0.214286
2
2
2
2
1
4
4
1
664
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.p: B = None self.y: A = None self.txt = txt h = A("h") j = B("j") f = A("f") m = B("m") n = A("n") a = B("a") k = A("k") l = A("l"...
m"
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.p: B = None self.y: A = None self.txt = txt h = A("h") j = B("j") f = A("f") m = B("m") n = A("n") a = B("a") k = A("k") l = A("l"...
8
16
2
0.285714
2
4
2
2
2
5
2
1
5
0.625
5
0.3125
1
3
3
3
4
2
2
2
665
class A: def __init__(self, txt: str): self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") h = B("h") b = A("b") c = B("c") a = B("a") i.v = b h.x = i b.v = i c.x = i a.x = b assert b.v.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.x: A = None self.txt = txt i = A("i") h = B("h") b = A("b") c = B("c") a = B("a") i.v = b h.x = i b.v = i c.x = i a.x = b assert b.v.v.v.v.v.txt == "i"
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
666
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt m = A("m") k = B("k") b = A("b") h = B("h") a = B("a") l = A("l") i = A("i") f = B("f") n = A("n") e = B("e") ...
m"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.t: A = None self.txt = txt m = A("m") k = B("k") b = A("b") h = B("h") a = B("a") l = A("l") i = A("i") f = B("f") n = A("n") e = B("e") ...
10
15
1.5
0.166667
2
5
2
1
1.5
9
4
3
5
0.5
5
0.333333
5
2
6
3.111111
2
8
8
1
667
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.s: B = None self.txt = txt e = A("e") l = B("l") g = A("g") h = B("h") a = A("a") c = B("c") f = A("f") i = A("i") b = A("b") j = B("j") ...
j"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.s: B = None self.txt = txt e = A("e") l = B("l") g = A("g") h = B("h") a = A("a") c = B("c") f = A("f") i = A("i") b = A("b") j = B("j") ...
10
13
1.3
0.144444
2
5
2
1
1.5
10
4
3
4
0.4
6
0.461538
7
2
8
4.333333
3
5
3
2
668
class A: def __init__(self, txt: str): self.w: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") n = B("n") m = B("m") k = B("k") f = B("f") c = A("c") l = B("l") a = A("a") j.w = a j.s = f n.q = ...
a"
class A: def __init__(self, txt: str): self.w: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt j = A("j") n = B("n") m = B("m") k = B("k") f = B("f") c = A("c") l = B("l") a = A("a") j.w = a j.s = f n.q = ...
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
2
2
2
1
669
class A: def __init__(self, txt: str): self.z: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt n = A("n") b = B("b") g = A("g") l = B("l") n.z = g n.w = b b.z = l g.z = n g.w = b l.z = b assert g.z.w.z.txt...
l"
class A: def __init__(self, txt: str): self.z: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt n = A("n") b = B("b") g = A("g") l = B("l") n.z = g n.w = b b.z = l g.z = n g.w = b l.z = b assert g.z.w.z.txt...
4
6
1.5
0.5
2
2
2
1
1.5
3
1
1
4
1
3
0.5
0
null
null
null
2
2
1
1
670
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.s: B = None self.txt = txt i = A("i") e = B("e") f = B("f") g = B("g") c = B("c") k = B("k") j = B("j") n = A("n") i.x = f e.w = j e.s = ...
j"
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.s: B = None self.txt = txt i = A("i") e = B("e") f = B("f") g = B("g") c = B("c") k = B("k") j = B("j") n = A("n") i.x = f e.w = j e.s = ...
8
13
1.625
0.232143
2
4
2
1
1.5
3
2
1
3
0.375
3
0.230769
1
3
3
3
1
3
3
1
671
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt c = A("c") b = B("b") n = B("n") h = B("h") f = B("f") m = B("m") d = A("d") e = B("e") k = A("k") c.p = k b.v...
k"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.o: A = None self.txt = txt c = A("c") b = B("b") n = B("n") h = B("h") f = B("f") m = B("m") d = A("d") e = B("e") k = A("k") c.p = k b.v...
9
14
1.555556
0.194444
2
4.5
2
1
1.5
4
2
1
4
0.444444
4
0.285714
1
2
2
2
2
3
3
1
672
class A: def __init__(self, txt: str): self.s: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.u: B = None self.txt = txt g = A("g") c = B("c") k = A("k") n = A("n") f = B("f") i = A("i") d = B("d") j = A("j"...
k"
class A: def __init__(self, txt: str): self.s: A = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.u: B = None self.txt = txt g = A("g") c = B("c") k = A("k") n = A("n") f = B("f") i = A("i") d = B("d") j = A("j"...
9
16
1.777778
0.222222
2
4.5
2
2
2
3
1
1
4
0.444444
3
0.1875
0
null
null
null
2
2
2
1
673
class A: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt a = A("a") n = B("n") j = B("j") k = B("k") l = A("l") h = B("h") d = B("d") m = B("m"...
l"
class A: def __init__(self, txt: str): self.u: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.u: A = None self.txt = txt a = A("a") n = B("n") j = B("j") k = B("k") l = A("l") h = B("h") d = B("d") m = B("m"...
9
12
1.333333
0.166667
2
4.5
2
2
2
6
3
2
3
0.333333
4
0.333333
4
2
4
2.666667
2
3
2
2
674
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.v: A = None self.txt = txt m = A("m") e = B("e") c = A("c") m.w = c e.q = c e.v = m c.w = m assert c.w.w.w.txt == "
m"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.v: A = None self.txt = txt m = A("m") e = B("e") c = A("c") m.w = c e.q = c e.v = m c.w = m assert c.w.w.w.txt == "m"
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
1
3
3
1
675
class A: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt k = A("k") i = B("i") f = A("f") k.r = f k.p = i i.s = f i.v = k f.r = k f.p = i asse...
i"
class A: def __init__(self, txt: str): self.r: A = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.v: A = None self.txt = txt k = A("k") i = B("i") f = A("f") k.r = f k.p = i i.s = f i.v = k f.r = k f.p = i asse...
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
2
2
2
2
2
1
1
676
class A: def __init__(self, txt: str): self.r: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt d = A("d") e = B("e") l = A("l") f = B("f") m = A("m") j = A("j") c = A("c") g = A("g") d.r = l d.z = f e.z = ...
e"
class A: def __init__(self, txt: str): self.r: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt d = A("d") e = B("e") l = A("l") f = B("f") m = A("m") j = A("j") c = A("c") g = A("g") d.r = l d.z = f e.z = ...
8
14
1.75
0.25
2
4
2
1
1.5
4
1
1
5
0.625
4
0.285714
0
null
null
null
2
2
2
1
677
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt c = A("c") h = B("h") i = B("i") d = B("d") e = B("e") b = B("b") g = B("g") n = B("n") m = B("m") c.x = i c.u...
c"
class A: def __init__(self, txt: str): self.x: B = None self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt c = A("c") h = B("h") i = B("i") d = B("d") e = B("e") b = B("b") g = B("g") n = B("n") m = B("m") c.x = i c.u...
9
9
1
0.125
2
4.5
2
1
1.5
6
4
3
2
0.222222
2
0.222222
5
2
6
3.111111
2
3
1
1
678
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.p: A = None self.txt = txt h = A("h") b = B("b") a = A("a") n = B("n") e = B("e") k = B("k") j = B("j") l = A("l") h.p = l b.z = e b.p = ...
h"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.p: A = None self.txt = txt h = A("h") b = B("b") a = A("a") n = B("n") e = B("e") k = B("k") j = B("j") l = A("l") h.p = l b.z = e b.p = ...
8
13
1.625
0.232143
2
4
2
1
1.5
3
2
1
3
0.375
3
0.230769
1
2
2
2
1
3
3
1
679
class A: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt b = A("b") h = B("h") a = A("a") j = A("j") f = B("f") m = A("m") b.w = h b.t = h h.o = a a.w = f a.t = f j.w ...
h"
class A: def __init__(self, txt: str): self.w: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt b = A("b") h = B("h") a = A("a") j = A("j") f = B("f") m = A("m") b.w = h b.t = h h.o = a a.w = f a.t = f j.w ...
6
6
1
0.2
2
3
2
1
1.5
3
1
1
4
0.666667
3
0.5
0
null
null
null
3
1
1
1
680
class A: def __init__(self, txt: str): self.p: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt g = A("g") l = B("l") c = A("c") h = B("h") m = B("m") j = A("j") a = B("a") n = B("n"...
n"
class A: def __init__(self, txt: str): self.p: B = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt g = A("g") l = B("l") c = A("c") h = B("h") m = B("m") j = A("j") a = B("a") n = B("n"...
8
16
2
0.285714
2
4
2
2
2
8
3
3
5
0.625
5
0.3125
4
2
4
2.666667
3
5
5
2
681
class A: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt n = A("n") m = B("m") f = B("f") l = B("l") h = A("h") b = B("b") a = B("a") j = A("j") n.w = j n.u = h m.q = ...
h"
class A: def __init__(self, txt: str): self.w: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt n = A("n") m = B("m") f = B("f") l = B("l") h = A("h") b = B("b") a = B("a") j = A("j") n.w = j n.u = h m.q = ...
8
9
1.125
0.160714
2
4
2
1
1.5
3
2
1
3
0.375
3
0.333333
1
2
2
2
3
1
1
1
682
class A: def __init__(self, txt: str): self.q: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt j = A("j") m = B("m") f = A("f") h = A("h") g = A("g") l = B("l") a = A("a") j.q = m j.x = f m.u = h f.q = l f...
h"
class A: def __init__(self, txt: str): self.q: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt j = A("j") m = B("m") f = A("f") h = A("h") g = A("g") l = B("l") a = A("a") j.q = m j.x = f m.u = h f.q = l f...
7
12
1.714286
0.285714
2
3.5
2
1
1.5
3
1
1
4
0.571429
3
0.25
0
null
null
null
2
2
1
1
683
class A: def __init__(self, txt: str): self.p: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt j = A("j") l = B("l") e = B("e") b = A("b") j.p = e j.x = b l.x = e l.u = b e.x = l e...
e"
class A: def __init__(self, txt: str): self.p: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt j = A("j") l = B("l") e = B("e") b = A("b") j.p = e j.x = b l.x = e l.u = b e.x = l e...
4
8
2
0.666667
2
2
2
2
2
4
2
1
4
1
4
0.5
1
4
4
4
3
2
1
1
684
class A: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt j = A("j") c = B("c") b = B("b") i = A("i") e = B("e") g = B("g") k = B("k") l = B("l"...
g"
class A: def __init__(self, txt: str): self.s: B = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt j = A("j") c = B("c") b = B("b") i = A("i") e = B("e") g = B("g") k = B("k") l = B("l"...
9
18
2
0.25
2
4.5
2
2
2
4
1
1
5
0.555556
4
0.222222
0
null
null
null
3
2
1
1
685
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt k = A("k") c = B("c") j = A("j") g = B("g") f = A("f") b = B("b") h = B("h") i = B("i") k.r = f c.x = j j.r = k g.x = k f.r = j b.x = f...
k"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt k = A("k") c = B("c") j = A("j") g = B("g") f = A("f") b = B("b") h = B("h") i = B("i") k.r = f c.x = j j.r = k g.x = k f.r = j b.x = f...
8
8
1
0.142857
2
4
1
1
1
8
3
3
4
0.5
4
0.5
5
3
6
3.857143
2
7
7
1
686
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.p: A = None self.txt = txt c = A("c") h = B("h") j = B("j") a = B("a") m = A("m") d = B("d") l = A("l") c.q = m h.s = j h.p = l j.s = h j...
c"
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.p: A = None self.txt = txt c = A("c") h = B("h") j = B("j") a = B("a") m = A("m") d = B("d") l = A("l") c.q = m h.s = j h.p = l j.s = h j...
7
11
1.571429
0.261905
2
3.5
2
1
1.5
7
4
3
3
0.428571
3
0.272727
5
2
6
3.111111
1
7
7
1
687
class A: def __init__(self, txt: str): self.t: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt g = A("g") j = B("j") i = A("i") k = B("k") e = A("e") l = A("l") b = B("b") d = B("d") h = A("h") c = B("c") ...
h"
class A: def __init__(self, txt: str): self.t: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.txt = txt g = A("g") j = B("j") i = A("i") k = B("k") e = A("e") l = A("l") b = B("b") d = B("d") h = A("h") c = B("c") ...
10
15
1.5
0.166667
2
5
2
1
1.5
8
2
2
5
0.5
6
0.4
4
2
2
2
3
6
3
2
688
class A: def __init__(self, txt: str): self.p: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt i = A("i") g = B("g") j = A("j") a = B("a") f = B("f") d = A("d") m = B("m") h = A("h") b = A("b") l = B("l") ...
f"
class A: def __init__(self, txt: str): self.p: A = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt i = A("i") g = B("g") j = A("j") a = B("a") f = B("f") d = A("d") m = B("m") h = A("h") b = A("b") l = B("l") ...
10
15
1.5
0.166667
2
5
2
1
1.5
10
4
4
3
0.3
3
0.2
8
3
9
4.8
1
10
10
1
689
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt b = A("b") j = B("j") n = A("n") b.t = j b.x = n j.o = n n.t = j n.x = b assert j.o.x.t.txt == "
j"
class A: def __init__(self, txt: str): self.t: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt b = A("b") j = B("j") n = A("n") b.t = j b.x = n j.o = n n.t = j n.x = b assert j.o.x.t.txt == "j"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
3
3
3
3
1
1
1
690
class A: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") g = B("g") e = B("e") k = B("k") b = A("b") m = B("m") f.y = k f.v = m g.p = f e.p = b k.p = b b.y ...
m"
class A: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") g = B("g") e = B("e") k = B("k") b = A("b") m = B("m") f.y = k f.v = m g.p = f e.p = b k.p = b b.y ...
6
8
1.333333
0.266667
2
3
2
1
1.5
6
4
3
2
0.333333
2
0.25
5
2
6
3.111111
2
3
1
1
691
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.o: A = None self.u: B = None self.txt = txt n = A("n") h = B("h") g = A("g") b = A("b") i = B("i") j = A("j") k = B("k") c = A("c"...
i"
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.o: A = None self.u: B = None self.txt = txt n = A("n") h = B("h") g = A("g") b = A("b") i = B("i") j = A("j") k = B("k") c = A("c"...
8
14
1.75
0.25
2
4
2
2
2
4
2
1
3
0.375
4
0.285714
2
2
3
2.5
3
2
2
2
692
class A: def __init__(self, txt: str): self.z: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt e = A("e") h = B("h") f = B("f") k = B("k") l = A("l") m = B("m") a = A("a") n = A("n") e.z = f e.t = n h.z = ...
k"
class A: def __init__(self, txt: str): self.z: B = None self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt e = A("e") h = B("h") f = B("f") k = B("k") l = A("l") m = B("m") a = A("a") n = A("n") e.z = f e.t = n h.z = ...
8
12
1.5
0.214286
2
4
2
1
1.5
7
3
2
3
0.375
5
0.416667
5
2
7
3.857143
2
4
2
2
693
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.txt = txt j = A("j") n = B("n") f = A("f") j.x = n n.t = j f.x = n assert j.x.t.x.txt == "
n"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt j = A("j") n = B("n") f = A("f") j.x = n n.t = j f.x = n assert j.x.t.x.txt == "n"
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
694
class A: def __init__(self, txt: str): self.w: 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") d = B("d") k = B("k") b = B("b") f = B("f") m = A("m") n.w = b d.z = n d.p = n k.z = n k.p = m b.z ...
b"
class A: def __init__(self, txt: str): self.w: 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") d = B("d") k = B("k") b = B("b") f = B("f") m = A("m") n.w = b d.z = n d.p = n k.z = n k.p = m b.z ...
6
8
1.333333
0.266667
2
3
2
1
1.5
6
2
2
4
0.666667
5
0.625
3
2
2
2
3
3
1
2
695
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt i = A("i") f = B("f") d = A("d") b = A("b") k = B("k") i.u = f f.u = b d.u = k b.u = k k.u = b assert b.u.u.u.u.u.txt == "
k"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt i = A("i") f = B("f") d = A("d") b = A("b") k = B("k") i.u = f f.u = b d.u = k b.u = k k.u = b assert b.u.u.u.u.u.txt == "k"
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
696
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.v: A = None self.txt = txt k = A("k") h = B("h") f = A("f") k.s = f h.p = k h.v = k f.s = k assert k.s.s.s.txt == "
f"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.v: A = None self.txt = txt k = A("k") h = B("h") f = A("f") k.s = f h.p = k h.v = k f.s = k assert k.s.s.s.txt == "f"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
697
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.t: A = None self.txt = txt j = A("j") i = B("i") h = A("h") j.p = i i.x = j i.t = j h.p = i assert h.p.x.p.txt == "
i"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.t: A = None self.txt = txt j = A("j") i = B("i") h = A("h") j.p = i i.x = j i.t = j h.p = i assert h.p.x.p.txt == "i"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
2
2
1
1
698
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") f = B("f") d = B("d") l.v = f l.t = d f.v = d d.v = f assert d.v.v.v.txt == "
f"
class A: def __init__(self, txt: str): self.v: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt l = A("l") f = B("f") d = B("d") l.v = f l.t = d f.v = d d.v = f assert d.v.v.v.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
1
3
3
1
699
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.t: B = None self.txt = txt h = A("h") n = B("n") j = B("j") m = A("m") c = A("c") h.r = c n.w = m n.t = j j.w = h j.t = n m.r = c c.r = m...
m"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.t: B = None self.txt = txt h = A("h") n = B("n") j = B("j") m = A("m") c = A("c") h.r = c n.w = m n.t = j j.w = h j.t = n m.r = c c.r = m...
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