id
int64
0
799
prompt
stringlengths
265
2.95k
answer
stringclasses
10 values
pythoncode
stringlengths
267
2.95k
num_nodes
int64
3
10
num_edges
int64
3
48
avg_node_edge
float64
1
4.8
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
3
avg_num_field
float64
1
6.5
path_length
int64
3
10
max_node_visits
int64
1
5
max_edge_visits
int64
1
5
unique_node_number
int64
2
8
path_node_coverage
float64
0.2
1
unique_edge_number
int64
2
9
path_edge_coverage
float64
0.07
1
num_cycle
int64
0
8
shortest_cycle
int64
2
7
longest_cycle
int64
2
10
average_cycle
float64
2
7
unique_edge_label
int64
1
7
max_label_occurrences
int64
1
10
max_label_consecutive
int64
1
10
max_node_outdegree
int64
1
3
0
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c c.z = a c.y = a assert c.z.y.z.txt == "
a"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c c.z = a c.y = a assert c.z.y.z.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
1
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = a c.z = b c.y = b assert b.y.z.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = a c.z = b c.y = b assert b.y.z.y.txt == "b"
3
3
1
0.5
3
1
2
1
1.666667
3
2
1
3
1
3
1
1
3
3
3
2
2
1
1
2
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
3
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = c c.z = b assert a.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = c c.z = b assert a.z.z.z.txt == "a"
3
4
1.333333
0.666667
3
1
2
1
1.333333
3
2
1
3
1
3
0.75
1
3
3
3
1
3
3
1
4
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b a.x = b b.z = a c.z = a assert c.z.x.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b a.x = b b.z = a c.z = a assert c.z.x.z.txt == "a"
3
4
1.333333
0.666667
3
1
3
1
1.666667
3
2
1
3
1
3
0.75
1
2
2
2
2
2
1
1
5
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = c b.x = a c.z = b c.y = b assert c.y.x.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = c b.x = a c.z = b c.y = b assert c.y.x.y.txt == "c"
3
4
1.333333
0.666667
3
1
3
2
2.333333
3
2
1
3
1
3
0.75
1
3
3
3
2
2
1
1
6
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a b.y = c c.z = b assert c.z.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a b.y = c c.z = b assert c.z.y.z.txt == "b"
3
4
1.333333
0.666667
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
7
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = b b.z = c b.y = c b.x = c c.z = b c.y = b assert b.x.y.x.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = b b.z = c b.y = c b.x = c c.z = b c.y = b assert b.x.y.x.txt == "c"
3
3
1
0.5
3
1
3
2
2.333333
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
8
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a c.z = b assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a c.z = b assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
9
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert c.y.z.y.txt == "
b"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert c.y.z.y.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
1
1
10
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert a.z.y.z.txt == "
a"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert a.z.y.z.txt == "a"
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
2
2
1
1
11
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c b.y = c c.z = a c.y = b assert b.z.z.z.txt == "
c"
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c b.y = c c.z = a c.y = b assert b.z.z.z.txt == "c"
3
5
1.666667
0.833333
2
1.5
2
2
2
3
2
1
3
1
3
0.6
1
2
2
2
1
3
3
1
12
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a c.z = b assert a.z.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a c.z = b assert a.z.y.z.txt == "b"
3
5
1.666667
0.833333
3
1
2
1
1.666667
3
2
2
2
0.666667
2
0.4
2
2
2
2
2
2
1
1
13
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert b.z.z.z.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
14
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c c.z = a c.y = a c.x = b assert a.z.y.x.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c c.z = a c.y = a c.x = b assert a.z.y.x.txt == "b"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
1
3
1
3
0.75
1
2
2
2
3
1
1
1
15
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c c.z = a c.y = b assert b.z.y.z.txt == "
c"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c c.z = a c.y = b assert b.z.y.z.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
16
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = a c.y = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = a c.y = a assert a.z.z.z.txt == "b"
3
3
1
0.5
3
1
2
1
1.333333
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
17
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = c c.z = b c.y = b assert a.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = c c.z = b c.y = b assert a.z.z.z.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
1
3
3
1
18
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = c c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = c c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
19
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = a c.z = b c.y = a assert c.z.y.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = a c.z = b c.y = a assert c.z.y.z.txt == "c"
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
2
2
1
1
20
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = a c.z = b c.y = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = a c.z = b c.y = a assert a.z.z.z.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
1
3
3
1
21
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = c b.z = a b.y = a c.z = a c.y = a assert a.y.y.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = c b.z = a b.y = a c.z = a c.y = a assert a.y.y.y.txt == "c"
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.5
2
2
2
2
1
3
3
1
22
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a b.y = c c.z = a c.y = b assert a.z.z.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a b.y = c c.z = a c.y = b assert a.z.z.y.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
2
2
3
2
1
2
0.666667
3
0.6
2
2
2
2
2
2
2
2
23
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = a b.x = a c.z = a c.y = a assert b.z.y.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = a b.x = a c.z = a c.y = a assert b.z.y.z.txt == "c"
3
4
1.333333
0.666667
3
1
3
2
2.333333
3
2
1
3
1
3
0.75
1
2
2
2
2
2
1
1
24
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = b b.z = c b.y = a c.z = b c.y = a assert a.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = b b.z = c b.y = a c.z = b c.y = a assert a.z.z.z.txt == "c"
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
2
2
2
1
3
3
1
25
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = b assert a.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = b assert a.z.z.z.txt == "a"
3
3
1
0.5
3
1
1
1
1
3
2
1
3
1
3
1
1
3
3
3
1
3
3
1
26
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = a c.z = a assert b.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = a c.z = a assert b.z.z.z.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
27
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = b a.x = b b.z = a b.y = a c.z = a assert c.z.z.y.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = b a.x = b b.z = a b.y = a c.z = a assert c.z.z.y.txt == "a"
3
3
1
0.5
3
1
3
1
2
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
28
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = a c.z = b c.y = a assert b.z.y.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c b.y = a c.z = b c.y = a assert b.z.y.z.txt == "c"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
1
1
29
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = a c.z = a c.y = a assert a.z.z.z.txt == "
c"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = a c.z = a c.y = a assert a.z.z.z.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
1
3
3
1
30
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c c.z = a c.y = a assert b.z.y.z.txt == "
c"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c c.z = a c.y = a assert b.z.y.z.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
31
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.x = c a.y = b b.z = a b.y = a c.z = b assert a.y.z.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.x = c a.y = b b.z = a b.y = a c.z = b assert a.y.z.y.txt == "b"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
32
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = c b.y = a c.z = a assert b.y.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = c b.y = a c.z = a assert b.y.z.z.txt == "a"
3
4
1.333333
0.666667
3
1
2
1
1.333333
3
2
1
3
1
3
0.75
1
2
2
2
2
2
2
1
33
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = c b.y = c c.z = b c.y = b assert b.y.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = c b.y = c c.z = b c.y = b assert b.y.z.z.txt == "c"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
2
0.666667
3
1
2
2
2
2
2
2
2
2
34
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = c b.x = c c.z = b c.x = b c.y = a assert c.y.z.y.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = c b.x = c c.z = b c.x = b c.y = a assert c.y.z.y.txt == "a"
3
5
1.666667
0.833333
3
1
3
2
2.666667
3
2
2
2
0.666667
2
0.4
2
2
2
2
2
2
1
1
35
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = a c.y = a c.x = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = a c.y = a c.x = a assert c.z.z.z.txt == "a"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
1
3
1
3
0.75
1
2
2
2
1
3
3
1
36
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a b.y = a c.z = a c.y = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a b.y = a c.z = a c.y = a assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
37
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a c.z = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a c.z = a assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
38
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = c c.z = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = c c.z = a assert c.z.z.z.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
39
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "c"
3
3
1
0.5
3
1
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
40
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a b.y = a c.z = b assert a.z.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a b.y = a c.z = b assert a.z.y.z.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
41
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = a c.z = a assert a.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = a c.z = a assert a.z.z.z.txt == "c"
3
3
1
0.5
3
1
2
1
1.666667
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
42
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
43
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = c b.z = a c.z = a assert b.z.y.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = c b.z = a c.z = a assert b.z.y.z.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
1
1
44
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = a b.y = c c.z = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = a b.y = c c.z = a assert c.z.z.z.txt == "a"
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
45
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert c.z.z.z.txt == "a"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
46
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c b.x = c c.z = b assert b.y.z.x.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c b.x = c c.z = b assert b.y.z.x.txt == "c"
3
3
1
0.5
3
1
3
1
1.666667
3
2
1
2
0.666667
3
1
2
2
2
2
3
1
1
2
47
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a b.x = a c.z = b assert c.z.y.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a b.x = a c.z = b assert c.z.y.y.txt == "c"
3
5
1.666667
0.833333
3
1
3
1
2
3
2
1
3
1
3
0.6
1
3
3
3
2
2
2
1
48
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = c b.z = a b.y = a c.z = b c.y = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = c b.z = a b.y = a c.z = b c.y = a assert a.z.z.z.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.4
2
2
2
2
1
3
3
1
49
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c c.z = b assert b.z.z.z.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
50
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = a assert a.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = a assert a.z.z.z.txt == "c"
3
3
1
0.5
3
1
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
51
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a b.y = c b.x = c c.z = a c.y = b c.x = b assert b.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a b.y = c b.x = c c.z = a c.y = b c.x = b assert b.z.z.z.txt == "a"
3
5
1.666667
0.833333
3
1
3
1
2.333333
3
2
2
2
0.666667
2
0.4
2
2
2
2
1
3
3
1
52
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a c.z = b c.y = b c.x = b assert c.y.z.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a c.z = b c.y = b c.x = b assert c.y.z.y.txt == "c"
3
3
1
0.5
3
1
3
1
2
3
2
1
3
1
3
1
1
3
3
3
2
2
1
1
53
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
54
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = b b.z = a b.y = a c.z = a c.y = a assert c.z.z.y.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = b b.z = a b.y = a c.z = a c.y = a assert c.z.z.y.txt == "a"
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
1
2
0.666667
3
0.75
2
2
2
2
2
2
2
2
55
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: A = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = a b.x = c c.z = b c.y = a c.x = a assert b.y.z.y.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: A = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a b.y = a b.x = c c.z = b c.y = a c.x = a assert b.y.z.y.txt == "a"
3
5
1.666667
0.833333
3
1
3
1
2.333333
3
2
1
3
1
3
0.6
1
2
2
2
2
2
1
1
56
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a b.y = c c.z = a c.y = b assert b.z.z.y.txt == "
b"
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a b.y = c c.z = a c.y = b assert b.z.z.y.txt == "b"
3
6
2
1
2
1.5
2
2
2
3
2
1
3
1
3
0.5
1
3
3
3
2
2
2
1
57
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = c c.z = a assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c b.z = c c.z = a assert b.z.z.z.txt == "c"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
58
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
3
1
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
59
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
60
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "c"
3
3
1
0.5
3
1
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
61
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = c c.z = b assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = c c.z = b assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
62
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = a b.y = a c.z = a c.y = a assert b.z.z.z.txt == "
a"
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = a b.y = a c.z = a c.y = a assert b.z.z.z.txt == "a"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
63
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = a c.z = a assert c.z.z.z.txt == "a"
3
3
1
0.5
3
1
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
64
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c c.z = a c.y = b assert a.z.z.y.txt == "
b"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = c c.z = a c.y = b assert a.z.z.y.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
2
2
65
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = b b.z = a b.y = c c.z = b c.y = b assert b.z.y.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = b b.z = a b.y = c c.z = b c.y = b assert b.z.y.z.txt == "a"
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
66
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c c.z = a c.y = b c.x = b assert a.z.y.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c c.z = a c.y = b c.x = b assert a.z.y.z.txt == "a"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
1
3
1
3
0.75
1
3
3
3
2
2
1
1
67
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert b.z.z.z.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
68
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = b b.z = a b.y = a b.x = c c.z = a c.y = b c.x = b assert c.z.y.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = b b.z = a b.y = a b.x = c c.z = a c.y = b c.x = b assert c.z.y.y.txt == "b"
3
6
2
1
3
1
3
3
3
3
2
1
3
1
3
0.5
1
2
2
2
2
2
2
2
69
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert a.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c b.z = c c.z = b assert a.z.z.z.txt == "c"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
70
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = c b.y = a c.z = b assert c.z.z.z.txt == "b"
3
5
1.666667
0.833333
3
1
2
1
1.666667
3
2
2
2
0.666667
2
0.4
2
2
2
2
1
3
3
1
71
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c c.z = b assert b.z.z.z.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
72
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = b assert a.z.z.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = b assert a.z.z.y.txt == "c"
3
4
1.333333
0.666667
3
1
2
1
1.333333
3
2
1
3
1
3
0.75
1
2
2
2
2
2
2
2
73
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a c.z = a assert a.y.z.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = b b.z = a c.z = a assert a.y.z.y.txt == "b"
3
3
1
0.5
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.666667
2
2
2
2
2
2
1
1
74
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = a c.z = a c.y = b c.x = b assert a.z.x.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = a c.z = a c.y = b c.x = b assert a.z.x.z.txt == "a"
3
5
1.666667
0.833333
3
1
3
1
2
3
2
1
3
1
3
0.6
1
3
3
3
2
2
1
1
75
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = c b.z = a b.y = a c.z = a assert b.y.y.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = c b.z = a b.y = a c.z = a assert b.y.y.z.txt == "a"
3
3
1
0.5
3
1
3
1
2
3
2
1
3
1
3
1
1
2
2
2
2
2
2
1
76
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = c b.y = c c.z = b c.y = b c.x = a assert b.z.y.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = c b.y = c c.z = b c.y = b c.x = a assert b.z.y.y.txt == "c"
3
5
1.666667
0.833333
3
1
3
2
2.333333
3
2
1
2
0.666667
3
0.6
2
2
2
2
2
2
2
2
77
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = c b.z = a b.y = a c.z = b c.y = a assert c.y.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b a.y = c b.z = a b.y = a c.z = b c.y = a assert c.y.y.z.txt == "b"
3
5
1.666667
0.833333
2
1.5
2
2
2
3
2
1
3
1
3
0.6
1
2
2
2
2
2
2
2
78
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c b.x = a c.z = b assert a.z.x.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c b.y = c b.x = a c.z = b assert a.z.x.z.txt == "b"
3
4
1.333333
0.666667
3
1
3
1
1.666667
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
79
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a c.z = b assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = a c.z = b assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
80
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = c c.z = b c.y = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = c c.z = b c.y = b assert b.z.z.z.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
1
3
3
1
81
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = a c.z = b c.y = a assert c.y.z.y.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = c b.y = a c.z = b c.y = a assert c.y.z.y.txt == "a"
3
5
1.666667
0.833333
2
1.5
2
1
1.5
3
2
1
3
1
3
0.6
1
2
2
2
2
2
1
1
82
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a b.y = c c.z = a assert c.z.y.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a b.y = c c.z = a assert c.z.y.z.txt == "a"
3
5
1.666667
0.833333
3
1
2
1
1.666667
3
2
2
2
0.666667
2
0.4
2
2
2
2
2
2
1
1
83
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = c b.x = c b.y = a c.z = a c.y = a c.x = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = b b.z = c b.x = c b.y = a c.z = a c.y = a c.x = b assert b.z.z.z.txt == "c"
3
6
2
1
3
1
3
2
2.666667
3
2
1
3
1
3
0.5
1
2
2
2
1
3
3
1
84
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c c.z = b assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c c.z = b assert a.z.z.z.txt == "b"
3
3
1
0.5
2
1.5
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
85
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = c c.z = b assert a.y.z.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = a b.y = c c.z = b assert a.y.z.y.txt == "c"
3
4
1.333333
0.666667
3
1
2
1
1.666667
3
2
1
3
1
3
0.75
1
2
2
2
2
2
1
1
86
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = c b.z = a c.z = b c.y = b c.x = a assert c.x.y.y.txt == "
b"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.y: B = None self.x: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c a.x = c b.z = a c.z = b c.y = b c.x = a assert c.x.y.y.txt == "b"
3
4
1.333333
0.666667
3
1
3
1
2.333333
3
2
1
3
1
3
0.75
1
2
2
2
2
2
2
2
87
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = a assert c.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c b.z = a c.z = a assert c.z.z.z.txt == "a"
3
4
1.333333
0.666667
3
1
2
1
1.333333
3
2
1
3
1
3
0.75
1
2
2
2
1
3
3
1
88
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c a.x = c b.z = c b.y = a b.x = a c.z = a c.y = b assert a.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.y: C = None self.x: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b a.y = c a.x = c b.z = c b.y = a b.x = a c.z = a c.y = b assert a.z.z.z.txt == "a"
3
6
2
1
3
1
3
2
2.666667
3
2
1
3
1
3
0.5
1
3
3
3
1
3
3
1
89
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = a assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = a assert a.z.z.z.txt == "b"
3
3
1
0.5
3
1
1
1
1
3
2
2
2
0.666667
2
0.666667
2
2
2
2
1
3
3
1
90
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert a.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = c c.z = b assert a.z.z.z.txt == "b"
3
3
1
0.5
3
1
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
91
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = a b.x = a c.z = b assert a.y.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: A = None self.x: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c a.y = c b.z = c b.y = a b.x = a c.z = b assert a.y.z.z.txt == "c"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
1
3
1
3
0.75
1
2
2
2
2
2
2
1
92
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = a c.z = b assert a.z.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = b b.z = c b.y = a c.z = b assert a.z.y.z.txt == "b"
3
4
1.333333
0.666667
2
1.5
2
1
1.5
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
93
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = c b.z = c b.y = c c.z = b c.y = b assert c.y.y.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b a.y = c b.z = c b.y = c c.z = b c.y = b assert c.y.y.z.txt == "b"
3
4
1.333333
0.666667
2
1.5
2
2
2
3
2
1
2
0.666667
3
0.75
2
2
2
2
2
2
2
2
94
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = b assert c.z.z.z.txt == "
b"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt class C: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = b b.z = a c.z = b assert c.z.z.z.txt == "b"
3
3
1
0.5
3
1
1
1
1
3
2
1
3
1
3
1
1
2
2
2
1
3
3
1
95
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert b.z.z.z.txt == "
a"
class A: def __init__(self, txt: str): self.z: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: A = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = b b.z = a c.z = a assert b.z.z.z.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
96
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = c b.y = c c.z = a c.y = a c.x = b assert b.y.x.y.txt == "
c"
class A: def __init__(self, txt: str): self.z: C = None self.txt = txt class B: def __init__(self, txt: str): self.z: C = None self.y: C = None self.txt = txt class C: def __init__(self, txt: str): self.z: A = None self.y: A = None self.x: B = None self.txt = txt a = A("a") b = B("b") c = C("c") a.z = c b.z = c b.y = c c.z = a c.y = a c.x = b assert b.y.x.y.txt == "c"
3
4
1.333333
0.666667
3
1
3
1
2
3
2
2
2
0.666667
2
0.5
2
2
2
2
2
2
1
1
97
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = c b.z = c c.z = b assert b.z.z.z.txt == "
c"
class A: def __init__(self, txt: str): self.z: B = None self.y: B = None self.txt = txt class B: def __init__(self, txt: str): self.z: B = None self.txt = txt a = A("a") b = B("b") c = B("c") a.z = c a.y = c b.z = c c.z = b assert b.z.z.z.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
1
3
3
1
98
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c b.y = c c.z = a c.y = a assert c.y.y.z.txt == "
a"
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.z: A = None self.y: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = c b.z = c b.y = c c.z = a c.y = a assert c.y.y.z.txt == "a"
3
3
1
0.5
2
1.5
2
2
2
3
2
1
2
0.666667
3
1
2
2
2
2
2
2
2
2
99
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert b.z.y.z.txt == "
a"
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.z: A = None self.txt = txt a = A("a") b = B("b") c = A("c") a.z = c a.y = b b.z = a c.z = a c.y = b assert b.z.y.z.txt == "a"
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
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
32
Edit dataset card