id
int64 0
6k
| prompt
stringlengths 265
1.96k
| answer
stringclasses 10
values | pythoncode
stringlengths 267
1.96k
| depth0
stringclasses 10
values | depth1
stringclasses 10
values | depth2
stringclasses 10
values | depth3
stringclasses 10
values | depth4
stringclasses 11
values | depth5
stringclasses 11
values | depth6
stringclasses 11
values | depth7
stringclasses 11
values | num_nodes
int64 3
7
| num_edges
int64 3
29
| num_classes
int64 2
7
| path_length
int64 3
7
| num_cycle
int64 0
6
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
500 | class A:
def __init__(self, txt: str):
self.v: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.p: B = None
self.txt = txt
f = A("f")
h = B("h")
b = A("b")
a = A("a")
j = A("j")
c = A("c")
e = B("e")
f.v = e
f.w = e
h.q = e
h.p = e
b.v = e
b.w = e
a.v = e
a.w = h
j.v = e
j.w = e
c.v = h
c.w = e
e.q = h
e.p = h
assert j.v.p.p.p.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.p: B = None
self.txt = txt
f = A("f")
h = B("h")
b = A("b")
a = A("a")
j = A("j")
c = A("c")
e = B("e")
f.v = e
f.w = e
h.q = e
h.p = e
b.v = e
b.w = e
a.v = e
a.w = h
j.v = e
j.w = e
c.v = h
c.w = e
e.q = h
e.p = h
assert j.v.p.p.p.q.txt == "e" | j | e | h | e | h | e | x | x | 7 | 9 | 2 | 5 | 3 |
501 | class A:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
j = A("j")
e = B("e")
i = B("i")
c = A("c")
a = A("a")
h = B("h")
f = A("f")
j.s = i
j.p = f
e.w = h
e.q = i
i.w = e
i.q = h
c.s = i
c.p = f
a.s = e
a.p = c
h.w = e
h.q = i
f.s = e
f.p = c
assert f.p.p.s.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.s: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
j = A("j")
e = B("e")
i = B("i")
c = A("c")
a = A("a")
h = B("h")
f = A("f")
j.s = i
j.p = f
e.w = h
e.q = i
i.w = e
i.q = h
c.s = i
c.p = f
a.s = e
a.p = c
h.w = e
h.q = i
f.s = e
f.p = c
assert f.p.p.s.w.txt == "h" | f | c | f | e | h | x | x | x | 7 | 14 | 2 | 4 | 1 |
502 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
e = A("e")
a = B("a")
i = A("i")
j = A("j")
h = B("h")
f = A("f")
e.x = h
a.r = e
i.x = h
j.x = a
h.r = j
f.x = h
assert f.x.r.x.r.x.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
e = A("e")
a = B("a")
i = A("i")
j = A("j")
h = B("h")
f = A("f")
e.x = h
a.r = e
i.x = h
j.x = a
h.r = j
f.x = h
assert f.x.r.x.r.x.txt == "h" | f | h | j | a | e | h | x | x | 6 | 6 | 2 | 5 | 1 |
503 | class A:
def __init__(self, txt: str):
self.u: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
j = A("j")
f = B("f")
h = A("h")
i = A("i")
b = B("b")
a = B("a")
e = A("e")
j.u = e
j.o = h
f.v = i
h.u = j
h.o = i
i.u = e
i.o = e
b.v = e
a.v = i
e.u = i
e.o = j
assert a.v.o.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
j = A("j")
f = B("f")
h = A("h")
i = A("i")
b = B("b")
a = B("a")
e = A("e")
j.u = e
j.o = h
f.v = i
h.u = j
h.o = i
i.u = e
i.o = e
b.v = e
a.v = i
e.u = i
e.o = j
assert a.v.o.u.txt == "i" | a | i | e | i | x | x | x | x | 7 | 10 | 2 | 3 | 1 |
504 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
i = B("i")
e = A("e")
f.z = i
i.r = f
e.z = i
assert i.r.z.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
f = A("f")
i = B("i")
e = A("e")
f.z = i
i.r = f
e.z = i
assert i.r.z.r.txt == "f" | i | f | i | f | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
505 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
i = A("i")
e = B("e")
h = B("h")
b = B("b")
f = A("f")
c = B("c")
g = B("g")
i.r = c
e.s = c
h.s = e
b.s = h
f.r = c
c.s = g
g.s = e
assert h.s.s.s.s.s.s.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
i = A("i")
e = B("e")
h = B("h")
b = B("b")
f = A("f")
c = B("c")
g = B("g")
i.r = c
e.s = c
h.s = e
b.s = h
f.r = c
c.s = g
g.s = e
assert h.s.s.s.s.s.s.s.txt == "e" | h | e | c | g | e | c | g | e | 7 | 7 | 2 | 7 | 4 |
506 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
g = A("g")
j = B("j")
a = B("a")
g.y = a
j.s = g
a.s = g
assert g.y.s.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
g = A("g")
j = B("j")
a = B("a")
g.y = a
j.s = g
a.s = g
assert g.y.s.y.txt == "a" | g | a | g | a | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
507 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
d = A("d")
a = B("a")
b = B("b")
e = B("e")
f = A("f")
d.p = e
a.r = f
b.r = f
e.r = d
f.p = b
assert a.r.p.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
d = A("d")
a = B("a")
b = B("b")
e = B("e")
f = A("f")
d.p = e
a.r = f
b.r = f
e.r = d
f.p = b
assert a.r.p.r.txt == "f" | a | f | b | f | x | x | x | x | 5 | 5 | 2 | 3 | 1 |
508 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
a = B("a")
e = B("e")
f = A("f")
h = A("h")
g = A("g")
d = A("d")
i.z = g
a.v = e
e.v = a
f.z = g
h.z = i
g.z = h
d.z = h
assert h.z.z.z.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
a = B("a")
e = B("e")
f = A("f")
h = A("h")
g = A("g")
d = A("d")
i.z = g
a.v = e
e.v = a
f.z = g
h.z = i
g.z = h
d.z = h
assert h.z.z.z.txt == "h" | h | i | g | h | x | x | x | x | 7 | 7 | 2 | 3 | 1 |
509 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
g = A("g")
c = B("c")
h = B("h")
i = A("i")
d = A("d")
b = B("b")
e = A("e")
g.q = c
c.t = e
c.q = b
h.t = g
h.q = c
i.q = h
d.q = c
b.t = d
b.q = h
e.q = b
assert e.q.q.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
g = A("g")
c = B("c")
h = B("h")
i = A("i")
d = A("d")
b = B("b")
e = A("e")
g.q = c
c.t = e
c.q = b
h.t = g
h.q = c
i.q = h
d.q = c
b.t = d
b.q = h
e.q = b
assert e.q.q.t.txt == "g" | e | b | h | g | x | x | x | x | 7 | 10 | 2 | 3 | 0 |
510 | 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.v: B = None
self.w: A = None
self.txt = txt
g = A("g")
d = B("d")
i = A("i")
h = B("h")
b = B("b")
g.p = d
g.v = b
d.v = h
d.w = i
i.p = d
i.v = d
h.v = d
h.w = i
b.v = h
b.w = i
assert b.v.w.p.w.v.txt == " | d" | 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.v: B = None
self.w: A = None
self.txt = txt
g = A("g")
d = B("d")
i = A("i")
h = B("h")
b = B("b")
g.p = d
g.v = b
d.v = h
d.w = i
i.p = d
i.v = d
h.v = d
h.w = i
b.v = h
b.w = i
assert b.v.w.p.w.v.txt == "d" | b | h | i | d | i | d | x | x | 5 | 9 | 2 | 5 | 2 |
511 | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
c = A("c")
f.v = c
f.q = e
e.u = i
i.u = e
c.v = f
c.q = e
assert i.u.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
c = A("c")
f.v = c
f.q = e
e.u = i
i.u = e
c.v = f
c.q = e
assert i.u.u.u.u.txt == "i" | i | e | i | e | i | x | x | x | 4 | 6 | 2 | 4 | 3 |
512 | 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.z: A = None
self.u: B = None
self.txt = txt
f = A("f")
c = B("c")
e = B("e")
j = B("j")
d = A("d")
i = B("i")
f.y = d
f.z = d
c.z = f
c.u = j
e.z = d
e.u = c
j.z = d
j.u = i
d.y = f
d.z = f
i.z = d
i.u = j
assert f.z.y.z.y.txt == " | f" | 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.z: A = None
self.u: B = None
self.txt = txt
f = A("f")
c = B("c")
e = B("e")
j = B("j")
d = A("d")
i = B("i")
f.y = d
f.z = d
c.z = f
c.u = j
e.z = d
e.u = c
j.z = d
j.u = i
d.y = f
d.z = f
i.z = d
i.u = j
assert f.z.y.z.y.txt == "f" | f | d | f | d | f | x | x | x | 6 | 10 | 2 | 4 | 3 |
513 | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
c = A("c")
d = B("d")
b = A("b")
a = A("a")
c.r = d
c.v = b
d.v = b
b.r = d
b.v = a
a.r = d
a.v = c
assert a.v.v.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
c = A("c")
d = B("d")
b = A("b")
a = A("a")
c.r = d
c.v = b
d.v = b
b.r = d
b.v = a
a.r = d
a.v = c
assert a.v.v.r.txt == "d" | a | c | b | d | x | x | x | x | 4 | 7 | 2 | 3 | 0 |
514 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
c = B("c")
g = A("g")
e.p = g
a.o = i
a.x = i
i.o = a
i.x = a
c.o = a
c.x = a
g.p = e
assert c.o.x.x.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
c = B("c")
g = A("g")
e.p = g
a.o = i
a.x = i
i.o = a
i.x = a
c.o = a
c.x = a
g.p = e
assert c.o.x.x.x.txt == "i" | c | a | i | a | i | x | x | x | 5 | 5 | 2 | 4 | 2 |
515 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
j = A("j")
f = B("f")
d = A("d")
h = A("h")
g = B("g")
j.v = d
f.r = g
d.v = h
h.v = d
g.r = f
assert d.v.v.v.txt == " | h" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
j = A("j")
f = B("f")
d = A("d")
h = A("h")
g = B("g")
j.v = d
f.r = g
d.v = h
h.v = d
g.r = f
assert d.v.v.v.txt == "h" | d | h | d | h | x | x | x | x | 5 | 5 | 2 | 3 | 2 |
516 | class A:
def __init__(self, txt: str):
self.z: 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 = B("h")
b.z = h
e.y = b
h.y = b
assert b.z.y.z.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: 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 = B("h")
b.z = h
e.y = b
h.y = b
assert b.z.y.z.txt == "h" | b | h | b | h | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
517 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
i = B("i")
j = A("j")
h = A("h")
e = B("e")
c = A("c")
f.t = e
i.s = e
j.t = e
h.t = i
e.s = i
c.t = i
assert c.t.s.s.s.s.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
i = B("i")
j = A("j")
h = A("h")
e = B("e")
c = A("c")
f.t = e
i.s = e
j.t = e
h.t = i
e.s = i
c.t = i
assert c.t.s.s.s.s.s.txt == "e" | c | i | e | i | e | i | e | x | 6 | 6 | 2 | 6 | 4 |
518 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
b = A("b")
h = B("h")
j = B("j")
e = A("e")
i.y = b
a.o = b
a.u = j
b.y = i
h.o = e
h.u = j
j.o = b
j.u = a
e.y = b
assert b.y.y.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
i = A("i")
a = B("a")
b = A("b")
h = B("h")
j = B("j")
e = A("e")
i.y = b
a.o = b
a.u = j
b.y = i
h.o = e
h.u = j
j.o = b
j.u = a
e.y = b
assert b.y.y.y.y.txt == "b" | b | i | b | i | b | x | x | x | 6 | 9 | 2 | 4 | 3 |
519 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
e = A("e")
h = B("h")
b = A("b")
f = A("f")
i = A("i")
g = A("g")
e.x = b
h.u = e
b.x = e
f.x = e
i.x = f
g.x = f
assert e.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.u: A = None
self.txt = txt
e = A("e")
h = B("h")
b = A("b")
f = A("f")
i = A("i")
g = A("g")
e.x = b
h.u = e
b.x = e
f.x = e
i.x = f
g.x = f
assert e.x.x.x.txt == "b" | e | b | e | b | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
520 | class A:
def __init__(self, txt: str):
self.u: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
a = A("a")
c = B("c")
i = A("i")
j = A("j")
e.u = i
e.y = i
g.v = c
a.u = j
a.y = j
c.v = g
i.u = a
i.y = a
j.u = a
j.y = i
assert j.u.y.y.y.u.u.txt == " | a" | class A:
def __init__(self, txt: str):
self.u: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
a = A("a")
c = B("c")
i = A("i")
j = A("j")
e.u = i
e.y = i
g.v = c
a.u = j
a.y = j
c.v = g
i.u = a
i.y = a
j.u = a
j.y = i
assert j.u.y.y.y.u.u.txt == "a" | j | a | j | i | a | j | a | x | 6 | 7 | 2 | 6 | 4 |
521 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
c = A("c")
i = B("i")
b = B("b")
j = B("j")
f = B("f")
a = B("a")
c.q = b
i.q = f
b.q = a
j.q = a
f.q = j
a.q = b
assert i.q.q.q.q.q.q.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
c = A("c")
i = B("i")
b = B("b")
j = B("j")
f = B("f")
a = B("a")
c.q = b
i.q = f
b.q = a
j.q = a
f.q = j
a.q = b
assert i.q.q.q.q.q.q.txt == "b" | i | f | j | a | b | a | b | x | 6 | 6 | 2 | 6 | 2 |
522 | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.z: B = None
self.txt = txt
a = A("a")
f = B("f")
g = B("g")
i = B("i")
j = B("j")
h = B("h")
a.s = j
a.x = i
f.q = i
f.z = j
g.q = j
g.z = j
i.q = j
i.z = f
j.q = i
j.z = g
h.q = i
h.z = i
assert a.x.q.q.q.z.q.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.z: B = None
self.txt = txt
a = A("a")
f = B("f")
g = B("g")
i = B("i")
j = B("j")
h = B("h")
a.s = j
a.x = i
f.q = i
f.z = j
g.q = j
g.z = j
i.q = j
i.z = f
j.q = i
j.z = g
h.q = i
h.z = i
assert a.x.q.q.q.z.q.txt == "j" | a | i | j | i | j | g | j | x | 6 | 10 | 2 | 6 | 3 |
523 | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
e = B("e")
a = A("a")
c = A("c")
g.v = c
g.q = c
e.p = a
a.v = g
a.q = g
c.v = g
c.q = g
assert a.q.q.v.v.txt == " | c" | class A:
def __init__(self, txt: str):
self.v: A = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
e = B("e")
a = A("a")
c = A("c")
g.v = c
g.q = c
e.p = a
a.v = g
a.q = g
c.v = g
c.q = g
assert a.q.q.v.v.txt == "c" | a | g | c | g | c | x | x | x | 4 | 4 | 2 | 4 | 2 |
524 | 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.t: A = None
self.x: B = None
self.txt = txt
j = A("j")
d = B("d")
h = A("h")
a = A("a")
c = B("c")
i = B("i")
g = B("g")
j.u = a
j.r = a
d.t = h
d.x = i
h.u = j
h.r = a
a.u = j
a.r = j
c.t = j
c.x = d
i.t = j
i.x = c
g.t = a
g.x = c
assert j.u.r.r.r.txt == " | j" | 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.t: A = None
self.x: B = None
self.txt = txt
j = A("j")
d = B("d")
h = A("h")
a = A("a")
c = B("c")
i = B("i")
g = B("g")
j.u = a
j.r = a
d.t = h
d.x = i
h.u = j
h.r = a
a.u = j
a.r = j
c.t = j
c.x = d
i.t = j
i.x = c
g.t = a
g.x = c
assert j.u.r.r.r.txt == "j" | j | a | j | a | j | x | x | x | 7 | 12 | 2 | 4 | 3 |
525 | class A:
def __init__(self, txt: str):
self.x: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
j = A("j")
d = B("d")
c = A("c")
a = B("a")
j.x = c
j.s = c
d.u = a
c.x = j
c.s = j
a.u = d
assert c.s.s.s.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
j = A("j")
d = B("d")
c = A("c")
a = B("a")
j.x = c
j.s = c
d.u = a
c.x = j
c.s = j
a.u = d
assert c.s.s.s.s.txt == "c" | c | j | c | j | c | x | x | x | 4 | 4 | 2 | 4 | 3 |
526 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
c = A("c")
g = B("g")
b = A("b")
d = A("d")
j = A("j")
f = B("f")
c.w = g
g.w = c
b.w = f
d.w = g
j.w = f
f.w = c
assert f.w.w.w.w.w.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
c = A("c")
g = B("g")
b = A("b")
d = A("d")
j = A("j")
f = B("f")
c.w = g
g.w = c
b.w = f
d.w = g
j.w = f
f.w = c
assert f.w.w.w.w.w.w.txt == "g" | f | c | g | c | g | c | g | x | 6 | 6 | 2 | 6 | 4 |
527 | class A:
def __init__(self, txt: str):
self.r: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
f = A("f")
a = B("a")
d = B("d")
j = A("j")
f.r = j
f.p = j
a.q = d
d.q = a
j.r = f
j.p = f
assert f.p.r.r.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
f = A("f")
a = B("a")
d = B("d")
j = A("j")
f.r = j
f.p = j
a.q = d
d.q = a
j.r = f
j.p = f
assert f.p.r.r.r.txt == "f" | f | j | f | j | f | x | x | x | 4 | 4 | 2 | 4 | 3 |
528 | class A:
def __init__(self, txt: str):
self.p: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
g = A("g")
e = B("e")
b = B("b")
d = A("d")
h = B("h")
f = B("f")
g.p = f
g.w = e
e.z = f
e.o = g
b.z = h
b.o = g
d.p = h
d.w = f
h.z = b
h.o = d
f.z = e
f.o = d
assert b.o.p.z.o.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.p: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.o: A = None
self.txt = txt
g = A("g")
e = B("e")
b = B("b")
d = A("d")
h = B("h")
f = B("f")
g.p = f
g.w = e
e.z = f
e.o = g
b.z = h
b.o = g
d.p = h
d.w = f
h.z = b
h.o = d
f.z = e
f.o = d
assert b.o.p.z.o.w.txt == "e" | b | g | f | e | g | e | x | x | 6 | 12 | 2 | 5 | 2 |
529 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: A = None
self.txt = txt
a = A("a")
f = B("f")
e = A("e")
d = B("d")
i = A("i")
g = A("g")
c = A("c")
a.t = d
f.y = d
f.w = c
e.t = f
d.y = f
d.w = g
i.t = d
g.t = f
c.t = f
assert g.t.w.t.w.txt == " | c" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: A = None
self.txt = txt
a = A("a")
f = B("f")
e = A("e")
d = B("d")
i = A("i")
g = A("g")
c = A("c")
a.t = d
f.y = d
f.w = c
e.t = f
d.y = f
d.w = g
i.t = d
g.t = f
c.t = f
assert g.t.w.t.w.txt == "c" | g | f | c | f | c | x | x | x | 7 | 9 | 2 | 4 | 2 |
530 | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
d = A("d")
j = B("j")
c = B("c")
d.r = j
d.v = j
j.u = c
j.y = d
c.u = j
c.y = d
assert j.u.y.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.r: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
d = A("d")
j = B("j")
c = B("c")
d.r = j
d.v = j
j.u = c
j.y = d
c.u = j
c.y = d
assert j.u.y.r.txt == "j" | j | c | d | j | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
531 | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
f = B("f")
e.u = h
e.y = f
h.q = f
h.w = f
f.q = h
f.w = h
assert e.y.w.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.w: B = None
self.txt = txt
e = A("e")
h = B("h")
f = B("f")
e.u = h
e.y = f
h.q = f
h.w = f
f.q = h
f.w = h
assert e.y.w.w.txt == "f" | e | f | h | f | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
532 | class A:
def __init__(self, txt: str):
self.z: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
h = B("h")
e = A("e")
a = A("a")
d = A("d")
c = A("c")
b = A("b")
g.z = h
g.v = h
h.u = d
e.z = h
e.v = h
a.z = h
a.v = h
d.z = h
d.v = h
c.z = h
c.v = h
b.z = h
b.v = h
assert d.z.u.z.u.z.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.z: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
h = B("h")
e = A("e")
a = A("a")
d = A("d")
c = A("c")
b = A("b")
g.z = h
g.v = h
h.u = d
e.z = h
e.v = h
a.z = h
a.v = h
d.z = h
d.v = h
c.z = h
c.v = h
b.z = h
b.v = h
assert d.z.u.z.u.z.u.txt == "d" | d | h | d | h | d | h | d | x | 7 | 7 | 2 | 6 | 5 |
533 | class A:
def __init__(self, txt: str):
self.y: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
h = A("h")
c = B("c")
f = A("f")
b = A("b")
e = A("e")
d = A("d")
a = B("a")
h.y = a
h.t = c
c.t = a
c.v = h
f.y = c
f.t = a
b.y = a
b.t = c
e.y = c
e.t = a
d.y = a
d.t = c
a.t = c
a.v = h
assert e.t.t.v.y.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.v: A = None
self.txt = txt
h = A("h")
c = B("c")
f = A("f")
b = A("b")
e = A("e")
d = A("d")
a = B("a")
h.y = a
h.t = c
c.t = a
c.v = h
f.y = c
f.t = a
b.y = a
b.t = c
e.y = c
e.t = a
d.y = a
d.t = c
a.t = c
a.v = h
assert e.t.t.v.y.txt == "a" | e | a | c | h | a | x | x | x | 7 | 14 | 2 | 4 | 1 |
534 | class A:
def __init__(self, txt: str):
self.t: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: B = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
f = A("f")
j = B("j")
d = B("d")
e = A("e")
a.t = f
a.u = j
c.p = j
c.r = j
g.t = f
g.u = c
f.t = a
f.u = d
j.p = d
j.r = d
d.p = c
d.r = j
e.t = g
e.u = c
assert g.u.r.r.r.p.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.t: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: B = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
f = A("f")
j = B("j")
d = B("d")
e = A("e")
a.t = f
a.u = j
c.p = j
c.r = j
g.t = f
g.u = c
f.t = a
f.u = d
j.p = d
j.r = d
d.p = c
d.r = j
e.t = g
e.u = c
assert g.u.r.r.r.p.r.txt == "j" | g | c | j | d | j | d | j | x | 7 | 12 | 2 | 6 | 3 |
535 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
g = A("g")
i = B("i")
c = B("c")
b = A("b")
g.t = c
i.v = b
i.s = c
c.v = g
c.s = i
b.t = i
assert i.v.t.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
g = A("g")
i = B("i")
c = B("c")
b = A("b")
g.t = c
i.v = b
i.s = c
c.v = g
c.s = i
b.t = i
assert i.v.t.s.txt == "c" | i | b | i | c | x | x | x | x | 4 | 6 | 2 | 3 | 1 |
536 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
e = B("e")
a = B("a")
c = A("c")
f = A("f")
i = A("i")
d.r = a
e.p = d
a.p = f
c.r = e
f.r = a
i.r = e
assert d.r.p.r.p.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
e = B("e")
a = B("a")
c = A("c")
f = A("f")
i = A("i")
d.r = a
e.p = d
a.p = f
c.r = e
f.r = a
i.r = e
assert d.r.p.r.p.r.txt == "a" | d | a | f | a | f | a | x | x | 6 | 6 | 2 | 5 | 3 |
537 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
g = B("g")
h = B("h")
c = A("c")
e = B("e")
b.y = c
g.y = b
h.y = c
c.y = b
e.y = b
assert c.y.y.y.y.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
g = B("g")
h = B("h")
c = A("c")
e = B("e")
b.y = c
g.y = b
h.y = c
c.y = b
e.y = b
assert c.y.y.y.y.y.txt == "b" | c | b | c | b | c | b | x | x | 5 | 5 | 2 | 5 | 4 |
538 | 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.w: B = None
self.txt = txt
h = A("h")
c = B("c")
b = B("b")
d = B("d")
j = A("j")
g = B("g")
i = A("i")
h.w = g
h.o = b
c.w = g
b.w = g
d.w = g
j.w = b
j.o = b
g.w = d
i.w = d
i.o = c
assert h.o.w.w.txt == " | 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.w: B = None
self.txt = txt
h = A("h")
c = B("c")
b = B("b")
d = B("d")
j = A("j")
g = B("g")
i = A("i")
h.w = g
h.o = b
c.w = g
b.w = g
d.w = g
j.w = b
j.o = b
g.w = d
i.w = d
i.o = c
assert h.o.w.w.txt == "d" | h | b | g | d | x | x | x | x | 7 | 9 | 2 | 3 | 0 |
539 | class A:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
h = B("h")
i = A("i")
a.s = h
a.u = h
h.s = a
i.s = h
i.u = h
assert i.u.s.s.txt == " | h" | class A:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
h = B("h")
i = A("i")
a.s = h
a.u = h
h.s = a
i.s = h
i.u = h
assert i.u.s.s.txt == "h" | i | h | a | h | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
540 | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
g = B("g")
b = A("b")
d = A("d")
h = B("h")
f.w = d
g.z = b
b.w = f
d.w = b
h.z = d
assert h.z.w.w.txt == " | f" | class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
g = B("g")
b = A("b")
d = A("d")
h = B("h")
f.w = d
g.z = b
b.w = f
d.w = b
h.z = d
assert h.z.w.w.txt == "f" | h | d | b | f | x | x | x | x | 5 | 5 | 2 | 3 | 0 |
541 | 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.txt = txt
f = A("f")
i = B("i")
g = B("g")
j = B("j")
h = B("h")
c = A("c")
f.u = j
i.x = j
g.x = j
j.x = i
h.x = j
c.u = i
assert j.x.x.x.txt == " | i" | 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.txt = txt
f = A("f")
i = B("i")
g = B("g")
j = B("j")
h = B("h")
c = A("c")
f.u = j
i.x = j
g.x = j
j.x = i
h.x = j
c.u = i
assert j.x.x.x.txt == "i" | j | i | j | i | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
542 | class A:
def __init__(self, txt: str):
self.w: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
a = A("a")
i = B("i")
h = A("h")
g = A("g")
b = B("b")
a.w = i
a.z = g
i.x = b
i.y = b
h.w = b
h.z = g
g.w = b
g.z = a
b.x = i
b.y = i
assert g.z.w.y.x.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.w: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
a = A("a")
i = B("i")
h = A("h")
g = A("g")
b = B("b")
a.w = i
a.z = g
i.x = b
i.y = b
h.w = b
h.z = g
g.w = b
g.z = a
b.x = i
b.y = i
assert g.z.w.y.x.y.txt == "b" | g | a | i | b | i | b | x | x | 5 | 8 | 2 | 5 | 2 |
543 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
j = A("j")
a = B("a")
g = A("g")
j.q = a
a.r = j
g.q = a
assert a.r.q.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
j = A("j")
a = B("a")
g = A("g")
j.q = a
a.r = j
g.q = a
assert a.r.q.r.txt == "j" | a | j | a | j | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
544 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
i = B("i")
j = A("j")
f.p = i
i.v = j
j.p = i
assert f.p.v.p.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
i = B("i")
j = A("j")
f.p = i
i.v = j
j.p = i
assert f.p.v.p.txt == "i" | f | i | j | i | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
545 | class A:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
d = A("d")
b = B("b")
g = A("g")
h = B("h")
d.t = g
d.s = h
b.y = h
g.t = d
g.s = b
h.y = b
assert d.t.t.s.y.txt == " | b" | class A:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
d = A("d")
b = B("b")
g = A("g")
h = B("h")
d.t = g
d.s = h
b.y = h
g.t = d
g.s = b
h.y = b
assert d.t.t.s.y.txt == "b" | d | g | d | h | b | x | x | x | 4 | 6 | 2 | 4 | 1 |
546 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
b = A("b")
d = B("d")
a = B("a")
f = A("f")
b.o = f
d.v = b
d.r = a
a.v = b
a.r = d
f.o = b
assert d.r.v.o.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
b = A("b")
d = B("d")
a = B("a")
f = A("f")
b.o = f
d.v = b
d.r = a
a.v = b
a.r = d
f.o = b
assert d.r.v.o.o.txt == "b" | d | a | b | f | b | x | x | x | 4 | 6 | 2 | 4 | 1 |
547 | 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
a = A("a")
e = B("e")
i = A("i")
f = A("f")
a.o = i
e.r = i
i.o = a
f.o = i
assert i.o.o.o.txt == " | a" | 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
a = A("a")
e = B("e")
i = A("i")
f = A("f")
a.o = i
e.r = i
i.o = a
f.o = i
assert i.o.o.o.txt == "a" | i | a | i | a | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
548 | class A:
def __init__(self, txt: str):
self.u: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
e = B("e")
j = A("j")
h = B("h")
g = B("g")
a = B("a")
i.u = j
i.y = a
e.v = a
j.u = i
j.y = e
h.v = a
g.v = e
a.v = e
assert e.v.v.v.v.v.txt == " | a" | class A:
def __init__(self, txt: str):
self.u: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
i = A("i")
e = B("e")
j = A("j")
h = B("h")
g = B("g")
a = B("a")
i.u = j
i.y = a
e.v = a
j.u = i
j.y = e
h.v = a
g.v = e
a.v = e
assert e.v.v.v.v.v.txt == "a" | e | a | e | a | e | a | x | x | 6 | 8 | 2 | 5 | 4 |
549 | class A:
def __init__(self, txt: str):
self.r: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
h = A("h")
c = B("c")
g = B("g")
d = A("d")
h.r = c
h.s = c
c.q = h
c.o = g
g.q = d
g.o = c
d.r = c
d.s = c
assert g.o.o.q.r.txt == " | c" | class A:
def __init__(self, txt: str):
self.r: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
h = A("h")
c = B("c")
g = B("g")
d = A("d")
h.r = c
h.s = c
c.q = h
c.o = g
g.q = d
g.o = c
d.r = c
d.s = c
assert g.o.o.q.r.txt == "c" | g | c | g | d | c | x | x | x | 4 | 6 | 2 | 4 | 2 |
550 | class A:
def __init__(self, txt: str):
self.s: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
g = B("g")
a = B("a")
b = B("b")
f = B("f")
d = A("d")
j = A("j")
c.s = j
c.v = d
g.q = d
a.q = d
b.q = d
f.q = j
d.s = c
d.v = j
j.s = c
j.v = c
assert f.q.s.s.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
c = A("c")
g = B("g")
a = B("a")
b = B("b")
f = B("f")
d = A("d")
j = A("j")
c.s = j
c.v = d
g.q = d
a.q = d
b.q = d
f.q = j
d.s = c
d.v = j
j.s = c
j.v = c
assert f.q.s.s.txt == "j" | f | j | c | j | x | x | x | x | 7 | 9 | 2 | 3 | 1 |
551 | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: B = None
self.txt = txt
c = A("c")
i = B("i")
b = A("b")
g = B("g")
d = A("d")
h = A("h")
c.o = b
c.r = g
i.r = g
i.z = g
b.o = d
b.r = g
g.r = i
g.z = i
d.o = b
d.r = i
h.o = b
h.r = i
assert d.r.z.r.z.r.r.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: B = None
self.txt = txt
c = A("c")
i = B("i")
b = A("b")
g = B("g")
d = A("d")
h = A("h")
c.o = b
c.r = g
i.r = g
i.z = g
b.o = d
b.r = g
g.r = i
g.z = i
d.o = b
d.r = i
h.o = b
h.r = i
assert d.r.z.r.z.r.r.txt == "g" | d | i | g | i | g | i | g | x | 6 | 10 | 2 | 6 | 4 |
552 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
b = A("b")
d = B("d")
f = A("f")
b.x = f
d.x = b
f.x = b
assert d.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.x: A = None
self.txt = txt
b = A("b")
d = B("d")
f = A("f")
b.x = f
d.x = b
f.x = b
assert d.x.x.x.txt == "b" | d | b | f | b | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
553 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
d = A("d")
i = B("i")
e = A("e")
c = B("c")
d.y = i
i.x = c
e.y = c
c.x = i
assert i.x.x.x.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
d = A("d")
i = B("i")
e = A("e")
c = B("c")
d.y = i
i.x = c
e.y = c
c.x = i
assert i.x.x.x.x.txt == "i" | i | c | i | c | i | x | x | x | 4 | 4 | 2 | 4 | 3 |
554 | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
g = B("g")
c = B("c")
d = A("d")
h.u = c
g.u = d
c.u = d
d.u = g
assert d.u.u.u.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
g = B("g")
c = B("c")
d = A("d")
h.u = c
g.u = d
c.u = d
d.u = g
assert d.u.u.u.u.txt == "d" | d | g | d | g | d | x | x | x | 4 | 4 | 2 | 4 | 3 |
555 | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.u: B = None
self.txt = txt
j = A("j")
f = B("f")
d = A("d")
h = A("h")
e = A("e")
a = B("a")
c = B("c")
j.t = e
f.s = d
f.u = a
d.t = e
h.t = j
e.t = h
a.s = h
a.u = f
c.s = d
c.u = a
assert h.t.t.t.t.t.t.txt == " | h" | class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.u: B = None
self.txt = txt
j = A("j")
f = B("f")
d = A("d")
h = A("h")
e = A("e")
a = B("a")
c = B("c")
j.t = e
f.s = d
f.u = a
d.t = e
h.t = j
e.t = h
a.s = h
a.u = f
c.s = d
c.u = a
assert h.t.t.t.t.t.t.txt == "h" | h | j | e | h | j | e | h | x | 7 | 10 | 2 | 6 | 4 |
556 | class A:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
f.t = b
f.s = a
a.x = f
a.p = b
b.t = f
b.s = a
assert f.t.s.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.p: A = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
f.t = b
f.s = a
a.x = f
a.p = b
b.t = f
b.s = a
assert f.t.s.x.txt == "f" | f | b | a | f | x | x | x | x | 3 | 6 | 2 | 3 | 1 |
557 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
c = A("c")
e = B("e")
j = A("j")
f = B("f")
i = B("i")
b = A("b")
c.p = e
e.u = f
j.p = e
f.u = i
i.u = f
b.p = i
assert e.u.u.u.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
c = A("c")
e = B("e")
j = A("j")
f = B("f")
i = B("i")
b = A("b")
c.p = e
e.u = f
j.p = e
f.u = i
i.u = f
b.p = i
assert e.u.u.u.u.u.u.txt == "i" | e | f | i | f | i | f | i | x | 6 | 6 | 2 | 6 | 4 |
558 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
h = B("h")
f = B("f")
c = A("c")
i = A("i")
g = A("g")
d = B("d")
a.x = f
h.z = c
f.z = a
c.x = d
i.x = f
g.x = f
d.z = c
assert d.z.x.z.x.txt == " | d" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
h = B("h")
f = B("f")
c = A("c")
i = A("i")
g = A("g")
d = B("d")
a.x = f
h.z = c
f.z = a
c.x = d
i.x = f
g.x = f
d.z = c
assert d.z.x.z.x.txt == "d" | d | c | d | c | d | x | x | x | 7 | 7 | 2 | 4 | 3 |
559 | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: A = None
self.txt = txt
j = A("j")
b = B("b")
d = A("d")
j.w = b
b.t = d
b.r = j
d.w = b
assert b.r.w.r.txt == " | j" | class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.r: A = None
self.txt = txt
j = A("j")
b = B("b")
d = A("d")
j.w = b
b.t = d
b.r = j
d.w = b
assert b.r.w.r.txt == "j" | b | j | b | j | x | x | x | x | 3 | 4 | 2 | 3 | 2 |
560 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
d = A("d")
f = B("f")
i = B("i")
a = A("a")
h = B("h")
g = B("g")
e = A("e")
d.o = a
f.q = e
i.q = e
a.o = d
h.q = e
g.q = e
e.o = a
assert e.o.o.o.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
d = A("d")
f = B("f")
i = B("i")
a = A("a")
h = B("h")
g = B("g")
e = A("e")
d.o = a
f.q = e
i.q = e
a.o = d
h.q = e
g.q = e
e.o = a
assert e.o.o.o.o.txt == "d" | e | a | d | a | d | x | x | x | 7 | 7 | 2 | 4 | 2 |
561 | 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.z: B = None
self.o: A = None
self.txt = txt
j = A("j")
g = B("g")
i = A("i")
c = B("c")
d = B("d")
f = B("f")
j.s = c
j.q = i
g.z = f
g.o = j
i.s = d
i.q = j
c.z = d
c.o = j
d.z = g
d.o = i
f.z = c
f.o = j
assert g.o.s.o.s.z.z.txt == " | g" | 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.z: B = None
self.o: A = None
self.txt = txt
j = A("j")
g = B("g")
i = A("i")
c = B("c")
d = B("d")
f = B("f")
j.s = c
j.q = i
g.z = f
g.o = j
i.s = d
i.q = j
c.z = d
c.o = j
d.z = g
d.o = i
f.z = c
f.o = j
assert g.o.s.o.s.z.z.txt == "g" | g | j | c | j | c | d | g | x | 6 | 12 | 2 | 6 | 3 |
562 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
e = B("e")
i = A("i")
g.v = i
e.x = g
i.v = g
assert e.x.v.v.txt == " | g" | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
e = B("e")
i = A("i")
g.v = i
e.x = g
i.v = g
assert e.x.v.v.txt == "g" | e | g | i | g | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
563 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
j = A("j")
a = B("a")
b = A("b")
e = B("e")
h = A("h")
j.o = e
a.x = h
a.t = h
b.o = e
e.x = b
e.t = j
h.o = e
assert e.t.o.x.o.t.txt == " | j" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
j = A("j")
a = B("a")
b = A("b")
e = B("e")
h = A("h")
j.o = e
a.x = h
a.t = h
b.o = e
e.x = b
e.t = j
h.o = e
assert e.t.o.x.o.t.txt == "j" | e | j | e | b | e | j | x | x | 5 | 6 | 2 | 5 | 3 |
564 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
f = B("f")
h = B("h")
e.y = h
f.q = e
h.q = e
assert e.y.q.y.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
f = B("f")
h = B("h")
e.y = h
f.q = e
h.q = e
assert e.y.q.y.txt == "h" | e | h | e | h | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
565 | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
h = A("h")
g = B("g")
c = A("c")
d = B("d")
a = B("a")
h.w = a
h.t = a
g.w = d
c.w = g
c.t = d
d.w = g
a.w = d
assert d.w.w.w.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
h = A("h")
g = B("g")
c = A("c")
d = B("d")
a = B("a")
h.w = a
h.t = a
g.w = d
c.w = g
c.t = d
d.w = g
a.w = d
assert d.w.w.w.w.txt == "d" | d | g | d | g | d | x | x | x | 5 | 6 | 2 | 4 | 3 |
566 | 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.x: B = None
self.txt = txt
f = A("f")
e = B("e")
c = A("c")
j = A("j")
i = B("i")
f.t = j
f.o = e
e.x = i
c.t = j
c.o = e
j.t = c
j.o = i
i.x = e
assert i.x.x.x.x.txt == " | i" | 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.x: B = None
self.txt = txt
f = A("f")
e = B("e")
c = A("c")
j = A("j")
i = B("i")
f.t = j
f.o = e
e.x = i
c.t = j
c.o = e
j.t = c
j.o = i
i.x = e
assert i.x.x.x.x.txt == "i" | i | e | i | e | i | x | x | x | 5 | 8 | 2 | 4 | 3 |
567 | class A:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: A = None
self.txt = txt
c = A("c")
j = B("j")
i = A("i")
d = B("d")
c.o = j
c.u = j
j.w = c
j.s = i
i.o = d
i.u = d
d.w = i
d.s = i
assert c.o.w.u.w.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.s: A = None
self.txt = txt
c = A("c")
j = B("j")
i = A("i")
d = B("d")
c.o = j
c.u = j
j.w = c
j.s = i
i.o = d
i.u = d
d.w = i
d.s = i
assert c.o.w.u.w.txt == "c" | c | j | c | j | c | x | x | x | 4 | 5 | 2 | 4 | 3 |
568 | 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.u: A = None
self.txt = txt
i = A("i")
a = B("a")
j = B("j")
h = B("h")
i.r = j
a.x = j
a.u = i
j.x = a
j.u = i
h.x = j
h.u = i
assert i.r.u.r.txt == " | j" | 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.u: A = None
self.txt = txt
i = A("i")
a = B("a")
j = B("j")
h = B("h")
i.r = j
a.x = j
a.u = i
j.x = a
j.u = i
h.x = j
h.u = i
assert i.r.u.r.txt == "j" | i | j | i | j | x | x | x | x | 4 | 7 | 2 | 3 | 2 |
569 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.s: B = None
self.txt = txt
f = A("f")
e = B("e")
j = B("j")
d = B("d")
a = B("a")
h = B("h")
c = A("c")
f.u = c
e.z = h
e.s = h
j.z = a
j.s = a
d.z = a
d.s = e
a.z = d
a.s = d
h.z = a
h.s = e
c.u = f
assert j.z.s.z.z.s.z.s.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.s: B = None
self.txt = txt
f = A("f")
e = B("e")
j = B("j")
d = B("d")
a = B("a")
h = B("h")
c = A("c")
f.u = c
e.z = h
e.s = h
j.z = a
j.s = a
d.z = a
d.s = e
a.z = d
a.s = d
h.z = a
h.s = e
c.u = f
assert j.z.s.z.z.s.z.s.txt == "e" | j | a | d | a | d | e | h | e | 7 | 9 | 2 | 7 | 3 |
570 | class A:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
d = B("d")
c = A("c")
j.q = d
j.y = d
d.q = c
c.q = d
c.y = d
assert j.y.q.q.txt == " | d" | class A:
def __init__(self, txt: str):
self.q: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
d = B("d")
c = A("c")
j.q = d
j.y = d
d.q = c
c.q = d
c.y = d
assert j.y.q.q.txt == "d" | j | d | c | d | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
571 | class A:
def __init__(self, txt: str):
self.q: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
h = A("h")
f = B("f")
b = B("b")
i = A("i")
e = A("e")
a = B("a")
j = B("j")
h.q = f
h.t = a
f.z = b
f.y = j
b.z = j
b.y = j
i.q = f
i.t = j
e.q = f
e.t = j
a.z = b
a.y = j
j.z = f
j.y = b
assert f.y.y.z.z.z.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.q: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.y: B = None
self.txt = txt
h = A("h")
f = B("f")
b = B("b")
i = A("i")
e = A("e")
a = B("a")
j = B("j")
h.q = f
h.t = a
f.z = b
f.y = j
b.z = j
b.y = j
i.q = f
i.t = j
e.q = f
e.t = j
a.z = b
a.y = j
j.z = f
j.y = b
assert f.y.y.z.z.z.y.txt == "j" | f | j | b | j | f | b | j | x | 7 | 13 | 2 | 6 | 4 |
572 | class A:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
e = B("e")
d = A("d")
f = B("f")
j.r = e
j.t = d
e.p = j
d.r = e
d.t = j
f.p = j
assert e.p.t.t.t.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
e = B("e")
d = A("d")
f = B("f")
j.r = e
j.t = d
e.p = j
d.r = e
d.t = j
f.p = j
assert e.p.t.t.t.txt == "d" | e | j | d | j | d | x | x | x | 4 | 6 | 2 | 4 | 2 |
573 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
i = A("i")
c = B("c")
b = A("b")
a = A("a")
e = B("e")
i.u = b
c.y = b
b.u = a
a.u = b
e.y = i
assert c.y.u.u.u.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
i = A("i")
c = B("c")
b = A("b")
a = A("a")
e = B("e")
i.u = b
c.y = b
b.u = a
a.u = b
e.y = i
assert c.y.u.u.u.u.txt == "b" | c | b | a | b | a | b | x | x | 5 | 5 | 2 | 5 | 3 |
574 | 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.v: B = None
self.txt = txt
j = A("j")
e = B("e")
c = B("c")
h = A("h")
i = A("i")
a = A("a")
f = B("f")
j.u = e
e.w = a
e.v = f
c.w = a
c.v = f
h.u = f
i.u = f
a.u = f
f.w = h
f.v = e
assert c.v.v.v.w.u.txt == " | f" | class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.v: B = None
self.txt = txt
j = A("j")
e = B("e")
c = B("c")
h = A("h")
i = A("i")
a = A("a")
f = B("f")
j.u = e
e.w = a
e.v = f
c.w = a
c.v = f
h.u = f
i.u = f
a.u = f
f.w = h
f.v = e
assert c.v.v.v.w.u.txt == "f" | c | f | e | f | h | f | x | x | 7 | 10 | 2 | 5 | 2 |
575 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.s: A = None
self.txt = txt
d = A("d")
b = B("b")
c = B("c")
a = A("a")
d.r = c
b.r = c
b.s = d
c.r = b
c.s = d
a.r = c
assert b.s.r.r.s.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.s: A = None
self.txt = txt
d = A("d")
b = B("b")
c = B("c")
a = A("a")
d.r = c
b.r = c
b.s = d
c.r = b
c.s = d
a.r = c
assert b.s.r.r.s.txt == "d" | b | d | c | b | d | x | x | x | 4 | 6 | 2 | 4 | 2 |
576 | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
d = A("d")
i = B("i")
f = A("f")
e = B("e")
d.u = i
d.y = i
i.q = e
f.u = e
f.y = i
e.q = i
assert e.q.q.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
d = A("d")
i = B("i")
f = A("f")
e = B("e")
d.u = i
d.y = i
i.q = e
f.u = e
f.y = i
e.q = i
assert e.q.q.q.txt == "i" | e | i | e | i | x | x | x | x | 4 | 5 | 2 | 3 | 2 |
577 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
e = A("e")
f = B("f")
a = A("a")
g = B("g")
e.x = f
f.z = g
f.r = g
a.x = f
g.z = f
g.r = f
assert e.x.z.z.txt == " | f" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.r: B = None
self.txt = txt
e = A("e")
f = B("f")
a = A("a")
g = B("g")
e.x = f
f.z = g
f.r = g
a.x = f
g.z = f
g.r = f
assert e.x.z.z.txt == "f" | e | f | g | f | x | x | x | x | 4 | 4 | 2 | 3 | 1 |
578 | class A:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
b = B("b")
i = A("i")
h = A("h")
f = B("f")
c.o = h
c.t = h
b.z = h
i.o = h
i.t = h
h.o = c
h.t = c
f.z = h
assert h.o.t.t.t.t.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
b = B("b")
i = A("i")
h = A("h")
f = B("f")
c.o = h
c.t = h
b.z = h
i.o = h
i.t = h
h.o = c
h.t = c
f.z = h
assert h.o.t.t.t.t.txt == "c" | h | c | h | c | h | c | x | x | 5 | 5 | 2 | 5 | 4 |
579 | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
i = B("i")
g = B("g")
f = A("f")
d = A("d")
c = A("c")
a = A("a")
b.x = g
i.q = b
g.q = c
f.x = i
d.x = g
c.x = g
a.x = g
assert a.x.q.x.q.x.q.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
i = B("i")
g = B("g")
f = A("f")
d = A("d")
c = A("c")
a = A("a")
b.x = g
i.q = b
g.q = c
f.x = i
d.x = g
c.x = g
a.x = g
assert a.x.q.x.q.x.q.txt == "c" | a | g | c | g | c | g | c | x | 7 | 7 | 2 | 6 | 4 |
580 | class A:
def __init__(self, txt: str):
self.y: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
f = A("f")
h = B("h")
g = B("g")
b = B("b")
e = A("e")
c = A("c")
j = A("j")
f.y = g
f.o = b
h.o = b
h.r = c
g.o = b
g.r = c
b.o = h
b.r = j
e.y = g
e.o = g
c.y = g
c.o = h
j.y = h
j.o = h
assert h.r.o.r.y.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.r: A = None
self.txt = txt
f = A("f")
h = B("h")
g = B("g")
b = B("b")
e = A("e")
c = A("c")
j = A("j")
f.y = g
f.o = b
h.o = b
h.r = c
g.o = b
g.r = c
b.o = h
b.r = j
e.y = g
e.o = g
c.y = g
c.o = h
j.y = h
j.o = h
assert h.r.o.r.y.txt == "g" | h | c | h | c | g | x | x | x | 7 | 12 | 2 | 4 | 2 |
581 | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
i = B("i")
d = A("d")
a = B("a")
g = B("g")
c = A("c")
j = B("j")
f.w = j
f.s = a
i.y = g
d.w = a
d.s = g
a.y = i
g.y = j
c.w = g
c.s = a
j.y = i
assert f.s.y.y.y.txt == " | j" | class A:
def __init__(self, txt: str):
self.w: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
f = A("f")
i = B("i")
d = A("d")
a = B("a")
g = B("g")
c = A("c")
j = B("j")
f.w = j
f.s = a
i.y = g
d.w = a
d.s = g
a.y = i
g.y = j
c.w = g
c.s = a
j.y = i
assert f.s.y.y.y.txt == "j" | f | a | i | g | j | x | x | x | 7 | 10 | 2 | 4 | 0 |
582 | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: A = None
self.txt = txt
j = A("j")
d = B("d")
b = B("b")
h = A("h")
f = B("f")
i = B("i")
e = A("e")
j.y = e
j.p = f
d.u = h
d.v = j
b.u = j
b.v = e
h.y = j
h.p = d
f.u = h
f.v = e
i.u = h
i.v = h
e.y = j
e.p = d
assert e.y.p.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.v: A = None
self.txt = txt
j = A("j")
d = B("d")
b = B("b")
h = A("h")
f = B("f")
i = B("i")
e = A("e")
j.y = e
j.p = f
d.u = h
d.v = j
b.u = j
b.v = e
h.y = j
h.p = d
f.u = h
f.v = e
i.u = h
i.v = h
e.y = j
e.p = d
assert e.y.p.v.txt == "e" | e | j | f | e | x | x | x | x | 7 | 13 | 2 | 3 | 1 |
583 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
e = A("e")
h = B("h")
d = B("d")
g = A("g")
e.o = d
h.s = g
d.s = e
g.o = h
assert e.o.s.o.txt == " | d" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
e = A("e")
h = B("h")
d = B("d")
g = A("g")
e.o = d
h.s = g
d.s = e
g.o = h
assert e.o.s.o.txt == "d" | e | d | e | d | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
584 | 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.txt = txt
b = A("b")
c = B("c")
e = B("e")
f = A("f")
j = B("j")
h = A("h")
b.z = h
c.x = f
e.x = h
f.z = h
j.x = b
h.z = f
assert h.z.z.z.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
b = A("b")
c = B("c")
e = B("e")
f = A("f")
j = B("j")
h = A("h")
b.z = h
c.x = f
e.x = h
f.z = h
j.x = b
h.z = f
assert h.z.z.z.txt == "f" | h | f | h | f | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
585 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.x: B = None
self.txt = txt
a = A("a")
d = B("d")
e = A("e")
h = A("h")
c = B("c")
b = B("b")
j = B("j")
a.t = c
d.y = h
d.x = b
e.t = j
h.t = b
c.y = e
c.x = d
b.y = a
b.x = c
j.y = h
j.x = c
assert a.t.y.t.y.t.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.x: B = None
self.txt = txt
a = A("a")
d = B("d")
e = A("e")
h = A("h")
c = B("c")
b = B("b")
j = B("j")
a.t = c
d.y = h
d.x = b
e.t = j
h.t = b
c.y = e
c.x = d
b.y = a
b.x = c
j.y = h
j.x = c
assert a.t.y.t.y.t.x.txt == "c" | a | c | e | j | h | b | c | x | 7 | 11 | 2 | 6 | 1 |
586 | class A:
def __init__(self, txt: str):
self.w: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: A = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
h = B("h")
i = A("i")
f = B("f")
e = A("e")
g.w = c
g.z = i
d.u = f
d.z = e
c.w = e
c.z = i
h.u = d
h.z = c
i.w = c
i.z = g
f.u = d
f.z = c
e.w = i
e.z = g
assert f.u.u.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.z: A = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
h = B("h")
i = A("i")
f = B("f")
e = A("e")
g.w = c
g.z = i
d.u = f
d.z = e
c.w = e
c.z = i
h.u = d
h.z = c
i.w = c
i.z = g
f.u = d
f.z = c
e.w = i
e.z = g
assert f.u.u.u.txt == "d" | f | d | f | d | x | x | x | x | 7 | 14 | 2 | 3 | 2 |
587 | class A:
def __init__(self, txt: str):
self.t: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.p: B = None
self.txt = txt
d = A("d")
e = B("e")
f = B("f")
c = A("c")
d.t = e
d.q = c
e.z = f
e.p = f
f.z = e
f.p = e
c.t = e
c.q = d
assert d.q.q.q.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.p: B = None
self.txt = txt
d = A("d")
e = B("e")
f = B("f")
c = A("c")
d.t = e
d.q = c
e.z = f
e.p = f
f.z = e
f.p = e
c.t = e
c.q = d
assert d.q.q.q.t.txt == "e" | d | c | d | c | e | x | x | x | 4 | 6 | 2 | 4 | 2 |
588 | class A:
def __init__(self, txt: str):
self.t: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: B = None
self.txt = txt
b = A("b")
j = B("j")
d = B("d")
f = A("f")
e = A("e")
i = B("i")
b.t = e
b.r = j
j.x = i
j.u = d
d.x = j
d.u = j
f.t = e
f.r = j
e.t = f
e.r = i
i.x = d
i.u = j
assert e.t.r.u.x.u.txt == " | d" | class A:
def __init__(self, txt: str):
self.t: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.u: B = None
self.txt = txt
b = A("b")
j = B("j")
d = B("d")
f = A("f")
e = A("e")
i = B("i")
b.t = e
b.r = j
j.x = i
j.u = d
d.x = j
d.u = j
f.t = e
f.r = j
e.t = f
e.r = i
i.x = d
i.u = j
assert e.t.r.u.x.u.txt == "d" | e | f | j | d | j | d | x | x | 6 | 11 | 2 | 5 | 2 |
589 | class A:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
j = A("j")
e = B("e")
i = A("i")
g = A("g")
a = B("a")
j.s = i
j.p = g
e.u = a
i.s = g
i.p = g
g.s = i
g.p = i
a.u = e
assert a.u.u.u.u.u.txt == " | e" | class A:
def __init__(self, txt: str):
self.s: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
j = A("j")
e = B("e")
i = A("i")
g = A("g")
a = B("a")
j.s = i
j.p = g
e.u = a
i.s = g
i.p = g
g.s = i
g.p = i
a.u = e
assert a.u.u.u.u.u.txt == "e" | a | e | a | e | a | e | x | x | 5 | 6 | 2 | 5 | 4 |
590 | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
g = A("g")
a = B("a")
f = B("f")
j = A("j")
i = B("i")
g.u = a
g.p = j
a.u = i
f.u = i
j.u = i
j.p = g
i.u = f
assert j.p.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.u: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
g = A("g")
a = B("a")
f = B("f")
j = A("j")
i = B("i")
g.u = a
g.p = j
a.u = i
f.u = i
j.u = i
j.p = g
i.u = f
assert j.p.u.u.txt == "i" | j | g | a | i | x | x | x | x | 5 | 7 | 2 | 3 | 0 |
591 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
f = B("f")
c = B("c")
i = B("i")
g = A("g")
h.v = c
f.t = i
c.t = i
i.t = f
g.v = f
assert h.v.t.t.t.t.txt == " | f" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
f = B("f")
c = B("c")
i = B("i")
g = A("g")
h.v = c
f.t = i
c.t = i
i.t = f
g.v = f
assert h.v.t.t.t.t.txt == "f" | h | c | i | f | i | f | x | x | 5 | 5 | 2 | 5 | 2 |
592 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
a = B("a")
b = A("b")
h = A("h")
g = B("g")
d = B("d")
c.o = h
a.z = h
b.o = c
h.o = c
g.z = b
d.z = b
assert c.o.o.o.txt == " | h" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
c = A("c")
a = B("a")
b = A("b")
h = A("h")
g = B("g")
d = B("d")
c.o = h
a.z = h
b.o = c
h.o = c
g.z = b
d.z = b
assert c.o.o.o.txt == "h" | c | h | c | h | x | x | x | x | 6 | 6 | 2 | 3 | 2 |
593 | class A:
def __init__(self, txt: str):
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
g = A("g")
c = B("c")
h = A("h")
j.y = c
j.x = a
f.w = c
a.w = f
g.y = a
g.x = c
c.w = a
h.y = f
h.x = c
assert g.y.w.w.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.y: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
j = A("j")
f = B("f")
a = B("a")
g = A("g")
c = B("c")
h = A("h")
j.y = c
j.x = a
f.w = c
a.w = f
g.y = a
g.x = c
c.w = a
h.y = f
h.x = c
assert g.y.w.w.w.txt == "a" | g | a | f | c | a | x | x | x | 6 | 9 | 2 | 4 | 1 |
594 | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
e = B("e")
j = A("j")
c.p = j
g.r = e
e.r = g
j.p = c
assert g.r.r.r.txt == " | e" | class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
e = B("e")
j = A("j")
c.p = j
g.r = e
e.r = g
j.p = c
assert g.r.r.r.txt == "e" | g | e | g | e | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
595 | class A:
def __init__(self, txt: str):
self.w: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: B = None
self.txt = txt
h = A("h")
g = B("g")
c = A("c")
a = B("a")
f = A("f")
h.w = f
h.v = a
g.p = f
g.o = a
c.w = h
c.v = a
a.p = c
a.o = g
f.w = c
f.v = g
assert g.p.v.o.txt == " | a" | class A:
def __init__(self, txt: str):
self.w: A = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.o: B = None
self.txt = txt
h = A("h")
g = B("g")
c = A("c")
a = B("a")
f = A("f")
h.w = f
h.v = a
g.p = f
g.o = a
c.w = h
c.v = a
a.p = c
a.o = g
f.w = c
f.v = g
assert g.p.v.o.txt == "a" | g | f | g | a | x | x | x | x | 5 | 10 | 2 | 3 | 1 |
596 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
d = A("d")
i = B("i")
g = A("g")
a = A("a")
h = B("h")
d.v = h
i.u = h
i.x = h
g.v = i
a.v = i
h.u = i
h.x = i
assert a.v.x.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
d = A("d")
i = B("i")
g = A("g")
a = A("a")
h = B("h")
d.v = h
i.u = h
i.x = h
g.v = i
a.v = i
h.u = i
h.x = i
assert a.v.x.u.u.u.txt == "i" | a | i | h | i | h | i | x | x | 5 | 5 | 2 | 5 | 3 |
597 | class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
c = A("c")
i = B("i")
j = B("j")
f = A("f")
c.z = f
i.q = j
j.q = i
f.z = c
assert f.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.q: B = None
self.txt = txt
c = A("c")
i = B("i")
j = B("j")
f = A("f")
c.z = f
i.q = j
j.q = i
f.z = c
assert f.z.z.z.txt == "c" | f | c | f | c | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
598 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
c = A("c")
f = B("f")
e = A("e")
h = B("h")
g = B("g")
a = B("a")
j = A("j")
c.z = f
f.p = g
e.z = f
h.p = a
g.p = f
a.p = h
j.z = g
assert h.p.p.p.txt == " | a" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
c = A("c")
f = B("f")
e = A("e")
h = B("h")
g = B("g")
a = B("a")
j = A("j")
c.z = f
f.p = g
e.z = f
h.p = a
g.p = f
a.p = h
j.z = g
assert h.p.p.p.txt == "a" | h | a | h | a | x | x | x | x | 7 | 7 | 2 | 3 | 2 |
599 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
c = A("c")
b = B("b")
d = B("d")
j = B("j")
c.p = b
b.x = j
b.o = c
d.x = b
d.o = c
j.x = b
j.o = c
assert d.x.x.x.txt == " | b" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
c = A("c")
b = B("b")
d = B("d")
j = B("j")
c.p = b
b.x = j
b.o = c
d.x = b
d.o = c
j.x = b
j.o = c
assert d.x.x.x.txt == "b" | d | b | j | b | x | x | x | x | 4 | 7 | 2 | 3 | 1 |