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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.v: B = None
self.txt = txt
f = A("f")
e = B("e")
b = B("b")
g = B("g")
f.w = g
f.x = g
e.z = b
e.v = b
b.z = g
b.v = g
g.z = b
g.v = e
assert e.z.z.z.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.v: B = None
self.txt = txt
f = A("f")
e = B("e")
b = B("b")
g = B("g")
f.w = g
f.x = g
e.z = b
e.v = b
b.z = g
b.v = g
g.z = b
g.v = e
assert e.z.z.z.txt == "b"
|
e
|
b
|
g
|
b
|
x
|
x
|
x
|
x
|
b
|
g
|
b
|
e
|
x
|
x
|
x
|
x
| 4 | 5 | 2 | 3 | 1 |
201 |
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
g = A("g")
j = B("j")
b = A("b")
i = B("i")
f = B("f")
a = A("a")
g.q = f
j.o = i
j.t = i
b.q = j
i.o = j
i.t = f
f.o = i
f.t = i
a.q = i
assert f.o.o.o.o.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.t: B = None
self.txt = txt
g = A("g")
j = B("j")
b = A("b")
i = B("i")
f = B("f")
a = A("a")
g.q = f
j.o = i
j.t = i
b.q = j
i.o = j
i.t = f
f.o = i
f.t = i
a.q = i
assert f.o.o.o.o.txt == "j"
|
f
|
i
|
j
|
i
|
j
|
x
|
x
|
x
|
j
|
i
|
j
|
i
|
f
|
x
|
x
|
x
| 6 | 7 | 2 | 4 | 2 |
202 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: B = None
self.txt = txt
a = A("a")
i = B("i")
e = A("e")
j = B("j")
g = A("g")
a.s = e
i.r = j
i.z = j
e.s = g
j.r = i
j.z = i
g.s = a
assert a.s.s.s.s.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.z: B = None
self.txt = txt
a = A("a")
i = B("i")
e = A("e")
j = B("j")
g = A("g")
a.s = e
i.r = j
i.z = j
e.s = g
j.r = i
j.z = i
g.s = a
assert a.s.s.s.s.txt == "e"
|
a
|
e
|
g
|
a
|
e
|
x
|
x
|
x
|
e
|
a
|
g
|
e
|
a
|
x
|
x
|
x
| 5 | 5 | 2 | 4 | 2 |
203 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
i = B("i")
j = B("j")
g = B("g")
h = A("h")
b.u = j
i.v = j
j.v = i
g.v = i
h.u = i
assert j.v.v.v.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
b = A("b")
i = B("i")
j = B("j")
g = B("g")
h = A("h")
b.u = j
i.v = j
j.v = i
g.v = i
h.u = i
assert j.v.v.v.txt == "i"
|
j
|
i
|
j
|
i
|
x
|
x
|
x
|
x
|
i
|
j
|
i
|
j
|
x
|
x
|
x
|
x
| 5 | 5 | 2 | 3 | 2 |
204 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
c = A("c")
j = B("j")
f = A("f")
i = A("i")
g = A("g")
b = B("b")
d = A("d")
c.v = f
j.p = i
j.q = b
f.v = g
i.v = c
g.v = d
b.p = d
b.q = j
d.v = f
assert j.q.q.p.v.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.q: B = None
self.txt = txt
c = A("c")
j = B("j")
f = A("f")
i = A("i")
g = A("g")
b = B("b")
d = A("d")
c.v = f
j.p = i
j.q = b
f.v = g
i.v = c
g.v = d
b.p = d
b.q = j
d.v = f
assert j.q.q.p.v.txt == "c"
|
j
|
b
|
j
|
i
|
c
|
x
|
x
|
x
|
c
|
i
|
j
|
b
|
j
|
x
|
x
|
x
| 7 | 9 | 2 | 4 | 1 |
205 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.z: A = None
self.txt = txt
h = A("h")
f = B("f")
g = A("g")
h.t = g
f.t = g
f.z = g
g.t = h
assert g.t.t.t.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.z: A = None
self.txt = txt
h = A("h")
f = B("f")
g = A("g")
h.t = g
f.t = g
f.z = g
g.t = h
assert g.t.t.t.txt == "h"
|
g
|
h
|
g
|
h
|
x
|
x
|
x
|
x
|
h
|
g
|
h
|
g
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
206 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
d = A("d")
c = B("c")
b = A("b")
a = B("a")
d.z = c
d.o = c
c.u = d
b.z = a
b.o = a
a.u = d
assert b.o.u.o.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
d = A("d")
c = B("c")
b = A("b")
a = B("a")
d.z = c
d.o = c
c.u = d
b.z = a
b.o = a
a.u = d
assert b.o.u.o.txt == "c"
|
b
|
a
|
d
|
c
|
x
|
x
|
x
|
x
|
c
|
d
|
a
|
b
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 0 |
207 |
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.txt = txt
e = A("e")
g = B("g")
d = A("d")
e.s = g
g.o = d
d.s = g
assert e.s.o.s.txt == "
|
g"
|
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.txt = txt
e = A("e")
g = B("g")
d = A("d")
e.s = g
g.o = d
d.s = g
assert e.s.o.s.txt == "g"
|
e
|
g
|
d
|
g
|
x
|
x
|
x
|
x
|
g
|
d
|
g
|
e
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
208 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
c = B("c")
d = A("d")
j = B("j")
e = B("e")
i.r = d
i.z = d
c.q = j
d.r = i
d.z = i
j.q = e
e.q = j
assert c.q.q.q.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
i = A("i")
c = B("c")
d = A("d")
j = B("j")
e = B("e")
i.r = d
i.z = d
c.q = j
d.r = i
d.z = i
j.q = e
e.q = j
assert c.q.q.q.txt == "j"
|
c
|
j
|
e
|
j
|
x
|
x
|
x
|
x
|
j
|
e
|
j
|
c
|
x
|
x
|
x
|
x
| 5 | 5 | 2 | 3 | 1 |
209 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
j = B("j")
e = A("e")
b.p = e
b.t = j
j.r = e
e.p = b
e.t = j
assert j.r.p.p.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
j = B("j")
e = A("e")
b.p = e
b.t = j
j.r = e
e.p = b
e.t = j
assert j.r.p.p.txt == "e"
|
j
|
e
|
b
|
e
|
x
|
x
|
x
|
x
|
e
|
b
|
e
|
j
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
210 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.t: A = None
self.txt = txt
h = A("h")
f = B("f")
g = B("g")
e = B("e")
c = A("c")
h.x = f
f.s = h
f.t = c
g.s = h
g.t = c
e.s = c
e.t = h
c.x = f
assert c.x.t.x.s.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.s: A = None
self.t: A = None
self.txt = txt
h = A("h")
f = B("f")
g = B("g")
e = B("e")
c = A("c")
h.x = f
f.s = h
f.t = c
g.s = h
g.t = c
e.s = c
e.t = h
c.x = f
assert c.x.t.x.s.x.txt == "f"
|
c
|
f
|
c
|
f
|
h
|
f
|
x
|
x
|
f
|
h
|
f
|
c
|
f
|
c
|
x
|
x
| 5 | 8 | 2 | 5 | 3 |
211 |
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.r: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
b = B("b")
f = B("f")
j = A("j")
a = A("a")
e.p = d
e.x = d
d.r = j
g.p = b
g.x = d
b.r = j
f.r = j
j.p = b
j.x = d
a.p = b
a.x = d
assert d.r.p.r.p.r.txt == "
|
j"
|
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.r: A = None
self.txt = txt
e = A("e")
d = B("d")
g = A("g")
b = B("b")
f = B("f")
j = A("j")
a = A("a")
e.p = d
e.x = d
d.r = j
g.p = b
g.x = d
b.r = j
f.r = j
j.p = b
j.x = d
a.p = b
a.x = d
assert d.r.p.r.p.r.txt == "j"
|
d
|
j
|
b
|
j
|
b
|
j
|
x
|
x
|
j
|
b
|
j
|
b
|
j
|
d
|
x
|
x
| 7 | 10 | 2 | 5 | 3 |
212 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
h = A("h")
i = B("i")
a = A("a")
e = B("e")
c = A("c")
h.x = a
i.r = e
i.u = a
a.x = h
e.r = i
e.u = h
c.x = h
assert e.r.r.u.x.x.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.u: A = None
self.txt = txt
h = A("h")
i = B("i")
a = A("a")
e = B("e")
c = A("c")
h.x = a
i.r = e
i.u = a
a.x = h
e.r = i
e.u = h
c.x = h
assert e.r.r.u.x.x.txt == "h"
|
e
|
i
|
e
|
h
|
a
|
h
|
x
|
x
|
h
|
a
|
h
|
e
|
i
|
e
|
x
|
x
| 5 | 7 | 2 | 5 | 2 |
213 |
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.t: B = None
self.r: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
j.z = i
j.w = c
i.t = c
i.r = j
c.t = i
c.r = j
assert c.r.z.t.txt == "
|
c"
|
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.t: B = None
self.r: A = None
self.txt = txt
j = A("j")
i = B("i")
c = B("c")
j.z = i
j.w = c
i.t = c
i.r = j
c.t = i
c.r = j
assert c.r.z.t.txt == "c"
|
c
|
j
|
i
|
c
|
x
|
x
|
x
|
x
|
c
|
i
|
j
|
c
|
x
|
x
|
x
|
x
| 3 | 6 | 2 | 3 | 1 |
214 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.txt = txt
i = A("i")
c = B("c")
f = A("f")
j = B("j")
e = B("e")
i.t = f
c.s = j
c.y = e
f.t = i
j.s = e
j.y = c
e.s = c
e.y = j
assert i.t.t.t.t.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: B = None
self.y: B = None
self.txt = txt
i = A("i")
c = B("c")
f = A("f")
j = B("j")
e = B("e")
i.t = f
c.s = j
c.y = e
f.t = i
j.s = e
j.y = c
e.s = c
e.y = j
assert i.t.t.t.t.txt == "i"
|
i
|
f
|
i
|
f
|
i
|
x
|
x
|
x
|
i
|
f
|
i
|
f
|
i
|
x
|
x
|
x
| 5 | 8 | 2 | 4 | 3 |
215 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
a = A("a")
f = B("f")
j = A("j")
g = B("g")
a.v = g
f.o = j
j.v = g
g.o = j
assert g.o.v.o.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.o: A = None
self.txt = txt
a = A("a")
f = B("f")
j = A("j")
g = B("g")
a.v = g
f.o = j
j.v = g
g.o = j
assert g.o.v.o.v.txt == "g"
|
g
|
j
|
g
|
j
|
g
|
x
|
x
|
x
|
g
|
j
|
g
|
j
|
g
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 3 |
216 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
c = A("c")
i = B("i")
e = A("e")
c.s = i
c.o = e
i.o = c
e.s = i
e.o = c
assert i.o.s.o.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
c = A("c")
i = B("i")
e = A("e")
c.s = i
c.o = e
i.o = c
e.s = i
e.o = c
assert i.o.s.o.txt == "c"
|
i
|
c
|
i
|
c
|
x
|
x
|
x
|
x
|
c
|
i
|
c
|
i
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 2 |
217 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
e = A("e")
a = B("a")
i = A("i")
g = A("g")
h = B("h")
e.w = h
e.x = h
a.z = i
i.w = a
i.x = h
g.w = h
g.x = a
h.z = e
assert i.w.z.w.z.w.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
e = A("e")
a = B("a")
i = A("i")
g = A("g")
h = B("h")
e.w = h
e.x = h
a.z = i
i.w = a
i.x = h
g.w = h
g.x = a
h.z = e
assert i.w.z.w.z.w.txt == "a"
|
i
|
a
|
i
|
a
|
i
|
a
|
x
|
x
|
a
|
i
|
a
|
i
|
a
|
i
|
x
|
x
| 5 | 7 | 2 | 5 | 4 |
218 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
d = B("d")
g = B("g")
j = A("j")
b = B("b")
f.r = h
h.x = j
h.q = j
i.x = f
i.q = f
d.x = j
d.q = j
g.x = j
g.q = f
j.r = h
b.x = f
b.q = j
assert j.r.x.r.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: A = None
self.q: A = None
self.txt = txt
f = A("f")
h = B("h")
i = B("i")
d = B("d")
g = B("g")
j = A("j")
b = B("b")
f.r = h
h.x = j
h.q = j
i.x = f
i.q = f
d.x = j
d.q = j
g.x = j
g.q = f
j.r = h
b.x = f
b.q = j
assert j.r.x.r.txt == "h"
|
j
|
h
|
j
|
h
|
x
|
x
|
x
|
x
|
h
|
j
|
h
|
j
|
x
|
x
|
x
|
x
| 7 | 9 | 2 | 3 | 2 |
219 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.p: B = None
self.txt = txt
d = A("d")
c = B("c")
j = B("j")
e = A("e")
d.w = j
c.w = j
c.p = j
j.w = c
j.p = c
e.w = j
assert c.p.p.w.w.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.p: B = None
self.txt = txt
d = A("d")
c = B("c")
j = B("j")
e = A("e")
d.w = j
c.w = j
c.p = j
j.w = c
j.p = c
e.w = j
assert c.p.p.w.w.txt == "c"
|
c
|
j
|
c
|
j
|
c
|
x
|
x
|
x
|
c
|
j
|
c
|
j
|
c
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 3 |
220 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
c = B("c")
e = B("e")
f = A("f")
i.u = f
c.v = f
e.v = i
f.u = i
assert i.u.u.u.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
i = A("i")
c = B("c")
e = B("e")
f = A("f")
i.u = f
c.v = f
e.v = i
f.u = i
assert i.u.u.u.txt == "f"
|
i
|
f
|
i
|
f
|
x
|
x
|
x
|
x
|
f
|
i
|
f
|
i
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
221 |
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.t: B = None
self.txt = txt
i = A("i")
a = B("a")
b = A("b")
h = B("h")
d = A("d")
f = B("f")
i.q = b
i.o = f
a.t = h
b.q = i
b.o = f
h.t = f
d.q = i
d.o = h
f.t = a
assert h.t.t.t.t.t.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.t: B = None
self.txt = txt
i = A("i")
a = B("a")
b = A("b")
h = B("h")
d = A("d")
f = B("f")
i.q = b
i.o = f
a.t = h
b.q = i
b.o = f
h.t = f
d.q = i
d.o = h
f.t = a
assert h.t.t.t.t.t.txt == "a"
|
h
|
f
|
a
|
h
|
f
|
a
|
x
|
x
|
a
|
f
|
h
|
a
|
f
|
h
|
x
|
x
| 6 | 9 | 2 | 5 | 3 |
222 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.y: A = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
f = B("f")
j = B("j")
i.s = g
g.o = f
g.y = i
a.o = j
a.y = i
f.o = j
f.y = i
j.o = f
j.y = i
assert i.s.o.o.o.o.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.y: A = None
self.txt = txt
i = A("i")
g = B("g")
a = B("a")
f = B("f")
j = B("j")
i.s = g
g.o = f
g.y = i
a.o = j
a.y = i
f.o = j
f.y = i
j.o = f
j.y = i
assert i.s.o.o.o.o.txt == "j"
|
i
|
g
|
f
|
j
|
f
|
j
|
x
|
x
|
j
|
f
|
j
|
f
|
g
|
i
|
x
|
x
| 5 | 9 | 2 | 5 | 2 |
223 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
a = B("a")
j = A("j")
b.t = a
b.x = j
a.u = b
j.t = a
j.x = b
assert b.x.t.u.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
b = A("b")
a = B("a")
j = A("j")
b.t = a
b.x = j
a.u = b
j.t = a
j.x = b
assert b.x.t.u.txt == "b"
|
b
|
j
|
a
|
b
|
x
|
x
|
x
|
x
|
b
|
a
|
j
|
b
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
224 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
c = A("c")
g = B("g")
f = A("f")
c.t = g
c.x = f
g.u = f
f.t = g
f.x = c
assert g.u.x.t.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
c = A("c")
g = B("g")
f = A("f")
c.t = g
c.x = f
g.u = f
f.t = g
f.x = c
assert g.u.x.t.txt == "g"
|
g
|
f
|
c
|
g
|
x
|
x
|
x
|
x
|
g
|
c
|
f
|
g
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
225 |
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.r: B = None
self.txt = txt
e = A("e")
d = B("d")
i = A("i")
j = B("j")
g = B("g")
e.w = i
d.v = i
d.r = g
i.w = e
j.v = i
j.r = g
g.v = i
g.r = j
assert e.w.w.w.w.txt == "
|
e"
|
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.r: B = None
self.txt = txt
e = A("e")
d = B("d")
i = A("i")
j = B("j")
g = B("g")
e.w = i
d.v = i
d.r = g
i.w = e
j.v = i
j.r = g
g.v = i
g.r = j
assert e.w.w.w.w.txt == "e"
|
e
|
i
|
e
|
i
|
e
|
x
|
x
|
x
|
e
|
i
|
e
|
i
|
e
|
x
|
x
|
x
| 5 | 8 | 2 | 4 | 3 |
226 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: B = None
self.txt = txt
a = A("a")
d = B("d")
b = B("b")
a.p = d
d.u = a
d.r = b
b.u = a
b.r = d
assert d.r.u.p.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.r: B = None
self.txt = txt
a = A("a")
d = B("d")
b = B("b")
a.p = d
d.u = a
d.r = b
b.u = a
b.r = d
assert d.r.u.p.txt == "d"
|
d
|
b
|
a
|
d
|
x
|
x
|
x
|
x
|
d
|
a
|
b
|
d
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
227 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
j = A("j")
d = B("d")
g = B("g")
i = A("i")
c = A("c")
e = B("e")
j.v = c
d.v = e
g.v = d
i.v = j
c.v = i
e.v = d
assert e.v.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.v: B = None
self.txt = txt
j = A("j")
d = B("d")
g = B("g")
i = A("i")
c = A("c")
e = B("e")
j.v = c
d.v = e
g.v = d
i.v = j
c.v = i
e.v = d
assert e.v.v.v.v.v.v.txt == "e"
|
e
|
d
|
e
|
d
|
e
|
d
|
e
|
x
|
e
|
d
|
e
|
d
|
e
|
d
|
e
|
x
| 6 | 6 | 2 | 6 | 5 |
228 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
i = B("i")
g = A("g")
f.q = b
a.x = i
b.q = g
i.x = a
g.q = b
assert b.q.q.q.q.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
f = A("f")
a = B("a")
b = A("b")
i = B("i")
g = A("g")
f.q = b
a.x = i
b.q = g
i.x = a
g.q = b
assert b.q.q.q.q.txt == "b"
|
b
|
g
|
b
|
g
|
b
|
x
|
x
|
x
|
b
|
g
|
b
|
g
|
b
|
x
|
x
|
x
| 5 | 5 | 2 | 4 | 3 |
229 |
class A:
def __init__(self, txt: str):
self.o: B = 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")
b = B("b")
d = A("d")
a = B("a")
i.o = b
b.p = a
b.s = d
d.o = b
a.p = b
a.s = i
assert d.o.p.s.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.o: B = 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")
b = B("b")
d = A("d")
a = B("a")
i.o = b
b.p = a
b.s = d
d.o = b
a.p = b
a.s = i
assert d.o.p.s.txt == "i"
|
d
|
b
|
a
|
i
|
x
|
x
|
x
|
x
|
i
|
a
|
b
|
d
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 0 |
230 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.y: B = None
self.txt = txt
b = A("b")
c = B("c")
h = A("h")
a = B("a")
g = A("g")
d = B("d")
e = A("e")
b.y = a
c.s = b
c.y = d
h.y = c
a.s = g
a.y = d
g.y = c
d.s = g
d.y = c
e.y = a
assert c.y.s.y.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.y: B = None
self.txt = txt
b = A("b")
c = B("c")
h = A("h")
a = B("a")
g = A("g")
d = B("d")
e = A("e")
b.y = a
c.s = b
c.y = d
h.y = c
a.s = g
a.y = d
g.y = c
d.s = g
d.y = c
e.y = a
assert c.y.s.y.txt == "c"
|
c
|
d
|
g
|
c
|
x
|
x
|
x
|
x
|
c
|
g
|
d
|
c
|
x
|
x
|
x
|
x
| 7 | 10 | 2 | 3 | 1 |
231 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
h = B("h")
a.w = c
c.v = a
g.w = c
h.v = g
assert g.w.v.w.v.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
a = A("a")
c = B("c")
g = A("g")
h = B("h")
a.w = c
c.v = a
g.w = c
h.v = g
assert g.w.v.w.v.txt == "a"
|
g
|
c
|
a
|
c
|
a
|
x
|
x
|
x
|
a
|
c
|
a
|
c
|
g
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 2 |
232 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
a = A("a")
e = B("e")
c = B("c")
i = A("i")
a.s = i
e.r = c
e.v = i
c.r = e
c.v = i
i.s = a
assert e.v.s.s.s.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.v: A = None
self.txt = txt
a = A("a")
e = B("e")
c = B("c")
i = A("i")
a.s = i
e.r = c
e.v = i
c.r = e
c.v = i
i.s = a
assert e.v.s.s.s.txt == "a"
|
e
|
i
|
a
|
i
|
a
|
x
|
x
|
x
|
a
|
i
|
a
|
i
|
e
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 2 |
233 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
b = A("b")
i = B("i")
j = B("j")
e = B("e")
h = A("h")
b.y = h
i.w = j
i.r = h
j.w = e
j.r = b
e.w = i
e.r = b
h.y = b
assert j.w.w.r.y.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
b = A("b")
i = B("i")
j = B("j")
e = B("e")
h = A("h")
b.y = h
i.w = j
i.r = h
j.w = e
j.r = b
e.w = i
e.r = b
h.y = b
assert j.w.w.r.y.txt == "b"
|
j
|
e
|
i
|
h
|
b
|
x
|
x
|
x
|
b
|
h
|
i
|
e
|
j
|
x
|
x
|
x
| 5 | 8 | 2 | 4 | 0 |
234 |
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.r: A = None
self.txt = txt
g = A("g")
d = B("d")
b = A("b")
g.q = b
g.s = b
d.r = b
b.q = g
b.s = g
assert g.s.q.q.txt == "
|
b"
|
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.r: A = None
self.txt = txt
g = A("g")
d = B("d")
b = A("b")
g.q = b
g.s = b
d.r = b
b.q = g
b.s = g
assert g.s.q.q.txt == "b"
|
g
|
b
|
g
|
b
|
x
|
x
|
x
|
x
|
b
|
g
|
b
|
g
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
235 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
c = A("c")
j = B("j")
h = A("h")
d = A("d")
i = B("i")
c.r = d
c.q = i
j.o = i
h.r = c
h.q = j
d.r = h
d.q = i
i.o = j
assert d.q.o.o.o.o.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: B = None
self.txt = txt
c = A("c")
j = B("j")
h = A("h")
d = A("d")
i = B("i")
c.r = d
c.q = i
j.o = i
h.r = c
h.q = j
d.r = h
d.q = i
i.o = j
assert d.q.o.o.o.o.txt == "i"
|
d
|
i
|
j
|
i
|
j
|
i
|
x
|
x
|
i
|
j
|
i
|
j
|
i
|
d
|
x
|
x
| 5 | 8 | 2 | 5 | 3 |
236 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
b = A("b")
f = B("f")
d = A("d")
b.z = d
b.o = f
f.p = b
d.z = b
d.o = f
assert d.z.z.o.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
b = A("b")
f = B("f")
d = A("d")
b.z = d
b.o = f
f.p = b
d.z = b
d.o = f
assert d.z.z.o.txt == "f"
|
d
|
b
|
d
|
f
|
x
|
x
|
x
|
x
|
f
|
d
|
b
|
d
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
237 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
f = A("f")
d = B("d")
e = A("e")
j = B("j")
i = A("i")
f.x = d
f.r = d
d.w = j
d.q = j
e.x = j
e.r = j
j.w = d
j.q = d
i.x = j
i.r = d
assert j.q.w.w.q.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.q: B = None
self.txt = txt
f = A("f")
d = B("d")
e = A("e")
j = B("j")
i = A("i")
f.x = d
f.r = d
d.w = j
d.q = j
e.x = j
e.r = j
j.w = d
j.q = d
i.x = j
i.r = d
assert j.q.w.w.q.txt == "j"
|
j
|
d
|
j
|
d
|
j
|
x
|
x
|
x
|
j
|
d
|
j
|
d
|
j
|
x
|
x
|
x
| 5 | 6 | 2 | 4 | 3 |
238 |
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.v: A = None
self.txt = txt
e = A("e")
c = B("c")
h = B("h")
e.z = h
c.y = e
c.v = e
h.y = e
h.v = e
assert h.v.z.v.txt == "
|
e"
|
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.v: A = None
self.txt = txt
e = A("e")
c = B("c")
h = B("h")
e.z = h
c.y = e
c.v = e
h.y = e
h.v = e
assert h.v.z.v.txt == "e"
|
h
|
e
|
h
|
e
|
x
|
x
|
x
|
x
|
e
|
h
|
e
|
h
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
239 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
h = B("h")
d = A("d")
g = B("g")
e.r = d
e.t = g
c.v = e
c.p = g
h.v = e
h.p = g
d.r = e
d.t = h
g.v = d
g.p = h
assert d.t.v.t.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.p: B = None
self.txt = txt
e = A("e")
c = B("c")
h = B("h")
d = A("d")
g = B("g")
e.r = d
e.t = g
c.v = e
c.p = g
h.v = e
h.p = g
d.r = e
d.t = h
g.v = d
g.p = h
assert d.t.v.t.txt == "g"
|
d
|
h
|
e
|
g
|
x
|
x
|
x
|
x
|
g
|
e
|
h
|
d
|
x
|
x
|
x
|
x
| 5 | 10 | 2 | 3 | 0 |
240 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
i = B("i")
d = B("d")
e = B("e")
g = A("g")
f = A("f")
a = A("a")
j.t = i
j.o = d
i.q = f
d.q = j
e.q = j
g.t = e
g.o = d
f.t = e
f.o = d
a.t = d
a.o = d
assert e.q.t.q.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
j = A("j")
i = B("i")
d = B("d")
e = B("e")
g = A("g")
f = A("f")
a = A("a")
j.t = i
j.o = d
i.q = f
d.q = j
e.q = j
g.t = e
g.o = d
f.t = e
f.o = d
a.t = d
a.o = d
assert e.q.t.q.txt == "f"
|
e
|
j
|
i
|
f
|
x
|
x
|
x
|
x
|
f
|
i
|
j
|
e
|
x
|
x
|
x
|
x
| 7 | 10 | 2 | 3 | 0 |
241 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
g = B("g")
f = A("f")
i = B("i")
h = A("h")
j = A("j")
b.s = j
b.t = f
g.r = b
f.s = j
f.t = h
i.r = h
h.s = j
h.t = j
j.s = f
j.t = h
assert b.t.t.s.t.t.t.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.t: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
b = A("b")
g = B("g")
f = A("f")
i = B("i")
h = A("h")
j = A("j")
b.s = j
b.t = f
g.r = b
f.s = j
f.t = h
i.r = h
h.s = j
h.t = j
j.s = f
j.t = h
assert b.t.t.s.t.t.t.txt == "h"
|
b
|
f
|
h
|
j
|
h
|
j
|
h
|
x
|
h
|
j
|
h
|
j
|
h
|
f
|
b
|
x
| 6 | 9 | 2 | 6 | 3 |
242 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
c = A("c")
e = B("e")
a = A("a")
h = B("h")
d = B("d")
c.s = h
c.u = h
e.p = d
e.r = c
a.s = e
a.u = d
h.p = d
h.r = c
d.p = h
d.r = c
assert h.r.s.r.u.r.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
c = A("c")
e = B("e")
a = A("a")
h = B("h")
d = B("d")
c.s = h
c.u = h
e.p = d
e.r = c
a.s = e
a.u = d
h.p = d
h.r = c
d.p = h
d.r = c
assert h.r.s.r.u.r.txt == "c"
|
h
|
c
|
h
|
c
|
h
|
c
|
x
|
x
|
c
|
h
|
c
|
h
|
c
|
h
|
x
|
x
| 5 | 9 | 2 | 5 | 4 |
243 |
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.p: B = None
self.txt = txt
d = A("d")
c = B("c")
h = B("h")
f = A("f")
j = B("j")
a = B("a")
d.r = f
c.s = h
c.p = a
h.s = c
h.p = j
f.r = d
j.s = a
j.p = c
a.s = h
a.p = j
assert j.p.p.p.s.s.s.txt == "
|
c"
|
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.p: B = None
self.txt = txt
d = A("d")
c = B("c")
h = B("h")
f = A("f")
j = B("j")
a = B("a")
d.r = f
c.s = h
c.p = a
h.s = c
h.p = j
f.r = d
j.s = a
j.p = c
a.s = h
a.p = j
assert j.p.p.p.s.s.s.txt == "c"
|
j
|
c
|
a
|
j
|
a
|
h
|
c
|
x
|
c
|
h
|
a
|
j
|
a
|
c
|
j
|
x
| 6 | 10 | 2 | 6 | 3 |
244 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: B = None
self.txt = txt
i = A("i")
e = B("e")
f = A("f")
d = B("d")
b = B("b")
c = A("c")
a = B("a")
i.p = e
i.r = c
e.z = d
e.t = b
f.p = d
f.r = c
d.z = b
d.t = e
b.z = d
b.t = d
c.p = a
c.r = i
a.z = d
a.t = e
assert a.t.t.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.t: B = None
self.txt = txt
i = A("i")
e = B("e")
f = A("f")
d = B("d")
b = B("b")
c = A("c")
a = B("a")
i.p = e
i.r = c
e.z = d
e.t = b
f.p = d
f.r = c
d.z = b
d.t = e
b.z = d
b.t = d
c.p = a
c.r = i
a.z = d
a.t = e
assert a.t.t.z.txt == "d"
|
a
|
e
|
b
|
d
|
x
|
x
|
x
|
x
|
d
|
b
|
e
|
a
|
x
|
x
|
x
|
x
| 7 | 13 | 2 | 3 | 0 |
245 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
j = B("j")
a = A("a")
f.y = j
j.v = a
a.y = j
assert j.v.y.v.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
f = A("f")
j = B("j")
a = A("a")
f.y = j
j.v = a
a.y = j
assert j.v.y.v.txt == "a"
|
j
|
a
|
j
|
a
|
x
|
x
|
x
|
x
|
a
|
j
|
a
|
j
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
246 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
b = A("b")
e = B("e")
c = A("c")
b.z = e
b.v = c
e.w = c
c.z = e
c.v = b
assert c.z.w.z.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
b = A("b")
e = B("e")
c = A("c")
b.z = e
b.v = c
e.w = c
c.z = e
c.v = b
assert c.z.w.z.txt == "e"
|
c
|
e
|
c
|
e
|
x
|
x
|
x
|
x
|
e
|
c
|
e
|
c
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 2 |
247 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
f = A("f")
e = B("e")
h = B("h")
i = A("i")
j = A("j")
c = B("c")
f.v = e
e.q = h
h.q = c
i.v = c
j.v = h
c.q = e
assert i.v.q.q.q.q.q.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
f = A("f")
e = B("e")
h = B("h")
i = A("i")
j = A("j")
c = B("c")
f.v = e
e.q = h
h.q = c
i.v = c
j.v = h
c.q = e
assert i.v.q.q.q.q.q.txt == "h"
|
i
|
c
|
e
|
h
|
c
|
e
|
h
|
x
|
h
|
e
|
c
|
h
|
e
|
c
|
i
|
x
| 6 | 6 | 2 | 6 | 3 |
248 |
class A:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
i = B("i")
j = B("j")
f = A("f")
h.s = f
h.q = j
i.t = j
j.t = i
f.s = h
f.q = i
assert f.q.t.t.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.s: A = None
self.q: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
h = A("h")
i = B("i")
j = B("j")
f = A("f")
h.s = f
h.q = j
i.t = j
j.t = i
f.s = h
f.q = i
assert f.q.t.t.txt == "i"
|
f
|
i
|
j
|
i
|
x
|
x
|
x
|
x
|
i
|
j
|
i
|
f
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 1 |
249 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
h = B("h")
e = A("e")
d = B("d")
i = A("i")
a.o = h
a.z = e
f.w = h
h.w = d
e.o = f
e.z = a
d.w = h
i.o = f
i.z = e
assert i.z.z.o.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
a = A("a")
f = B("f")
h = B("h")
e = A("e")
d = B("d")
i = A("i")
a.o = h
a.z = e
f.w = h
h.w = d
e.o = f
e.z = a
d.w = h
i.o = f
i.z = e
assert i.z.z.o.txt == "h"
|
i
|
e
|
a
|
h
|
x
|
x
|
x
|
x
|
h
|
a
|
e
|
i
|
x
|
x
|
x
|
x
| 6 | 9 | 2 | 3 | 0 |
250 |
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.y: A = None
self.z: A = None
self.txt = txt
c = A("c")
g = B("g")
e = A("e")
c.z = g
c.x = e
g.y = e
g.z = c
e.z = g
e.x = c
assert c.z.y.x.txt == "
|
c"
|
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.y: A = None
self.z: A = None
self.txt = txt
c = A("c")
g = B("g")
e = A("e")
c.z = g
c.x = e
g.y = e
g.z = c
e.z = g
e.x = c
assert c.z.y.x.txt == "c"
|
c
|
g
|
e
|
c
|
x
|
x
|
x
|
x
|
c
|
e
|
g
|
c
|
x
|
x
|
x
|
x
| 3 | 6 | 2 | 3 | 1 |
251 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
a = A("a")
j = B("j")
h = A("h")
f = B("f")
c = A("c")
g = B("g")
i = A("i")
a.r = h
j.w = i
h.r = c
f.w = a
c.r = i
g.w = h
i.r = h
assert c.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.w: A = None
self.txt = txt
a = A("a")
j = B("j")
h = A("h")
f = B("f")
c = A("c")
g = B("g")
i = A("i")
a.r = h
j.w = i
h.r = c
f.w = a
c.r = i
g.w = h
i.r = h
assert c.r.r.r.r.r.txt == "h"
|
c
|
i
|
h
|
c
|
i
|
h
|
x
|
x
|
h
|
i
|
c
|
h
|
i
|
c
|
x
|
x
| 7 | 7 | 2 | 5 | 3 |
252 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
a = A("a")
g = B("g")
d = A("d")
i = B("i")
b = A("b")
a.v = b
g.v = i
d.v = a
i.v = g
b.v = d
assert a.v.v.v.v.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
a = A("a")
g = B("g")
d = A("d")
i = B("i")
b = A("b")
a.v = b
g.v = i
d.v = a
i.v = g
b.v = d
assert a.v.v.v.v.txt == "b"
|
a
|
b
|
d
|
a
|
b
|
x
|
x
|
x
|
b
|
a
|
d
|
b
|
a
|
x
|
x
|
x
| 5 | 5 | 2 | 4 | 2 |
253 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
c = B("c")
d = A("d")
f = A("f")
a = B("a")
e = A("e")
i.p = d
i.x = e
c.u = e
d.p = i
d.x = i
f.p = e
f.x = e
a.u = d
e.p = i
e.x = f
assert d.p.x.x.x.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
i = A("i")
c = B("c")
d = A("d")
f = A("f")
a = B("a")
e = A("e")
i.p = d
i.x = e
c.u = e
d.p = i
d.x = i
f.p = e
f.x = e
a.u = d
e.p = i
e.x = f
assert d.p.x.x.x.txt == "e"
|
d
|
i
|
e
|
f
|
e
|
x
|
x
|
x
|
e
|
f
|
e
|
i
|
d
|
x
|
x
|
x
| 6 | 8 | 2 | 4 | 1 |
254 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.t: A = None
self.txt = txt
h = A("h")
i = B("i")
c = B("c")
f = A("f")
d = A("d")
h.u = c
i.u = f
i.t = h
c.u = h
c.t = f
f.u = c
d.u = c
assert c.u.u.t.u.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.t: A = None
self.txt = txt
h = A("h")
i = B("i")
c = B("c")
f = A("f")
d = A("d")
h.u = c
i.u = f
i.t = h
c.u = h
c.t = f
f.u = c
d.u = c
assert c.u.u.t.u.txt == "c"
|
c
|
h
|
c
|
f
|
c
|
x
|
x
|
x
|
c
|
f
|
c
|
h
|
c
|
x
|
x
|
x
| 5 | 7 | 2 | 4 | 2 |
255 |
class A:
def __init__(self, txt: str):
self.o: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
b = B("b")
a = A("a")
i = B("i")
e = A("e")
g = B("g")
h.o = e
h.u = a
b.p = i
a.o = h
a.u = h
i.p = g
e.o = a
e.u = h
g.p = i
assert i.p.p.p.p.p.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.o: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
h = A("h")
b = B("b")
a = A("a")
i = B("i")
e = A("e")
g = B("g")
h.o = e
h.u = a
b.p = i
a.o = h
a.u = h
i.p = g
e.o = a
e.u = h
g.p = i
assert i.p.p.p.p.p.txt == "g"
|
i
|
g
|
i
|
g
|
i
|
g
|
x
|
x
|
g
|
i
|
g
|
i
|
g
|
i
|
x
|
x
| 6 | 8 | 2 | 5 | 4 |
256 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
a = A("a")
h = B("h")
c = B("c")
j = A("j")
e = A("e")
a.x = h
h.o = a
h.r = c
c.o = j
c.r = h
j.x = c
e.x = h
assert h.o.x.o.x.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.r: B = None
self.txt = txt
a = A("a")
h = B("h")
c = B("c")
j = A("j")
e = A("e")
a.x = h
h.o = a
h.r = c
c.o = j
c.r = h
j.x = c
e.x = h
assert h.o.x.o.x.txt == "h"
|
h
|
a
|
h
|
a
|
h
|
x
|
x
|
x
|
h
|
a
|
h
|
a
|
h
|
x
|
x
|
x
| 5 | 7 | 2 | 4 | 3 |
257 |
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.p: B = None
self.r: B = None
self.txt = txt
e = A("e")
g = B("g")
a = B("a")
f = B("f")
j = B("j")
i = A("i")
d = A("d")
e.u = j
e.s = g
g.p = j
g.r = j
a.p = j
a.r = g
f.p = j
f.r = g
j.p = g
j.r = f
i.u = f
i.s = j
d.u = g
d.s = g
assert f.r.p.r.r.p.txt == "
|
j"
|
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.p: B = None
self.r: B = None
self.txt = txt
e = A("e")
g = B("g")
a = B("a")
f = B("f")
j = B("j")
i = A("i")
d = A("d")
e.u = j
e.s = g
g.p = j
g.r = j
a.p = j
a.r = g
f.p = j
f.r = g
j.p = g
j.r = f
i.u = f
i.s = j
d.u = g
d.s = g
assert f.r.p.r.r.p.txt == "j"
|
f
|
g
|
j
|
f
|
g
|
j
|
x
|
x
|
j
|
g
|
f
|
j
|
g
|
f
|
x
|
x
| 7 | 12 | 2 | 5 | 3 |
258 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.z: A = None
self.txt = txt
i = A("i")
e = B("e")
h = A("h")
j = B("j")
c = B("c")
a = B("a")
d = B("d")
i.q = h
e.s = i
e.z = i
h.q = i
j.s = h
j.z = h
c.s = h
c.z = h
a.s = i
a.z = i
d.s = h
d.z = h
assert i.q.q.q.q.q.q.q.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.s: A = None
self.z: A = None
self.txt = txt
i = A("i")
e = B("e")
h = A("h")
j = B("j")
c = B("c")
a = B("a")
d = B("d")
i.q = h
e.s = i
e.z = i
h.q = i
j.s = h
j.z = h
c.s = h
c.z = h
a.s = i
a.z = i
d.s = h
d.z = h
assert i.q.q.q.q.q.q.q.txt == "h"
|
i
|
h
|
i
|
h
|
i
|
h
|
i
|
h
|
h
|
i
|
h
|
i
|
h
|
i
|
h
|
i
| 7 | 7 | 2 | 7 | 6 |
259 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
d = A("d")
h = B("h")
a = A("a")
d.p = a
d.o = a
h.u = a
a.p = d
a.o = d
assert h.u.p.p.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.o: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: A = None
self.txt = txt
d = A("d")
h = B("h")
a = A("a")
d.p = a
d.o = a
h.u = a
a.p = d
a.o = d
assert h.u.p.p.txt == "a"
|
h
|
a
|
d
|
a
|
x
|
x
|
x
|
x
|
a
|
d
|
a
|
h
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
260 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
d = A("d")
b = B("b")
a = B("a")
g = A("g")
d.q = g
b.v = d
b.s = a
a.v = g
a.s = b
g.q = d
assert g.q.q.q.q.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.s: B = None
self.txt = txt
d = A("d")
b = B("b")
a = B("a")
g = A("g")
d.q = g
b.v = d
b.s = a
a.v = g
a.s = b
g.q = d
assert g.q.q.q.q.txt == "g"
|
g
|
d
|
g
|
d
|
g
|
x
|
x
|
x
|
g
|
d
|
g
|
d
|
g
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 3 |
261 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
c = A("c")
i = B("i")
b = A("b")
j = A("j")
c.r = i
i.o = j
b.r = i
j.r = i
assert i.o.r.o.r.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.o: A = None
self.txt = txt
c = A("c")
i = B("i")
b = A("b")
j = A("j")
c.r = i
i.o = j
b.r = i
j.r = i
assert i.o.r.o.r.txt == "i"
|
i
|
j
|
i
|
j
|
i
|
x
|
x
|
x
|
i
|
j
|
i
|
j
|
i
|
x
|
x
|
x
| 4 | 4 | 2 | 4 | 3 |
262 |
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.u: A = None
self.txt = txt
f = A("f")
h = B("h")
g = A("g")
e = A("e")
b = A("b")
a = B("a")
c = B("c")
f.s = h
f.w = c
h.u = e
g.s = h
g.w = a
e.s = a
e.w = c
b.s = a
b.w = a
a.u = b
c.u = f
assert g.s.u.w.txt == "
|
c"
|
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.u: A = None
self.txt = txt
f = A("f")
h = B("h")
g = A("g")
e = A("e")
b = A("b")
a = B("a")
c = B("c")
f.s = h
f.w = c
h.u = e
g.s = h
g.w = a
e.s = a
e.w = c
b.s = a
b.w = a
a.u = b
c.u = f
assert g.s.u.w.txt == "c"
|
g
|
h
|
e
|
c
|
x
|
x
|
x
|
x
|
c
|
e
|
h
|
g
|
x
|
x
|
x
|
x
| 7 | 10 | 2 | 3 | 0 |
263 |
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
g = B("g")
c = B("c")
i = A("i")
d = B("d")
j.r = c
g.p = j
c.p = j
i.r = c
d.p = i
assert g.p.r.p.r.p.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
g = B("g")
c = B("c")
i = A("i")
d = B("d")
j.r = c
g.p = j
c.p = j
i.r = c
d.p = i
assert g.p.r.p.r.p.txt == "j"
|
g
|
j
|
c
|
j
|
c
|
j
|
x
|
x
|
j
|
c
|
j
|
c
|
j
|
g
|
x
|
x
| 5 | 5 | 2 | 5 | 3 |
264 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
e = A("e")
c = B("c")
b = B("b")
a = A("a")
e.p = a
e.w = a
c.v = e
b.v = a
a.p = e
a.w = e
assert e.w.p.w.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
e = A("e")
c = B("c")
b = B("b")
a = A("a")
e.p = a
e.w = a
c.v = e
b.v = a
a.p = e
a.w = e
assert e.w.p.w.txt == "a"
|
e
|
a
|
e
|
a
|
x
|
x
|
x
|
x
|
a
|
e
|
a
|
e
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
265 |
class A:
def __init__(self, txt: str):
self.t: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
h = A("h")
b = B("b")
g = B("g")
d = A("d")
h.t = d
h.v = d
b.v = g
g.v = b
d.t = h
d.v = h
assert h.v.t.v.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.t: A = None
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
h = A("h")
b = B("b")
g = B("g")
d = A("d")
h.t = d
h.v = d
b.v = g
g.v = b
d.t = h
d.v = h
assert h.v.t.v.txt == "d"
|
h
|
d
|
h
|
d
|
x
|
x
|
x
|
x
|
d
|
h
|
d
|
h
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
266 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
b = A("b")
i = B("i")
d = A("d")
h = A("h")
f = A("f")
c = B("c")
e = A("e")
b.z = e
i.q = c
d.z = h
h.z = d
f.z = e
c.q = i
e.z = d
assert e.z.z.z.z.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.q: B = None
self.txt = txt
b = A("b")
i = B("i")
d = A("d")
h = A("h")
f = A("f")
c = B("c")
e = A("e")
b.z = e
i.q = c
d.z = h
h.z = d
f.z = e
c.q = i
e.z = d
assert e.z.z.z.z.z.txt == "d"
|
e
|
d
|
h
|
d
|
h
|
d
|
x
|
x
|
d
|
h
|
d
|
h
|
d
|
e
|
x
|
x
| 7 | 7 | 2 | 5 | 3 |
267 |
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
f = A("f")
i = B("i")
e = B("e")
h = A("h")
d = B("d")
b = A("b")
f.y = h
i.p = e
e.p = i
h.y = b
d.p = i
b.y = h
assert d.p.p.p.p.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.y: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
f = A("f")
i = B("i")
e = B("e")
h = A("h")
d = B("d")
b = A("b")
f.y = h
i.p = e
e.p = i
h.y = b
d.p = i
b.y = h
assert d.p.p.p.p.txt == "e"
|
d
|
i
|
e
|
i
|
e
|
x
|
x
|
x
|
e
|
i
|
e
|
i
|
d
|
x
|
x
|
x
| 6 | 6 | 2 | 4 | 2 |
268 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
d = A("d")
g = B("g")
j = B("j")
c = A("c")
b = A("b")
a = B("a")
d.w = b
d.x = b
g.v = c
j.v = c
c.w = b
c.x = d
b.w = c
b.x = d
a.v = c
assert g.v.w.x.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
d = A("d")
g = B("g")
j = B("j")
c = A("c")
b = A("b")
a = B("a")
d.w = b
d.x = b
g.v = c
j.v = c
c.w = b
c.x = d
b.w = c
b.x = d
a.v = c
assert g.v.w.x.txt == "d"
|
g
|
c
|
b
|
d
|
x
|
x
|
x
|
x
|
d
|
b
|
c
|
g
|
x
|
x
|
x
|
x
| 6 | 8 | 2 | 3 | 0 |
269 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
c = B("c")
g = A("g")
j = B("j")
a = A("a")
h = B("h")
b = A("b")
e.y = j
c.r = j
g.y = h
j.r = c
a.y = j
h.r = c
b.y = j
assert j.r.r.r.r.r.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
e = A("e")
c = B("c")
g = A("g")
j = B("j")
a = A("a")
h = B("h")
b = A("b")
e.y = j
c.r = j
g.y = h
j.r = c
a.y = j
h.r = c
b.y = j
assert j.r.r.r.r.r.txt == "c"
|
j
|
c
|
j
|
c
|
j
|
c
|
x
|
x
|
c
|
j
|
c
|
j
|
c
|
j
|
x
|
x
| 7 | 7 | 2 | 5 | 4 |
270 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
e = A("e")
b = B("b")
h = B("h")
e.p = h
b.t = e
b.q = h
h.t = e
h.q = b
assert h.q.t.p.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.q: B = None
self.txt = txt
e = A("e")
b = B("b")
h = B("h")
e.p = h
b.t = e
b.q = h
h.t = e
h.q = b
assert h.q.t.p.txt == "h"
|
h
|
b
|
e
|
h
|
x
|
x
|
x
|
x
|
h
|
e
|
b
|
h
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
271 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
b = B("b")
c = B("c")
j = A("j")
e.u = c
e.o = c
a.y = b
i.y = a
b.y = i
c.y = a
j.u = a
j.o = c
assert j.o.y.y.y.y.y.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.o: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
e = A("e")
a = B("a")
i = B("i")
b = B("b")
c = B("c")
j = A("j")
e.u = c
e.o = c
a.y = b
i.y = a
b.y = i
c.y = a
j.u = a
j.o = c
assert j.o.y.y.y.y.y.txt == "b"
|
j
|
c
|
a
|
b
|
i
|
a
|
b
|
x
|
b
|
a
|
i
|
b
|
a
|
c
|
j
|
x
| 6 | 7 | 2 | 6 | 2 |
272 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
d = B("d")
g = A("g")
c = B("c")
j = B("j")
h = A("h")
b = A("b")
a.x = g
d.z = j
g.x = a
c.z = d
j.z = d
h.x = g
b.x = g
assert d.z.z.z.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.txt = txt
a = A("a")
d = B("d")
g = A("g")
c = B("c")
j = B("j")
h = A("h")
b = A("b")
a.x = g
d.z = j
g.x = a
c.z = d
j.z = d
h.x = g
b.x = g
assert d.z.z.z.z.txt == "d"
|
d
|
j
|
d
|
j
|
d
|
x
|
x
|
x
|
d
|
j
|
d
|
j
|
d
|
x
|
x
|
x
| 7 | 7 | 2 | 4 | 3 |
273 |
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
i = A("i")
b = B("b")
c = A("c")
a = A("a")
d = B("d")
g = A("g")
i.w = b
b.w = d
b.r = a
c.w = d
a.w = b
d.w = b
d.r = g
g.w = b
assert b.w.w.r.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.w: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: A = None
self.txt = txt
i = A("i")
b = B("b")
c = A("c")
a = A("a")
d = B("d")
g = A("g")
i.w = b
b.w = d
b.r = a
c.w = d
a.w = b
d.w = b
d.r = g
g.w = b
assert b.w.w.r.txt == "a"
|
b
|
d
|
b
|
a
|
x
|
x
|
x
|
x
|
a
|
b
|
d
|
b
|
x
|
x
|
x
|
x
| 6 | 8 | 2 | 3 | 1 |
274 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
g = A("g")
e = B("e")
c = B("c")
g.y = e
e.w = g
c.w = g
assert e.w.y.w.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
g = A("g")
e = B("e")
c = B("c")
g.y = e
e.w = g
c.w = g
assert e.w.y.w.txt == "g"
|
e
|
g
|
e
|
g
|
x
|
x
|
x
|
x
|
g
|
e
|
g
|
e
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
275 |
class A:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
d = B("d")
i = A("i")
e.z = d
e.s = i
g.v = d
d.v = g
i.z = g
i.s = e
assert e.s.s.s.s.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.z: B = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
e = A("e")
g = B("g")
d = B("d")
i = A("i")
e.z = d
e.s = i
g.v = d
d.v = g
i.z = g
i.s = e
assert e.s.s.s.s.txt == "e"
|
e
|
i
|
e
|
i
|
e
|
x
|
x
|
x
|
e
|
i
|
e
|
i
|
e
|
x
|
x
|
x
| 4 | 6 | 2 | 4 | 3 |
276 |
class A:
def __init__(self, txt: str):
self.x: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.w: A = None
self.txt = txt
c = A("c")
e = B("e")
d = B("d")
h = A("h")
g = A("g")
c.x = g
c.y = e
e.p = d
e.w = g
d.p = e
d.w = h
h.x = g
h.y = d
g.x = c
g.y = d
assert e.w.x.y.p.p.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.x: A = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: B = None
self.w: A = None
self.txt = txt
c = A("c")
e = B("e")
d = B("d")
h = A("h")
g = A("g")
c.x = g
c.y = e
e.p = d
e.w = g
d.p = e
d.w = h
h.x = g
h.y = d
g.x = c
g.y = d
assert e.w.x.y.p.p.txt == "e"
|
e
|
g
|
c
|
e
|
d
|
e
|
x
|
x
|
e
|
d
|
e
|
c
|
g
|
e
|
x
|
x
| 5 | 10 | 2 | 5 | 2 |
277 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
b = B("b")
f = A("f")
c.r = f
c.u = f
b.p = f
f.r = c
f.u = c
assert c.r.u.r.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.r: A = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
b = B("b")
f = A("f")
c.r = f
c.u = f
b.p = f
f.r = c
f.u = c
assert c.r.u.r.txt == "f"
|
c
|
f
|
c
|
f
|
x
|
x
|
x
|
x
|
f
|
c
|
f
|
c
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
278 |
class A:
def __init__(self, txt: str):
self.s: 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")
f = B("f")
d.s = f
i.q = d
f.q = d
assert i.q.s.q.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.s: 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")
f = B("f")
d.s = f
i.q = d
f.q = d
assert i.q.s.q.txt == "d"
|
i
|
d
|
f
|
d
|
x
|
x
|
x
|
x
|
d
|
f
|
d
|
i
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 1 |
279 |
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.q: A = None
self.z: A = None
self.txt = txt
i = A("i")
d = B("d")
j = A("j")
a = B("a")
i.o = j
i.y = j
d.q = j
d.z = i
j.o = i
j.y = i
a.q = i
a.z = i
assert j.o.o.o.y.txt == "
|
j"
|
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.q: A = None
self.z: A = None
self.txt = txt
i = A("i")
d = B("d")
j = A("j")
a = B("a")
i.o = j
i.y = j
d.q = j
d.z = i
j.o = i
j.y = i
a.q = i
a.z = i
assert j.o.o.o.y.txt == "j"
|
j
|
i
|
j
|
i
|
j
|
x
|
x
|
x
|
j
|
i
|
j
|
i
|
j
|
x
|
x
|
x
| 4 | 5 | 2 | 4 | 3 |
280 |
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.t: A = None
self.txt = txt
b = A("b")
i = B("i")
a = A("a")
b.x = a
b.v = a
i.t = b
a.x = b
a.v = b
assert b.x.x.v.txt == "
|
a"
|
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.t: A = None
self.txt = txt
b = A("b")
i = B("i")
a = A("a")
b.x = a
b.v = a
i.t = b
a.x = b
a.v = b
assert b.x.x.v.txt == "a"
|
b
|
a
|
b
|
a
|
x
|
x
|
x
|
x
|
a
|
b
|
a
|
b
|
x
|
x
|
x
|
x
| 3 | 3 | 2 | 3 | 2 |
281 |
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.y: B = None
self.txt = txt
g = A("g")
c = B("c")
f = A("f")
b = B("b")
d = A("d")
h = B("h")
g.q = c
g.x = h
c.u = h
c.y = h
f.q = c
f.x = c
b.u = h
b.y = c
d.q = b
d.x = h
h.u = b
h.y = c
assert h.y.u.u.u.y.txt == "
|
c"
|
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.y: B = None
self.txt = txt
g = A("g")
c = B("c")
f = A("f")
b = B("b")
d = A("d")
h = B("h")
g.q = c
g.x = h
c.u = h
c.y = h
f.q = c
f.x = c
b.u = h
b.y = c
d.q = b
d.x = h
h.u = b
h.y = c
assert h.y.u.u.u.y.txt == "c"
|
h
|
c
|
h
|
b
|
h
|
c
|
x
|
x
|
c
|
h
|
b
|
h
|
c
|
h
|
x
|
x
| 6 | 10 | 2 | 5 | 3 |
282 |
class A:
def __init__(self, txt: str):
self.z: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
f = A("f")
g = B("g")
a = B("a")
d = A("d")
h = A("h")
i = A("i")
f.z = h
f.p = g
g.w = a
g.r = a
a.w = g
a.r = g
d.z = h
d.p = a
h.z = i
h.p = a
i.z = f
i.p = a
assert g.r.r.w.r.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.z: A = None
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: B = None
self.r: B = None
self.txt = txt
f = A("f")
g = B("g")
a = B("a")
d = A("d")
h = A("h")
i = A("i")
f.z = h
f.p = g
g.w = a
g.r = a
a.w = g
a.r = g
d.z = h
d.p = a
h.z = i
h.p = a
i.z = f
i.p = a
assert g.r.r.w.r.txt == "g"
|
g
|
a
|
g
|
a
|
g
|
x
|
x
|
x
|
g
|
a
|
g
|
a
|
g
|
x
|
x
|
x
| 6 | 10 | 2 | 4 | 3 |
283 |
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.z: A = None
self.txt = txt
d = A("d")
i = B("i")
e = B("e")
g = A("g")
b = A("b")
a = B("a")
j = A("j")
d.t = e
i.v = d
i.z = b
e.v = g
e.z = d
g.t = i
b.t = e
a.v = j
a.z = j
j.t = e
assert a.z.t.v.t.v.t.z.txt == "
|
d"
|
class A:
def __init__(self, txt: str):
self.t: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: A = None
self.z: A = None
self.txt = txt
d = A("d")
i = B("i")
e = B("e")
g = A("g")
b = A("b")
a = B("a")
j = A("j")
d.t = e
i.v = d
i.z = b
e.v = g
e.z = d
g.t = i
b.t = e
a.v = j
a.z = j
j.t = e
assert a.z.t.v.t.v.t.z.txt == "d"
|
a
|
j
|
e
|
g
|
i
|
d
|
e
|
d
|
d
|
e
|
d
|
i
|
g
|
e
|
j
|
a
| 7 | 9 | 2 | 7 | 2 |
284 |
class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: A = None
self.txt = txt
g = A("g")
h = B("h")
i = B("i")
b = A("b")
g.u = b
g.s = b
h.t = i
h.z = b
i.t = h
i.z = g
b.u = g
b.s = g
assert g.s.u.u.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.u: A = None
self.s: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: B = None
self.z: A = None
self.txt = txt
g = A("g")
h = B("h")
i = B("i")
b = A("b")
g.u = b
g.s = b
h.t = i
h.z = b
i.t = h
i.z = g
b.u = g
b.s = g
assert g.s.u.u.txt == "b"
|
g
|
b
|
g
|
b
|
x
|
x
|
x
|
x
|
b
|
g
|
b
|
g
|
x
|
x
|
x
|
x
| 4 | 6 | 2 | 3 | 2 |
285 |
class A:
def __init__(self, txt: str):
self.s: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.x: A = None
self.txt = txt
f = A("f")
d = B("d")
a = A("a")
f.s = d
f.u = a
d.t = a
d.x = a
a.s = d
a.u = f
assert a.u.s.x.txt == "
|
a"
|
class A:
def __init__(self, txt: str):
self.s: B = None
self.u: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.t: A = None
self.x: A = None
self.txt = txt
f = A("f")
d = B("d")
a = A("a")
f.s = d
f.u = a
d.t = a
d.x = a
a.s = d
a.u = f
assert a.u.s.x.txt == "a"
|
a
|
f
|
d
|
a
|
x
|
x
|
x
|
x
|
a
|
d
|
f
|
a
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
286 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.p: 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")
b = B("b")
i = A("i")
g.v = e
g.p = i
e.r = g
e.w = b
b.r = g
b.w = e
i.v = b
i.p = g
assert b.w.r.v.w.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.p: 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")
b = B("b")
i = A("i")
g.v = e
g.p = i
e.r = g
e.w = b
b.r = g
b.w = e
i.v = b
i.p = g
assert b.w.r.v.w.txt == "b"
|
b
|
e
|
g
|
e
|
b
|
x
|
x
|
x
|
b
|
e
|
g
|
e
|
b
|
x
|
x
|
x
| 4 | 8 | 2 | 4 | 2 |
287 |
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
g = B("g")
i = B("i")
j = B("j")
c.y = g
g.p = c
i.p = c
j.p = c
assert i.p.y.p.txt == "
|
c"
|
class A:
def __init__(self, txt: str):
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
g = B("g")
i = B("i")
j = B("j")
c.y = g
g.p = c
i.p = c
j.p = c
assert i.p.y.p.txt == "c"
|
i
|
c
|
g
|
c
|
x
|
x
|
x
|
x
|
c
|
g
|
c
|
i
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 1 |
288 |
class A:
def __init__(self, txt: str):
self.p: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
d = B("d")
g = A("g")
j.p = g
j.z = d
d.p = g
g.p = j
g.z = d
assert g.z.p.p.txt == "
|
j"
|
class A:
def __init__(self, txt: str):
self.p: A = None
self.z: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
j = A("j")
d = B("d")
g = A("g")
j.p = g
j.z = d
d.p = g
g.p = j
g.z = d
assert g.z.p.p.txt == "j"
|
g
|
d
|
g
|
j
|
x
|
x
|
x
|
x
|
j
|
g
|
d
|
g
|
x
|
x
|
x
|
x
| 3 | 5 | 2 | 3 | 1 |
289 |
class A:
def __init__(self, txt: str):
self.o: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
i = B("i")
h = B("h")
c.o = h
c.x = i
i.p = c
h.p = c
assert c.o.p.x.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.o: B = None
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.p: A = None
self.txt = txt
c = A("c")
i = B("i")
h = B("h")
c.o = h
c.x = i
i.p = c
h.p = c
assert c.o.p.x.txt == "i"
|
c
|
h
|
c
|
i
|
x
|
x
|
x
|
x
|
i
|
c
|
h
|
c
|
x
|
x
|
x
|
x
| 3 | 4 | 2 | 3 | 1 |
290 |
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.q: B = None
self.txt = txt
g = A("g")
e = B("e")
i = B("i")
a = B("a")
b = B("b")
j = A("j")
g.v = j
e.u = b
e.q = b
i.u = a
i.q = b
a.u = i
a.q = b
b.u = e
b.q = a
j.v = g
assert e.u.u.u.u.txt == "
|
e"
|
class A:
def __init__(self, txt: str):
self.v: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.q: B = None
self.txt = txt
g = A("g")
e = B("e")
i = B("i")
a = B("a")
b = B("b")
j = A("j")
g.v = j
e.u = b
e.q = b
i.u = a
i.q = b
a.u = i
a.q = b
b.u = e
b.q = a
j.v = g
assert e.u.u.u.u.txt == "e"
|
e
|
b
|
e
|
b
|
e
|
x
|
x
|
x
|
e
|
b
|
e
|
b
|
e
|
x
|
x
|
x
| 6 | 9 | 2 | 4 | 3 |
291 |
class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.x: B = None
self.txt = txt
a = A("a")
f = B("f")
b = B("b")
a.u = f
a.y = b
f.r = a
f.x = b
b.r = a
b.x = f
assert f.r.u.x.txt == "
|
b"
|
class A:
def __init__(self, txt: str):
self.u: B = None
self.y: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: A = None
self.x: B = None
self.txt = txt
a = A("a")
f = B("f")
b = B("b")
a.u = f
a.y = b
f.r = a
f.x = b
b.r = a
b.x = f
assert f.r.u.x.txt == "b"
|
f
|
a
|
f
|
b
|
x
|
x
|
x
|
x
|
b
|
f
|
a
|
f
|
x
|
x
|
x
|
x
| 3 | 6 | 2 | 3 | 1 |
292 |
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.r: A = None
self.txt = txt
j = A("j")
a = B("a")
f = A("f")
g = B("g")
e = B("e")
j.q = f
a.u = e
a.r = j
f.q = j
g.u = e
g.r = f
e.u = a
e.r = j
assert g.r.q.q.txt == "
|
f"
|
class A:
def __init__(self, txt: str):
self.q: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.u: B = None
self.r: A = None
self.txt = txt
j = A("j")
a = B("a")
f = A("f")
g = B("g")
e = B("e")
j.q = f
a.u = e
a.r = j
f.q = j
g.u = e
g.r = f
e.u = a
e.r = j
assert g.r.q.q.txt == "f"
|
g
|
f
|
j
|
f
|
x
|
x
|
x
|
x
|
f
|
j
|
f
|
g
|
x
|
x
|
x
|
x
| 5 | 8 | 2 | 3 | 1 |
293 |
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
f = A("f")
c = B("c")
d = B("d")
g = A("g")
a = B("a")
f.w = g
c.z = d
c.w = d
d.z = a
d.w = a
g.w = f
a.z = d
a.w = d
assert f.w.w.w.w.w.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.w: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.z: B = None
self.w: B = None
self.txt = txt
f = A("f")
c = B("c")
d = B("d")
g = A("g")
a = B("a")
f.w = g
c.z = d
c.w = d
d.z = a
d.w = a
g.w = f
a.z = d
a.w = d
assert f.w.w.w.w.w.txt == "g"
|
f
|
g
|
f
|
g
|
f
|
g
|
x
|
x
|
g
|
f
|
g
|
f
|
g
|
f
|
x
|
x
| 5 | 5 | 2 | 5 | 4 |
294 |
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.q: A = None
self.txt = txt
g = A("g")
d = B("d")
h = B("h")
f = A("f")
c = B("c")
i = A("i")
a = B("a")
g.x = h
d.v = a
d.q = g
h.v = d
h.q = i
f.x = d
c.v = d
c.q = g
i.x = h
a.v = d
a.q = f
assert d.v.q.x.q.x.v.q.txt == "
|
g"
|
class A:
def __init__(self, txt: str):
self.x: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.v: B = None
self.q: A = None
self.txt = txt
g = A("g")
d = B("d")
h = B("h")
f = A("f")
c = B("c")
i = A("i")
a = B("a")
g.x = h
d.v = a
d.q = g
h.v = d
h.q = i
f.x = d
c.v = d
c.q = g
i.x = h
a.v = d
a.q = f
assert d.v.q.x.q.x.v.q.txt == "g"
|
d
|
a
|
f
|
d
|
g
|
h
|
d
|
g
|
g
|
d
|
h
|
g
|
d
|
f
|
a
|
d
| 7 | 11 | 2 | 7 | 3 |
295 |
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
i = A("i")
g = B("g")
c = B("c")
f = B("f")
h = B("h")
i.v = h
g.r = h
c.r = h
f.r = c
h.r = c
assert f.r.r.r.r.txt == "
|
h"
|
class A:
def __init__(self, txt: str):
self.v: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
i = A("i")
g = B("g")
c = B("c")
f = B("f")
h = B("h")
i.v = h
g.r = h
c.r = h
f.r = c
h.r = c
assert f.r.r.r.r.txt == "h"
|
f
|
c
|
h
|
c
|
h
|
x
|
x
|
x
|
h
|
c
|
h
|
c
|
f
|
x
|
x
|
x
| 5 | 5 | 2 | 4 | 2 |
296 |
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
i = B("i")
h = A("h")
b = A("b")
f = A("f")
a = A("a")
c.p = g
g.r = i
i.r = g
h.p = g
b.p = i
f.p = g
a.p = i
assert h.p.r.r.r.r.r.txt == "
|
i"
|
class A:
def __init__(self, txt: str):
self.p: B = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.r: B = None
self.txt = txt
c = A("c")
g = B("g")
i = B("i")
h = A("h")
b = A("b")
f = A("f")
a = A("a")
c.p = g
g.r = i
i.r = g
h.p = g
b.p = i
f.p = g
a.p = i
assert h.p.r.r.r.r.r.txt == "i"
|
h
|
g
|
i
|
g
|
i
|
g
|
i
|
x
|
i
|
g
|
i
|
g
|
i
|
g
|
h
|
x
| 7 | 7 | 2 | 6 | 4 |
297 |
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.y: B = None
self.txt = txt
d = A("d")
g = B("g")
a = B("a")
e = B("e")
i = B("i")
d.z = e
g.s = a
g.y = a
a.s = e
a.y = g
e.s = i
e.y = g
i.s = a
i.y = g
assert d.z.s.y.s.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.s: B = None
self.y: B = None
self.txt = txt
d = A("d")
g = B("g")
a = B("a")
e = B("e")
i = B("i")
d.z = e
g.s = a
g.y = a
a.s = e
a.y = g
e.s = i
e.y = g
i.s = a
i.y = g
assert d.z.s.y.s.y.txt == "g"
|
d
|
e
|
i
|
g
|
a
|
g
|
x
|
x
|
g
|
a
|
g
|
i
|
e
|
d
|
x
|
x
| 5 | 8 | 2 | 5 | 1 |
298 |
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
c = A("c")
b = B("b")
g = B("g")
e = A("e")
a = B("a")
j = B("j")
f = B("f")
c.q = e
b.t = g
g.t = b
e.q = c
a.t = j
j.t = g
f.t = b
assert j.t.t.t.t.t.t.txt == "
|
b"
|
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
c = A("c")
b = B("b")
g = B("g")
e = A("e")
a = B("a")
j = B("j")
f = B("f")
c.q = e
b.t = g
g.t = b
e.q = c
a.t = j
j.t = g
f.t = b
assert j.t.t.t.t.t.t.txt == "b"
|
j
|
g
|
b
|
g
|
b
|
g
|
b
|
x
|
b
|
g
|
b
|
g
|
b
|
g
|
j
|
x
| 7 | 7 | 2 | 6 | 4 |
299 |
class A:
def __init__(self, txt: str):
self.r: A = None
self.txt = txt
class B:
def __init__(self, txt: str):
self.w: A = None
self.v: A = None
self.txt = txt
e = A("e")
j = B("j")
b = B("b")
a = A("a")
e.r = a
j.w = a
j.v = a
b.w = a
b.v = a
a.r = e
assert e.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.w: A = None
self.v: A = None
self.txt = txt
e = A("e")
j = B("j")
b = B("b")
a = A("a")
e.r = a
j.w = a
j.v = a
b.w = a
b.v = a
a.r = e
assert e.r.r.r.txt == "a"
|
e
|
a
|
e
|
a
|
x
|
x
|
x
|
x
|
a
|
e
|
a
|
e
|
x
|
x
|
x
|
x
| 4 | 4 | 2 | 3 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.