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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
800 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.z: A = None
self.txt = txt
h = A("h")
d = B("d")
a = B("a")
f = A("f")
h.s = a
h.t = f
d.q = f
d.z = h
a.q = f
a.z = f
f.s = a
f.t = h
assert h.t.s.q.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.z: A = None
self.txt = txt
h = A("h")
d = B("d")
a = B("a")
f = A("f")
h.s = a
h.t = f
d.q = f
d.z = h
a.q = f
a.z = f
f.s = a
f.t = h
assert h.t.s.q.txt == "f"
|
h
|
f
|
a
|
f
|
x
|
x
|
x
|
x
| 4 | 7 | 2 | 3 | 1 |
801 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
j = B("j")
d = B("d")
b = A("b")
e = A("e")
h.r = b
j.q = d
d.q = j
b.r = h
e.r = h
assert j.q.q.q.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
h = A("h")
j = B("j")
d = B("d")
b = A("b")
e = A("e")
h.r = b
j.q = d
d.q = j
b.r = h
e.r = h
assert j.q.q.q.txt == "d"
|
j
|
d
|
j
|
d
|
x
|
x
|
x
|
x
| 5 | 5 | 2 | 3 | 2 |
802 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.u: A = None
self.txt = txt
c = A("c")
d = B("d")
j = B("j")
h = A("h")
c.s = j
d.q = j
d.u = c
j.q = d
j.u = h
h.s = d
assert d.u.s.u.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.u: A = None
self.txt = txt
c = A("c")
d = B("d")
j = B("j")
h = A("h")
c.s = j
d.q = j
d.u = c
j.q = d
j.u = h
h.s = d
assert d.u.s.u.txt == "h"
|
d
|
c
|
j
|
h
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 0 |
803 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
d = A("d")
c = B("c")
h = B("h")
a = B("a")
b = A("b")
f = A("f")
j = A("j")
d.o = a
d.p = a
c.s = a
h.s = a
a.s = h
b.o = c
b.p = c
f.o = h
f.p = h
j.o = h
j.p = a
assert d.o.s.s.s.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
d = A("d")
c = B("c")
h = B("h")
a = B("a")
b = A("b")
f = A("f")
j = A("j")
d.o = a
d.p = a
c.s = a
h.s = a
a.s = h
b.o = c
b.p = c
f.o = h
f.p = h
j.o = h
j.p = a
assert d.o.s.s.s.txt == "h"
|
d
|
a
|
h
|
a
|
h
|
x
|
x
|
x
| 7 | 8 | 2 | 4 | 2 |
804 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
h = A("h")
j = B("j")
d = A("d")
c = A("c")
e = A("e")
i = B("i")
f = A("f")
h.s = f
h.o = j
j.y = i
j.s = f
d.s = h
d.o = i
c.s = h
c.o = i
e.s = c
e.o = i
i.y = j
i.s = h
f.s = c
f.o = j
assert d.o.y.s.o.y.y.y.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
h = A("h")
j = B("j")
d = A("d")
c = A("c")
e = A("e")
i = B("i")
f = A("f")
h.s = f
h.o = j
j.y = i
j.s = f
d.s = h
d.o = i
c.s = h
c.o = i
e.s = c
e.o = i
i.y = j
i.s = h
f.s = c
f.o = j
assert d.o.y.s.o.y.y.y.txt == "i"
|
d
|
i
|
j
|
f
|
j
|
i
|
j
|
i
| 7 | 14 | 2 | 7 | 4 |
805 |
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.p: B = None
self.txt = txt
h = A("h")
d = B("d")
g = B("g")
a = B("a")
c = B("c")
h.y = d
h.x = d
d.p = a
g.p = a
a.p = d
c.p = g
assert c.p.p.p.txt == "
|
d"
|
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.p: B = None
self.txt = txt
h = A("h")
d = B("d")
g = B("g")
a = B("a")
c = B("c")
h.y = d
h.x = d
d.p = a
g.p = a
a.p = d
c.p = g
assert c.p.p.p.txt == "d"
|
c
|
g
|
a
|
d
|
x
|
x
|
x
|
x
| 5 | 5 | 2 | 3 | 0 |
806 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
g = A("g")
e = B("e")
c = B("c")
i = B("i")
f = B("f")
h = A("h")
g.s = i
g.w = h
e.s = i
c.s = e
i.s = e
f.s = c
h.s = i
h.w = g
assert g.s.s.s.s.s.s.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
g = A("g")
e = B("e")
c = B("c")
i = B("i")
f = B("f")
h = A("h")
g.s = i
g.w = h
e.s = i
c.s = e
i.s = e
f.s = c
h.s = i
h.w = g
assert g.s.s.s.s.s.s.txt == "e"
|
g
|
i
|
e
|
i
|
e
|
i
|
e
|
x
| 6 | 8 | 2 | 6 | 4 |
807 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
d = A("d")
c = B("c")
f = B("f")
a = B("a")
j = A("j")
b = A("b")
d.o = c
c.r = a
c.y = d
f.r = c
f.y = j
a.r = c
a.y = b
j.o = f
b.o = c
assert c.r.r.y.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.y: A = None
self.txt = txt
d = A("d")
c = B("c")
f = B("f")
a = B("a")
j = A("j")
b = A("b")
d.o = c
c.r = a
c.y = d
f.r = c
f.y = j
a.r = c
a.y = b
j.o = f
b.o = c
assert c.r.r.y.txt == "d"
|
c
|
a
|
c
|
d
|
x
|
x
|
x
|
x
| 6 | 9 | 2 | 3 | 1 |
808 |
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
d = A("d")
g = B("g")
b = A("b")
f = A("f")
e = A("e")
j = B("j")
h = B("h")
d.u = f
g.w = b
b.u = d
f.u = e
e.u = d
j.w = d
h.w = e
assert e.u.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.w: A = None
self.txt = txt
d = A("d")
g = B("g")
b = A("b")
f = A("f")
e = A("e")
j = B("j")
h = B("h")
d.u = f
g.w = b
b.u = d
f.u = e
e.u = d
j.w = d
h.w = e
assert e.u.u.u.txt == "e"
|
e
|
d
|
f
|
e
|
x
|
x
|
x
|
x
| 7 | 7 | 2 | 3 | 1 |
809 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
c = A("c")
d = B("d")
f = B("f")
g = A("g")
i = B("i")
h = B("h")
c.x = g
c.y = g
d.o = f
f.o = d
g.x = c
g.y = c
i.o = h
h.o = d
assert f.o.o.o.o.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
c = A("c")
d = B("d")
f = B("f")
g = A("g")
i = B("i")
h = B("h")
c.x = g
c.y = g
d.o = f
f.o = d
g.x = c
g.y = c
i.o = h
h.o = d
assert f.o.o.o.o.txt == "f"
|
f
|
d
|
f
|
d
|
f
|
x
|
x
|
x
| 6 | 6 | 2 | 4 | 3 |
810 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
h = A("h")
b = B("b")
f = A("f")
e = B("e")
c = B("c")
h.w = f
b.w = c
f.w = h
e.w = b
c.w = b
assert c.w.w.w.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.w: B = None
self.txt = txt
h = A("h")
b = B("b")
f = A("f")
e = B("e")
c = B("c")
h.w = f
b.w = c
f.w = h
e.w = b
c.w = b
assert c.w.w.w.w.w.txt == "b"
|
c
|
b
|
c
|
b
|
c
|
b
|
x
|
x
| 5 | 5 | 2 | 5 | 4 |
811 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.o: 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")
j = B("j")
d = A("d")
c.q = d
c.o = d
j.w = c
j.z = d
d.q = c
d.o = c
assert c.q.q.q.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.o: 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")
j = B("j")
d = A("d")
c.q = d
c.o = d
j.w = c
j.z = d
d.q = c
d.o = c
assert c.q.q.q.txt == "d"
|
c
|
d
|
c
|
d
|
x
|
x
|
x
|
x
| 3 | 4 | 2 | 3 | 2 |
812 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
h = B("h")
g.x = c
g.p = d
d.x = g
c.x = g
c.p = h
h.x = g
assert c.p.x.x.p.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
d = B("d")
c = A("c")
h = B("h")
g.x = c
g.p = d
d.x = g
c.x = g
c.p = h
h.x = g
assert c.p.x.x.p.txt == "h"
|
c
|
h
|
g
|
c
|
h
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 2 |
813 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
a = A("a")
f = B("f")
e = A("e")
b.x = d
b.r = e
c.r = f
c.u = b
d.r = c
d.u = a
a.x = f
a.r = b
f.r = d
f.u = b
e.x = c
e.r = b
assert a.r.x.u.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
a = A("a")
f = B("f")
e = A("e")
b.x = d
b.r = e
c.r = f
c.u = b
d.r = c
d.u = a
a.x = f
a.r = b
f.r = d
f.u = b
e.x = c
e.r = b
assert a.r.x.u.txt == "a"
|
a
|
b
|
d
|
a
|
x
|
x
|
x
|
x
| 6 | 12 | 2 | 3 | 1 |
814 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.u: A = None
self.txt = txt
c = A("c")
j = B("j")
h = A("h")
i = B("i")
a = A("a")
c.u = i
c.q = h
j.o = i
j.u = c
h.u = i
h.q = c
i.o = j
i.u = a
a.u = i
a.q = h
assert c.q.u.o.u.u.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.u: A = None
self.txt = txt
c = A("c")
j = B("j")
h = A("h")
i = B("i")
a = A("a")
c.u = i
c.q = h
j.o = i
j.u = c
h.u = i
h.q = c
i.o = j
i.u = a
a.u = i
a.q = h
assert c.q.u.o.u.u.txt == "i"
|
c
|
h
|
i
|
j
|
c
|
i
|
x
|
x
| 5 | 10 | 2 | 5 | 2 |
815 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
b = A("b")
g = B("g")
h = A("h")
c = A("c")
i = A("i")
j = B("j")
b.u = g
g.z = j
h.u = j
c.u = g
i.u = g
j.z = g
assert j.z.z.z.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
b = A("b")
g = B("g")
h = A("h")
c = A("c")
i = A("i")
j = B("j")
b.u = g
g.z = j
h.u = j
c.u = g
i.u = g
j.z = g
assert j.z.z.z.txt == "g"
|
j
|
g
|
j
|
g
|
x
|
x
|
x
|
x
| 6 | 6 | 2 | 3 | 2 |
816 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
c = A("c")
j = B("j")
a = A("a")
g = A("g")
i = B("i")
h = B("h")
c.q = g
c.s = a
j.p = i
j.s = c
a.q = g
a.s = c
g.q = a
g.s = c
i.p = j
i.s = a
h.p = j
h.s = g
assert g.q.q.s.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.s: A = None
self.txt = txt
c = A("c")
j = B("j")
a = A("a")
g = A("g")
i = B("i")
h = B("h")
c.q = g
c.s = a
j.p = i
j.s = c
a.q = g
a.s = c
g.q = a
g.s = c
i.p = j
i.s = a
h.p = j
h.s = g
assert g.q.q.s.txt == "c"
|
g
|
a
|
g
|
c
|
x
|
x
|
x
|
x
| 6 | 12 | 2 | 3 | 1 |
817 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: B = None
self.txt = txt
j = A("j")
i = B("i")
d = A("d")
f = A("f")
h = B("h")
j.p = h
j.v = f
i.u = d
i.r = h
d.p = i
d.v = j
f.p = h
f.v = d
h.u = j
h.r = i
assert d.p.r.u.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: B = None
self.txt = txt
j = A("j")
i = B("i")
d = A("d")
f = A("f")
h = B("h")
j.p = h
j.v = f
i.u = d
i.r = h
d.p = i
d.v = j
f.p = h
f.v = d
h.u = j
h.r = i
assert d.p.r.u.txt == "j"
|
d
|
i
|
h
|
j
|
x
|
x
|
x
|
x
| 5 | 10 | 2 | 3 | 0 |
818 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
c = A("c")
d = B("d")
i = B("i")
g = B("g")
e = A("e")
f = A("f")
b = A("b")
c.p = f
c.z = g
d.x = g
i.x = d
g.x = d
e.p = f
e.z = d
f.p = b
f.z = d
b.p = e
b.z = i
assert e.z.x.x.x.x.x.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
c = A("c")
d = B("d")
i = B("i")
g = B("g")
e = A("e")
f = A("f")
b = A("b")
c.p = f
c.z = g
d.x = g
i.x = d
g.x = d
e.p = f
e.z = d
f.p = b
f.z = d
b.p = e
b.z = i
assert e.z.x.x.x.x.x.txt == "g"
|
e
|
d
|
g
|
d
|
g
|
d
|
g
|
x
| 7 | 11 | 2 | 6 | 4 |
819 |
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
b = A("b")
c = B("c")
g = B("g")
e = A("e")
b.u = e
b.x = e
c.z = e
g.z = e
e.u = b
e.x = b
assert e.x.u.u.txt == "
|
b"
|
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
b = A("b")
c = B("c")
g = B("g")
e = A("e")
b.u = e
b.x = e
c.z = e
g.z = e
e.u = b
e.x = b
assert e.x.u.u.txt == "b"
|
e
|
b
|
e
|
b
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
820 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
d = B("d")
h = B("h")
f = B("f")
a = A("a")
b.z = a
b.y = a
d.y = a
h.y = a
f.y = b
a.z = b
a.y = b
assert a.y.y.z.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
b = A("b")
d = B("d")
h = B("h")
f = B("f")
a = A("a")
b.z = a
b.y = a
d.y = a
h.y = a
f.y = b
a.z = b
a.y = b
assert a.y.y.z.txt == "b"
|
a
|
b
|
a
|
b
|
x
|
x
|
x
|
x
| 5 | 5 | 2 | 3 | 2 |
821 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
c = B("c")
h = B("h")
i = B("i")
b = A("b")
j.v = b
j.r = i
c.y = b
h.y = j
i.y = b
b.v = j
b.r = i
assert i.y.r.y.r.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
j = A("j")
c = B("c")
h = B("h")
i = B("i")
b = A("b")
j.v = b
j.r = i
c.y = b
h.y = j
i.y = b
b.v = j
b.r = i
assert i.y.r.y.r.txt == "i"
|
i
|
b
|
i
|
b
|
i
|
x
|
x
|
x
| 5 | 7 | 2 | 4 | 3 |
822 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
f = A("f")
j = B("j")
c = A("c")
e = A("e")
i = B("i")
a = A("a")
b = B("b")
f.o = a
j.u = b
c.o = f
e.o = c
i.u = b
a.o = c
b.u = j
assert a.o.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.u: B = None
self.txt = txt
f = A("f")
j = B("j")
c = A("c")
e = A("e")
i = B("i")
a = A("a")
b = B("b")
f.o = a
j.u = b
c.o = f
e.o = c
i.u = b
a.o = c
b.u = j
assert a.o.o.o.o.o.txt == "f"
|
a
|
c
|
f
|
a
|
c
|
f
|
x
|
x
| 7 | 7 | 2 | 5 | 3 |
823 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
g = A("g")
d = B("d")
h = A("h")
f = B("f")
a = B("a")
b = A("b")
c = B("c")
g.r = h
d.z = f
h.r = g
f.z = c
a.z = f
b.r = g
c.z = f
assert b.r.r.r.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.z: B = None
self.txt = txt
g = A("g")
d = B("d")
h = A("h")
f = B("f")
a = B("a")
b = A("b")
c = B("c")
g.r = h
d.z = f
h.r = g
f.z = c
a.z = f
b.r = g
c.z = f
assert b.r.r.r.r.r.r.txt == "h"
|
b
|
g
|
h
|
g
|
h
|
g
|
h
|
x
| 7 | 7 | 2 | 6 | 4 |
824 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
e = A("e")
f = B("f")
h = A("h")
d = A("d")
e.x = f
e.t = f
f.p = d
h.x = f
h.t = f
d.x = f
d.t = f
assert e.t.p.t.p.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
e = A("e")
f = B("f")
h = A("h")
d = A("d")
e.x = f
e.t = f
f.p = d
h.x = f
h.t = f
d.x = f
d.t = f
assert e.t.p.t.p.txt == "d"
|
e
|
f
|
d
|
f
|
d
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 2 |
825 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
i = A("i")
a.q = b
b.s = a
b.w = i
i.q = b
assert i.q.w.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.s: A = None
self.w: A = None
self.txt = txt
a = A("a")
b = B("b")
i = A("i")
a.q = b
b.s = a
b.w = i
i.q = b
assert i.q.w.q.txt == "b"
|
i
|
b
|
i
|
b
|
x
|
x
|
x
|
x
| 3 | 4 | 2 | 3 | 2 |
826 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
j = B("j")
g = B("g")
h.o = g
j.w = h
g.w = h
assert j.w.o.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
j = B("j")
g = B("g")
h.o = g
j.w = h
g.w = h
assert j.w.o.w.txt == "h"
|
j
|
h
|
g
|
h
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
827 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
c = A("c")
d = B("d")
j = B("j")
h = A("h")
f = B("f")
e = A("e")
g = A("g")
c.s = g
d.v = j
j.v = f
h.s = g
f.v = j
e.s = c
g.s = h
assert d.v.v.v.v.v.v.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
c = A("c")
d = B("d")
j = B("j")
h = A("h")
f = B("f")
e = A("e")
g = A("g")
c.s = g
d.v = j
j.v = f
h.s = g
f.v = j
e.s = c
g.s = h
assert d.v.v.v.v.v.v.txt == "f"
|
d
|
j
|
f
|
j
|
f
|
j
|
f
|
x
| 7 | 7 | 2 | 6 | 4 |
828 |
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.u: A = None
self.txt = txt
b = A("b")
d = B("d")
i = B("i")
a = A("a")
e = B("e")
c = B("c")
h = B("h")
b.v = d
b.w = d
d.u = a
i.u = b
a.v = c
a.w = h
e.u = a
c.u = a
h.u = a
assert e.u.w.u.v.u.v.txt == "
|
c"
|
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.u: A = None
self.txt = txt
b = A("b")
d = B("d")
i = B("i")
a = A("a")
e = B("e")
c = B("c")
h = B("h")
b.v = d
b.w = d
d.u = a
i.u = b
a.v = c
a.w = h
e.u = a
c.u = a
h.u = a
assert e.u.w.u.v.u.v.txt == "c"
|
e
|
a
|
h
|
a
|
c
|
a
|
c
|
x
| 7 | 8 | 2 | 6 | 3 |
829 |
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.x: B = None
self.txt = txt
e = A("e")
c = B("c")
d = B("d")
f = A("f")
e.u = f
e.x = f
c.x = d
d.x = c
f.u = e
f.x = e
assert f.x.u.x.txt == "
|
e"
|
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.x: B = None
self.txt = txt
e = A("e")
c = B("c")
d = B("d")
f = A("f")
e.u = f
e.x = f
c.x = d
d.x = c
f.u = e
f.x = e
assert f.x.u.x.txt == "e"
|
f
|
e
|
f
|
e
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
830 |
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
d = A("d")
c = B("c")
e = B("e")
j = B("j")
h = A("h")
d.x = h
c.u = d
e.u = d
j.u = h
h.x = d
assert e.u.x.x.x.x.txt == "
|
d"
|
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
d = A("d")
c = B("c")
e = B("e")
j = B("j")
h = A("h")
d.x = h
c.u = d
e.u = d
j.u = h
h.x = d
assert e.u.x.x.x.x.txt == "d"
|
e
|
d
|
h
|
d
|
h
|
d
|
x
|
x
| 5 | 5 | 2 | 5 | 3 |
831 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
c = A("c")
f = B("f")
e = B("e")
a = A("a")
h = A("h")
c.w = h
c.v = h
f.u = e
e.u = f
a.w = h
a.v = c
h.w = c
h.v = a
assert h.w.w.w.v.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
c = A("c")
f = B("f")
e = B("e")
a = A("a")
h = A("h")
c.w = h
c.v = h
f.u = e
e.u = f
a.w = h
a.v = c
h.w = c
h.v = a
assert h.w.w.w.v.txt == "h"
|
h
|
c
|
h
|
c
|
h
|
x
|
x
|
x
| 5 | 7 | 2 | 4 | 3 |
832 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
i = A("i")
e = B("e")
j = B("j")
f = B("f")
i.z = f
e.q = i
e.x = i
j.q = i
j.x = i
f.q = i
f.x = i
assert i.z.q.z.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.x: A = None
self.txt = txt
i = A("i")
e = B("e")
j = B("j")
f = B("f")
i.z = f
e.q = i
e.x = i
j.q = i
j.x = i
f.q = i
f.x = i
assert i.z.q.z.txt == "f"
|
i
|
f
|
i
|
f
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
833 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
g = B("g")
j = A("j")
h = A("h")
f = A("f")
a = A("a")
b = B("b")
e.v = g
e.z = b
g.o = e
j.v = b
j.z = b
h.v = b
h.z = g
f.v = g
f.z = b
a.v = b
a.z = b
b.o = a
assert f.z.o.v.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
g = B("g")
j = A("j")
h = A("h")
f = A("f")
a = A("a")
b = B("b")
e.v = g
e.z = b
g.o = e
j.v = b
j.z = b
h.v = b
h.z = g
f.v = g
f.z = b
a.v = b
a.z = b
b.o = a
assert f.z.o.v.txt == "b"
|
f
|
b
|
a
|
b
|
x
|
x
|
x
|
x
| 7 | 10 | 2 | 3 | 1 |
834 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
e = A("e")
d = B("d")
b = B("b")
h = A("h")
e.p = h
d.v = b
d.p = b
b.v = d
b.p = d
h.p = e
assert e.p.p.p.p.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.p: B = None
self.txt = txt
e = A("e")
d = B("d")
b = B("b")
h = A("h")
e.p = h
d.v = b
d.p = b
b.v = d
b.p = d
h.p = e
assert e.p.p.p.p.txt == "e"
|
e
|
h
|
e
|
h
|
e
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 3 |
835 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
g = A("g")
d = B("d")
j = B("j")
i = A("i")
g.u = d
g.v = j
d.v = j
j.v = d
i.u = j
i.v = d
assert j.v.v.v.v.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
g = A("g")
d = B("d")
j = B("j")
i = A("i")
g.u = d
g.v = j
d.v = j
j.v = d
i.u = j
i.v = d
assert j.v.v.v.v.txt == "j"
|
j
|
d
|
j
|
d
|
j
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 3 |
836 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
e = A("e")
a.u = d
a.y = e
d.q = g
g.q = d
e.u = g
e.y = a
assert g.q.q.q.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
a = A("a")
d = B("d")
g = B("g")
e = A("e")
a.u = d
a.y = e
d.q = g
g.q = d
e.u = g
e.y = a
assert g.q.q.q.txt == "d"
|
g
|
d
|
g
|
d
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 2 |
837 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
g = B("g")
i = B("i")
c = A("c")
a = A("a")
d = A("d")
b = B("b")
f.v = d
g.y = c
i.y = f
c.v = d
a.v = d
d.v = a
b.y = d
assert b.y.v.v.v.v.v.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
f = A("f")
g = B("g")
i = B("i")
c = A("c")
a = A("a")
d = A("d")
b = B("b")
f.v = d
g.y = c
i.y = f
c.v = d
a.v = d
d.v = a
b.y = d
assert b.y.v.v.v.v.v.txt == "a"
|
b
|
d
|
a
|
d
|
a
|
d
|
a
|
x
| 7 | 7 | 2 | 6 | 4 |
838 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
d = A("d")
b = B("b")
g = A("g")
e = B("e")
i = B("i")
h = A("h")
c = B("c")
d.z = h
d.o = h
b.o = g
b.t = e
g.z = d
g.o = d
e.o = d
e.t = b
i.o = h
i.t = e
h.z = d
h.o = g
c.o = d
c.t = e
assert i.t.o.z.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.t: B = None
self.txt = txt
d = A("d")
b = B("b")
g = A("g")
e = B("e")
i = B("i")
h = A("h")
c = B("c")
d.z = h
d.o = h
b.o = g
b.t = e
g.z = d
g.o = d
e.o = d
e.t = b
i.o = h
i.t = e
h.z = d
h.o = g
c.o = d
c.t = e
assert i.t.o.z.z.txt == "d"
|
i
|
e
|
d
|
h
|
d
|
x
|
x
|
x
| 7 | 12 | 2 | 4 | 1 |
839 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.w: A = None
self.txt = txt
h = A("h")
b = B("b")
i = B("i")
h.z = i
b.q = i
b.w = h
i.q = b
i.w = h
assert h.z.q.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.w: A = None
self.txt = txt
h = A("h")
b = B("b")
i = B("i")
h.z = i
b.q = i
b.w = h
i.q = b
i.w = h
assert h.z.q.w.txt == "h"
|
h
|
i
|
b
|
h
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
840 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
b = B("b")
g = A("g")
i = A("i")
j = A("j")
e = A("e")
a = B("a")
h.t = a
b.w = i
g.t = a
i.t = b
j.t = b
e.t = a
a.w = h
assert e.t.w.t.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
b = B("b")
g = A("g")
i = A("i")
j = A("j")
e = A("e")
a = B("a")
h.t = a
b.w = i
g.t = a
i.t = b
j.t = b
e.t = a
a.w = h
assert e.t.w.t.w.txt == "h"
|
e
|
a
|
h
|
a
|
h
|
x
|
x
|
x
| 7 | 7 | 2 | 4 | 2 |
841 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
a = B("a")
d = A("d")
f = B("f")
j = B("j")
b = B("b")
h.t = a
a.t = b
d.t = b
f.t = a
j.t = a
b.t = f
assert h.t.t.t.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
a = B("a")
d = A("d")
f = B("f")
j = B("j")
b = B("b")
h.t = a
a.t = b
d.t = b
f.t = a
j.t = a
b.t = f
assert h.t.t.t.txt == "f"
|
h
|
a
|
b
|
f
|
x
|
x
|
x
|
x
| 6 | 6 | 2 | 3 | 0 |
842 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
b = A("b")
h = B("h")
i = A("i")
a = A("a")
e = A("e")
f = B("f")
b.z = e
h.y = f
i.z = b
a.z = b
e.z = i
f.y = h
assert e.z.z.z.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
b = A("b")
h = B("h")
i = A("i")
a = A("a")
e = A("e")
f = B("f")
b.z = e
h.y = f
i.z = b
a.z = b
e.z = i
f.y = h
assert e.z.z.z.txt == "e"
|
e
|
i
|
b
|
e
|
x
|
x
|
x
|
x
| 6 | 6 | 2 | 3 | 1 |
843 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
b = B("b")
j = B("j")
h.p = b
b.t = j
j.t = b
assert h.p.t.t.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
b = B("b")
j = B("j")
h.p = b
b.t = j
j.t = b
assert h.p.t.t.txt == "b"
|
h
|
b
|
j
|
b
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
844 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
f = A("f")
d = B("d")
h = B("h")
b = B("b")
c = B("c")
g = B("g")
i = A("i")
f.x = i
f.v = i
d.x = h
h.x = c
b.x = h
c.x = d
g.x = c
i.x = f
i.v = f
assert c.x.x.x.x.x.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
f = A("f")
d = B("d")
h = B("h")
b = B("b")
c = B("c")
g = B("g")
i = A("i")
f.x = i
f.v = i
d.x = h
h.x = c
b.x = h
c.x = d
g.x = c
i.x = f
i.v = f
assert c.x.x.x.x.x.txt == "h"
|
c
|
d
|
h
|
c
|
d
|
h
|
x
|
x
| 7 | 7 | 2 | 5 | 3 |
845 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.u: B = None
self.txt = txt
a = A("a")
e = B("e")
f = A("f")
h = B("h")
i = A("i")
b = A("b")
a.y = e
e.t = b
e.u = h
f.y = e
h.t = i
h.u = e
i.y = h
b.y = h
assert a.y.t.y.u.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.u: B = None
self.txt = txt
a = A("a")
e = B("e")
f = A("f")
h = B("h")
i = A("i")
b = A("b")
a.y = e
e.t = b
e.u = h
f.y = e
h.t = i
h.u = e
i.y = h
b.y = h
assert a.y.t.y.u.txt == "e"
|
a
|
e
|
b
|
h
|
e
|
x
|
x
|
x
| 6 | 8 | 2 | 4 | 1 |
846 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
h = B("h")
j = A("j")
f = B("f")
g.y = j
g.o = h
h.p = j
j.y = g
j.o = f
f.p = g
assert h.p.y.y.y.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
g = A("g")
h = B("h")
j = A("j")
f = B("f")
g.y = j
g.o = h
h.p = j
j.y = g
j.o = f
f.p = g
assert h.p.y.y.y.txt == "g"
|
h
|
j
|
g
|
j
|
g
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 2 |
847 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
d = B("d")
e = A("e")
a = A("a")
h.u = d
h.r = d
d.u = h
e.u = d
e.r = d
a.u = d
a.r = d
assert e.u.u.r.u.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
h = A("h")
d = B("d")
e = A("e")
a = A("a")
h.u = d
h.r = d
d.u = h
e.u = d
e.r = d
a.u = d
a.r = d
assert e.u.u.r.u.txt == "h"
|
e
|
d
|
h
|
d
|
h
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 2 |
848 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
e = B("e")
b = A("b")
h.w = b
e.w = h
b.w = h
assert b.w.w.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
h = A("h")
e = B("e")
b = A("b")
h.w = b
e.w = h
b.w = h
assert b.w.w.w.txt == "h"
|
b
|
h
|
b
|
h
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
849 |
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.r: A = None
self.x: B = None
self.txt = txt
g = A("g")
h = B("h")
d = B("d")
e = B("e")
a = B("a")
f = A("f")
g.t = f
g.s = h
h.r = f
h.x = e
d.r = f
d.x = h
e.r = f
e.x = h
a.r = f
a.x = h
f.t = g
f.s = a
assert f.t.t.s.r.t.t.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.r: A = None
self.x: B = None
self.txt = txt
g = A("g")
h = B("h")
d = B("d")
e = B("e")
a = B("a")
f = A("f")
g.t = f
g.s = h
h.r = f
h.x = e
d.r = f
d.x = h
e.r = f
e.x = h
a.r = f
a.x = h
f.t = g
f.s = a
assert f.t.t.s.r.t.t.txt == "f"
|
f
|
g
|
f
|
a
|
f
|
g
|
f
|
x
| 6 | 12 | 2 | 6 | 4 |
850 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
d = B("d")
c = A("c")
b = B("b")
h.z = c
h.u = b
d.v = c
c.z = h
c.u = d
b.v = h
assert d.v.u.v.u.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
h = A("h")
d = B("d")
c = A("c")
b = B("b")
h.z = c
h.u = b
d.v = c
c.z = h
c.u = d
b.v = h
assert d.v.u.v.u.txt == "d"
|
d
|
c
|
d
|
c
|
d
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 3 |
851 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.s: A = None
self.txt = txt
j = A("j")
h = B("h")
i = B("i")
c = A("c")
a = A("a")
b = A("b")
d = B("d")
j.x = d
j.t = h
h.t = d
h.s = j
i.t = h
i.s = c
c.x = i
c.t = d
a.x = i
a.t = i
b.x = d
b.t = i
d.t = h
d.s = j
assert c.t.s.x.s.t.t.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.s: A = None
self.txt = txt
j = A("j")
h = B("h")
i = B("i")
c = A("c")
a = A("a")
b = A("b")
d = B("d")
j.x = d
j.t = h
h.t = d
h.s = j
i.t = h
i.s = c
c.x = i
c.t = d
a.x = i
a.t = i
b.x = d
b.t = i
d.t = h
d.s = j
assert c.t.s.x.s.t.t.txt == "d"
|
c
|
d
|
j
|
d
|
j
|
h
|
d
|
x
| 7 | 13 | 2 | 6 | 3 |
852 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
c = A("c")
j = A("j")
b = B("b")
f = A("f")
h.z = e
e.s = j
e.r = j
c.z = b
j.z = e
b.s = h
b.r = h
f.z = e
assert e.s.z.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: A = None
self.r: A = None
self.txt = txt
h = A("h")
e = B("e")
c = A("c")
j = A("j")
b = B("b")
f = A("f")
h.z = e
e.s = j
e.r = j
c.z = b
j.z = e
b.s = h
b.r = h
f.z = e
assert e.s.z.s.txt == "j"
|
e
|
j
|
e
|
j
|
x
|
x
|
x
|
x
| 6 | 6 | 2 | 3 | 2 |
853 |
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
g = A("g")
c = B("c")
j = A("j")
g.o = j
c.z = j
j.o = g
assert j.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.z: A = None
self.txt = txt
g = A("g")
c = B("c")
j = A("j")
g.o = j
c.z = j
j.o = g
assert j.o.o.o.txt == "g"
|
j
|
g
|
j
|
g
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
854 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
b = B("b")
c = B("c")
e = B("e")
f = A("f")
g = A("g")
d.p = f
d.u = e
b.t = f
c.t = f
e.t = d
f.p = d
f.u = b
g.p = f
g.u = e
assert e.t.u.t.u.t.p.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
d = A("d")
b = B("b")
c = B("c")
e = B("e")
f = A("f")
g = A("g")
d.p = f
d.u = e
b.t = f
c.t = f
e.t = d
f.p = d
f.u = b
g.p = f
g.u = e
assert e.t.u.t.u.t.p.txt == "f"
|
e
|
d
|
e
|
d
|
e
|
d
|
f
|
x
| 6 | 9 | 2 | 6 | 4 |
855 |
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.t: A = None
self.txt = txt
g = A("g")
h = B("h")
c = A("c")
g.z = h
h.y = g
h.t = g
c.z = h
assert h.y.z.y.txt == "
|
g"
|
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.t: A = None
self.txt = txt
g = A("g")
h = B("h")
c = A("c")
g.z = h
h.y = g
h.t = g
c.z = h
assert h.y.z.y.txt == "g"
|
h
|
g
|
h
|
g
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
856 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
e = A("e")
c = B("c")
a = A("a")
f = B("f")
b = A("b")
j = B("j")
g = A("g")
e.y = f
e.z = a
c.o = g
c.u = f
a.y = f
a.z = b
f.o = g
f.u = j
b.y = f
b.z = g
j.o = b
j.u = f
g.y = j
g.z = e
assert f.o.y.o.y.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.u: B = None
self.txt = txt
e = A("e")
c = B("c")
a = A("a")
f = B("f")
b = A("b")
j = B("j")
g = A("g")
e.y = f
e.z = a
c.o = g
c.u = f
a.y = f
a.z = b
f.o = g
f.u = j
b.y = f
b.z = g
j.o = b
j.u = f
g.y = j
g.z = e
assert f.o.y.o.y.txt == "f"
|
f
|
g
|
j
|
b
|
f
|
x
|
x
|
x
| 7 | 14 | 2 | 4 | 1 |
857 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
c = B("c")
g = B("g")
d = B("d")
a = B("a")
h = B("h")
b = A("b")
e.y = h
e.p = b
c.o = e
g.o = b
d.o = e
a.o = b
h.o = e
b.y = g
b.p = e
assert c.o.p.y.o.y.o.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
e = A("e")
c = B("c")
g = B("g")
d = B("d")
a = B("a")
h = B("h")
b = A("b")
e.y = h
e.p = b
c.o = e
g.o = b
d.o = e
a.o = b
h.o = e
b.y = g
b.p = e
assert c.o.p.y.o.y.o.txt == "b"
|
c
|
e
|
b
|
g
|
b
|
g
|
b
|
x
| 7 | 9 | 2 | 6 | 3 |
858 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
i = A("i")
f = B("f")
d = B("d")
a = A("a")
b = A("b")
h = B("h")
c = B("c")
i.y = a
f.x = d
f.w = a
d.x = c
d.w = a
a.y = i
b.y = i
h.x = d
h.w = a
c.x = h
c.w = i
assert f.w.y.y.y.y.y.y.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.w: A = None
self.txt = txt
i = A("i")
f = B("f")
d = B("d")
a = A("a")
b = A("b")
h = B("h")
c = B("c")
i.y = a
f.x = d
f.w = a
d.x = c
d.w = a
a.y = i
b.y = i
h.x = d
h.w = a
c.x = h
c.w = i
assert f.w.y.y.y.y.y.y.txt == "a"
|
f
|
a
|
i
|
a
|
i
|
a
|
i
|
a
| 7 | 11 | 2 | 7 | 5 |
859 |
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.t: B = None
self.txt = txt
j = A("j")
d = B("d")
a = B("a")
g = A("g")
e = B("e")
j.v = g
d.x = g
d.t = a
a.x = j
a.t = e
g.v = j
e.x = j
e.t = d
assert d.t.x.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.t: B = None
self.txt = txt
j = A("j")
d = B("d")
a = B("a")
g = A("g")
e = B("e")
j.v = g
d.x = g
d.t = a
a.x = j
a.t = e
g.v = j
e.x = j
e.t = d
assert d.t.x.v.txt == "g"
|
d
|
a
|
j
|
g
|
x
|
x
|
x
|
x
| 5 | 8 | 2 | 3 | 0 |
860 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.x: A = None
self.txt = txt
f = A("f")
g = B("g")
b = B("b")
a = B("a")
j = B("j")
f.u = g
f.x = g
g.r = j
g.x = f
b.r = a
b.x = f
a.r = b
a.x = f
j.r = a
j.x = f
assert a.x.u.r.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.x: A = None
self.txt = txt
f = A("f")
g = B("g")
b = B("b")
a = B("a")
j = B("j")
f.u = g
f.x = g
g.r = j
g.x = f
b.r = a
b.x = f
a.r = b
a.x = f
j.r = a
j.x = f
assert a.x.u.r.txt == "j"
|
a
|
f
|
g
|
j
|
x
|
x
|
x
|
x
| 5 | 9 | 2 | 3 | 0 |
861 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
e = A("e")
b = B("b")
a = A("a")
e.r = b
e.w = b
b.u = e
a.r = b
a.w = b
assert e.w.u.r.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
e = A("e")
b = B("b")
a = A("a")
e.r = b
e.w = b
b.u = e
a.r = b
a.w = b
assert e.w.u.r.txt == "b"
|
e
|
b
|
e
|
b
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
862 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
j = A("j")
e.x = g
d.y = j
g.x = e
j.x = e
assert e.x.x.x.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
j = A("j")
e.x = g
d.y = j
g.x = e
j.x = e
assert e.x.x.x.txt == "g"
|
e
|
g
|
e
|
g
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
863 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
d = A("d")
e = B("e")
c = A("c")
h = B("h")
b = A("b")
f = A("f")
a = B("a")
d.y = e
d.r = a
e.w = a
e.t = h
c.y = a
c.r = h
h.w = e
h.t = e
b.y = e
b.r = e
f.y = a
f.r = a
a.w = e
a.t = h
assert d.y.w.t.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
d = A("d")
e = B("e")
c = A("c")
h = B("h")
b = A("b")
f = A("f")
a = B("a")
d.y = e
d.r = a
e.w = a
e.t = h
c.y = a
c.r = h
h.w = e
h.t = e
b.y = e
b.r = e
f.y = a
f.r = a
a.w = e
a.t = h
assert d.y.w.t.txt == "h"
|
d
|
e
|
a
|
h
|
x
|
x
|
x
|
x
| 7 | 11 | 2 | 3 | 0 |
864 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
b = A("b")
j = B("j")
c = A("c")
g = B("g")
f = B("f")
h = A("h")
d = A("d")
b.u = c
b.t = g
j.x = f
j.o = b
c.u = b
c.t = g
g.x = f
g.o = d
f.x = g
f.o = b
h.u = c
h.t = f
d.u = h
d.t = j
assert j.o.u.u.t.x.o.t.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.o: A = None
self.txt = txt
b = A("b")
j = B("j")
c = A("c")
g = B("g")
f = B("f")
h = A("h")
d = A("d")
b.u = c
b.t = g
j.x = f
j.o = b
c.u = b
c.t = g
g.x = f
g.o = d
f.x = g
f.o = b
h.u = c
h.t = f
d.u = h
d.t = j
assert j.o.u.u.t.x.o.t.txt == "g"
|
j
|
b
|
c
|
b
|
g
|
f
|
b
|
g
| 7 | 14 | 2 | 7 | 3 |
865 |
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.t: A = None
self.r: A = None
self.txt = txt
d = A("d")
i = B("i")
j = A("j")
d.o = i
d.v = i
i.t = j
i.r = j
j.o = i
j.v = i
assert d.v.r.o.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.t: A = None
self.r: A = None
self.txt = txt
d = A("d")
i = B("i")
j = A("j")
d.o = i
d.v = i
i.t = j
i.r = j
j.o = i
j.v = i
assert d.v.r.o.txt == "i"
|
d
|
i
|
j
|
i
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
866 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
c = A("c")
h = B("h")
f = A("f")
c.s = f
c.o = f
h.p = f
h.s = f
f.s = c
f.o = c
assert c.o.o.s.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.s: A = None
self.txt = txt
c = A("c")
h = B("h")
f = A("f")
c.s = f
c.o = f
h.p = f
h.s = f
f.s = c
f.o = c
assert c.o.o.s.txt == "f"
|
c
|
f
|
c
|
f
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
867 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.r: B = None
self.txt = txt
i = A("i")
b = B("b")
f = B("f")
g = A("g")
i.v = g
b.s = g
b.r = f
f.s = i
f.r = b
g.v = i
assert i.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.s: A = None
self.r: B = None
self.txt = txt
i = A("i")
b = B("b")
f = B("f")
g = A("g")
i.v = g
b.s = g
b.r = f
f.s = i
f.r = b
g.v = i
assert i.v.v.v.txt == "g"
|
i
|
g
|
i
|
g
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 2 |
868 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
g = B("g")
d = B("d")
j = B("j")
c = A("c")
b.v = c
b.w = c
g.o = c
d.o = c
j.o = c
c.v = b
c.w = b
assert d.o.v.w.w.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
g = B("g")
d = B("d")
j = B("j")
c = A("c")
b.v = c
b.w = c
g.o = c
d.o = c
j.o = c
c.v = b
c.w = b
assert d.o.v.w.w.txt == "b"
|
d
|
c
|
b
|
c
|
b
|
x
|
x
|
x
| 5 | 5 | 2 | 4 | 2 |
869 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
a = A("a")
j = B("j")
e = B("e")
h = B("h")
d = B("d")
g = B("g")
b = A("b")
a.x = e
j.x = a
j.u = a
e.x = b
e.u = a
h.x = b
h.u = a
d.x = b
d.u = b
g.x = b
g.u = a
b.x = d
assert h.x.x.x.x.x.x.x.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.u: A = None
self.txt = txt
a = A("a")
j = B("j")
e = B("e")
h = B("h")
d = B("d")
g = B("g")
b = A("b")
a.x = e
j.x = a
j.u = a
e.x = b
e.u = a
h.x = b
h.u = a
d.x = b
d.u = b
g.x = b
g.u = a
b.x = d
assert h.x.x.x.x.x.x.x.txt == "b"
|
h
|
b
|
d
|
b
|
d
|
b
|
d
|
b
| 7 | 10 | 2 | 7 | 5 |
870 |
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.r: B = None
self.txt = txt
c = A("c")
d = B("d")
g = B("g")
j = B("j")
b = B("b")
f = A("f")
h = A("h")
c.q = d
c.o = h
d.r = j
g.r = d
j.r = d
b.r = g
f.q = d
f.o = c
h.q = j
h.o = c
assert g.r.r.r.txt == "
|
d"
|
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.r: B = None
self.txt = txt
c = A("c")
d = B("d")
g = B("g")
j = B("j")
b = B("b")
f = A("f")
h = A("h")
c.q = d
c.o = h
d.r = j
g.r = d
j.r = d
b.r = g
f.q = d
f.o = c
h.q = j
h.o = c
assert g.r.r.r.txt == "d"
|
g
|
d
|
j
|
d
|
x
|
x
|
x
|
x
| 7 | 10 | 2 | 3 | 1 |
871 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
g = A("g")
b = B("b")
a = A("a")
c = A("c")
d = A("d")
e = B("e")
i = A("i")
g.p = b
g.u = b
b.z = i
a.p = b
a.u = b
c.p = e
c.u = e
d.p = b
d.u = b
e.z = g
i.p = b
i.u = e
assert i.p.z.u.z.u.z.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
g = A("g")
b = B("b")
a = A("a")
c = A("c")
d = A("d")
e = B("e")
i = A("i")
g.p = b
g.u = b
b.z = i
a.p = b
a.u = b
c.p = e
c.u = e
d.p = b
d.u = b
e.z = g
i.p = b
i.u = e
assert i.p.z.u.z.u.z.txt == "i"
|
i
|
b
|
i
|
e
|
g
|
b
|
i
|
x
| 7 | 8 | 2 | 6 | 3 |
872 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
e = B("e")
f = A("f")
h = B("h")
g = B("g")
d = A("d")
i.q = j
i.r = g
j.v = d
e.v = i
f.q = j
f.r = g
h.v = d
g.v = f
d.q = g
d.r = g
assert j.v.r.v.q.v.q.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
e = B("e")
f = A("f")
h = B("h")
g = B("g")
d = A("d")
i.q = j
i.r = g
j.v = d
e.v = i
f.q = j
f.r = g
h.v = d
g.v = f
d.q = g
d.r = g
assert j.v.r.v.q.v.q.txt == "g"
|
j
|
d
|
g
|
f
|
j
|
d
|
g
|
x
| 7 | 9 | 2 | 6 | 3 |
873 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
c = B("c")
b = A("b")
d.r = c
d.w = b
c.p = d
b.r = c
b.w = d
assert b.r.p.r.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
d = A("d")
c = B("c")
b = A("b")
d.r = c
d.w = b
c.p = d
b.r = c
b.w = d
assert b.r.p.r.txt == "c"
|
b
|
c
|
d
|
c
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
874 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: A = None
self.txt = txt
h = A("h")
b = B("b")
c = A("c")
f = A("f")
i = B("i")
e = A("e")
a = B("a")
h.t = b
b.p = e
b.q = c
c.t = b
f.t = b
i.p = f
i.q = e
e.t = a
a.p = e
a.q = c
assert a.q.t.p.t.q.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.p: A = None
self.q: A = None
self.txt = txt
h = A("h")
b = B("b")
c = A("c")
f = A("f")
i = B("i")
e = A("e")
a = B("a")
h.t = b
b.p = e
b.q = c
c.t = b
f.t = b
i.p = f
i.q = e
e.t = a
a.p = e
a.q = c
assert a.q.t.p.t.q.t.txt == "b"
|
a
|
c
|
b
|
e
|
a
|
c
|
b
|
x
| 7 | 10 | 2 | 6 | 3 |
875 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
h = B("h")
i = A("i")
a = A("a")
f = B("f")
b.q = h
b.r = d
c.y = d
c.s = a
d.y = c
d.s = b
h.y = f
h.s = i
i.q = f
i.r = d
a.q = d
a.r = c
f.y = c
f.s = b
assert b.r.y.y.y.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.s: A = None
self.txt = txt
b = A("b")
c = B("c")
d = B("d")
h = B("h")
i = A("i")
a = A("a")
f = B("f")
b.q = h
b.r = d
c.y = d
c.s = a
d.y = c
d.s = b
h.y = f
h.s = i
i.q = f
i.r = d
a.q = d
a.r = c
f.y = c
f.s = b
assert b.r.y.y.y.txt == "c"
|
b
|
d
|
c
|
d
|
c
|
x
|
x
|
x
| 7 | 14 | 2 | 4 | 2 |
876 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.r: B = None
self.txt = txt
f = A("f")
c = B("c")
b = A("b")
a = A("a")
h = B("h")
d = A("d")
f.z = h
c.t = h
c.r = h
b.z = c
a.z = h
h.t = c
h.r = c
d.z = h
assert a.z.r.t.r.t.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.r: B = None
self.txt = txt
f = A("f")
c = B("c")
b = A("b")
a = A("a")
h = B("h")
d = A("d")
f.z = h
c.t = h
c.r = h
b.z = c
a.z = h
h.t = c
h.r = c
d.z = h
assert a.z.r.t.r.t.txt == "h"
|
a
|
h
|
c
|
h
|
c
|
h
|
x
|
x
| 6 | 6 | 2 | 5 | 3 |
877 |
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.q: A = None
self.v: A = None
self.txt = txt
h = A("h")
g = B("g")
j = B("j")
e = B("e")
h.w = e
h.t = g
g.q = h
g.v = h
j.q = h
j.v = h
e.q = h
e.v = h
assert g.v.w.q.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.v: A = None
self.txt = txt
h = A("h")
g = B("g")
j = B("j")
e = B("e")
h.w = e
h.t = g
g.q = h
g.v = h
j.q = h
j.v = h
e.q = h
e.v = h
assert g.v.w.q.txt == "h"
|
g
|
h
|
e
|
h
|
x
|
x
|
x
|
x
| 4 | 5 | 2 | 3 | 1 |
878 |
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.v: A = None
self.x: B = None
self.txt = txt
c = A("c")
d = B("d")
i = A("i")
b = A("b")
g = B("g")
c.v = b
c.q = b
d.v = c
d.x = g
i.v = c
i.q = c
b.v = i
b.q = i
g.v = b
g.x = d
assert d.v.q.q.q.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.v: A = None
self.x: B = None
self.txt = txt
c = A("c")
d = B("d")
i = A("i")
b = A("b")
g = B("g")
c.v = b
c.q = b
d.v = c
d.x = g
i.v = c
i.q = c
b.v = i
b.q = i
g.v = b
g.x = d
assert d.v.q.q.q.txt == "c"
|
d
|
c
|
b
|
i
|
c
|
x
|
x
|
x
| 5 | 7 | 2 | 4 | 1 |
879 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
f = B("f")
d = B("d")
a = A("a")
i = A("i")
j = A("j")
g = B("g")
b.p = d
f.o = a
d.o = a
a.p = d
i.p = f
j.p = d
g.o = j
assert j.p.o.p.o.p.o.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
b = A("b")
f = B("f")
d = B("d")
a = A("a")
i = A("i")
j = A("j")
g = B("g")
b.p = d
f.o = a
d.o = a
a.p = d
i.p = f
j.p = d
g.o = j
assert j.p.o.p.o.p.o.txt == "a"
|
j
|
d
|
a
|
d
|
a
|
d
|
a
|
x
| 7 | 7 | 2 | 6 | 4 |
880 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
h = A("h")
a = B("a")
b = A("b")
j = A("j")
i = B("i")
h.y = j
a.s = i
b.y = j
j.y = b
i.s = a
assert i.s.s.s.s.s.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
h = A("h")
a = B("a")
b = A("b")
j = A("j")
i = B("i")
h.y = j
a.s = i
b.y = j
j.y = b
i.s = a
assert i.s.s.s.s.s.txt == "a"
|
i
|
a
|
i
|
a
|
i
|
a
|
x
|
x
| 5 | 5 | 2 | 5 | 4 |
881 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
i = A("i")
h = B("h")
a = A("a")
g = A("g")
d = B("d")
i.r = g
i.u = d
h.y = i
h.s = g
a.r = i
a.u = d
g.r = a
g.u = d
d.y = a
d.s = i
assert i.u.s.r.u.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.s: A = None
self.txt = txt
i = A("i")
h = B("h")
a = A("a")
g = A("g")
d = B("d")
i.r = g
i.u = d
h.y = i
h.s = g
a.r = i
a.u = d
g.r = a
g.u = d
d.y = a
d.s = i
assert i.u.s.r.u.txt == "d"
|
i
|
d
|
i
|
g
|
d
|
x
|
x
|
x
| 5 | 10 | 2 | 4 | 2 |
882 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: A = None
self.txt = txt
c = A("c")
j = B("j")
d = A("d")
i = B("i")
a = A("a")
c.v = i
c.o = j
j.y = i
j.w = a
d.v = j
d.o = i
i.y = j
i.w = a
a.v = j
a.o = j
assert i.y.w.o.y.y.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.w: A = None
self.txt = txt
c = A("c")
j = B("j")
d = A("d")
i = B("i")
a = A("a")
c.v = i
c.o = j
j.y = i
j.w = a
d.v = j
d.o = i
i.y = j
i.w = a
a.v = j
a.o = j
assert i.y.w.o.y.y.txt == "j"
|
i
|
j
|
a
|
j
|
i
|
j
|
x
|
x
| 5 | 9 | 2 | 5 | 3 |
883 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
j = B("j")
a = A("a")
c = B("c")
d = B("d")
f.w = d
f.p = a
h.s = i
i.s = c
j.s = d
a.w = h
a.p = f
c.s = d
d.s = c
assert d.s.s.s.s.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.p: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
j = B("j")
a = A("a")
c = B("c")
d = B("d")
f.w = d
f.p = a
h.s = i
i.s = c
j.s = d
a.w = h
a.p = f
c.s = d
d.s = c
assert d.s.s.s.s.txt == "d"
|
d
|
c
|
d
|
c
|
d
|
x
|
x
|
x
| 7 | 9 | 2 | 4 | 3 |
884 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
h = A("h")
i = B("i")
j = A("j")
e = B("e")
h.z = j
i.o = e
j.z = h
e.o = i
assert h.z.z.z.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
h = A("h")
i = B("i")
j = A("j")
e = B("e")
h.z = j
i.o = e
j.z = h
e.o = i
assert h.z.z.z.txt == "j"
|
h
|
j
|
h
|
j
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
885 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.o: B = None
self.txt = txt
h = A("h")
b = B("b")
j = B("j")
g = A("g")
e = A("e")
f = B("f")
a = A("a")
h.r = g
b.p = f
b.o = f
j.p = f
j.o = b
g.r = h
e.r = h
f.p = b
f.o = b
a.r = e
assert g.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.p: B = None
self.o: B = None
self.txt = txt
h = A("h")
b = B("b")
j = B("j")
g = A("g")
e = A("e")
f = B("f")
a = A("a")
h.r = g
b.p = f
b.o = f
j.p = f
j.o = b
g.r = h
e.r = h
f.p = b
f.o = b
a.r = e
assert g.r.r.r.txt == "h"
|
g
|
h
|
g
|
h
|
x
|
x
|
x
|
x
| 7 | 8 | 2 | 3 | 2 |
886 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
e = A("e")
j = B("j")
b = A("b")
g = B("g")
d = A("d")
e.v = b
j.t = g
b.v = e
g.t = j
d.v = e
assert d.v.v.v.v.v.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
e = A("e")
j = B("j")
b = A("b")
g = B("g")
d = A("d")
e.v = b
j.t = g
b.v = e
g.t = j
d.v = e
assert d.v.v.v.v.v.txt == "e"
|
d
|
e
|
b
|
e
|
b
|
e
|
x
|
x
| 5 | 5 | 2 | 5 | 3 |
887 |
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.z: A = None
self.s: A = None
self.txt = txt
e = A("e")
c = B("c")
d = A("d")
g = B("g")
i = B("i")
e.s = c
e.x = d
c.z = e
c.s = d
d.s = i
d.x = e
g.z = d
g.s = d
i.z = e
i.s = d
assert i.s.x.x.txt == "
|
d"
|
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.z: A = None
self.s: A = None
self.txt = txt
e = A("e")
c = B("c")
d = A("d")
g = B("g")
i = B("i")
e.s = c
e.x = d
c.z = e
c.s = d
d.s = i
d.x = e
g.z = d
g.s = d
i.z = e
i.s = d
assert i.s.x.x.txt == "d"
|
i
|
d
|
e
|
d
|
x
|
x
|
x
|
x
| 5 | 9 | 2 | 3 | 1 |
888 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
d = A("d")
i = B("i")
c = B("c")
f = B("f")
h = A("h")
b = B("b")
a = A("a")
d.q = a
d.o = c
i.q = d
c.q = d
f.q = h
h.q = d
h.o = f
b.q = h
a.q = d
a.o = i
assert i.q.q.q.o.q.q.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
d = A("d")
i = B("i")
c = B("c")
f = B("f")
h = A("h")
b = B("b")
a = A("a")
d.q = a
d.o = c
i.q = d
c.q = d
f.q = h
h.q = d
h.o = f
b.q = h
a.q = d
a.o = i
assert i.q.q.q.o.q.q.txt == "a"
|
i
|
d
|
a
|
d
|
c
|
d
|
a
|
x
| 7 | 10 | 2 | 6 | 3 |
889 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
d = A("d")
j = B("j")
c = B("c")
d.t = j
j.r = c
j.t = d
c.r = j
c.t = d
assert d.t.r.r.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.t: A = None
self.txt = txt
d = A("d")
j = B("j")
c = B("c")
d.t = j
j.r = c
j.t = d
c.r = j
c.t = d
assert d.t.r.r.txt == "j"
|
d
|
j
|
c
|
j
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
890 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
g = B("g")
h = A("h")
i.w = h
j.v = i
g.v = i
h.w = i
assert i.w.w.w.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
j = B("j")
g = B("g")
h = A("h")
i.w = h
j.v = i
g.v = i
h.w = i
assert i.w.w.w.txt == "h"
|
i
|
h
|
i
|
h
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
891 |
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.o: B = None
self.txt = txt
a = A("a")
f = B("f")
e = B("e")
i = B("i")
d = B("d")
a.q = e
f.q = a
f.o = d
e.q = a
e.o = f
i.q = a
i.o = f
d.q = a
d.o = e
assert a.q.q.q.o.txt == "
|
f"
|
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.o: B = None
self.txt = txt
a = A("a")
f = B("f")
e = B("e")
i = B("i")
d = B("d")
a.q = e
f.q = a
f.o = d
e.q = a
e.o = f
i.q = a
i.o = f
d.q = a
d.o = e
assert a.q.q.q.o.txt == "f"
|
a
|
e
|
a
|
e
|
f
|
x
|
x
|
x
| 5 | 9 | 2 | 4 | 2 |
892 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
a = B("a")
h = A("h")
f.q = a
a.p = f
h.q = a
assert a.p.q.p.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
f = A("f")
a = B("a")
h = A("h")
f.q = a
a.p = f
h.q = a
assert a.p.q.p.txt == "f"
|
a
|
f
|
a
|
f
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
893 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
i = B("i")
f = B("f")
c = A("c")
g.v = i
g.y = c
i.x = g
f.x = c
c.v = i
c.y = g
assert f.x.v.x.v.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
g = A("g")
i = B("i")
f = B("f")
c = A("c")
g.v = i
g.y = c
i.x = g
f.x = c
c.v = i
c.y = g
assert f.x.v.x.v.txt == "i"
|
f
|
c
|
i
|
g
|
i
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 1 |
894 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
i = A("i")
f = B("f")
h = B("h")
a.q = i
a.x = b
b.y = a
b.z = f
i.q = a
i.x = h
f.y = a
f.z = h
h.y = i
h.z = f
assert f.y.q.x.y.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: A = None
self.z: B = None
self.txt = txt
a = A("a")
b = B("b")
i = A("i")
f = B("f")
h = B("h")
a.q = i
a.x = b
b.y = a
b.z = f
i.q = a
i.x = h
f.y = a
f.z = h
h.y = i
h.z = f
assert f.y.q.x.y.txt == "i"
|
f
|
a
|
i
|
h
|
i
|
x
|
x
|
x
| 5 | 10 | 2 | 4 | 1 |
895 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
b = A("b")
i = B("i")
g = A("g")
f = A("f")
c = A("c")
a = B("a")
h = B("h")
b.u = h
i.r = h
g.u = h
f.u = a
c.u = h
a.r = h
h.r = a
assert b.u.r.r.r.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
b = A("b")
i = B("i")
g = A("g")
f = A("f")
c = A("c")
a = B("a")
h = B("h")
b.u = h
i.r = h
g.u = h
f.u = a
c.u = h
a.r = h
h.r = a
assert b.u.r.r.r.txt == "a"
|
b
|
h
|
a
|
h
|
a
|
x
|
x
|
x
| 7 | 7 | 2 | 4 | 2 |
896 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
h = B("h")
j.u = i
j.r = i
i.x = j
i.t = j
c.x = j
c.t = j
h.x = j
h.t = j
assert j.r.x.r.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.t: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
h = B("h")
j.u = i
j.r = i
i.x = j
i.t = j
c.x = j
c.t = j
h.x = j
h.t = j
assert j.r.x.r.txt == "i"
|
j
|
i
|
j
|
i
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
897 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
g = A("g")
b = B("b")
e = B("e")
i = B("i")
j = B("j")
d = B("d")
a = B("a")
g.t = d
g.v = j
b.o = g
b.y = d
e.o = g
e.y = a
i.o = g
i.y = b
j.o = g
j.y = e
d.o = g
d.y = b
a.o = g
a.y = e
assert g.v.o.t.y.y.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.y: B = None
self.txt = txt
g = A("g")
b = B("b")
e = B("e")
i = B("i")
j = B("j")
d = B("d")
a = B("a")
g.t = d
g.v = j
b.o = g
b.y = d
e.o = g
e.y = a
i.o = g
i.y = b
j.o = g
j.y = e
d.o = g
d.y = b
a.o = g
a.y = e
assert g.v.o.t.y.y.txt == "d"
|
g
|
j
|
g
|
d
|
b
|
d
|
x
|
x
| 7 | 14 | 2 | 5 | 2 |
898 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: B = None
self.txt = txt
d = A("d")
i = B("i")
f = A("f")
b = B("b")
d.q = f
i.r = d
i.z = b
f.q = d
b.r = d
b.z = i
assert d.q.q.q.q.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.z: B = None
self.txt = txt
d = A("d")
i = B("i")
f = A("f")
b = B("b")
d.q = f
i.r = d
i.z = b
f.q = d
b.r = d
b.z = i
assert d.q.q.q.q.txt == "d"
|
d
|
f
|
d
|
f
|
d
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 3 |
899 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
e = A("e")
c = B("c")
j = A("j")
b = A("b")
e.r = j
c.z = b
j.r = e
b.r = j
assert b.r.r.r.r.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
e = A("e")
c = B("c")
j = A("j")
b = A("b")
e.r = j
c.z = b
j.r = e
b.r = j
assert b.r.r.r.r.txt == "e"
|
b
|
j
|
e
|
j
|
e
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.