id
int64 0
30k
| 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 | depthn0
stringclasses 10
values | depthn1
stringclasses 10
values | depthn2
stringclasses 10
values | depthn3
stringclasses 10
values | depthn4
stringclasses 11
values | depthn5
stringclasses 11
values | depthn6
stringclasses 11
values | depthn7
stringclasses 11
values | num_nodes
int64 3
7
| num_edges
int64 3
30
| num_classes
int64 2
7
| path_length
int64 3
7
| num_cycle
int64 0
6
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
300 | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
i = B("i")
b = A("b")
h = B("h")
a = A("a")
f = A("f")
c = B("c")
g.p = c
g.s = b
i.x = h
b.p = c
b.s = g
h.x = c
a.p = c
a.s = b
f.p = c
f.s = g
c.x = h
assert g.p.x.x.x.x.x.x.txt == " | c" | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
i = B("i")
b = A("b")
h = B("h")
a = A("a")
f = A("f")
c = B("c")
g.p = c
g.s = b
i.x = h
b.p = c
b.s = g
h.x = c
a.p = c
a.s = b
f.p = c
f.s = g
c.x = h
assert g.p.x.x.x.x.x.x.txt == "c" | g | c | h | c | h | c | h | c | c | h | c | h | c | h | c | g | 7 | 11 | 2 | 7 | 5 |
301 | 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.r: A = None
self.txt = txt
i = A("i")
h = B("h")
d = A("d")
f = B("f")
j = B("j")
e = B("e")
a = A("a")
i.x = h
h.z = a
h.r = i
d.x = j
f.z = i
f.r = i
j.z = a
j.r = d
e.z = i
e.r = d
a.x = e
assert e.z.x.r.x.z.x.txt == " | e" | 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.r: A = None
self.txt = txt
i = A("i")
h = B("h")
d = A("d")
f = B("f")
j = B("j")
e = B("e")
a = A("a")
i.x = h
h.z = a
h.r = i
d.x = j
f.z = i
f.r = i
j.z = a
j.r = d
e.z = i
e.r = d
a.x = e
assert e.z.x.r.x.z.x.txt == "e" | e | i | h | i | h | a | e | x | e | a | h | i | h | i | e | x | 7 | 10 | 2 | 6 | 3 |
302 | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
i = B("i")
d = A("d")
c = B("c")
g = A("g")
a.p = c
a.s = g
i.s = g
d.p = c
d.s = g
c.s = g
g.p = i
g.s = a
assert c.s.p.s.txt == " | g" | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
a = A("a")
i = B("i")
d = A("d")
c = B("c")
g = A("g")
a.p = c
a.s = g
i.s = g
d.p = c
d.s = g
c.s = g
g.p = i
g.s = a
assert c.s.p.s.txt == "g" | c | g | i | g | x | x | x | x | g | i | g | c | x | x | x | x | 5 | 8 | 2 | 3 | 1 |
303 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
d = A("d")
b = B("b")
e = B("e")
h = A("h")
a = A("a")
i = B("i")
g = B("g")
d.s = g
b.o = h
b.t = d
e.o = h
e.t = h
h.s = i
a.s = b
i.o = h
i.t = d
g.o = a
g.t = a
assert b.o.s.o.s.o.txt == " | h" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: A = None
self.txt = txt
d = A("d")
b = B("b")
e = B("e")
h = A("h")
a = A("a")
i = B("i")
g = B("g")
d.s = g
b.o = h
b.t = d
e.o = h
e.t = h
h.s = i
a.s = b
i.o = h
i.t = d
g.o = a
g.t = a
assert b.o.s.o.s.o.txt == "h" | b | h | i | h | i | h | x | x | h | i | h | i | h | b | x | x | 7 | 9 | 2 | 5 | 3 |
304 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
j = B("j")
c = B("c")
e = A("e")
b = B("b")
f.x = e
j.p = e
c.p = e
e.x = f
b.p = e
assert b.p.x.x.x.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
j = B("j")
c = B("c")
e = A("e")
b = B("b")
f.x = e
j.p = e
c.p = e
e.x = f
b.p = e
assert b.p.x.x.x.x.txt == "e" | b | e | f | e | f | e | x | x | e | f | e | f | e | b | x | x | 5 | 5 | 2 | 5 | 3 |
305 | class A:
def __init__(self, txt: str):
self.w: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
d = A("d")
j = B("j")
a = A("a")
f = B("f")
d.w = a
d.t = f
j.v = d
a.w = d
a.t = f
f.v = a
assert f.v.t.v.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.w: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
d = A("d")
j = B("j")
a = A("a")
f = B("f")
d.w = a
d.t = f
j.v = d
a.w = d
a.t = f
f.v = a
assert f.v.t.v.w.txt == "d" | f | a | f | a | d | x | x | x | d | a | f | a | f | x | x | x | 4 | 6 | 2 | 4 | 2 |
306 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
f = A("f")
j = B("j")
a = B("a")
e = B("e")
f.t = e
j.p = e
j.q = e
a.p = j
a.q = j
e.p = j
e.q = a
assert f.t.p.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
f = A("f")
j = B("j")
a = B("a")
e = B("e")
f.t = e
j.p = e
j.q = e
a.p = j
a.q = j
e.p = j
e.q = a
assert f.t.p.p.txt == "e" | f | e | j | e | x | x | x | x | e | j | e | f | x | x | x | x | 4 | 5 | 2 | 3 | 1 |
307 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
g = A("g")
a = B("a")
c = A("c")
d = A("d")
g.v = a
a.z = g
c.v = a
d.v = a
assert g.v.z.v.txt == " | a" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
g = A("g")
a = B("a")
c = A("c")
d = A("d")
g.v = a
a.z = g
c.v = a
d.v = a
assert g.v.z.v.txt == "a" | g | a | g | a | x | x | x | x | a | g | a | g | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
308 | class A:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
g = B("g")
d = B("d")
i = A("i")
h = B("h")
f = A("f")
a.q = f
a.w = g
g.y = d
d.y = h
i.q = a
i.w = g
h.y = d
f.q = i
f.w = d
assert f.q.q.q.txt == " | f" | class A:
def __init__(self, txt: str):
self.q: A = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
a = A("a")
g = B("g")
d = B("d")
i = A("i")
h = B("h")
f = A("f")
a.q = f
a.w = g
g.y = d
d.y = h
i.q = a
i.w = g
h.y = d
f.q = i
f.w = d
assert f.q.q.q.txt == "f" | f | i | a | f | x | x | x | x | f | a | i | f | x | x | x | x | 6 | 9 | 2 | 3 | 1 |
309 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
e = A("e")
g = B("g")
c = B("c")
e.v = g
g.p = c
g.r = e
c.p = g
c.r = e
assert e.v.r.v.txt == " | g" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
e = A("e")
g = B("g")
c = B("c")
e.v = g
g.p = c
g.r = e
c.p = g
c.r = e
assert e.v.r.v.txt == "g" | e | g | e | g | x | x | x | x | g | e | g | e | x | x | x | x | 3 | 5 | 2 | 3 | 2 |
310 | 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.y: A = None
self.txt = txt
c = A("c")
f = B("f")
i = A("i")
c.y = f
c.o = f
f.y = i
i.y = f
i.o = f
assert c.y.y.y.txt == " | f" | 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.y: A = None
self.txt = txt
c = A("c")
f = B("f")
i = A("i")
c.y = f
c.o = f
f.y = i
i.y = f
i.o = f
assert c.y.y.y.txt == "f" | c | f | i | f | x | x | x | x | f | i | f | c | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
311 | class A:
def __init__(self, txt: str):
self.z: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
e = B("e")
j = A("j")
b = B("b")
g.z = e
g.x = j
e.x = b
j.z = e
j.x = g
b.x = e
assert b.x.x.x.txt == " | e" | class A:
def __init__(self, txt: str):
self.z: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
g = A("g")
e = B("e")
j = A("j")
b = B("b")
g.z = e
g.x = j
e.x = b
j.z = e
j.x = g
b.x = e
assert b.x.x.x.txt == "e" | b | e | b | e | x | x | x | x | e | b | e | b | x | x | x | x | 4 | 6 | 2 | 3 | 2 |
312 | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.q: B = None
self.txt = txt
f = A("f")
g = B("g")
e = B("e")
i = A("i")
a = B("a")
h = B("h")
c = A("c")
f.z = e
f.w = e
g.z = a
g.q = h
e.z = g
e.q = g
i.z = e
i.w = h
a.z = h
a.q = g
h.z = e
h.q = e
c.z = e
c.w = e
assert g.z.z.z.q.q.txt == " | h" | class A:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.q: B = None
self.txt = txt
f = A("f")
g = B("g")
e = B("e")
i = A("i")
a = B("a")
h = B("h")
c = A("c")
f.z = e
f.w = e
g.z = a
g.q = h
e.z = g
e.q = g
i.z = e
i.w = h
a.z = h
a.q = g
h.z = e
h.q = e
c.z = e
c.w = e
assert g.z.z.z.q.q.txt == "h" | g | a | h | e | g | h | x | x | h | g | e | h | a | g | x | x | 7 | 10 | 2 | 5 | 2 |
313 | 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
c = A("c")
i = B("i")
d = A("d")
c.y = d
i.y = d
d.y = c
assert d.y.y.y.txt == " | c" | 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
c = A("c")
i = B("i")
d = A("d")
c.y = d
i.y = d
d.y = c
assert d.y.y.y.txt == "c" | d | c | d | c | x | x | x | x | c | d | c | d | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
314 | class A:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
c = B("c")
g = B("g")
e = A("e")
b.x = g
b.y = c
c.u = b
g.u = b
e.x = c
e.y = g
assert e.y.u.y.u.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
c = B("c")
g = B("g")
e = A("e")
b.x = g
b.y = c
c.u = b
g.u = b
e.x = c
e.y = g
assert e.y.u.y.u.txt == "b" | e | g | b | c | b | x | x | x | b | c | b | g | e | x | x | x | 4 | 6 | 2 | 4 | 1 |
315 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
g = A("g")
d = B("d")
a = A("a")
e = A("e")
g.v = d
d.s = g
d.o = g
a.v = d
e.v = d
assert a.v.s.v.txt == " | d" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
g = A("g")
d = B("d")
a = A("a")
e = A("e")
g.v = d
d.s = g
d.o = g
a.v = d
e.v = d
assert a.v.s.v.txt == "d" | a | d | g | d | x | x | x | x | d | g | d | a | x | x | x | x | 4 | 4 | 2 | 3 | 1 |
316 | 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.p: A = None
self.txt = txt
g = A("g")
j = B("j")
f = B("f")
g.x = f
j.q = g
j.p = g
f.q = g
f.p = g
assert g.x.q.x.txt == " | f" | 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.p: A = None
self.txt = txt
g = A("g")
j = B("j")
f = B("f")
g.x = f
j.q = g
j.p = g
f.q = g
f.p = g
assert g.x.q.x.txt == "f" | g | f | g | f | x | x | x | x | f | g | f | g | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
317 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: A = None
self.txt = txt
j = A("j")
f = B("f")
c = A("c")
g = B("g")
j.s = g
f.u = j
f.w = j
c.s = g
g.u = j
g.w = j
assert c.s.w.s.w.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.w: A = None
self.txt = txt
j = A("j")
f = B("f")
c = A("c")
g = B("g")
j.s = g
f.u = j
f.w = j
c.s = g
g.u = j
g.w = j
assert c.s.w.s.w.txt == "j" | c | g | j | g | j | x | x | x | j | g | j | g | c | x | x | x | 4 | 4 | 2 | 4 | 2 |
318 | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: B = None
self.txt = txt
d = A("d")
g = B("g")
i = B("i")
d.t = g
g.x = i
g.p = i
i.x = g
i.p = g
assert g.p.x.p.txt == " | i" | class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.p: B = None
self.txt = txt
d = A("d")
g = B("g")
i = B("i")
d.t = g
g.x = i
g.p = i
i.x = g
i.p = g
assert g.p.x.p.txt == "i" | g | i | g | i | x | x | x | x | i | g | i | g | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
319 | class A:
def __init__(self, txt: str):
self.r: 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")
d = A("d")
b.r = d
g.y = b
d.r = b
assert b.r.r.r.txt == " | d" | class A:
def __init__(self, txt: str):
self.r: 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")
d = A("d")
b.r = d
g.y = b
d.r = b
assert b.r.r.r.txt == "d" | b | d | b | d | x | x | x | x | d | b | d | b | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
320 | 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
e = A("e")
j = B("j")
i = A("i")
f = A("f")
e.o = f
j.r = e
i.o = e
f.o = e
assert f.o.o.o.o.txt == " | f" | 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
e = A("e")
j = B("j")
i = A("i")
f = A("f")
e.o = f
j.r = e
i.o = e
f.o = e
assert f.o.o.o.o.txt == "f" | f | e | f | e | f | x | x | x | f | e | f | e | f | x | x | x | 4 | 4 | 2 | 4 | 3 |
321 | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
h = A("h")
j = B("j")
g = A("g")
a = B("a")
c = A("c")
h.u = j
h.x = c
j.y = c
j.w = a
g.u = j
g.x = h
a.y = h
a.w = j
c.u = j
c.x = g
assert j.w.w.w.w.txt == " | j" | class A:
def __init__(self, txt: str):
self.u: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.w: B = None
self.txt = txt
h = A("h")
j = B("j")
g = A("g")
a = B("a")
c = A("c")
h.u = j
h.x = c
j.y = c
j.w = a
g.u = j
g.x = h
a.y = h
a.w = j
c.u = j
c.x = g
assert j.w.w.w.w.txt == "j" | j | a | j | a | j | x | x | x | j | a | j | a | j | x | x | x | 5 | 10 | 2 | 4 | 3 |
322 | class A:
def __init__(self, txt: str):
self.u: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.r: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
d = A("d")
j.u = c
j.s = c
i.y = c
i.r = j
c.y = i
c.r = d
d.u = c
d.s = i
assert d.s.y.y.y.txt == " | c" | class A:
def __init__(self, txt: str):
self.u: B = None
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.r: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
d = A("d")
j.u = c
j.s = c
i.y = c
i.r = j
c.y = i
c.r = d
d.u = c
d.s = i
assert d.s.y.y.y.txt == "c" | d | i | c | i | c | x | x | x | c | i | c | i | d | x | x | x | 4 | 7 | 2 | 4 | 2 |
323 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
j = B("j")
b = B("b")
a.s = b
f.s = j
f.w = j
j.s = b
j.w = b
b.s = j
b.w = j
assert a.s.w.s.w.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
j = B("j")
b = B("b")
a.s = b
f.s = j
f.w = j
j.s = b
j.w = b
b.s = j
b.w = j
assert a.s.w.s.w.txt == "j" | a | b | j | b | j | x | x | x | j | b | j | b | a | x | x | x | 4 | 4 | 2 | 4 | 2 |
324 | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
a = A("a")
g = B("g")
h = A("h")
e = A("e")
d = B("d")
a.v = e
a.o = d
g.p = d
h.v = a
h.o = g
e.v = a
e.o = g
d.p = g
assert g.p.p.p.p.txt == " | g" | class A:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
a = A("a")
g = B("g")
h = A("h")
e = A("e")
d = B("d")
a.v = e
a.o = d
g.p = d
h.v = a
h.o = g
e.v = a
e.o = g
d.p = g
assert g.p.p.p.p.txt == "g" | g | d | g | d | g | x | x | x | g | d | g | d | g | x | x | x | 5 | 8 | 2 | 4 | 3 |
325 | class A:
def __init__(self, txt: str):
self.v: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
e = B("e")
a = A("a")
f = B("f")
j = A("j")
b.v = j
b.r = j
e.o = a
a.v = j
a.r = j
f.o = a
j.v = a
j.r = a
assert b.v.v.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.v: A = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
e = B("e")
a = A("a")
f = B("f")
j = A("j")
b.v = j
b.r = j
e.o = a
a.v = j
a.r = j
f.o = a
j.v = a
j.r = a
assert b.v.v.r.r.txt == "a" | b | j | a | j | a | x | x | x | a | j | a | j | b | x | x | x | 5 | 5 | 2 | 4 | 2 |
326 | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
d = A("d")
i = B("i")
e = A("e")
g = B("g")
f = A("f")
d.v = e
d.p = e
i.o = d
e.v = f
e.p = d
g.o = f
f.v = d
f.p = e
assert e.v.v.v.p.p.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: A = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
d = A("d")
i = B("i")
e = A("e")
g = B("g")
f = A("f")
d.v = e
d.p = e
i.o = d
e.v = f
e.p = d
g.o = f
f.v = d
f.p = e
assert e.v.v.v.p.p.txt == "e" | e | f | d | e | d | e | x | x | e | d | e | d | f | e | x | x | 5 | 7 | 2 | 5 | 3 |
327 | class A:
def __init__(self, txt: str):
self.s: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
d = A("d")
c = B("c")
a = B("a")
h = A("h")
j = A("j")
i = B("i")
d.s = i
d.q = a
c.u = i
a.u = i
h.s = i
h.q = c
j.s = a
j.q = i
i.u = c
assert j.q.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.s: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
d = A("d")
c = B("c")
a = B("a")
h = A("h")
j = A("j")
i = B("i")
d.s = i
d.q = a
c.u = i
a.u = i
h.s = i
h.q = c
j.s = a
j.q = i
i.u = c
assert j.q.u.u.txt == "i" | j | i | c | i | x | x | x | x | i | c | i | j | x | x | x | x | 6 | 9 | 2 | 3 | 1 |
328 | class A:
def __init__(self, txt: str):
self.o: A = 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")
b = B("b")
g = A("g")
h = B("h")
f = A("f")
d = B("d")
a = A("a")
i.o = g
b.x = h
b.u = i
g.o = i
h.x = d
h.u = i
f.o = g
d.x = b
d.u = g
a.o = f
assert a.o.o.o.o.o.o.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: A = 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")
b = B("b")
g = A("g")
h = B("h")
f = A("f")
d = B("d")
a = A("a")
i.o = g
b.x = h
b.u = i
g.o = i
h.x = d
h.u = i
f.o = g
d.x = b
d.u = g
a.o = f
assert a.o.o.o.o.o.o.txt == "g" | a | f | g | i | g | i | g | x | g | i | g | i | g | f | a | x | 7 | 10 | 2 | 6 | 3 |
329 | class A:
def __init__(self, txt: str):
self.v: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
g = A("g")
c = B("c")
a = A("a")
i = B("i")
g.v = c
g.y = c
c.q = i
a.v = i
a.y = c
i.q = c
assert a.v.q.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.v: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
g = A("g")
c = B("c")
a = A("a")
i = B("i")
g.v = c
g.y = c
c.q = i
a.v = i
a.y = c
i.q = c
assert a.v.q.q.txt == "i" | a | i | c | i | x | x | x | x | i | c | i | a | x | x | x | x | 4 | 5 | 2 | 3 | 1 |
330 | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
e = A("e")
g = B("g")
c = B("c")
i = A("i")
j = A("j")
d = B("d")
b = A("b")
e.y = j
g.z = b
g.o = d
c.z = i
c.o = d
i.y = e
j.y = i
d.z = e
d.o = c
b.y = j
assert b.y.y.y.y.y.y.txt == " | e" | class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
e = A("e")
g = B("g")
c = B("c")
i = A("i")
j = A("j")
d = B("d")
b = A("b")
e.y = j
g.z = b
g.o = d
c.z = i
c.o = d
i.y = e
j.y = i
d.z = e
d.o = c
b.y = j
assert b.y.y.y.y.y.y.txt == "e" | b | j | i | e | j | i | e | x | e | i | j | e | i | j | b | x | 7 | 10 | 2 | 6 | 3 |
331 | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.u: A = None
self.txt = txt
i = A("i")
d = B("d")
h = B("h")
i.y = d
i.u = h
d.q = i
d.u = i
h.q = i
h.u = i
assert i.y.q.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.u: A = None
self.txt = txt
i = A("i")
d = B("d")
h = B("h")
i.y = d
i.u = h
d.q = i
d.u = i
h.q = i
h.u = i
assert i.y.q.u.txt == "h" | i | d | i | h | x | x | x | x | h | i | d | i | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
332 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
i = A("i")
a.r = i
d.x = i
g.x = i
i.r = a
assert a.r.r.r.r.txt == " | a" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
i = A("i")
a.r = i
d.x = i
g.x = i
i.r = a
assert a.r.r.r.r.txt == "a" | a | i | a | i | a | x | x | x | a | i | a | i | a | x | x | x | 4 | 4 | 2 | 4 | 3 |
333 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
b = A("b")
i = B("i")
h = A("h")
a = B("a")
e = B("e")
b.r = h
i.s = e
h.r = b
a.s = e
e.s = i
assert h.r.r.r.r.r.txt == " | b" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
b = A("b")
i = B("i")
h = A("h")
a = B("a")
e = B("e")
b.r = h
i.s = e
h.r = b
a.s = e
e.s = i
assert h.r.r.r.r.r.txt == "b" | h | b | h | b | h | b | x | x | b | h | b | h | b | h | x | x | 5 | 5 | 2 | 5 | 4 |
334 | class A:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: B = None
self.txt = txt
c = A("c")
b = B("b")
e = B("e")
i = A("i")
c.o = i
c.u = e
b.r = e
b.t = e
e.r = b
e.t = b
i.o = c
i.u = b
assert i.u.t.t.t.txt == " | e" | class A:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: B = None
self.txt = txt
c = A("c")
b = B("b")
e = B("e")
i = A("i")
c.o = i
c.u = e
b.r = e
b.t = e
e.r = b
e.t = b
i.o = c
i.u = b
assert i.u.t.t.t.txt == "e" | i | b | e | b | e | x | x | x | e | b | e | b | i | x | x | x | 4 | 6 | 2 | 4 | 2 |
335 | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
e = A("e")
d = B("d")
c = B("c")
f = A("f")
i = B("i")
b = B("b")
e.q = f
d.t = b
c.t = i
f.q = e
i.t = b
b.t = c
assert e.q.q.q.q.q.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
e = A("e")
d = B("d")
c = B("c")
f = A("f")
i = B("i")
b = B("b")
e.q = f
d.t = b
c.t = i
f.q = e
i.t = b
b.t = c
assert e.q.q.q.q.q.q.txt == "e" | e | f | e | f | e | f | e | x | e | f | e | f | e | f | e | x | 6 | 6 | 2 | 6 | 5 |
336 | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
i = A("i")
g = B("g")
e = B("e")
i.o = e
i.v = e
g.x = i
g.w = i
e.x = i
e.w = i
assert e.x.o.x.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.w: A = None
self.txt = txt
i = A("i")
g = B("g")
e = B("e")
i.o = e
i.v = e
g.x = i
g.w = i
e.x = i
e.w = i
assert e.x.o.x.txt == "i" | e | i | e | i | x | x | x | x | i | e | i | e | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
337 | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.z: A = None
self.txt = txt
c = A("c")
h = B("h")
g = A("g")
c.s = h
c.x = g
h.w = g
h.z = g
g.s = h
g.x = c
assert g.x.s.w.txt == " | g" | class A:
def __init__(self, txt: str):
self.s: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.z: A = None
self.txt = txt
c = A("c")
h = B("h")
g = A("g")
c.s = h
c.x = g
h.w = g
h.z = g
g.s = h
g.x = c
assert g.x.s.w.txt == "g" | g | c | h | g | x | x | x | x | g | h | c | g | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
338 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.u: A = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
a = B("a")
h = A("h")
f.r = e
e.v = h
e.u = f
i.v = f
i.u = f
a.v = h
a.u = h
h.r = a
assert a.u.r.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.u: A = None
self.txt = txt
f = A("f")
e = B("e")
i = B("i")
a = B("a")
h = A("h")
f.r = e
e.v = h
e.u = f
i.v = f
i.u = f
a.v = h
a.u = h
h.r = a
assert a.u.r.u.txt == "h" | a | h | a | h | x | x | x | x | h | a | h | a | x | x | x | x | 5 | 6 | 2 | 3 | 2 |
339 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.p: A = None
self.txt = txt
e = A("e")
b = B("b")
f = B("f")
i = A("i")
d = B("d")
e.u = i
b.z = i
b.p = i
f.z = i
f.p = i
i.u = e
d.z = i
d.p = e
assert d.p.u.u.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: A = None
self.p: A = None
self.txt = txt
e = A("e")
b = B("b")
f = B("f")
i = A("i")
d = B("d")
e.u = i
b.z = i
b.p = i
f.z = i
f.p = i
i.u = e
d.z = i
d.p = e
assert d.p.u.u.txt == "e" | d | e | i | e | x | x | x | x | e | i | e | d | x | x | x | x | 5 | 6 | 2 | 3 | 1 |
340 | class A:
def __init__(self, txt: str):
self.p: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
c = A("c")
j = B("j")
i = B("i")
a = A("a")
c.p = j
c.t = j
j.y = i
i.y = j
a.p = i
a.t = i
assert a.t.y.y.txt == " | i" | class A:
def __init__(self, txt: str):
self.p: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
c = A("c")
j = B("j")
i = B("i")
a = A("a")
c.p = j
c.t = j
j.y = i
i.y = j
a.p = i
a.t = i
assert a.t.y.y.txt == "i" | a | i | j | i | x | x | x | x | i | j | i | a | x | x | x | x | 4 | 4 | 2 | 3 | 1 |
341 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
h = B("h")
i = B("i")
c = B("c")
d = B("d")
f = B("f")
a = A("a")
b.q = d
h.q = b
i.q = a
c.q = b
d.q = a
f.q = b
a.q = d
assert c.q.q.q.q.q.txt == " | a" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
h = B("h")
i = B("i")
c = B("c")
d = B("d")
f = B("f")
a = A("a")
b.q = d
h.q = b
i.q = a
c.q = b
d.q = a
f.q = b
a.q = d
assert c.q.q.q.q.q.txt == "a" | c | b | d | a | d | a | x | x | a | d | a | d | b | c | x | x | 7 | 7 | 2 | 5 | 2 |
342 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
g = A("g")
d = B("d")
i = B("i")
c = B("c")
j = B("j")
b = A("b")
h = B("h")
g.r = b
d.s = j
i.s = j
c.s = d
j.s = i
b.r = g
h.s = i
assert b.r.r.r.r.txt == " | b" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
g = A("g")
d = B("d")
i = B("i")
c = B("c")
j = B("j")
b = A("b")
h = B("h")
g.r = b
d.s = j
i.s = j
c.s = d
j.s = i
b.r = g
h.s = i
assert b.r.r.r.r.txt == "b" | b | g | b | g | b | x | x | x | b | g | b | g | b | x | x | x | 7 | 7 | 2 | 4 | 3 |
343 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
f = A("f")
j = B("j")
a = B("a")
f.z = a
j.y = a
j.o = f
a.y = j
a.o = f
assert j.o.z.o.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.o: A = None
self.txt = txt
f = A("f")
j = B("j")
a = B("a")
f.z = a
j.y = a
j.o = f
a.y = j
a.o = f
assert j.o.z.o.txt == "f" | j | f | a | f | x | x | x | x | f | a | f | j | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
344 | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
h = A("h")
b = B("b")
i = B("i")
h.p = i
h.x = b
b.y = h
i.y = h
assert h.p.y.x.txt == " | b" | class A:
def __init__(self, txt: str):
self.p: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
h = A("h")
b = B("b")
i = B("i")
h.p = i
h.x = b
b.y = h
i.y = h
assert h.p.y.x.txt == "b" | h | i | h | b | x | x | x | x | b | h | i | h | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
345 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
g = A("g")
b = B("b")
a = B("a")
g.q = b
b.w = a
a.w = b
assert g.q.w.w.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
g = A("g")
b = B("b")
a = B("a")
g.q = b
b.w = a
a.w = b
assert g.q.w.w.txt == "b" | g | b | a | b | x | x | x | x | b | a | b | g | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
346 | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
i = A("i")
e = B("e")
b = B("b")
j = A("j")
i.o = j
i.y = j
e.u = b
b.u = e
j.o = i
j.y = i
assert j.y.o.y.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
i = A("i")
e = B("e")
b = B("b")
j = A("j")
i.o = j
i.y = j
e.u = b
b.u = e
j.o = i
j.y = i
assert j.y.o.y.txt == "i" | j | i | j | i | x | x | x | x | i | j | i | j | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
347 | class A:
def __init__(self, txt: str):
self.x: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
b = A("b")
e = B("e")
g = B("g")
f = A("f")
b.x = f
b.o = f
e.u = g
g.u = e
f.x = b
f.o = b
assert f.x.x.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.x: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
b = A("b")
e = B("e")
g = B("g")
f = A("f")
b.x = f
b.o = f
e.u = g
g.u = e
f.x = b
f.o = b
assert f.x.x.o.txt == "b" | f | b | f | b | x | x | x | x | b | f | b | f | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
348 | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
f = A("f")
d = B("d")
e = A("e")
b = B("b")
g = A("g")
c = A("c")
f.p = d
f.s = e
d.t = b
d.u = c
e.p = d
e.s = c
b.t = d
b.u = f
g.p = b
g.s = c
c.p = d
c.s = f
assert d.t.t.t.u.s.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.u: A = None
self.txt = txt
f = A("f")
d = B("d")
e = A("e")
b = B("b")
g = A("g")
c = A("c")
f.p = d
f.s = e
d.t = b
d.u = c
e.p = d
e.s = c
b.t = d
b.u = f
g.p = b
g.s = c
c.p = d
c.s = f
assert d.t.t.t.u.s.s.txt == "c" | d | b | d | b | f | e | c | x | c | e | f | b | d | b | d | x | 6 | 12 | 2 | 6 | 2 |
349 | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
f = B("f")
b = A("b")
h.r = f
f.s = b
b.r = f
assert h.r.s.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
h = A("h")
f = B("f")
b = A("b")
h.r = f
f.s = b
b.r = f
assert h.r.s.r.txt == "f" | h | f | b | f | x | x | x | x | f | b | f | h | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
350 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
c = A("c")
f = B("f")
a = A("a")
j = B("j")
e = B("e")
g = B("g")
c.u = a
f.w = c
a.u = c
j.w = a
e.w = a
g.w = a
assert g.w.u.u.txt == " | a" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
c = A("c")
f = B("f")
a = A("a")
j = B("j")
e = B("e")
g = B("g")
c.u = a
f.w = c
a.u = c
j.w = a
e.w = a
g.w = a
assert g.w.u.u.txt == "a" | g | a | c | a | x | x | x | x | a | c | a | g | x | x | x | x | 6 | 6 | 2 | 3 | 1 |
351 | class A:
def __init__(self, txt: str):
self.o: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
e = A("e")
g = B("g")
i = B("i")
a = A("a")
d = A("d")
j = B("j")
h = A("h")
e.o = a
e.x = h
g.u = i
i.u = j
a.o = d
a.x = d
d.o = e
d.x = a
j.u = i
h.o = e
h.x = d
assert g.u.u.u.u.u.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
e = A("e")
g = B("g")
i = B("i")
a = A("a")
d = A("d")
j = B("j")
h = A("h")
e.o = a
e.x = h
g.u = i
i.u = j
a.o = d
a.x = d
d.o = e
d.x = a
j.u = i
h.o = e
h.x = d
assert g.u.u.u.u.u.u.u.txt == "i" | g | i | j | i | j | i | j | i | i | j | i | j | i | j | i | g | 7 | 10 | 2 | 7 | 5 |
352 | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.w: B = None
self.txt = txt
g = A("g")
e = B("e")
i = A("i")
f = A("f")
j = A("j")
a = B("a")
g.x = a
g.o = j
e.r = i
e.w = a
i.x = e
i.o = g
f.x = a
f.o = j
j.x = a
j.o = f
a.r = f
a.w = e
assert f.o.x.w.w.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.w: B = None
self.txt = txt
g = A("g")
e = B("e")
i = A("i")
f = A("f")
j = A("j")
a = B("a")
g.x = a
g.o = j
e.r = i
e.w = a
i.x = e
i.o = g
f.x = a
f.o = j
j.x = a
j.o = f
a.r = f
a.w = e
assert f.o.x.w.w.txt == "a" | f | j | a | e | a | x | x | x | a | e | a | j | f | x | x | x | 6 | 12 | 2 | 4 | 1 |
353 | class A:
def __init__(self, txt: str):
self.r: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
g = A("g")
i = B("i")
j = A("j")
f = B("f")
h = A("h")
g.r = f
g.x = f
i.o = f
i.x = g
j.r = i
j.x = f
f.o = i
f.x = g
h.r = i
h.x = f
assert j.r.x.r.txt == " | f" | class A:
def __init__(self, txt: str):
self.r: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.x: A = None
self.txt = txt
g = A("g")
i = B("i")
j = A("j")
f = B("f")
h = A("h")
g.r = f
g.x = f
i.o = f
i.x = g
j.r = i
j.x = f
f.o = i
f.x = g
h.r = i
h.x = f
assert j.r.x.r.txt == "f" | j | i | g | f | x | x | x | x | f | g | i | j | x | x | x | x | 5 | 9 | 2 | 3 | 0 |
354 | class A:
def __init__(self, txt: str):
self.v: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.y: A = None
self.txt = txt
c = A("c")
i = B("i")
a = A("a")
j = A("j")
e = B("e")
d = A("d")
c.v = j
c.t = e
i.p = e
i.y = c
a.v = j
a.t = e
j.v = a
j.t = e
e.p = i
e.y = c
d.v = j
d.t = i
assert c.t.y.v.txt == " | j" | class A:
def __init__(self, txt: str):
self.v: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.y: A = None
self.txt = txt
c = A("c")
i = B("i")
a = A("a")
j = A("j")
e = B("e")
d = A("d")
c.v = j
c.t = e
i.p = e
i.y = c
a.v = j
a.t = e
j.v = a
j.t = e
e.p = i
e.y = c
d.v = j
d.t = i
assert c.t.y.v.txt == "j" | c | e | c | j | x | x | x | x | j | c | e | c | x | x | x | x | 6 | 12 | 2 | 3 | 1 |
355 | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
i = A("i")
f = B("f")
b = B("b")
j = B("j")
c = B("c")
d = A("d")
i.q = c
i.o = d
f.p = b
f.s = i
b.p = j
b.s = d
j.p = b
j.s = d
c.p = j
c.s = d
d.q = j
d.o = i
assert c.s.q.p.p.p.txt == " | b" | class A:
def __init__(self, txt: str):
self.q: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
i = A("i")
f = B("f")
b = B("b")
j = B("j")
c = B("c")
d = A("d")
i.q = c
i.o = d
f.p = b
f.s = i
b.p = j
b.s = d
j.p = b
j.s = d
c.p = j
c.s = d
d.q = j
d.o = i
assert c.s.q.p.p.p.txt == "b" | c | d | j | b | j | b | x | x | b | j | b | j | d | c | x | x | 6 | 12 | 2 | 5 | 2 |
356 | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
b = A("b")
a = B("a")
d = B("d")
h = A("h")
b.r = h
a.t = b
d.t = h
h.r = b
assert b.r.r.r.txt == " | h" | class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
b = A("b")
a = B("a")
d = B("d")
h = A("h")
b.r = h
a.t = b
d.t = h
h.r = b
assert b.r.r.r.txt == "h" | b | h | b | h | x | x | x | x | h | b | h | b | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
357 | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.v: A = None
self.txt = txt
d = A("d")
e = B("e")
i = B("i")
f = A("f")
d.o = f
e.o = i
e.v = d
i.o = e
i.v = f
f.o = d
assert f.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.o: B = None
self.v: A = None
self.txt = txt
d = A("d")
e = B("e")
i = B("i")
f = A("f")
d.o = f
e.o = i
e.v = d
i.o = e
i.v = f
f.o = d
assert f.o.o.o.txt == "d" | f | d | f | d | x | x | x | x | d | f | d | f | x | x | x | x | 4 | 6 | 2 | 3 | 2 |
358 | class A:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
h = A("h")
j = B("j")
b = A("b")
e = B("e")
f = A("f")
i = B("i")
h.s = j
h.w = i
j.s = e
j.u = e
b.s = e
b.w = i
e.s = j
e.u = i
f.s = e
f.w = i
i.s = e
i.u = j
assert j.u.u.u.s.s.txt == " | j" | class A:
def __init__(self, txt: str):
self.s: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
h = A("h")
j = B("j")
b = A("b")
e = B("e")
f = A("f")
i = B("i")
h.s = j
h.w = i
j.s = e
j.u = e
b.s = e
b.w = i
e.s = j
e.u = i
f.s = e
f.w = i
i.s = e
i.u = j
assert j.u.u.u.s.s.txt == "j" | j | e | i | j | e | j | x | x | j | e | j | i | e | j | x | x | 6 | 11 | 2 | 5 | 3 |
359 | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
a = A("a")
h = B("h")
f = B("f")
b = A("b")
e = B("e")
i = A("i")
g = A("g")
a.x = g
h.w = f
f.w = h
b.x = i
e.w = f
i.x = g
g.x = b
assert f.w.w.w.w.w.txt == " | h" | class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
a = A("a")
h = B("h")
f = B("f")
b = A("b")
e = B("e")
i = A("i")
g = A("g")
a.x = g
h.w = f
f.w = h
b.x = i
e.w = f
i.x = g
g.x = b
assert f.w.w.w.w.w.txt == "h" | f | h | f | h | f | h | x | x | h | f | h | f | h | f | x | x | 7 | 7 | 2 | 5 | 4 |
360 | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
b = A("b")
e = B("e")
h = B("h")
a = B("a")
g = A("g")
b.w = e
b.t = g
e.t = b
e.s = h
h.t = g
h.s = e
a.t = b
a.s = e
g.w = h
g.t = b
assert h.s.s.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.w: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.s: B = None
self.txt = txt
b = A("b")
e = B("e")
h = B("h")
a = B("a")
g = A("g")
b.w = e
b.t = g
e.t = b
e.s = h
h.t = g
h.s = e
a.t = b
a.s = e
g.w = h
g.t = b
assert h.s.s.t.txt == "g" | h | e | h | g | x | x | x | x | g | h | e | h | x | x | x | x | 5 | 10 | 2 | 3 | 1 |
361 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
b = A("b")
d = B("d")
g = A("g")
h = A("h")
e = A("e")
c = B("c")
f = B("f")
b.s = d
d.u = f
g.s = d
h.s = f
e.s = d
c.u = f
f.u = c
assert h.s.u.u.u.u.txt == " | f" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
b = A("b")
d = B("d")
g = A("g")
h = A("h")
e = A("e")
c = B("c")
f = B("f")
b.s = d
d.u = f
g.s = d
h.s = f
e.s = d
c.u = f
f.u = c
assert h.s.u.u.u.u.txt == "f" | h | f | c | f | c | f | x | x | f | c | f | c | f | h | x | x | 7 | 7 | 2 | 5 | 3 |
362 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
j = A("j")
d = B("d")
i = A("i")
g = B("g")
j.y = g
d.w = g
i.y = d
g.w = d
assert i.y.w.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
j = A("j")
d = B("d")
i = A("i")
g = B("g")
j.y = g
d.w = g
i.y = d
g.w = d
assert i.y.w.w.txt == "d" | i | d | g | d | x | x | x | x | d | g | d | i | x | x | x | x | 4 | 4 | 2 | 3 | 1 |
363 | class A:
def __init__(self, txt: str):
self.q: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
d = A("d")
b = B("b")
f = A("f")
h = A("h")
e = B("e")
d.q = f
d.z = e
b.p = f
b.q = e
f.q = h
f.z = e
h.q = f
h.z = b
e.p = h
e.q = b
assert f.q.z.p.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
d = A("d")
b = B("b")
f = A("f")
h = A("h")
e = B("e")
d.q = f
d.z = e
b.p = f
b.q = e
f.q = h
f.z = e
h.q = f
h.z = b
e.p = h
e.q = b
assert f.q.z.p.z.txt == "e" | f | h | b | f | e | x | x | x | e | f | b | h | f | x | x | x | 5 | 10 | 2 | 4 | 1 |
364 | 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.p: A = None
self.txt = txt
g = A("g")
d = B("d")
f = B("f")
a = A("a")
b = A("b")
i = B("i")
g.w = b
d.z = g
d.p = a
f.z = a
f.p = b
a.w = b
b.w = g
i.z = b
i.p = b
assert i.p.w.w.txt == " | b" | 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.p: A = None
self.txt = txt
g = A("g")
d = B("d")
f = B("f")
a = A("a")
b = A("b")
i = B("i")
g.w = b
d.z = g
d.p = a
f.z = a
f.p = b
a.w = b
b.w = g
i.z = b
i.p = b
assert i.p.w.w.txt == "b" | i | b | g | b | x | x | x | x | b | g | b | i | x | x | x | x | 6 | 8 | 2 | 3 | 1 |
365 | class A:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
d = A("d")
g = B("g")
c = A("c")
e = A("e")
i = B("i")
h = B("h")
b = A("b")
d.p = h
d.q = h
g.u = i
c.p = h
c.q = g
e.p = g
e.q = g
i.u = h
h.u = i
b.p = i
b.q = h
assert c.q.u.u.txt == " | h" | class A:
def __init__(self, txt: str):
self.p: B = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
d = A("d")
g = B("g")
c = A("c")
e = A("e")
i = B("i")
h = B("h")
b = A("b")
d.p = h
d.q = h
g.u = i
c.p = h
c.q = g
e.p = g
e.q = g
i.u = h
h.u = i
b.p = i
b.q = h
assert c.q.u.u.txt == "h" | c | g | i | h | x | x | x | x | h | i | g | c | x | x | x | x | 7 | 9 | 2 | 3 | 0 |
366 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
i = B("i")
d = B("d")
f.z = d
i.x = f
d.x = f
assert d.x.z.x.txt == " | f" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
f = A("f")
i = B("i")
d = B("d")
f.z = d
i.x = f
d.x = f
assert d.x.z.x.txt == "f" | d | f | d | f | x | x | x | x | f | d | f | d | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
367 | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
i = A("i")
f = B("f")
j = B("j")
d = A("d")
i.z = j
f.s = j
f.u = j
j.s = f
j.u = f
d.z = f
assert f.s.u.s.txt == " | j" | class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
i = A("i")
f = B("f")
j = B("j")
d = A("d")
i.z = j
f.s = j
f.u = j
j.s = f
j.u = f
d.z = f
assert f.s.u.s.txt == "j" | f | j | f | j | x | x | x | x | j | f | j | f | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
368 | class A:
def __init__(self, txt: str):
self.o: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
e = B("e")
d = A("d")
b = A("b")
a = B("a")
i.o = a
i.y = j
j.u = b
h.o = e
h.y = e
e.u = b
d.o = a
d.y = j
b.o = e
b.y = a
a.u = i
assert b.y.u.y.u.y.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
j = B("j")
h = A("h")
e = B("e")
d = A("d")
b = A("b")
a = B("a")
i.o = a
i.y = j
j.u = b
h.o = e
h.y = e
e.u = b
d.o = a
d.y = j
b.o = e
b.y = a
a.u = i
assert b.y.u.y.u.y.u.txt == "i" | b | a | i | j | b | a | i | x | i | a | b | j | i | a | b | x | 7 | 10 | 2 | 6 | 3 |
369 | 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
d = A("d")
c = B("c")
g = B("g")
d.z = c
c.y = d
g.y = d
assert g.y.z.y.txt == " | d" | 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
d = A("d")
c = B("c")
g = B("g")
d.z = c
c.y = d
g.y = d
assert g.y.z.y.txt == "d" | g | d | c | d | x | x | x | x | d | c | d | g | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
370 | class A:
def __init__(self, txt: str):
self.u: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
h = A("h")
e.u = h
e.v = h
a.q = h
a.o = i
i.q = e
i.o = a
h.u = e
h.v = e
assert a.q.v.u.u.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
h = A("h")
e.u = h
e.v = h
a.q = h
a.o = i
i.q = e
i.o = a
h.u = e
h.v = e
assert a.q.v.u.u.txt == "e" | a | h | e | h | e | x | x | x | e | h | e | h | a | x | x | x | 4 | 6 | 2 | 4 | 2 |
371 | 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.txt = txt
i = A("i")
e = B("e")
f = A("f")
a = B("a")
b = B("b")
i.t = a
e.y = f
f.t = b
a.y = f
b.y = f
assert f.t.y.t.y.t.txt == " | b" | 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.txt = txt
i = A("i")
e = B("e")
f = A("f")
a = B("a")
b = B("b")
i.t = a
e.y = f
f.t = b
a.y = f
b.y = f
assert f.t.y.t.y.t.txt == "b" | f | b | f | b | f | b | x | x | b | f | b | f | b | f | x | x | 5 | 5 | 2 | 5 | 4 |
372 | class A:
def __init__(self, txt: str):
self.p: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
f = B("f")
d = A("d")
c = A("c")
e = B("e")
g = B("g")
b = B("b")
a.p = f
a.t = c
f.z = a
d.p = g
d.t = c
c.p = f
c.t = d
e.z = d
g.z = d
b.z = c
assert g.z.p.z.t.t.p.txt == " | g" | class A:
def __init__(self, txt: str):
self.p: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
a = A("a")
f = B("f")
d = A("d")
c = A("c")
e = B("e")
g = B("g")
b = B("b")
a.p = f
a.t = c
f.z = a
d.p = g
d.t = c
c.p = f
c.t = d
e.z = d
g.z = d
b.z = c
assert g.z.p.z.t.t.p.txt == "g" | g | d | g | d | c | d | g | x | g | d | c | d | g | d | g | x | 7 | 10 | 2 | 6 | 4 |
373 | 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.s: B = None
self.txt = txt
j = A("j")
i = B("i")
d = B("d")
b = B("b")
c = A("c")
h = B("h")
e = A("e")
j.s = e
j.p = c
i.s = b
d.s = h
b.s = h
c.s = e
c.p = j
h.s = i
e.s = j
e.p = c
assert d.s.s.s.s.s.s.s.txt == " | h" | 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.s: B = None
self.txt = txt
j = A("j")
i = B("i")
d = B("d")
b = B("b")
c = A("c")
h = B("h")
e = A("e")
j.s = e
j.p = c
i.s = b
d.s = h
b.s = h
c.s = e
c.p = j
h.s = i
e.s = j
e.p = c
assert d.s.s.s.s.s.s.s.txt == "h" | d | h | i | b | h | i | b | h | h | b | i | h | b | i | h | d | 7 | 10 | 2 | 7 | 4 |
374 | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
i = A("i")
e = B("e")
d = A("d")
c = B("c")
h = B("h")
i.v = e
i.z = d
e.w = c
e.v = c
d.v = c
d.z = i
c.w = h
c.v = e
h.w = c
h.v = c
assert c.v.v.v.v.v.txt == " | e" | class A:
def __init__(self, txt: str):
self.v: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.v: B = None
self.txt = txt
i = A("i")
e = B("e")
d = A("d")
c = B("c")
h = B("h")
i.v = e
i.z = d
e.w = c
e.v = c
d.v = c
d.z = i
c.w = h
c.v = e
h.w = c
h.v = c
assert c.v.v.v.v.v.txt == "e" | c | e | c | e | c | e | x | x | e | c | e | c | e | c | x | x | 5 | 8 | 2 | 5 | 4 |
375 | 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.o: B = None
self.txt = txt
h = A("h")
g = B("g")
a = B("a")
c = A("c")
i = B("i")
e = B("e")
d = B("d")
h.o = c
g.v = h
g.o = d
a.v = h
a.o = e
c.o = h
i.v = c
i.o = g
e.v = c
e.o = i
d.v = c
d.o = i
assert h.o.o.o.txt == " | c" | class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
h = A("h")
g = B("g")
a = B("a")
c = A("c")
i = B("i")
e = B("e")
d = B("d")
h.o = c
g.v = h
g.o = d
a.v = h
a.o = e
c.o = h
i.v = c
i.o = g
e.v = c
e.o = i
d.v = c
d.o = i
assert h.o.o.o.txt == "c" | h | c | h | c | x | x | x | x | c | h | c | h | x | x | x | x | 7 | 12 | 2 | 3 | 2 |
376 | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
c = B("c")
a = A("a")
g.t = a
g.y = a
c.u = a
a.t = g
a.y = g
assert a.t.y.t.txt == " | g" | class A:
def __init__(self, txt: str):
self.t: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
c = B("c")
a = A("a")
g.t = a
g.y = a
c.u = a
a.t = g
a.y = g
assert a.t.y.t.txt == "g" | a | g | a | g | x | x | x | x | g | a | g | a | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
377 | class A:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
a = A("a")
i = A("i")
j = B("j")
g = B("g")
b = B("b")
d.y = i
d.r = b
c.u = g
c.y = g
a.y = i
a.r = j
i.y = a
i.r = g
j.u = g
j.y = c
g.u = b
g.y = b
b.u = j
b.y = c
assert a.r.y.u.txt == " | g" | class A:
def __init__(self, txt: str):
self.y: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
d = A("d")
c = B("c")
a = A("a")
i = A("i")
j = B("j")
g = B("g")
b = B("b")
d.y = i
d.r = b
c.u = g
c.y = g
a.y = i
a.r = j
i.y = a
i.r = g
j.u = g
j.y = c
g.u = b
g.y = b
b.u = j
b.y = c
assert a.r.y.u.txt == "g" | a | j | c | g | x | x | x | x | g | c | j | a | x | x | x | x | 7 | 12 | 2 | 3 | 0 |
378 | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.y: B = None
self.txt = txt
f = A("f")
h = B("h")
j = A("j")
e = B("e")
b = A("b")
d = A("d")
a = A("a")
f.v = e
h.w = d
h.y = e
j.v = e
e.w = b
e.y = h
b.v = h
d.v = h
a.v = h
assert d.v.w.v.w.txt == " | d" | class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.y: B = None
self.txt = txt
f = A("f")
h = B("h")
j = A("j")
e = B("e")
b = A("b")
d = A("d")
a = A("a")
f.v = e
h.w = d
h.y = e
j.v = e
e.w = b
e.y = h
b.v = h
d.v = h
a.v = h
assert d.v.w.v.w.txt == "d" | d | h | d | h | d | x | x | x | d | h | d | h | d | x | x | x | 7 | 9 | 2 | 4 | 3 |
379 | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
i = A("i")
j = B("j")
h = B("h")
d = B("d")
b = B("b")
g = A("g")
e = A("e")
i.o = b
i.v = g
j.q = i
h.q = i
d.q = i
b.q = g
g.o = h
g.v = e
e.o = b
e.v = i
assert g.v.v.v.o.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.o: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
i = A("i")
j = B("j")
h = B("h")
d = B("d")
b = B("b")
g = A("g")
e = A("e")
i.o = b
i.v = g
j.q = i
h.q = i
d.q = i
b.q = g
g.o = h
g.v = e
e.o = b
e.v = i
assert g.v.v.v.o.q.txt == "i" | g | e | i | g | h | i | x | x | i | h | g | i | e | g | x | x | 7 | 10 | 2 | 5 | 2 |
380 | class A:
def __init__(self, txt: str):
self.x: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
b = B("b")
a = B("a")
e = A("e")
h = A("h")
g = A("g")
i = B("i")
j.x = g
j.o = a
b.s = a
a.s = b
e.x = h
e.o = i
h.x = e
h.o = i
g.x = h
g.o = b
i.s = a
assert a.s.s.s.s.s.s.txt == " | a" | class A:
def __init__(self, txt: str):
self.x: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
j = A("j")
b = B("b")
a = B("a")
e = A("e")
h = A("h")
g = A("g")
i = B("i")
j.x = g
j.o = a
b.s = a
a.s = b
e.x = h
e.o = i
h.x = e
h.o = i
g.x = h
g.o = b
i.s = a
assert a.s.s.s.s.s.s.txt == "a" | a | b | a | b | a | b | a | x | a | b | a | b | a | b | a | x | 7 | 11 | 2 | 6 | 5 |
381 | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
h = B("h")
g = A("g")
i = A("i")
c = A("c")
a = A("a")
e = B("e")
b.q = e
h.q = b
g.q = e
i.q = h
c.q = e
a.q = h
e.q = b
assert c.q.q.q.q.q.txt == " | e" | class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
b = A("b")
h = B("h")
g = A("g")
i = A("i")
c = A("c")
a = A("a")
e = B("e")
b.q = e
h.q = b
g.q = e
i.q = h
c.q = e
a.q = h
e.q = b
assert c.q.q.q.q.q.txt == "e" | c | e | b | e | b | e | x | x | e | b | e | b | e | c | x | x | 7 | 7 | 2 | 5 | 3 |
382 | 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
h = A("h")
i = B("i")
a = A("a")
b = B("b")
h.z = i
i.z = b
a.z = i
b.z = i
assert i.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
h = A("h")
i = B("i")
a = A("a")
b = B("b")
h.z = i
i.z = b
a.z = i
b.z = i
assert i.z.z.z.txt == "b" | i | b | i | b | x | x | x | x | b | i | b | i | x | x | x | x | 4 | 4 | 2 | 3 | 2 |
383 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
e = B("e")
i = A("i")
f.u = i
e.z = f
i.u = f
assert e.z.u.u.txt == " | f" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
f = A("f")
e = B("e")
i = A("i")
f.u = i
e.z = f
i.u = f
assert e.z.u.u.txt == "f" | e | f | i | f | x | x | x | x | f | i | f | e | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
384 | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
i = A("i")
g = B("g")
j = A("j")
b = A("b")
h = B("h")
f = B("f")
a = B("a")
i.o = h
g.v = j
g.o = f
j.o = f
b.o = a
h.v = j
h.o = f
f.v = i
f.o = g
a.v = j
a.o = f
assert g.v.o.o.txt == " | g" | class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.o: B = None
self.txt = txt
i = A("i")
g = B("g")
j = A("j")
b = A("b")
h = B("h")
f = B("f")
a = B("a")
i.o = h
g.v = j
g.o = f
j.o = f
b.o = a
h.v = j
h.o = f
f.v = i
f.o = g
a.v = j
a.o = f
assert g.v.o.o.txt == "g" | g | j | f | g | x | x | x | x | g | f | j | g | x | x | x | x | 7 | 11 | 2 | 3 | 1 |
385 | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: B = None
self.txt = txt
g = A("g")
h = B("h")
i = B("i")
g.s = h
h.x = g
h.q = i
i.x = g
i.q = h
assert i.x.s.q.txt == " | i" | class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: B = None
self.txt = txt
g = A("g")
h = B("h")
i = B("i")
g.s = h
h.x = g
h.q = i
i.x = g
i.q = h
assert i.x.s.q.txt == "i" | i | g | h | i | x | x | x | x | i | h | g | i | x | x | x | x | 3 | 5 | 2 | 3 | 1 |
386 | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
j = A("j")
c = B("c")
b = A("b")
j.u = b
j.x = b
c.z = j
b.u = j
b.x = j
assert c.z.x.x.txt == " | j" | class A:
def __init__(self, txt: str):
self.u: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
j = A("j")
c = B("c")
b = A("b")
j.u = b
j.x = b
c.z = j
b.u = j
b.x = j
assert c.z.x.x.txt == "j" | c | j | b | j | x | x | x | x | j | b | j | c | x | x | x | x | 3 | 3 | 2 | 3 | 1 |
387 | class A:
def __init__(self, txt: str):
self.x: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.q: B = None
self.txt = txt
i = A("i")
c = B("c")
f = B("f")
b = A("b")
i.x = b
i.z = c
c.r = f
c.q = f
f.r = c
f.q = c
b.x = i
b.z = f
assert i.x.z.r.txt == " | c" | class A:
def __init__(self, txt: str):
self.x: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.q: B = None
self.txt = txt
i = A("i")
c = B("c")
f = B("f")
b = A("b")
i.x = b
i.z = c
c.r = f
c.q = f
f.r = c
f.q = c
b.x = i
b.z = f
assert i.x.z.r.txt == "c" | i | b | f | c | x | x | x | x | c | f | b | i | x | x | x | x | 4 | 6 | 2 | 3 | 0 |
388 | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
b = A("b")
d = B("d")
c = B("c")
b.p = d
d.s = c
c.s = d
assert d.s.s.s.txt == " | c" | class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
b = A("b")
d = B("d")
c = B("c")
b.p = d
d.s = c
c.s = d
assert d.s.s.s.txt == "c" | d | c | d | c | x | x | x | x | c | d | c | d | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
389 | class A:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
i = A("i")
e = B("e")
c = B("c")
b = A("b")
i.r = c
i.o = e
e.w = c
e.z = c
c.w = e
c.z = e
b.r = c
b.o = e
assert e.z.w.z.z.txt == " | e" | class A:
def __init__(self, txt: str):
self.r: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.z: B = None
self.txt = txt
i = A("i")
e = B("e")
c = B("c")
b = A("b")
i.r = c
i.o = e
e.w = c
e.z = c
c.w = e
c.z = e
b.r = c
b.o = e
assert e.z.w.z.z.txt == "e" | e | c | e | c | e | x | x | x | e | c | e | c | e | x | x | x | 4 | 6 | 2 | 4 | 3 |
390 | class A:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
b = B("b")
f = A("f")
g.v = b
g.p = b
b.u = f
f.v = b
f.p = b
assert f.p.u.v.txt == " | b" | class A:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
g = A("g")
b = B("b")
f = A("f")
g.v = b
g.p = b
b.u = f
f.v = b
f.p = b
assert f.p.u.v.txt == "b" | f | b | f | b | x | x | x | x | b | f | b | f | x | x | x | x | 3 | 3 | 2 | 3 | 2 |
391 | class A:
def __init__(self, txt: str):
self.r: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
f = B("f")
c = B("c")
i = B("i")
h.r = c
h.u = i
f.u = h
c.u = h
i.u = h
assert h.r.u.u.txt == " | i" | class A:
def __init__(self, txt: str):
self.r: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
f = B("f")
c = B("c")
i = B("i")
h.r = c
h.u = i
f.u = h
c.u = h
i.u = h
assert h.r.u.u.txt == "i" | h | c | h | i | x | x | x | x | i | h | c | h | x | x | x | x | 4 | 5 | 2 | 3 | 1 |
392 | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
h = A("h")
c = B("c")
a = A("a")
b = A("b")
h.y = c
c.x = h
a.y = c
b.y = c
assert h.y.x.y.x.txt == " | h" | class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
h = A("h")
c = B("c")
a = A("a")
b = A("b")
h.y = c
c.x = h
a.y = c
b.y = c
assert h.y.x.y.x.txt == "h" | h | c | h | c | h | x | x | x | h | c | h | c | h | x | x | x | 4 | 4 | 2 | 4 | 3 |
393 | class A:
def __init__(self, txt: str):
self.t: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
h = A("h")
c = B("c")
d = B("d")
b = B("b")
h.t = d
h.p = d
c.t = d
c.z = d
d.t = b
d.z = b
b.t = d
b.z = c
assert d.t.t.t.t.txt == " | d" | class A:
def __init__(self, txt: str):
self.t: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: B = None
self.txt = txt
h = A("h")
c = B("c")
d = B("d")
b = B("b")
h.t = d
h.p = d
c.t = d
c.z = d
d.t = b
d.z = b
b.t = d
b.z = c
assert d.t.t.t.t.txt == "d" | d | b | d | b | d | x | x | x | d | b | d | b | d | x | x | x | 4 | 5 | 2 | 4 | 3 |
394 | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
j = A("j")
g = B("g")
e = B("e")
d = A("d")
h = A("h")
j.q = g
j.x = e
g.u = e
g.x = e
e.u = g
e.x = g
d.q = g
d.x = g
h.q = e
h.x = g
assert e.x.u.u.u.u.txt == " | g" | class A:
def __init__(self, txt: str):
self.q: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
j = A("j")
g = B("g")
e = B("e")
d = A("d")
h = A("h")
j.q = g
j.x = e
g.u = e
g.x = e
e.u = g
e.x = g
d.q = g
d.x = g
h.q = e
h.x = g
assert e.x.u.u.u.u.txt == "g" | e | g | e | g | e | g | x | x | g | e | g | e | g | e | x | x | 5 | 7 | 2 | 5 | 4 |
395 | 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.x: B = None
self.txt = txt
c = A("c")
g = B("g")
f = B("f")
d = B("d")
a = A("a")
c.p = d
g.v = a
g.x = f
f.v = a
f.x = g
d.v = a
d.x = f
a.p = f
assert a.p.x.x.txt == " | f" | 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.x: B = None
self.txt = txt
c = A("c")
g = B("g")
f = B("f")
d = B("d")
a = A("a")
c.p = d
g.v = a
g.x = f
f.v = a
f.x = g
d.v = a
d.x = f
a.p = f
assert a.p.x.x.txt == "f" | a | f | g | f | x | x | x | x | f | g | f | a | x | x | x | x | 5 | 8 | 2 | 3 | 1 |
396 | class A:
def __init__(self, txt: str):
self.t: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
g = A("g")
j = B("j")
b = B("b")
g.t = b
g.x = j
j.o = b
b.o = j
assert g.t.o.o.txt == " | b" | class A:
def __init__(self, txt: str):
self.t: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
g = A("g")
j = B("j")
b = B("b")
g.t = b
g.x = j
j.o = b
b.o = j
assert g.t.o.o.txt == "b" | g | b | j | b | x | x | x | x | b | j | b | g | x | x | x | x | 3 | 4 | 2 | 3 | 1 |
397 | class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
i = A("i")
b = B("b")
f = A("f")
h = B("h")
g = A("g")
d = A("d")
i.v = g
b.p = h
f.v = g
h.p = b
g.v = d
d.v = g
assert f.v.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.p: B = None
self.txt = txt
i = A("i")
b = B("b")
f = A("f")
h = B("h")
g = A("g")
d = A("d")
i.v = g
b.p = h
f.v = g
h.p = b
g.v = d
d.v = g
assert f.v.v.v.txt == "g" | f | g | d | g | x | x | x | x | g | d | g | f | x | x | x | x | 6 | 6 | 2 | 3 | 1 |
398 | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
a = B("a")
b = A("b")
j = A("j")
e = B("e")
f = A("f")
h.w = a
h.o = f
a.q = e
b.w = e
b.o = f
j.w = a
j.o = f
e.q = a
f.w = a
f.o = b
assert j.o.o.w.txt == " | e" | class A:
def __init__(self, txt: str):
self.w: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
a = B("a")
b = A("b")
j = A("j")
e = B("e")
f = A("f")
h.w = a
h.o = f
a.q = e
b.w = e
b.o = f
j.w = a
j.o = f
e.q = a
f.w = a
f.o = b
assert j.o.o.w.txt == "e" | j | f | b | e | x | x | x | x | e | b | f | j | x | x | x | x | 6 | 10 | 2 | 3 | 0 |
399 | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
a = B("a")
d = A("d")
e.u = d
a.q = e
d.u = e
assert a.q.u.u.txt == " | e" | class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
e = A("e")
a = B("a")
d = A("d")
e.u = d
a.q = e
d.u = e
assert a.q.u.u.txt == "e" | a | e | d | e | x | x | x | x | e | d | e | a | x | x | x | x | 3 | 3 | 2 | 3 | 1 |