start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = 0; b = 0; f = deque([[2, 0, 0, 1, 0]]); i = 1; j = 0; p = 0
i, j, p, b, a = f.popleft()
a = 0; b = 1; f = deque([]); i = 2; j = 0; p = 0
c = 'b'; m = 3; u = {1, 2, 3, 4}
u.add(m * (ord(c) - 96))
c = 'b'; m = 3; u = {1, 2, 3, 4, 6}
i = 1; v = [1, 0, 0]; y = 3
v[i % y] += 1
i = 1; v = [1, 1, 0]; y = 3
a = ['d', 'k', 'h', 'c']; j = 2; p = 'h'
p = a[j - 1]
a = ['d', 'k', 'h', 'c']; j = 2; p = 'k'
k = 15; l = [1, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196]
l += [k ** 2]
k = 15; l = [1, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225]
l = [False, False, False, False, False]
l.append(False)
l = [False, False, False, False, False, False]
x = [10, 100, 300, 200, 1000, 20, 30]
x = sorted(x)
x = [10, 20, 30, 100, 200, 300, 1000]
j = [1, 1]; k = [3, 3]
j += k
j = [1, 1, 3, 3]; k = [3, 3]
s = [0, 1, 0, 0]; y = 1
y = s[y - 1]
s = [0, 1, 0, 0]; y = 0
c = 2; l = [1]
c = l.pop(0)
c = 1; l = []
i = 71; x = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 1, 59, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71]
x.append(x[-1] ^ i)
i = 71; x = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 1, 59, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0]
r = {(2): {'b', 'a'}, (1): {'c', 'd'}}
m = list(r.values())
m = [{'a', 'b'}, {'c', 'd'}]; r = {2: {'a', 'b'}, 1: {'c', 'd'}}
g = 21; x = 25; y = 14
y = x - g
g = 21; x = 25; y = 4
i = 17; u = 4; z = 18
z = i + u - 1
i = 17; u = 4; z = 20
h = '16'
n = len(h)
h = '16'; n = 2
b = '7'; w = '7'
b, w = [int(b), int(w)]
b = 7; w = 7
c = [[1, 3], [2, 4]]; v = [3, 3]
c.append(v)
c = [[1, 3], [2, 4], [3, 3]]; v = [3, 3]
i = 0
d = i
d = 0; i = 0
e = [6, 5, 8, 4, 7, 10, 9]
k = len(e)
e = [6, 5, 8, 4, 7, 10, 9]; k = 7
i = 6.249999999999997; w = 2.0971520000000002e-15
i += w
i = 6.249999999999999; w = 2.0971520000000002e-15
c = -7; l = 1
c -= l
c = -8; l = 1
h = 9
h += 1
h = 10
g = {'1': ['2', '4'], '2': ['1'], '4': ['1']}; j = '6'
g[j] = []
g = {'1': ['2', '4'], '2': ['1'], '4': ['1'], '6': []}; j = '6'
a = 4; f = 4; i = 3
i = f - a
a = 4; f = 4; i = 0
e = 3
e -= 1
e = 2
a = 0; b = 0; p = 1001; r = 2, 999
r = b + p, a
a = 0; b = 0; p = 1001; r = (1001, 0)
e = 8; i = 3; j = 2
e = i + j
e = 5; i = 3; j = 2
i = 3; v = [0, 1, 2, 2]
v[i] = 2
i = 3; v = [0, 1, 2, 2]
g = 14930352; r = 9227465
r = g
g = 14930352; r = 14930352
i = 9; s = 'ij'; z = ['ab', 'cd', 'ef', 'gh', 'ij', 'ab', 'cd', 'ef', 'gh', '', '', '', '', '', '', '', '', '', '', '']
z[i] = s
i = 9; s = 'ij'; z = ['ab', 'cd', 'ef', 'gh', 'ij', 'ab', 'cd', 'ef', 'gh', 'ij', '', '', '', '', '', '', '', '', '', '']
a = 'r'; s = ['r', 'a', 'a', 'a', 'r', 'r']
s.append(a)
a = 'r'; s = ['r', 'a', 'a', 'a', 'r', 'r', 'r']
d = [1, 1, 2, 3, 5, 8, 13, 433494437, 701408733, 134903163, 836311896, 971215059, 807526948, 778742000]; w = 1000000007
d.append((d[-1] + d[-2]) % w)
d = [1, 1, 2, 3, 5, 8, 13, 433494437, 701408733, 134903163, 836311896, 971215059, 807526948, 778742000, 586268941]; w = 1000000007
a = [1, 3, 12]; x = 5
a.append(x)
a = [1, 3, 12, 5]; x = 5
q = 'hACKERrA'; x = 'n'
q = q + x.upper()
q = 'hACKERrAN'; x = 'n'
i = 3; k = [2, 1, 3]; r = [2, -1, 2, 3, 4, -5]
k.append(max(r[i], r[i] + k[i - 1]))
i = 3; k = [2, 1, 3, 6]; r = [2, -1, 2, 3, 4, -5]
k = [2, 2, 3]; t = 0
t = max(0, k[END] - 1)
g = False; k = [2, 2, 3]; t = 1
e = [[5, 5], [4, 2], [2, 3], [0, 0], [6, 1], [1, 0], [6, 3], [3, 0], [2, 6], [0, 3], [6, 4], [4, 0]]; i = 3; m = [[5, 5], [4, 2], [2, 3], [0, 0], [6, 1], [1, 0], [6, 3], [3, 0], [2, 6], [0, 3], [6, 4], [4, 0]]; n = 5
m.append([i, n + 1])
e = [[5, 5], [4, 2], [2, 3], [0, 0], [6, 1], [1, 0], [6, 3], [3, 0], [2, 6], [0, 3], [6, 4], [4, 0]]; i = 3; m = [[5, 5], [4, 2], [2, 3], [0, 0], [6, 1], [1, 0], [6, 3], [3, 0], [2, 6], [0, 3], [6, 4], [4, 0], [3, 6]]; n = 5
e = 1; i = 2; j = 2; u = 1; y = 2; z = deque([[1, 2, 0, 2, 2]])
i, j, u, y, e = z.popleft()
e = 2; i = 1; j = 2; u = 0; y = 2; z = deque([])
i = ['+-++++++++', '+-++++++++', '+-------++', '+-++++++++', '+-++++++++']; t = '+------+++'
i.append(t)
i = ['+-++++++++', '+-++++++++', '+-------++', '+-++++++++', '+-++++++++', '+------+++']; t = '+------+++'
a = [[1, 3, 4], [2, 2, 3]]; d = 4; i = 1; j = 1
d += 2 * min(a[i][j - 1], a[i][j])
a = [[1, 3, 4], [2, 2, 3]]; d = 8; i = 1; j = 1
h = ['a', 'aa', 'aaa', 'aaaa']; y = 'aaaaa',
h.append(''.join(y))
h = ['a', 'aa', 'aaa', 'aaaa', 'aaaaa']; y = ('aaaaa',)
f = 'l'; j = 2; q = ['l', 'o', 'm', 'k', 'n']
f = q[j]
f = 'm'; j = 2; q = ['l', 'o', 'm', 'k', 'n']
b = ['w', 'x', 'y', 'u', 'v']; k = 2
b[k + 1] = b[k]
b = ['w', 'x', 'y', 'y', 'v']; k = 2
k = 1; y = 2
y = k + 1
k = 1; y = 2
s = 1
s -= 1
s = 0
e = ['do', 'we', 'can', 'must']; i = 4; p = ['do', 'we', 'can', 'must', 'what', 'because']
e.append(p[i])
e = ['do', 'we', 'can', 'must', 'what']; i = 4; p = ['do', 'we', 'can', 'must', 'what', 'because']
l = 120; p = 6
l = l * p
l = 720; p = 6
e = [[2, 1], [3, 0, 2], [0, 3, 1], [2, 1], [], []]; f = 6; w = 5
e[w - 1].append(f - 1)
e = [[2, 1], [3, 0, 2], [0, 3, 1], [2, 1], [5], []]; f = 6; w = 5
j = 0; l = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; v = 9699690
v *= l[j]
j = 0; l = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199]; v = 19399380
a = 1; b = 0; x = 5
b += a * x
a = 1; b = 5; x = 5
t = {(1): [0], (4): [1], (5): [2], (3): [3], (2): [4]}; x = 2
t[x] = []
t = {1: [0], 4: [1], 5: [2], 3: [3], 2: []}; x = 2
b = ['0', '9', '2', '2', '8', '2']
l = len(b)
b = ['0', '9', '2', '2', '8', '2']; l = 6
d = 2; n = 3
f = d * (n - d) + d * (d - 1)
d = 2; f = 4; n = 3
d = ['abcdefgabcdefg']
g = d[0] if d else None
d = ['abcdefgabcdefg']; g = 'abcdefgabcdefg'
a = ['3', '3']
z = int(a[1])
a = ['3', '3']; z = 3
h = 5; i = 1; u = [0, 0, 1001, 1000, 999, 0]; w = [0, 0, 0, 0, 0, 0]
w[i] = min(u[min(i + 1, h)], u[min(i + 2, h)], u[min(i + 3, h)])
h = 5; i = 1; u = [0, 0, 1001, 1000, 999, 0]; w = [0, 999, 0, 0, 0, 0]
i = 3
k = i
i = 3; k = 3
b = 'abb'; i = 1; n = 'abba'; s = 3
b = n[i:i + s]
b = 'bba'; i = 1; n = 'abba'; s = 3
g = {'a': 1, 'b': 1, 'c': 1, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}; r = 'c'
g[r] += 1
g = {'a': 1, 'b': 1, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}; r = 'c'
c = [1, 2, 4, 8, 1152921504606846976, 2305843009213693952, 4611686018427387904, 9223372036854775808]; t = 6; x = 2
t = t ^ c[x]
c = [1, 2, 4, 8, 1152921504606846976, 2305843009213693952, 4611686018427387904, 9223372036854775808]; t = 2; x = 2
o = ['remove', '6']; z = [6, 5, 10]
getattr(z, o[0])(int(o[1]))
o = ['remove', '6']; z = [5, 10]
r = [1, 2, 1, 2, 1, 2]
r.append(1)
r = [1, 2, 1, 2, 1, 2, 1]
l = 'abc\n'
l = l.strip()
l = 'abc'
a = 0; u = {(203): 2, (204): 2, (205): 2, (206): 2, (207): 1}; x = 208
u[x] = a + 1
a = 0; u = {203: 2, 204: 2, 205: 2, 206: 2, 207: 1, 208: 1}; x = 208
c = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 0; s = 'd'
c[ord(s[i]) - ord('a')] += 1
c = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 0; s = 'd'
g = [26, 0, 0, 0]; w = 0
g[w] += 1
g = [27, 0, 0, 0]; w = 0
a = '111111111111111111111'
a += '1'
a = '1111111111111111111111'
f = False; i = 5; l = 12
i = (i + 1, l)[f]
f = False; i = 6; l = 12
x = 3
q = [0] * x
q = [0, 0, 0]; x = 3
n = {'data': 3, 'left': 4, 'right': None, 'height': 2}; p = [{'data': 4, 'left': 5, 'right': None, 'height': 3}, {'data': 5, 'left': 6, 'right': 7, 'height': 3}]
n = p.pop(0)
n = {'data': 4, 'left': 5, 'right': None, 'height': 3}; p = [{'data': 5, 'left': 6, 'right': 7, 'height': 3}]
a = [11, 2, 4]
e += a[i]
a = [11, 2, 4]; e = 13.718281828459045; i = False
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]
d = [0] + d
d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]
p = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 2]; x = 3; y = 2
p.append(abs(x - y))
p = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1]; x = 3; y = 2
c = 0.01953125; q = 0.0390625
q = c % 2
c = 0.01953125; q = 0.01953125
f = {(1, 3, 3)}
w = max(map(max, f))
f = {(1, 3, 3)}; w = 3
a = [2, 4]; r = 3
a.append(r)
a = [2, 4, 3]; r = 3
a = []; t = 1
a.append(t)
a = [1]; t = 1
b = [False, False, False, False, False]
b[start_v] = True
b = [True, False, False, False, False]; z = False
i = 7; k = ['2', '2', '2', '2', '2', '2', '2']; n = 2; t = ['2', '2', '2', '2']
t = k[n:i]
i = 7; k = ['2', '2', '2', '2', '2', '2', '2']; n = 2; t = ['2', '2', '2', '2', '2']
n = 2; x = 0
x = n
n = 2; x = 2
j = 7; l = [10, 2, 5]
l.append(j)
j = 7; l = [10, 2, 5, 7]
n = [1, 2, 1, 2, 1]
n.sort()
n = [1, 1, 1, 2, 2]
i = 1; s = 'bb'
i = len(s) - 1
i = 1; s = 'bb'
e = 1
e = e << 1
e = 2
c = ['10101', '11100', '11010']; p = '00101\n'
c.append(p.strip())
c = ['10101', '11100', '11010', '00101']; p = '00101\n'
u = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849]; x = 1936
u.append(x)
u = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936]; x = 1936
h = 3; q = [2, 4]
q.append(h)
h = 3; q = [2, 4, 3]
h = [3, 3, 9, 9]; j = '5'
h.append(int(j))
h = [3, 3, 9, 9, 5]; j = '5'
j = 0; t = [0, 0, 1, 1, 2, 2, 0, 2, 0, 2, 3, 3, 1, 3, 1, 3]
t.append(j)
j = 0; t = [0, 0, 1, 1, 2, 2, 0, 2, 0, 2, 3, 3, 1, 3, 1, 3, 0]
b = 2; i = 0; m = 'bba'; w = 'bba'
m = w[i:i + b]
b = 2; i = 0; m = 'bb'; w = 'bba'
b = 3; m = 5; v = -124; z = 65
v = z - m ** b
b = 3; m = 5; v = -60; z = 65
w = [0, 1]
n = w[1]
n = 1; w = [0, 1]
l = '1 2 5 3'; w = [0, 2, 2]
w = l.split()
l = '1 2 5 3'; w = ['1', '2', '5', '3']
n = 2; w = 1; x = 0
w = (x ^ lastAns) % n
g = 73; n = 2; w = 1; x = 0
k = 10; p = [1, 1, 4, 9, 16, 25, 36, 49, 64, 81]
p += [k ** 2]
k = 10; p = [1, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
l = [11, 2, 4]
w.append(l)
l = [11, 2, 4]; w = [[11, 2, 4]]
e = 'got'; h = {'ive': 1}
h[e] = 1
e = 'got'; h = {'ive': 1, 'got': 1}
s = 'The'
i = s.lower()
i = 'the'; s = 'The'
a = 2; b = 10; i = 63; u = 92233720368547758192
u += a ^ b << i
a = 2; b = 10; i = 63; u = 184467440737095516274
k = 4; o = 5; v = 30; x = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
v = x[o + k - 1] - x[o]
k = 4; o = 5; v = 80; x = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]