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
300
class A: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") h = B("h") l = B("l") n = A("n") k.w = h k.p = h h.w = n l.w = n n.w = h n.p = h assert h.w.w.w.p.t...
h"
class A: def __init__(self, txt: str): self.w: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt k = A("k") h = B("h") l = B("l") n = A("n") k.w = h k.p = h h.w = n l.w = n n.w = h n.p = h assert h.w.w.w.p.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
2
3
3
2
301
class A: def __init__(self, txt: str): self.s: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt k = A("k") m = B("m") j = A("j") a = B("a") g = A("g") l = A("l") f = B("f") h = B("h"...
e"
class A: def __init__(self, txt: str): self.s: A = None self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.s: B = None self.txt = txt k = A("k") m = B("m") j = A("j") a = B("a") g = A("g") l = A("l") f = B("f") h = B("h"...
10
18
1.8
0.2
2
5
2
2
2
5
2
2
4
0.4
4
0.222222
2
2
2
2
2
3
2
1
302
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt n = A("n") g = B("g") j = A("j") d = B("d") i = B("i") e = B("e") c = B("c") b = A("b") n.q = i g.w = d j.q = d d.w = e i.w = g e.w = d...
e"
class A: def __init__(self, txt: str): self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt n = A("n") g = B("g") j = A("j") d = B("d") i = B("i") e = B("e") c = B("c") b = A("b") n.q = i g.w = d j.q = d d.w = e i.w = g e.w = d...
8
8
1
0.142857
2
4
1
1
1
6
2
2
5
0.625
5
0.625
2
2
2
2
2
5
5
1
303
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt f = A("f") c = B("c") i = A("i") d = A("d") b = B("b") e = A("e") h = B("h") k = B("k") f.r = i c.u = f i.r = e d.r = f b.u = i e.r = d...
e"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt f = A("f") c = B("c") i = A("i") d = A("d") b = B("b") e = A("e") h = B("h") k = B("k") f.r = i c.u = f i.r = e d.r = f b.u = i e.r = d...
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
304
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.w: A = None self.txt = txt m = A("m") c = B("c") e = B("e") i = A("i") n = B("n") m.o = n m.w = n c.w = i e.w = i i.o = c i.w = c n.w = i...
i"
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.w: A = None self.txt = txt m = A("m") c = B("c") e = B("e") i = A("i") n = B("n") m.o = n m.w = n c.w = i e.w = i i.o = c i.w = c n.w = i...
5
5
1
0.25
2
2.5
2
1
1.5
5
3
2
3
0.6
3
0.6
3
2
4
2.5
1
5
5
1
305
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt n = A("n") k = B("k") l = A("l") d = A("d") n.u = k k.w = l l.u = k d.u = k assert k.w.u.w.txt == "
l"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.txt = txt n = A("n") k = B("k") l = A("l") d = A("d") n.u = k k.w = l l.u = k d.u = k assert k.w.u.w.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
2
2
1
1
306
class A: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt e = A("e") m = B("m") b = A("b") i = A("i") f = B("f") d = B("d") c = A("c") e.z = c ...
f"
class A: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.o: A = None self.txt = txt e = A("e") m = B("m") b = A("b") i = A("i") f = B("f") d = B("d") c = A("c") e.z = c ...
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
2
2
307
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt n = A("n") d = B("d") h = A("h") n.w = d d.x = n h.w = d assert h.w.x.w.txt == "
d"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt n = A("n") d = B("d") h = A("h") n.w = d d.x = n h.w = d assert h.w.x.w.txt == "d"
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
308
class A: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt j = A("j") l = B("l") m = A("m") f = B("f") n = A("n") a = A("a") i = A("i") h = A("h"...
a"
class A: def __init__(self, txt: str): self.t: A = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt j = A("j") l = B("l") m = A("m") f = B("f") n = A("n") a = A("a") i = A("i") h = A("h"...
8
16
2
0.285714
2
4
2
2
2
3
1
1
4
0.5
3
0.1875
0
null
null
null
3
1
1
1
309
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt d = A("d") i = B("i") g = B("g") f = A("f") c = A("c") d.s = g i.o = g g.o = i f.s = i c.s = g assert d.s.o.o.o.txt == "
i"
class A: def __init__(self, txt: str): self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.txt = txt d = A("d") i = B("i") g = B("g") f = A("f") c = A("c") d.s = g i.o = g g.o = i f.s = i c.s = g assert d.s.o.o.o.txt == "i"
5
5
1
0.25
2
2.5
1
1
1
4
2
2
3
0.6
3
0.6
2
2
2
2
2
3
3
1
310
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") n = B("n") l = B("l") h = B("h") m = A("m") f = A("f") a = B("a") j = A("j") k = A("k") g.s = m n.p = f l.p = m h.p = k m.s ...
m"
class A: def __init__(self, txt: str): self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt g = A("g") n = B("n") l = B("l") h = B("h") m = A("m") f = A("f") a = B("a") j = A("j") k = A("k") g.s = m n.p = f l.p = m h.p = k m.s ...
9
9
1
0.125
2
4.5
1
1
1
5
2
2
4
0.444444
4
0.444444
2
2
2
2
2
4
4
1
311
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.q: B = None self.y: A = None self.txt = txt j = A("j") d = B("d") h = A("h") a = A("a") g = B("g") i = B("i") n = A("n") j.y = g ...
g"
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.q: B = None self.y: A = None self.txt = txt j = A("j") d = B("d") h = A("h") a = A("a") g = B("g") i = B("i") n = A("n") j.y = g ...
7
14
2
0.333333
2
3.5
2
2
2
7
3
2
3
0.428571
4
0.285714
5
2
5
3.571429
2
4
3
2
312
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.q: A = None self.txt = txt c = A("c") m = B("m") i = B("i") c.w = i m.s = c m.q = c i.s = c i.q = c assert m.q.w.s.txt == "
c"
class A: def __init__(self, txt: str): self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.q: A = None self.txt = txt c = A("c") m = B("m") i = B("i") c.w = i m.s = c m.q = c i.s = c i.q = c assert m.q.w.s.txt == "c"
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
313
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt h = A("h") d = B("d") m = A("m") b = B("b") a = B("a") e = A("e") f = A("f") j = A("j") l = B("l") h.r = m d.x = b m.r = h b.x = a a.x ...
m"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt h = A("h") d = B("d") m = A("m") b = B("b") a = B("a") e = A("e") f = A("f") j = A("j") l = B("l") h.r = m d.x = b m.r = h b.x = a a.x ...
9
9
1
0.125
2
4.5
1
1
1
9
5
5
2
0.222222
2
0.222222
8
2
8
4
1
9
9
1
314
class A: def __init__(self, txt: str): self.x: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt d = A("d") l = B("l") k = B("k") b = A("b") n = B("n") c = A("c") h = A("h") d.x = l ...
d"
class A: def __init__(self, txt: str): self.x: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.y: A = None self.txt = txt d = A("d") l = B("l") k = B("k") b = A("b") n = B("n") c = A("c") h = A("h") d.x = l ...
7
12
1.714286
0.285714
2
3.5
2
2
2
5
3
1
4
0.571429
5
0.416667
2
2
5
3.333333
2
3
3
2
315
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt i = A("i") n = B("n") f = A("f") g = A("g") b = A("b") l = B("l") i.v = n i.x = g n.y = b f.v = n f.x = g g.v ...
b"
class A: def __init__(self, txt: str): self.v: B = None self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt i = A("i") n = B("n") f = A("f") g = A("g") b = A("b") l = B("l") i.v = n i.x = g n.y = b f.v = n f.x = g g.v ...
6
10
1.666667
0.333333
2
3
2
1
1.5
4
2
1
4
0.666667
4
0.4
1
2
2
2
3
2
2
2
316
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.x: B = None self.q: A = None self.txt = txt l = A("l") n = B("n") e = B("e") h = B("h") m = A("m") l.y = m l.z = m n.x = e n.q = ...
l"
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.x: B = None self.q: A = None self.txt = txt l = A("l") n = B("n") e = B("e") h = B("h") m = A("m") l.y = m l.z = m n.x = e n.q = ...
5
8
1.6
0.4
2
2.5
2
2
2
3
1
1
4
0.8
3
0.375
0
null
null
null
3
1
1
1
317
class A: def __init__(self, txt: str): self.w: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt d = A("d") j = B("j") b = A("b") i = B("i") d.w = b d.x = i j.r = d j.q = d b.w = d b...
b"
class A: def __init__(self, txt: str): self.w: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.q: A = None self.txt = txt d = A("d") j = B("j") b = A("b") i = B("i") d.w = b d.x = i j.r = d j.q = d b.w = d b...
4
6
1.5
0.5
2
2
2
2
2
3
2
1
3
0.75
3
0.5
1
2
2
2
2
2
2
1
318
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.z: A = None self.txt = txt f = A("f") n = B("n") i = B("i") j = B("j") d = B("d") a = A("a") l = A("l") m = A("m") f.p = i n.t = i n.z = ...
n"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.z: A = None self.txt = txt f = A("f") n = B("n") i = B("i") j = B("j") d = B("d") a = A("a") l = A("l") m = A("m") f.p = i n.t = i n.z = ...
8
12
1.5
0.214286
2
4
2
1
1.5
4
2
1
4
0.5
4
0.333333
1
2
2
2
1
4
4
1
319
class A: def __init__(self, txt: str): self.p: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") a = B("a") k = B("k") c.p = k c.v = k a.o = c k.o = c assert a.o.v.o.txt == "
c"
class A: def __init__(self, txt: str): self.p: B = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: A = None self.txt = txt c = A("c") a = B("a") k = B("k") c.p = k c.v = k a.o = c k.o = c assert a.o.v.o.txt == "c"
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
320
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt i = A("i") m = B("m") g = B("g") j = A("j") b = A("b") c = A("c") e = A("e") f = A("f") k = A("k") i.q = f m.u...
k"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.r: A = None self.txt = txt i = A("i") m = B("m") g = B("g") j = A("j") b = A("b") c = A("c") e = A("e") f = A("f") k = A("k") i.q = f m.u...
9
11
1.222222
0.152778
2
4.5
2
1
1.5
7
3
3
4
0.444444
4
0.363636
4
2
4
2.666667
1
7
7
1
321
class A: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt e = A("e") d = B("d") g = B("g") a = B("a") n = A("n") k = A("k") f = A("f") l = B("l") e.y = d e.p = g d.u = ...
l"
class A: def __init__(self, txt: str): self.y: B = None self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt e = A("e") d = B("d") g = B("g") a = B("a") n = A("n") k = A("k") f = A("f") l = B("l") e.y = d e.p = g d.u = ...
8
11
1.375
0.196429
2
4
2
1
1.5
7
4
2
3
0.375
4
0.363636
5
2
6
3.5
3
3
1
2
322
class A: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.z: B = None self.txt = txt i = A("i") n = B("n") m = B("m") c = B("c") a = A("a") e = A("e") k = A("k") j = A("j"...
k"
class A: def __init__(self, txt: str): self.o: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.z: B = None self.txt = txt i = A("i") n = B("n") m = B("m") c = B("c") a = A("a") e = A("e") k = A("k") j = A("j"...
9
18
2
0.25
2
4.5
2
2
2
4
2
2
3
0.333333
3
0.166667
2
2
2
2
3
2
1
2
323
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") c = B("c") g = B("g") e = A("e") h = A("h") a = B("a") k = B("k") n = B("n") f.r = h c.p = h g.p = f e.r = h h.r = e a.p = e...
e"
class A: def __init__(self, txt: str): self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt f = A("f") c = B("c") g = B("g") e = A("e") h = A("h") a = B("a") k = B("k") n = B("n") f.r = h c.p = h g.p = f e.r = h h.r = e a.p = e...
8
8
1
0.142857
2
4
1
1
1
3
2
1
3
0.375
3
0.375
1
2
2
2
2
2
2
1
324
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.r: B = None self.txt = txt e = A("e") n = B("n") k = A("k") j = B("j") f = A("f") g = B("g") b = A("b") e.y = n n.o = g n.r = j k.y = j j...
j"
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.r: B = None self.txt = txt e = A("e") n = B("n") k = A("k") j = B("j") f = A("f") g = B("g") b = A("b") e.y = n n.o = g n.r = j k.y = j j...
7
9
1.285714
0.214286
2
3.5
2
1
1.5
7
4
3
3
0.428571
3
0.333333
5
2
6
3.111111
2
6
6
1
325
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.z: A = None self.txt = txt d = A("d") c = B("c") g = A("g") j = A("j") n = A("n") e = A("e") m = B("m") d.u = g d.t = g c.z = d g.u = j g...
d"
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.z: A = None self.txt = txt d = A("d") c = B("c") g = A("g") j = A("j") n = A("n") e = A("e") m = B("m") d.u = g d.t = g c.z = d g.u = j g...
7
10
1.428571
0.238095
2
3.5
2
1
1.5
5
2
1
5
0.714286
5
0.5
1
4
4
4
2
4
4
1
326
class A: def __init__(self, txt: str): self.z: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt e = A("e") k = B("k") b = B("b") n = B("n") i = B("i") e.z = n e.t = b k.x = n k.w = ...
i"
class A: def __init__(self, txt: str): self.z: B = None self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.w: B = None self.txt = txt e = A("e") k = B("k") b = B("b") n = B("n") i = B("i") e.z = n e.t = b k.x = n k.w = ...
5
9
1.8
0.45
2
2.5
2
2
2
5
2
2
4
0.8
4
0.444444
2
2
2
2
2
3
2
1
327
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt i = A("i") k = B("k") j = B("j") e = B("e") m = A("m") f = A("f") d = A("d") a = A("a") l = B("l") c = A("c") i.q = m k.p = j j.p = l e...
j"
class A: def __init__(self, txt: str): self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt i = A("i") k = B("k") j = B("j") e = B("e") m = A("m") f = A("f") d = A("d") a = A("a") l = B("l") c = A("c") i.q = m k.p = j j.p = l e...
10
10
1
0.111111
2
5
1
1
1
7
3
3
3
0.3
3
0.3
5
3
6
3.857143
1
7
7
1
328
class A: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt a = A("a") k = B("k") d = B("d") b = B("b") j = B("j") l = A("l") n = A("n") f = B("f"...
d"
class A: def __init__(self, txt: str): self.t: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.w: B = None self.txt = txt a = A("a") k = B("k") d = B("d") b = B("b") j = B("j") l = A("l") n = A("n") f = B("f"...
9
15
1.666667
0.208333
2
4.5
2
2
2
3
1
1
4
0.444444
3
0.2
0
null
null
null
2
2
2
1
329
class A: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") m = B("m") c = B("c") e = A("e") d = B("d") l = A("l") j = A("j") i.t = e i.v = c m.x = e c.x = i e...
e"
class A: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.txt = txt i = A("i") m = B("m") c = B("c") e = A("e") d = B("d") l = A("l") j = A("j") i.t = e i.v = c m.x = e c.x = i e...
7
11
1.571429
0.261905
2
3.5
2
1
1.5
3
2
2
2
0.285714
2
0.181818
2
2
2
2
2
2
1
1
330
class A: def __init__(self, txt: str): self.v: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt g = A("g") e = B("e") l = A("l") d = B("d") j = B("j") c = B("c") n = B("n") a = B("a") k = B("k") f = B("f") ...
j"
class A: def __init__(self, txt: str): self.v: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt g = A("g") e = B("e") l = A("l") d = B("d") j = B("j") c = B("c") n = B("n") a = B("a") k = B("k") f = B("f") ...
10
12
1.2
0.133333
2
5
2
1
1.5
9
5
4
3
0.3
3
0.25
7
2
8
3.75
1
9
9
1
331
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt b = A("b") l = B("l") g = A("g") m = A("m") b.x = g l.w = b l.q = m g.x = m m.x = b assert l.w.x.x.x.txt == "
b"
class A: def __init__(self, txt: str): self.x: A = None self.txt = txt class B: def __init__(self, txt: str): self.w: A = None self.q: A = None self.txt = txt b = A("b") l = B("l") g = A("g") m = A("m") b.x = g l.w = b l.q = m g.x = m m.x = b assert l.w.x.x.x.txt == "b...
4
5
1.25
0.416667
2
2
2
1
1.5
4
2
1
4
1
4
0.8
1
3
3
3
2
3
3
1
332
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt n = A("n") b = B("b") e = B("e") k = A("k") n.y = k b.u = n e.u = n k.y = n assert n.y.y.y.txt == "
k"
class A: def __init__(self, txt: str): self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt n = A("n") b = B("b") e = B("e") k = A("k") n.y = k b.u = n e.u = n k.y = n assert n.y.y.y.txt == "k"
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
333
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.r: A = None self.p: A = None self.txt = txt k = A("k") h = B("h") f = B("f") b = A("b") g = B("g") d = A("d") e = A("e") n = B("n"...
g"
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.r: A = None self.p: A = None self.txt = txt k = A("k") h = B("h") f = B("f") b = A("b") g = B("g") d = A("d") e = A("e") n = B("n"...
8
14
1.75
0.25
2
4
2
2
2
8
2
2
5
0.625
7
0.5
4
2
4
3.5
3
4
1
2
334
class A: def __init__(self, txt: str): self.r: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt n = A("n") e = B("e") d = A("d") k = B("k") g = A("g") i = A("i") m = B("m") n.r = d n.s = i e.p = k d.r = n d...
e"
class A: def __init__(self, txt: str): self.r: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt n = A("n") e = B("e") d = A("d") k = B("k") g = A("g") i = A("i") m = B("m") n.r = d n.s = i e.p = k d.r = n d...
7
10
1.428571
0.238095
2
3.5
2
1
1.5
7
4
3
3
0.428571
3
0.3
5
2
6
3.111111
1
7
7
1
335
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.v: A = None self.w: B = None self.txt = txt m = A("m") b = B("b") i = B("i") d = A("d") c = B("c") j = A("j") g = B("g") h = B("h"...
m"
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.v: A = None self.w: B = None self.txt = txt m = A("m") b = B("b") i = B("i") d = A("d") c = B("c") j = A("j") g = B("g") h = B("h"...
9
18
2
0.25
2
4.5
2
2
2
9
3
2
6
0.666667
7
0.388889
4
2
7
5.6
4
4
2
2
336
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.x: B = None self.txt = txt d = A("d") m = B("m") g = A("g") l = B("l") k = A("k") d.w = l d.x = l m.x = l g.w = l g.x = l l.x = m k.w = l...
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.x: B = None self.txt = txt d = A("d") m = B("m") g = A("g") l = B("l") k = A("k") d.w = l d.x = l m.x = l g.w = l g.x = l l.x = m k.w = l...
5
6
1.2
0.3
2
2.5
2
1
1.5
4
2
2
3
0.6
3
0.5
2
2
2
2
1
4
4
1
337
class A: def __init__(self, txt: str): self.z: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt n = A("n") d = B("d") f = B("f") h = A("h") m = A("m") e = B("e") n.z = h n.o = h d.p...
n"
class A: def __init__(self, txt: str): self.z: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.w: A = None self.txt = txt n = A("n") d = B("d") f = B("f") h = A("h") m = A("m") e = B("e") n.z = h n.o = h d.p...
6
10
1.666667
0.333333
2
3
2
2
2
3
2
1
3
0.5
3
0.3
1
2
2
2
3
1
1
1
338
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") b = B("b") h = B("h") e = B("e") f = B("f") d = A("d") m = B("m") i = A("i") c.p = b b.z = m h.z = e e.z = f f.z = m d.p = b...
f"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt c = A("c") b = B("b") h = B("h") e = B("e") f = B("f") d = A("d") m = B("m") i = A("i") c.p = b b.z = m h.z = e e.z = f f.z = m d.p = b...
8
8
1
0.142857
2
4
1
1
1
4
1
1
5
0.625
4
0.5
0
null
null
null
2
3
3
1
339
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.p: A = None self.txt = txt d = A("d") b = B("b") g = A("g") k = B("k") d.u = b b.x = k b.p = d g.u = b k.x = b k.p = d assert k.x.x.p.txt...
d"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.p: A = None self.txt = txt d = A("d") b = B("b") g = A("g") k = B("k") d.u = b b.x = k b.p = d g.u = b k.x = b k.p = d assert k.x.x.p.txt...
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
340
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt b = A("b") c = B("c") i = A("i") a = A("a") m = B("m") l = B("l") k = B("k") e = A("e") d = A("d") b.t = m c.p = a i.t = l a.t = c m.p ...
a"
class A: def __init__(self, txt: str): self.t: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt b = A("b") c = B("c") i = A("i") a = A("a") m = B("m") l = B("l") k = B("k") e = A("e") d = A("d") b.t = m c.p = a i.t = l a.t = c m.p ...
9
9
1
0.125
2
4.5
1
1
1
8
3
3
5
0.555556
5
0.555556
4
2
4
2.666667
2
4
1
1
341
class A: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt l = A("l") c = B("c") m = A("m") n = B("n") k = B("k") i = A("i") d = B("d") g = A("g") a = B("a") l.o = n l.r...
g"
class A: def __init__(self, txt: str): self.o: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt l = A("l") c = B("c") m = A("m") n = B("n") k = B("k") i = A("i") d = B("d") g = A("g") a = B("a") l.o = n l.r...
9
13
1.444444
0.180556
2
4.5
2
1
1.5
3
1
1
4
0.444444
3
0.230769
0
null
null
null
2
2
2
1
342
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt f = A("f") l = B("l") m = A("m") h = B("h") f.u = m l.p = h l.o = h m.u = f h.p = l h.o = l assert m.u.u.u.txt...
f"
class A: def __init__(self, txt: str): self.u: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.o: B = None self.txt = txt f = A("f") l = B("l") m = A("m") h = B("h") f.u = m l.p = h l.o = h m.u = f h.p = l h.o = l assert m.u.u.u.txt...
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
343
class A: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt b = A("b") e = B("e") h = A("h") b.r = h b.w = e e.y = h h.r = b h.w = e assert e.y.w.y.txt == "
h"
class A: def __init__(self, txt: str): self.r: A = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt b = A("b") e = B("e") h = A("h") b.r = h b.w = e e.y = h h.r = b h.w = e assert e.y.w.y.txt == "h"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.4
2
2
2
2
2
2
1
1
344
class A: def __init__(self, txt: str): self.v: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.x: A = None self.txt = txt l = A("l") c = B("c") b = B("b") e = A("e") h = A("h") g = A("g") i = B("i") l.v = g ...
l"
class A: def __init__(self, txt: str): self.v: A = None self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.x: A = None self.txt = txt l = A("l") c = B("c") b = B("b") e = A("e") h = A("h") g = A("g") i = B("i") l.v = g ...
7
13
1.857143
0.309524
2
3.5
2
2
2
5
2
2
3
0.428571
3
0.230769
3
3
3
3
2
4
2
1
345
class A: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt k = A("k") c = B("c") j = A("j") l = A("l") k.u = l k.r = l c.y = j j.u = k j.r = k l.u = k l.r = k assert c.y...
k"
class A: def __init__(self, txt: str): self.u: A = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: A = None self.txt = txt k = A("k") c = B("c") j = A("j") l = A("l") k.u = l k.r = l c.y = j j.u = k j.r = k l.u = k l.r = k assert c.y...
4
4
1
0.333333
2
2
2
1
1.5
4
2
1
4
1
4
1
1
2
2
2
3
2
2
1
346
class A: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.q: A = None self.txt = txt a = A("a") c = B("c") b = A("b") d = A("d") h = B("h") l = B("l") i = B("i") j = B("j"...
l"
class A: def __init__(self, txt: str): self.t: A = None self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.q: A = None self.txt = txt a = A("a") c = B("c") b = A("b") d = A("d") h = B("h") l = B("l") i = B("i") j = B("j"...
9
18
2
0.25
2
4.5
2
2
2
6
2
2
4
0.444444
5
0.277778
3
2
2
2
2
5
3
2
347
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.z: A = None self.txt = txt j = A("j") b = B("b") a = B("a") k = A("k") j.t = k b.s = a b.z = j a.s = b a.z = j k.t = j assert b.s.z.t.txt...
k"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.z: A = None self.txt = txt j = A("j") b = B("b") a = B("a") k = A("k") j.t = k b.s = a b.z = j a.s = b a.z = j k.t = j assert b.s.z.t.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
3
1
1
1
348
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.q: A = None self.txt = txt e = A("e") f = B("f") b = A("b") k = A("k") g = A("g") l = A("l") i = B("i") e.r = f f.t = i f.q = k b.r = i k...
i"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: B = None self.q: A = None self.txt = txt e = A("e") f = B("f") b = A("b") k = A("k") g = A("g") l = A("l") i = B("i") e.r = f f.t = i f.q = k b.r = i k...
7
9
1.285714
0.214286
2
3.5
2
1
1.5
5
2
1
4
0.571429
5
0.555556
2
3
4
3.5
3
2
1
2
349
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt b = A("b") e = B("e") c = B("c") b.z = c e.y = c c.y = e assert e.y.y.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt b = A("b") e = B("e") c = B("c") b.z = c e.y = c c.y = e assert e.y.y.y.txt == "c"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
350
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.x: A = None self.txt = txt d = A("d") a = B("a") j = B("j") l = A("l") h = B("h") n = A("n") g = B("g") d.p = g a.o = j a.x = n j.o = a j...
n"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.o: B = None self.x: A = None self.txt = txt d = A("d") a = B("a") j = B("j") l = A("l") h = B("h") n = A("n") g = B("g") d.p = g a.o = j a.x = n j.o = a j...
7
11
1.571429
0.261905
2
3.5
2
1
1.5
5
2
1
4
0.571429
5
0.454545
2
2
2
2
3
2
2
2
351
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.t: B = None self.txt = txt e = A("e") g = B("g") a = B("a") e.u = a g.s = a g.t = a a.s = g a.t = g assert e.u.t.t.txt == "
a"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.t: B = None self.txt = txt e = A("e") g = B("g") a = B("a") e.u = a g.s = a g.t = a a.s = g a.t = g assert e.u.t.t.txt == "a"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
352
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt i = A("i") n = B("n") j = A("j") d = B("d") a = A("a") m = A("m") c = A("c") h = A("h") i.p = a n.u = d n.x = ...
h"
class A: def __init__(self, txt: str): self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.x: A = None self.txt = txt i = A("i") n = B("n") j = A("j") d = B("d") a = A("a") m = A("m") c = A("c") h = A("h") i.p = a n.u = d n.x = ...
8
10
1.25
0.178571
2
4
2
1
1.5
3
2
2
2
0.25
2
0.2
2
2
2
2
1
3
3
1
353
class A: def __init__(self, txt: str): self.w: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") c = B("c") a = A("a") h = A("h") j = A("j") n = B("n") l = A("l") d = B("d") b = A("b") i = B("i") ...
d"
class A: def __init__(self, txt: str): self.w: B = None self.r: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt f = A("f") c = B("c") a = A("a") h = A("h") j = A("j") n = B("n") l = A("l") d = B("d") b = A("b") i = B("i") ...
10
16
1.6
0.177778
2
5
2
1
1.5
6
2
2
4
0.4
4
0.25
3
4
4
4
1
6
6
1
354
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt k = A("k") e = B("e") d = B("d") i = A("i") k.o = i e.u = i d.u = i i.o = k assert k.o.o.o.o.txt == "
k"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.txt = txt k = A("k") e = B("e") d = B("d") i = A("i") k.o = i e.u = i d.u = i i.o = k assert k.o.o.o.o.txt == "k"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
1
4
4
1
355
class A: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt m = A("m") d = B("d") c = A("c") g = A("g") k = B("k") l = A("l") h = A("h") m.z = c m.y = h d.y = k c.z = h c...
l"
class A: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.txt = txt m = A("m") d = B("d") c = A("c") g = A("g") k = B("k") l = A("l") h = A("h") m.z = c m.y = h d.y = k c.z = h c...
7
11
1.571429
0.261905
2
3.5
2
1
1.5
3
1
1
4
0.571429
3
0.272727
0
null
null
null
2
2
2
1
356
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.q: A = None self.txt = txt m = A("m") d = B("d") f = A("f") j = A("j") k = A("k") m.r = d d.u = k d.q = j f.r = d j.r = d k.r = d assert ...
d"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.q: A = None self.txt = txt m = A("m") d = B("d") f = A("f") j = A("j") k = A("k") m.r = d d.u = k d.q = j f.r = d j.r = d k.r = d assert ...
5
6
1.2
0.3
2
2.5
2
1
1.5
3
2
1
3
0.6
3
0.5
1
2
2
2
2
2
1
1
357
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.y: A = None self.p: A = None self.txt = txt i = A("i") b = B("b") h = A("h") d = A("d") c = A("c") f = A("f") i.s = b i.o = b b.y...
b"
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.y: A = None self.p: A = None self.txt = txt i = A("i") b = B("b") h = A("h") d = A("d") c = A("c") f = A("f") i.s = b i.o = b b.y...
6
7
1.166667
0.233333
2
3
2
2
2
6
4
3
2
0.333333
3
0.428571
5
2
6
3.111111
3
3
1
2
358
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.p: A = None self.txt = txt e = A("e") i = B("i") h = B("h") e.t = i e.s = i i.p = e h.p = e assert h.p.t.p.txt == "
e"
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.p: A = None self.txt = txt e = A("e") i = B("i") h = B("h") e.t = i e.s = i i.p = e h.p = e assert h.p.t.p.txt == "e"
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
359
class A: def __init__(self, txt: str): self.p: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt d = A("d") k = B("k") b = B("b") a = B("a") j = A("j") e = A("e") n = B("n") l = A("l") d.p = e d.z = k k.p = ...
a"
class A: def __init__(self, txt: str): self.p: A = None self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.p: B = None self.txt = txt d = A("d") k = B("k") b = B("b") a = B("a") j = A("j") e = A("e") n = B("n") l = A("l") d.p = e d.z = k k.p = ...
8
12
1.5
0.214286
2
4
2
1
1.5
7
4
4
2
0.25
2
0.166667
6
2
6
3.333333
1
7
7
1
360
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt l = A("l") k = B("k") c = B("c") g = A("g") l.u = c k.x = c k.u = l c.x = k c.u = g g.u = k assert g.u.u.u.u.t...
g"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.u: A = None self.txt = txt l = A("l") k = B("k") c = B("c") g = A("g") l.u = c k.x = c k.u = l c.x = k c.u = g g.u = k assert g.u.u.u.u.t...
4
6
1.5
0.5
2
2
2
1
1.5
4
2
1
4
1
4
0.666667
1
4
4
4
1
4
4
1
361
class A: def __init__(self, txt: str): self.t: A = None self.s: 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") j = B("j") a = A("a") f.t = a f.s = a j.p = f j.u = a a.t = f a.s = f asse...
a"
class A: def __init__(self, txt: str): self.t: A = None self.s: 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") j = B("j") a = A("a") f.t = a f.s = a j.p = f j.u = a a.t = f a.s = f asse...
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
1
3
1
3
0.75
1
2
2
2
2
2
2
1
362
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.p: A = None self.y: B = None self.txt = txt n = A("n") k = B("k") g = A("g") j = A("j") a = A("a") h = A("h") c = B("c") d = B("d"...
h"
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.p: A = None self.y: B = None self.txt = txt n = A("n") k = B("k") g = A("g") j = A("j") a = A("a") h = A("h") c = B("c") d = B("d"...
8
12
1.5
0.214286
2
4
2
2
2
5
2
1
5
0.625
5
0.416667
1
5
5
5
3
2
1
1
363
class A: def __init__(self, txt: str): self.v: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt f = A("f") i = B("i") n = A("n") d = A("d") m = B("m") k = A("k") f.v = k f.x = i i.w = m n.v = d n.x = i d.v ...
i"
class A: def __init__(self, txt: str): self.v: A = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt f = A("f") i = B("i") n = A("n") d = A("d") m = B("m") k = A("k") f.v = k f.x = i i.w = m n.v = d n.x = i d.v ...
6
10
1.666667
0.333333
2
3
2
1
1.5
5
3
3
2
0.333333
2
0.2
4
2
4
2.666667
1
5
5
1
364
class A: def __init__(self, txt: str): self.p: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt g = A("g") n = B("n") k = B("k") f = A("f") b = B("b") a = A("a") c = B("c") g.p = a g.o = a n.u = c k.u = n f...
c"
class A: def __init__(self, txt: str): self.p: A = None self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt g = A("g") n = B("n") k = B("k") f = A("f") b = B("b") a = A("a") c = B("c") g.p = a g.o = a n.u = c k.u = n f...
7
9
1.285714
0.214286
2
3.5
2
1
1.5
3
2
1
3
0.428571
3
0.333333
1
3
3
3
1
3
3
1
365
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.v: B = None self.txt = txt i = A("i") k = B("k") c = B("c") e = A("e") b = A("b") j = A("j") n = B("n") m = A("m") g = A("g") i.z = e k.s...
i"
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.v: B = None self.txt = txt i = A("i") k = B("k") c = B("c") e = A("e") b = A("b") j = A("j") n = B("n") m = A("m") g = A("g") i.z = e k.s...
9
11
1.222222
0.152778
2
4.5
2
1
1.5
4
1
1
5
0.555556
4
0.363636
0
null
null
null
1
4
4
1
366
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt d = A("d") e = B("e") j = B("j") f = A("f") d.r = j e.x = j j.x = e f.r = j assert f.r.x.x.x.txt == "
e"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt d = A("d") e = B("e") j = B("j") f = A("f") d.r = j e.x = j j.x = e f.r = j assert f.r.x.x.x.txt == "e"
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
367
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt i = A("i") b = B("b") e = B("e") n = B("n") g = A("g") j = B("j") k = B("k") f = A("f") d = A("d") a = A("a") i.o = g b.r = i e.r = d n...
i"
class A: def __init__(self, txt: str): self.o: A = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt i = A("i") b = B("b") e = B("e") n = B("n") g = A("g") j = B("j") k = B("k") f = A("f") d = A("d") a = A("a") i.o = g b.r = i e.r = d n...
10
10
1
0.111111
2
5
1
1
1
3
1
1
4
0.4
3
0.3
0
null
null
null
1
3
3
1
368
class A: def __init__(self, txt: str): self.w: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt j = A("j") l = B("l") b = B("b") d = B("d") n = B("n") g = B("g") f = A("f") h = B("h"...
f"
class A: def __init__(self, txt: str): self.w: B = None self.v: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.t: B = None self.txt = txt j = A("j") l = B("l") b = B("b") d = B("d") n = B("n") g = B("g") f = A("f") h = B("h"...
8
16
2
0.285714
2
4
2
2
2
3
2
1
3
0.375
3
0.1875
1
3
3
3
3
1
1
1
369
class A: def __init__(self, txt: str): self.x: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt i = A("i") b = B("b") m = B("m") e = A("e") i.x = e i.s = m b.u = m b.o = m m.u = b m...
m"
class A: def __init__(self, txt: str): self.x: A = None self.s: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.o: B = None self.txt = txt i = A("i") b = B("b") m = B("m") e = A("e") i.x = e i.s = m b.u = m b.o = m m.u = b m...
4
6
1.5
0.5
2
2
2
2
2
3
2
2
2
0.5
2
0.333333
2
2
2
2
1
3
3
1
370
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.v: B = None self.r: A = None self.txt = txt n = A("n") i = B("i") b = B("b") c = B("c") h = A("h") e = A("e") j = A("j") n.p = c ...
e"
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.v: B = None self.r: A = None self.txt = txt n = A("n") i = B("i") b = B("b") c = B("c") h = A("h") e = A("e") j = A("j") n.p = c ...
7
14
2
0.333333
2
3.5
2
2
2
6
2
2
5
0.714286
5
0.357143
2
4
4
4
3
2
1
1
371
class A: def __init__(self, txt: str): self.p: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") c = B("c") f = B("f") d = A("d") j.p = c j.y = f c.w = f f.w = c d.p = f d.y = c assert c.w.w.w.w.t...
c"
class A: def __init__(self, txt: str): self.p: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.w: B = None self.txt = txt j = A("j") c = B("c") f = B("f") d = A("d") j.p = c j.y = f c.w = f f.w = c d.p = f d.y = c assert c.w.w.w.w.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
372
class A: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt a = A("a") c = B("c") i = B("i") g = A("g") m = B("m") k = A("k") b = B("b") a.p = b ...
a"
class A: def __init__(self, txt: str): self.p: B = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.q: A = None self.y: A = None self.txt = txt a = A("a") c = B("c") i = B("i") g = A("g") m = B("m") k = A("k") b = B("b") a.p = b ...
7
12
1.714286
0.285714
2
3.5
2
2
2
3
2
1
3
0.428571
3
0.25
1
2
2
2
3
1
1
1
373
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.q: B = None self.txt = txt k = A("k") c = B("c") m = A("m") l = A("l") n = A("n") g = A("g") b = A("b") j = B("j") h = A("h") k.v = j c.v...
j"
class A: def __init__(self, txt: str): self.v: B = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.q: B = None self.txt = txt k = A("k") c = B("c") m = A("m") l = A("l") n = A("n") g = A("g") b = A("b") j = B("j") h = A("h") k.v = j c.v...
9
11
1.222222
0.152778
2
4.5
2
1
1.5
8
4
2
5
0.555556
6
0.545455
4
2
7
3.571429
2
7
6
2
374
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt c = A("c") n = B("n") e = A("e") l = A("l") g = B("g") b = A("b") j = B("j") m = B("m") h = A("h") f = B("f") c.z = h n.x = j e.z = c l...
j"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt c = A("c") n = B("n") e = A("e") l = A("l") g = B("g") b = A("b") j = B("j") m = B("m") h = A("h") f = B("f") c.z = h n.x = j e.z = c l...
10
10
1
0.111111
2
5
1
1
1
9
5
5
2
0.2
2
0.2
8
2
8
4
1
9
9
1
375
class A: def __init__(self, txt: str): self.w: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: B = None self.txt = txt f = A("f") b = B("b") k = B("k") d = B("d") l = A("l") a = A("a") n = A("n") c = A("c"...
a"
class A: def __init__(self, txt: str): self.w: A = None self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: A = None self.y: B = None self.txt = txt f = A("f") b = B("b") k = B("k") d = B("d") l = A("l") a = A("a") n = A("n") c = A("c"...
9
18
2
0.25
2
4.5
2
2
2
8
2
2
6
0.666667
6
0.333333
3
5
5
5
4
2
2
1
376
class A: def __init__(self, txt: str): self.v: B = 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 k = A("k") m = B("m") c = B("c") g = A("g") j = B("j") l = B("l") f = B("f") e = B("e"...
c"
class A: def __init__(self, txt: str): self.v: B = 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 k = A("k") m = B("m") c = B("c") g = A("g") j = B("j") l = B("l") f = B("f") e = B("e"...
9
18
2
0.25
2
4.5
2
2
2
6
2
2
5
0.555556
5
0.277778
2
5
5
5
2
4
2
1
377
class A: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt i = A("i") e = B("e") d = A("d") c = A("c") a = B("a") j = A("j") h = B("h") l = B("l") g = A("g") i.y = e i.q...
e"
class A: def __init__(self, txt: str): self.y: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt i = A("i") e = B("e") d = A("d") c = A("c") a = B("a") j = A("j") h = B("h") l = B("l") g = A("g") i.y = e i.q...
9
14
1.555556
0.194444
2
4.5
2
1
1.5
5
2
2
4
0.444444
4
0.285714
2
4
4
4
1
5
5
1
378
class A: def __init__(self, txt: str): self.x: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt n = A("n") h = B("h") j = A("j") l = B("l") c = B("c") g = B("g") k = B("k") m = B("m") d = B("d") a = B("a") ...
d"
class A: def __init__(self, txt: str): self.x: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt n = A("n") h = B("h") j = A("j") l = B("l") c = B("c") g = B("g") k = B("k") m = B("m") d = B("d") a = B("a") ...
10
12
1.2
0.133333
2
5
2
1
1.5
7
2
2
6
0.6
6
0.5
2
4
4
4
2
6
6
1
379
class A: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt c = A("c") b = B("b") m = A("m") c.r = b c.q = b b.s = c m.r = b m.q = b assert b.s.q.s.txt == "
c"
class A: def __init__(self, txt: str): self.r: B = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt c = A("c") b = B("b") m = A("m") c.r = b c.q = b b.s = c m.r = b m.q = b assert b.s.q.s.txt == "c"
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
380
class A: def __init__(self, txt: str): self.v: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt d = A("d") k = B("k") g = A("g") j = B("j") h = B("h") e = B("e") d.v = g d.p = g k.s...
e"
class A: def __init__(self, txt: str): self.v: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.s: B = None self.w: B = None self.txt = txt d = A("d") k = B("k") g = A("g") j = B("j") h = B("h") e = B("e") d.v = g d.p = g k.s...
6
9
1.5
0.3
2
3
2
2
2
3
2
1
3
0.5
3
0.333333
1
2
2
2
2
2
2
2
381
class A: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt g = A("g") k = B("k") m = A("m") e = B("e") d = B("d") f = A("f") b = A("b") j = B("j"...
g"
class A: def __init__(self, txt: str): self.o: A = None self.s: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.v: B = None self.txt = txt g = A("g") k = B("k") m = A("m") e = B("e") d = B("d") f = A("f") b = A("b") j = B("j"...
10
17
1.7
0.188889
2
5
2
2
2
7
3
2
4
0.4
6
0.352941
4
2
6
3.8
2
4
3
2
382
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.y: B = None self.txt = txt g = A("g") j = B("j") h = A("h") m = B("m") g.z = h g.v = j j.z = m j.y = m h.z = g h...
m"
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.y: B = None self.txt = txt g = A("g") j = B("j") h = A("h") m = B("m") g.z = h g.v = j j.z = m j.y = m h.z = g h...
4
6
1.5
0.5
2
2
2
2
2
4
2
2
3
0.75
3
0.5
2
2
2
2
2
3
3
1
383
class A: def __init__(self, txt: str): self.z: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt d = A("d") n = B("n") b = A("b") j = A("j") g = A("g") k = B("k") f = A("f") d.z = f d.p = b n.v = j b.z = d b...
g"
class A: def __init__(self, txt: str): self.z: A = None self.p: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: A = None self.txt = txt d = A("d") n = B("n") b = A("b") j = A("j") g = A("g") k = B("k") f = A("f") d.z = f d.p = b n.v = j b.z = d b...
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
3
1
1
1
384
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.o: B = None self.txt = txt a = A("a") i = B("i") e = B("e") h = B("h") l = B("l") j = A("j") g = B("g") a.z = j i.x = a i.o = g e.x = a e...
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.x: A = None self.o: B = None self.txt = txt a = A("a") i = B("i") e = B("e") h = B("h") l = B("l") j = A("j") g = B("g") a.z = j i.x = a i.o = g e.x = a e...
7
12
1.714286
0.285714
2
3.5
2
1
1.5
5
3
2
3
0.428571
3
0.25
3
2
4
2.5
2
4
4
1
385
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt k = A("k") b = B("b") l = B("l") j = B("j") f = B("f") e = B("e") c = A("c") h = A("h") k.u = e b.r = f l.r = j j.r = f f.r = b e.r = l...
f"
class A: def __init__(self, txt: str): self.u: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: B = None self.txt = txt k = A("k") b = B("b") l = B("l") j = B("j") f = B("f") e = B("e") c = A("c") h = A("h") k.u = e b.r = f l.r = j j.r = f f.r = b e.r = l...
8
8
1
0.142857
2
4
1
1
1
3
2
2
2
0.25
2
0.25
2
2
2
2
1
3
3
1
386
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt c = A("c") l = B("l") b = B("b") c.r = b l.u = b b.u = l assert c.r.u.u.txt == "
b"
class A: def __init__(self, txt: str): self.r: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt c = A("c") l = B("l") b = B("b") c.r = b l.u = b b.u = l assert c.r.u.u.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
387
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.z: B = None self.txt = txt i = A("i") j = B("j") f = A("f") k = A("k") l = B("l") i.r = k i.x = f j.z = l f.r = i f.x = i k.r = f k.x = i...
l"
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.z: B = None self.txt = txt i = A("i") j = B("j") f = A("f") k = A("k") l = B("l") i.r = k i.x = f j.z = l f.r = i f.x = i k.r = f k.x = i...
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
388
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt b = A("b") f = B("f") j = B("j") b.x = j f.x = j j.x = f assert f.x.x.x.txt == "
j"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.x: B = None self.txt = txt b = A("b") f = B("f") j = B("j") b.x = j f.x = j j.x = f assert f.x.x.x.txt == "j"
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
389
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt h = A("h") l = B("l") i = B("i") n = A("n") k = B("k") g = B("g") a = A("a") c = B("c") d = B("d") m = B("m") h.z = n l.p = h i.p = a n...
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.p: A = None self.txt = txt h = A("h") l = B("l") i = B("i") n = A("n") k = B("k") g = B("g") a = A("a") c = B("c") d = B("d") m = B("m") h.z = n l.p = h i.p = a n...
10
10
1
0.111111
2
5
1
1
1
8
5
4
2
0.2
2
0.2
7
2
8
3.75
1
8
8
1
390
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt e = A("e") m = B("m") c = A("c") j = B("j") d = A("d") e.w = d m.v = j c.w = d j.v = m d.w = c assert e.w.w.w.txt == "
d"
class A: def __init__(self, txt: str): self.w: A = None self.txt = txt class B: def __init__(self, txt: str): self.v: B = None self.txt = txt e = A("e") m = B("m") c = A("c") j = B("j") d = A("d") e.w = d m.v = j c.w = d j.v = m d.w = c assert e.w.w.w.txt == "d"
5
5
1
0.25
2
2.5
1
1
1
3
2
1
3
0.6
3
0.6
1
2
2
2
1
3
3
1
391
class A: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") a = B("a") h = B("h") g = B("g") i = A("i") f = A("f") j = A("j") b = A("b") k = B("k") m = B("m") ...
b"
class A: def __init__(self, txt: str): self.t: A = None self.q: B = None self.txt = txt class B: def __init__(self, txt: str): self.r: A = None self.txt = txt n = A("n") a = B("a") h = B("h") g = B("g") i = A("i") f = A("f") j = A("j") b = A("b") k = B("k") m = B("m") ...
10
15
1.5
0.166667
2
5
2
1
1.5
3
1
1
4
0.4
3
0.2
0
null
null
null
2
2
2
1
392
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt g = A("g") b = B("b") k = B("k") a = B("a") j = A("j") e = A("e") l = A("l") f = A("f") n = A("n") d = A("d") g.y = a b.u = k k.u = a a...
b"
class A: def __init__(self, txt: str): self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt g = A("g") b = B("b") k = B("k") a = B("a") j = A("j") e = A("e") l = A("l") f = A("f") n = A("n") d = A("d") g.y = a b.u = k k.u = a a...
10
10
1
0.111111
2
5
1
1
1
10
4
3
4
0.4
4
0.4
7
3
9
4.5
2
9
9
1
393
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt n = A("n") k = B("k") i = B("i") n.x = i k.s = n i.s = n assert n.x.s.x.txt == "
i"
class A: def __init__(self, txt: str): self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.s: A = None self.txt = txt n = A("n") k = B("k") i = B("i") n.x = i k.s = n i.s = n assert n.x.s.x.txt == "i"
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
394
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt l = A("l") d = B("d") a = A("a") e = B("e") i = A("i") h = A("h") c = A("c") f = B("f") l.t = c d.u = f a.t = c e.u = d i.t = h h.t = a...
d"
class A: def __init__(self, txt: str): self.t: A = None self.txt = txt class B: def __init__(self, txt: str): self.u: B = None self.txt = txt l = A("l") d = B("d") a = A("a") e = B("e") i = A("i") h = A("h") c = A("c") f = B("f") l.t = c d.u = f a.t = c e.u = d i.t = h h.t = a...
8
8
1
0.142857
2
4
1
1
1
3
2
2
2
0.25
2
0.25
2
2
2
2
1
3
3
1
395
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 h = A("h") b = B("b") f = A("f") m = B("m") l = A("l") h.s = f b.w = m f.s = l m.w = b l.s = f assert m.w.w.w.txt == "
b"
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 h = A("h") b = B("b") f = A("f") m = B("m") l = A("l") h.s = f b.w = m f.s = l m.w = b l.s = f assert m.w.w.w.txt == "b"
5
5
1
0.25
2
2.5
1
1
1
3
2
2
2
0.4
2
0.4
2
2
2
2
1
3
3
1
396
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") i = B("i") k = A("k") c = B("c") a.p = i i.z = k k.p = c c.z = k assert c.z.p.z.p.txt == "
c"
class A: def __init__(self, txt: str): self.p: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") i = B("i") k = A("k") c = B("c") a.p = i i.z = k k.p = c c.z = k assert c.z.p.z.p.txt == "c"
4
4
1
0.333333
2
2
1
1
1
4
3
2
2
0.5
2
0.5
3
2
4
2.5
2
2
1
1
397
class A: def __init__(self, txt: str): self.s: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt a = A("a") k = B("k") c = A("c") i = A("i") b = A("b") f = A("f") g = A("g") d = A("d"...
h"
class A: def __init__(self, txt: str): self.s: B = None self.q: A = None self.txt = txt class B: def __init__(self, txt: str): self.y: B = None self.s: B = None self.txt = txt a = A("a") k = B("k") c = A("c") i = A("i") b = A("b") f = A("f") g = A("g") d = A("d"...
10
18
1.8
0.2
2
5
2
2
2
7
4
2
3
0.3
5
0.277778
5
2
6
3.111111
2
4
3
2
398
class A: def __init__(self, txt: str): self.w: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.p: A = None self.txt = txt n = A("n") b = B("b") m = A("m") c = B("c") d = B("d") n.w = d n.o = d b.q = c b.p = ...
d"
class A: def __init__(self, txt: str): self.w: B = None self.o: B = None self.txt = txt class B: def __init__(self, txt: str): self.q: B = None self.p: A = None self.txt = txt n = A("n") b = B("b") m = A("m") c = B("c") d = B("d") n.w = d n.o = d b.q = c b.p = ...
5
9
1.8
0.45
2
2.5
2
2
2
4
2
1
4
0.8
4
0.444444
1
2
2
2
3
2
1
2
399
class A: def __init__(self, txt: str): self.r: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") n = B("n") k = A("k") a = A("a") h = A("h") g.r = n g.w = n n.t = h k.r = n k.w = n a.r = n a.w = n...
n"
class A: def __init__(self, txt: str): self.r: B = None self.w: B = None self.txt = txt class B: def __init__(self, txt: str): self.t: A = None self.txt = txt g = A("g") n = B("n") k = A("k") a = A("a") h = A("h") g.r = n g.w = n n.t = h k.r = n k.w = n a.r = n a.w = n...
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