start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = ['b', 'b', 'a']; t = 3
t = len(a)
a = ['b', 'b', 'a']; t = 3
i = 4; l = 6
l = l * i
i = 4; l = 24
i = 8; j = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; r = -20
r = j[i]
i = 8; j = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; r = 30
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 2, 'f': 1, 'g': 1, 'h': 1}; i = 'e'; x = [1, 1, 1, 1]
x.append(d[i])
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 2, 'f': 1, 'g': 1, 'h': 1}; i = 'e'; x = [1, 1, 1, 1, 2]
g = 6; k = {(0): 0, (1): 6}; r = 2
k[r] = g
g = 6; k = {0: 0, 1: 6, 2: 6}; r = 2
e = ['1', '1', '7']; y = 5
y = int(e[2])
e = ['1', '1', '7']; y = 7
i = 3; k = 2; l = {(-1): 1, (3): 2, (7): 1, (1): 1}
l[i + k] = 1
i = 3; k = 2; l = {-1: 1, 3: 2, 7: 1, 1: 1, 5: 1}
k = [3, 3, 2]
k.sort()
k = [2, 3, 3]
a = 3; b = 4; j = {(1): [2], (2): [4, 3]}
j[a] = [b]
a = 3; b = 4; j = {1: [2], 2: [4, 3], 3: [4]}
i = 'f'; s = ['f', 'h', 'x', 'z']
s.remove(i.lower())
i = 'f'; s = ['h', 'x', 'z']
a = 16; t = 7
a = t
a = 7; t = 7
i = 0
q.append(i)
i = 0; q = [0]
j = 2; t = [2, 2]
t.append(j + 1)
j = 2; t = [2, 2, 3]
b = 'ABA['
b = b[1:]
b = 'BA['
a = [200, 1000]; h = 111
h = a[0]
a = [200, 1000]; h = 200
d = [[], [], []]
d.append([])
d = [[], [], [], []]
o = [0, 0, 0, 0, 0, 0]
o.append(0)
o = [0, 0, 0, 0, 0, 0, 0]
r = {'a': 1, 'b': 2, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}; v = 'a'
r[v] += 1
r = {'a': 2, 'b': 2, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}; v = 'a'
s = 832040; t = 1346269
s = t
s = 1346269; t = 1346269
i = 10; r = [0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 2, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 1]
r[i] += 1
i = 10; r = [0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 2, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 1]
d = 4.194304e-16; k = 5; t = 2.0971520000000002e-15
t -= k * d
d = 4.194304e-16; k = 5; t = 0.0
s = 3; u = 8; x = [[], [2, 3, 4, 5, 6, 7], [3, 4, 5, 6, 7, 8], [4, 5, 6, 7], [], [], [], [], [], [], [], [], [], []]
x[s].append(u)
s = 3; u = 8; x = [[], [2, 3, 4, 5, 6, 7], [3, 4, 5, 6, 7, 8], [4, 5, 6, 7, 8], [], [], [], [], [], [], [], [], [], []]
i = 1
b.append(i)
b = [1]; i = 1
b = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0]; m = 106
b[m - 97] = b[m - 97] + 1
b = [0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0]; m = 106
h = 2
h += 2
h = 4
b = '1'; s = '11111111111111111111111111'
s += b
b = '1'; s = '111111111111111111111111111'
g = 999, 3; s = [(0, 0), (999, 0), (1000, 0), (1001, 0), (3, 999)]
s.append(g)
g = (999, 3); s = [(0, 0), (999, 0), (1000, 0), (1001, 0), (3, 999), (999, 3)]
g = 0; i = 2; j = 0; m = [[0, inf, inf, inf, inf], [-2, -2, inf, inf, inf], [-6, -2, -6, inf, inf], [inf, inf, inf, inf, inf], [inf, inf, inf, inf, inf]]
m[i + 1][j + 1] = g
g = 0; i = 2; j = 0; m = [[0, inf, inf, inf, inf], [-2, -2, inf, inf, inf], [-6, -2, -6, inf, inf], [inf, 0, inf, inf, inf], [inf, inf, inf, inf, inf]]
i = 0; j = 2; q = 'haveaniceday'; s = [['h', 'a', 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; v = 2
s[i][j] = q[v]
i = 0; j = 2; q = 'haveaniceday'; s = [['h', 'a', 'v', 0], [0, 0, 0, 0], [0, 0, 0, 0]]; v = 2
c = 1; i = [4, 3, 2]
m = i[0:c]
c = 1; i = [4, 3, 2]; m = [4]
a = [2, 3, 4, 4, 5, 6]; r = 3
r = len(a)
a = [2, 3, 4, 4, 5, 6]; r = 6
a = '3'; g = 39
g += int(a)
a = '3'; g = 42
a = ['i', 'f', 'a']
a.sort()
a = ['a', 'f', 'i']
w = 0; x = ['1', '2', '3', '21', '7', '12', '14', '21']
x[w] = int(x[w])
w = 0; x = [1, '2', '3', '21', '7', '12', '14', '21']
a = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; u = 4
a.append([-1] * u)
a = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16], [-1, -1, -1, -1]]; u = 4
b = 2
m += b
b = 2; m = 9
t = 100; x = 200
t = x
t = 200; x = 200
d = 1; j = 6; m = [0, 1, 2, 3, 4, 5, inf, inf]; x = 5
x = m[j - d] + 1
d = 1; j = 6; m = [0, 1, 2, 3, 4, 5, inf, inf]; x = 6
f = {(1): [1], (4): [2], (5): [3], (3): [4]}; i = 4; t = [1, 4, 5, 3, 2]
f[t[i]] = [i + 1]
f = {1: [1], 4: [2], 5: [3], 3: [4], 2: [5]}; i = 4; t = [1, 4, 5, 3, 2]
d = [1, 1, 2, 1, 2, 1, 2]; m = 2
d.append(m)
d = [1, 1, 2, 1, 2, 1, 2, 2]; m = 2
d = 2; m = 2; n = 5; s = 2
d = (s + m - 1) % n
d = 3; m = 2; n = 5; s = 2
i = 2; n = 4; o = [0, 1, 2, 3, 3, 5, 4, 7, 8, 999992, 999993, 999994, 999995, 999996, 999997, 999998, 999999, 1000000]
o[n * i] = min((o[n] + 1, o[n * i]))
i = 2; n = 4; o = [0, 1, 2, 3, 3, 5, 4, 7, 4, 999992, 999993, 999994, 999995, 999996, 999997, 999998, 999999, 1000000]
m = 5; w = [4]
w = [int(digit) for digit in str(m)]
m = 5; w = [5]
b = [3]; j = 3
b.append(j)
b = [3, 3]; j = 3
i = 2; x = 16
x += i
i = 2; x = 18
b = 88; j = 9; n = 11
b = n * j
b = 99; j = 9; n = 11
o = 1002; v = 99
o = v + 1
o = 100; v = 99
o = 7
o = o // 2
o = 3
i = 'c'; r = ['c', 'f', 'h', 'k', 's', 'x', 'z']
r.remove(i.lower())
i = 'c'; r = ['f', 'h', 'k', 's', 'x', 'z']
c = 9; i = 2
i += c
c = 9; i = 11
u = 3
u *= 2
u = 6
y = '9993'
y = str(int(y) + 1)
y = '9994'
s = [7]; x = [[9, 10]]
x.append(s)
s = [7]; x = [[9, 10], [7]]
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 = 'e'
c[ord(i) - ord('a')] += 1
c = [0, 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]; i = 'e'
t = 1; v = 1, 1
t += v[1]
t = 2; v = (1, 1)
i = 4; v = 3; x = [3, 4, 5, 7, 2]
v = x[i]
i = 4; v = 2; x = [3, 4, 5, 7, 2]
z = [2, 4, 3, 5, 2, 6, 4, 5]
z.reverse()
z = [5, 4, 6, 2, 5, 3, 4, 2]
i = 18; x = [15, 14, 12]
x = [i - 2, i - 3, i - 5]
i = 18; x = [16, 15, 13]
a = [1, 6, 9]; j = 2; s = 12
s += a[j]
a = [1, 6, 9]; j = 2; s = 21
b = 3; i = 10; m = {1, 2, 3, 4, 6, 8}; s = 'aaabbbbcccddd'
m.add(b * (ord(s[i - 1]) - ord('a') + 1))
b = 3; i = 10; m = {1, 2, 3, 4, 6, 8, 9}; s = 'aaabbbbcccddd'
k = 2; l = 2; t = 5
l = (k + t) // 2
k = 2; l = 3; t = 5
b = 8; p = 89
p += b * b
b = 8; p = 153
b = 'aaaaabbbbaaaa'; k = 2; n = 4; p = 'a'
p = b[k:n]
b = 'aaaaabbbbaaaa'; k = 2; n = 4; p = 'aa'
e = 4; t = '####'
t = '#' * (e + 1)
e = 4; t = '#####'
m = [0, 0, 0, 0, 0]
m = m + [0]
m = [0, 0, 0, 0, 0, 0]
o = {(0): [2], (1): [], (2): [], (3): [], (4): [], (5): []}; u = [1, 3]
o[u[1] - 1].append(u[0] - 1)
o = {0: [2], 1: [], 2: [0], 3: [], 4: [], 5: []}; u = [1, 3]
c = {(1): [2], (2): [1], (3): [1]}; o = 3; t = 1
c[t].append(o)
c = {1: [2, 3], 2: [1], 3: [1]}; o = 3; t = 1
j = 1.6777216000000002e-17; l = 5; x = 1.6777216000000002e-17
j = x / l
j = 3.3554432000000005e-18; l = 5; x = 1.6777216000000002e-17
i = 9; m = 108; p = ['W', 'e', 'p', 'r', 'o', 'm', 'p', 't', 'l', 'y', 'r', 't', 'h', 'e', 'p', 'r', 'i', 'z', 'e']
m = ord(p[i])
i = 9; m = 121; p = ['W', 'e', 'p', 'r', 'o', 'm', 'p', 't', 'l', 'y', 'r', 't', 'h', 'e', 'p', 'r', 'i', 'z', 'e']
g = {(0): [2, 1], (1): [3, 0, 2], (2): [0, 3], (3): [2, 1], (4): [], (5): []}; u = [2, 3]
g[u[1] - 1].append(u[0] - 1)
g = {0: [2, 1], 1: [3, 0, 2], 2: [0, 3, 1], 3: [2, 1], 4: [], 5: []}; u = [2, 3]
c = -2; g = [0, 0]; y = 4
c = g[0] - y
c = -4; g = [0, 0]; y = 4
c = [2, 5, 3, 6]; g = [1, 0, 1, 1, 1, 2, 2, 1, 1, 1, 2]; i = 3; j = 7
g[j] += g[j - c[i - 1]]
c = [2, 5, 3, 6]; g = [1, 0, 1, 1, 1, 2, 2, 2, 1, 1, 2]; i = 3; j = 7
i = deque([(2, 0)]); s = 1, 0
s = i.popleft()
i = deque([]); s = (2, 0)
j = ['b', 'a']; k = 0
p += j[k]
j = ['b', 'a']; k = 0; p = 'DIbCaUKSeb'
d = OrderedDict([('a', 1)]); k = 'a'
d[k] += 1
d = OrderedDict([('a', 2)]); k = 'a'
m = [6, 7, 1, 3]
t = m[:]
m = [6, 7, 1, 3]; t = [6, 7, 1, 3]
j = 2; n = 2
j += n
j = 4; n = 2
a = [2, 3, 1]; i = 0
k = a[i] + a[i + 1]
a = [2, 3, 1]; i = 0; k = 5
a = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
a = a + [0]
a = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
c = ['two', 'times', 'two', 'is', 'four']; p = [['two', 'times', 'three', 'is', 'not', 'four']]
c = p[0] if p else None
c = ['two', 'times', 'three', 'is', 'not', 'four']; p = [['two', 'times', 'three', 'is', 'not', 'four']]
f = 'aaaaaaaaaab'; h = 'gurwgrb'; i = 0
h = f[:i + 1]
f = 'aaaaaaaaaab'; h = 'a'; i = 0
i = 0; j = 0; m = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
h = h + m[j][i]
h = 52; i = 0; j = 0; m = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
x = 98
p = x
p = 98; x = 98
i = 5; u = [1]
u.append(i)
i = 5; u = [1, 5]
g = {(1): 0, (2): 0, (3): 0}; i = 4
g[i] = 0
g = {1: 0, 2: 0, 3: 0, 4: 0}; i = 4
f = 3; i = 3; s = 'aaabbbbcccddd'; u = {1, 2}
u.add(f * (ord(s[i - 1]) - ord('a') + 1))
f = 3; i = 3; s = 'aaabbbbcccddd'; u = {1, 2, 3}
k = 7; p = 4; w = [0, 1, 2, 3, 4, 5, 6]
p = w[k - 1]
k = 7; p = 6; w = [0, 1, 2, 3, 4, 5, 6]
p = 4
p += 1
p = 5
a = ['a', 'b', 'a']; b = ['a', 'b', 'a']; y = 6
f = len(a) + len(b) - y
a = ['a', 'b', 'a']; b = ['a', 'b', 'a']; f = 0; y = 6
c = 'q'
w = w or c.isalpha()
c = 'q'; w = -28
j = 2; l = ['d', 'k']; o = 'dkhc'
l += [o[j]]
j = 2; l = ['d', 'k', 'h']; o = 'dkhc'
f = 3; l = 5; s = 5
l = f + s
f = 3; l = 8; s = 5
d = [1, 1, 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 = 'c'
d[ord(i) - 97] += 1
d = [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 'c'
a = [1, 4, 6]; i = 2; p = [[1, 1], [1, 2, 1], [1, 3, 3, 1]]
a.append(p[-1][i] + p[-1][i + 1])
a = [1, 4, 6, 4]; i = 2; p = [[1, 1], [1, 2, 1], [1, 3, 3, 1]]
c = 28
c += 1
c = 29
c = [1, 2, 3, 3]; i = 2; u = [0, 1, 0, 0]
u[i] = c[i - 1] + u[i - 1]
c = [1, 2, 3, 3]; i = 2; u = [0, 1, 3, 0]
i = 3
j = i - 1
i = 3; j = 2
a = 0; b = 2; x = [[0, 0, 0], [0, 0, 0], [0, 0, 0]]
x[a][b] = 1
a = 0; b = 2; x = [[0, 0, 1], [0, 0, 0], [0, 0, 0]]
i = 2; j = 0; k = 10; s = [[3, 4, 8, 12], [5, 6, 7, 16], [9, 10, 11, 15], [5, 9, 13, 14]]; y = [3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 1, 2]
s[i][j] = y[k]
i = 2; j = 0; k = 10; s = [[3, 4, 8, 12], [5, 6, 7, 16], [1, 10, 11, 15], [5, 9, 13, 14]]; y = [3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 1, 2]
b = 'A['; q = deque(['A', 'A', 'B', 'A', 'B', 'A', 'C', 'A', 'B'])
q.append(b[0])
b = 'A['; q = deque(['A', 'A', 'B', 'A', 'B', 'A', 'C', 'A', 'B', 'A'])