start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
a = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; i = 'v'
a[ord(i) - 97] += 1
a = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]; i = 'v'
h = 3.0; j = 14; l = 9; v = 8
h = min(abs(l - j), abs(l - v))
h = 1; j = 14; l = 9; v = 8
c = 'X'; k = ['.', 'X', '.', 'X', '.', '.', '.', '.', '.', '.']
k.append(c)
c = 'X'; k = ['.', 'X', '.', 'X', '.', '.', '.', '.', '.', '.', 'X']
k = 10; u = 2
k = u
k = 2; u = 2
x = 10
x = -9 * 7
x = -63
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'afil', 'afilu', 'afhilu', 'afhiklu', 'afhiklqu']; i = 1; j = 9; s = 'ifailuhkqq'
a.append(''.join(sorted(s[i:i + j])))
a = ['i', 'fi', 'afi', 'afii', 'afiil', 'afiilu', 'afil', 'afilu', 'afhilu', 'afhiklu', 'afhiklqu', 'afhiklqqu']; i = 1; j = 9; s = 'ifailuhkqq'
c = '7'; n = '3'; s = '3'
n, c, s = [int(n), int(c), int(s)]
c = 7; n = 3; s = 3
b = 2; k = 100; t = [0, 100, 0, 0, 0, 0, 0]
t[b + 1] -= k
b = 2; k = 100; t = [0, 100, 0, -100, 0, 0, 0]
w = '10\n'; x = [1, 2, 3, 4]
x.append(int(w))
w = '10\n'; x = [1, 2, 3, 4, 10]
i = 4; k = -1
i += k
i = 3; k = -1
b = 11; o = 54; q = 62
q = b ^ o
b = 11; o = 54; q = 61
q = 0.5142553952852263; x = 32.571276976426134
x += q
q = 0.5142553952852263; x = 33.08553237171136
j = {(1): 2, (3): 2, (4): 2, (2): 2}; y = 1
j[y] += 1
j = {1: 3, 3: 2, 4: 2, 2: 2}; y = 1
i = 4; p = [6, 5, 8]
p.append(i)
i = 4; p = [6, 5, 8, 4]
p = 2
p -= 1
p = 1
i = 0; j = 3; k = 0; m = inf; s = [[0, 5, inf, 24], [inf, 0, inf, 6], [inf, 7, 0, 4], [inf, inf, inf, 0]]
m = s[i][k] + s[k][j]
i = 0; j = 3; k = 0; m = 24; s = [[0, 5, inf, 24], [inf, 0, inf, 6], [inf, 7, 0, 4], [inf, inf, inf, 0]]
a = 2; l = 'abcba'
a = len(l) - 1
a = 4; l = 'abcba'
r = []
f = r.copy()
f = []; r = []
i = 1; j = [5]
j.append(i)
i = 1; j = [5, 1]
a = {'b': 1, 'c': 0}; x = 'c'
del a[x]
a = {'b': 1}; x = 'c'
b = 5; j = 2; o = [-1, -1, 0, 1, -1]; u = [[0, 3, 4, 1000000000, 1000000000], [3, 0, 5, 6, 2], [4, 5, 0, 1000000000, 7], [1000000000, 6, 1000000000, 0, 1000000000], [1000000000, 2, 7, 1000000000, 0]]
b = b + u[j][o[j]]
b = 9; j = 2; o = [-1, -1, 0, 1, -1]; u = [[0, 3, 4, 1000000000, 1000000000], [3, 0, 5, 6, 2], [4, 5, 0, 1000000000, 7], [1000000000, 6, 1000000000, 0, 1000000000], [1000000000, 2, 7, 1000000000, 0]]
h = [[0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; t = [1, 2]
h[t[1]][t[0]] = 1
h = [[0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; t = [1, 2]
a = [1, 2, 1, 2, 1, 1, 1, 3, 2, 1]; i = 6; q = [1, 2, 1, 2, 1, 2, 3, 4, 1, 1]; y = 9
y += max(q[i], a[i])
a = [1, 2, 1, 2, 1, 1, 1, 3, 2, 1]; i = 6; q = [1, 2, 1, 2, 1, 2, 3, 4, 1, 1]; y = 12
z = [(1, 1), (2, 5), (3, 4), (4, 2), (5, 3)]
y = len(z) - 1
y = 4; z = [(1, 1), (2, 5), (3, 4), (4, 2), (5, 3)]
g = 89; t = 47
g = t * 2 + 3
g = 97; t = 47
n = {(10): 2, (20): 2}; t = 10
n[t] += 1
n = {10: 3, 20: 2}; t = 10
e = [[3, 4, 8, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; t = 0; u = [[12, 16, 15, 5, 1, 2], [11, 10, 6, 7]]; w = 0; y = 3
e[w + t][w + y] = u[w].pop(0)
e = [[3, 4, 8, 12], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; t = 0; u = [[16, 15, 5, 1, 2], [11, 10, 6, 7]]; w = 0; y = 3
a = 'atcgatcga'; x = 1
x = len(a)
a = 'atcgatcga'; x = 9
g = [0, 0, 1]; j = 1
g.append(j)
g = [0, 0, 1, 1]; j = 1
w = 'lmno'
n = len(w)
n = 4; w = 'lmno'
i = [{(1, 24), (3, 20)}, {(0, 24)}, set(), set()]; n = 1, 4, 20
i[n[1] - 1].add((n[0] - 1, n[2]))
i = [{(1, 24), (3, 20)}, {(0, 24)}, set(), {(0, 20)}]; n = (1, 4, 20)
i = 1; j = 2; l = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; r = 0
r = l[j + 1][i + 1]
i = 1; j = 2; l = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 2, 4, 0]]; r = 2
a = [2, 3, 5]; i = 7
a.append(i)
a = [2, 3, 5, 7]; i = 7
c = 'f'; d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1}
d[c] = 1
c = 'f'; d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1}
b = 8; q = {1, 2, 3, 4, 6}
q.add(b)
b = 8; q = {1, 2, 3, 4, 6, 8}
c = '101'
d = c.count('1')
c = '101'; d = 2
j = 2; s = 2
s += j
j = 2; s = 4
d = 3; j = 4; q = 8; r = [1, 2, 4, 5, 7, 8, 10]
q = r[j] + d
d = 3; j = 4; q = 10; r = [1, 2, 4, 5, 7, 8, 10]
e = 3.2767999999999977e-11; y = 6.24999999995904
y += e
e = 3.2767999999999977e-11; y = 6.249999999991807
d = 2; j = 4; l = [0, 1, 2, 3, 4, 5, 4, 3]
l.append(min(d, l[j]))
d = 2; j = 4; l = [0, 1, 2, 3, 4, 5, 4, 3, 2]
n = 5; r = 3
r = min(r, n - r)
n = 5; r = 2
o = ['2', '1', '0']; x = 0
x = int(o[1])
o = ['2', '1', '0']; x = 1
o = [1, 2, 3, 4]
x = o[0]
o = [1, 2, 3, 4]; x = 1
s = ['6', '6', '2015']
s = [int(i) for i in s]
s = [6, 6, 2015]
c = 1; o = 1; z = 27
z += (1 + o) * c
c = 1; o = 1; z = 29
g = [0, 2, 3, 5]; i = 2; k = 1000000007; t = [0, 0, 2]; x = 2
t.append((t[-1] + x * g[i]) % k)
g = [0, 2, 3, 5]; i = 2; k = 1000000007; t = [0, 0, 2, 8]; x = 2
n = 1; s = '_'
n = len(s)
n = 1; s = '_'
i = ['a', 'b', 'c', 'd', 'd', 'e', 'b', 'a', 'c', 'c', 'd', 'e', 'e', 'a']; t = 'b'
i.append(t)
i = ['a', 'b', 'c', 'd', 'd', 'e', 'b', 'a', 'c', 'c', 'd', 'e', 'e', 'a', 'b']; t = 'b'
f = ['.', '.', '.', '.', '.']; q = {(0): ['.'], (1): ['.'], (2): ['.'], (3): ['.'], (4): []}; x = 4
q[x].append(f[x])
f = ['.', '.', '.', '.', '.']; q = {0: ['.'], 1: ['.'], 2: ['.'], 3: ['.'], 4: ['.']}; x = 4
k = 4
j += k
j = 10; k = 4
i = 5; j = 2; r = ['0', '0', '1', '2', '4', '0']; u = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 0, 0, 0, 0]]
u[i][j] = int(r[j])
i = 5; j = 2; r = ['0', '0', '1', '2', '4', '0']; u = [[1, 1, 1, 0, 0, 0], [0, 1, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0], [0, 0, 2, 4, 4, 0], [0, 0, 0, 2, 0, 0], [0, 0, 1, 0, 0, 0]]
e = [0, 9, 27, 63, 135, 279, 567, 1143, 2295, 4599, 9207, 18423, 36855, 73719, 147447, 294903]; i = 15
e.append(e[-1] + 9 * 2 ** i)
e = [0, 9, 27, 63, 135, 279, 567, 1143, 2295, 4599, 9207, 18423, 36855, 73719, 147447, 294903, 589815]; i = 15
m = 'zfzahm'; q = ['zfzahm']
m, q = '', []
m = ''; q = []
q = {2}; x = 1; y = 4
q.add(abs(x - y))
q = {2, 3}; x = 1; y = 4
b = 'bac'; k = 3; l = 0; s = 'ac'
s = b[l:l + k]
b = 'bac'; k = 3; l = 0; s = 'bac'
k = 4
a = [0] * (k - 1)
a = [0, 0, 0]; k = 4
i = 0; s = 0; z = [4]
n += z[s + i]
i = 0; n = 78; s = 0; z = [4]
s = 1.2339999999999996e-51
s /= 10
s = 1.2339999999999996e-52
c = '0'; z = '9100'
z += c
c = '0'; z = '91000'
e = ['1 1 0 0', '0 1 1 0', '0 0 1 0', '1 0 0 0', '', '', '']; i = 0
r.append(e[i].split(' '))
e = ['1 1 0 0', '0 1 1 0', '0 0 1 0', '1 0 0 0', '', '', '']; i = 0; r = [['1', '1', '0', '0']]
d = 2.0000000000000012e-86
d = d / 10
d = 2.0000000000000012e-87
v = ['hello', 'world', 'hi', 'world']
y = v[evenCount + 1]
c = False; v = ['hello', 'world', 'hi', 'world']; y = 'world'
i = 1; w = ['Chris', 'alan']; x = ['A', 'l', 'a', 'n']
w[i] = ''.join(x)
i = 1; w = ['Chris', 'Alan']; x = ['A', 'l', 'a', 'n']
e = [1, 4, 4, 5, 6, 2]; k = 1; w = 3
e[k] = w
e = [1, 3, 4, 5, 6, 2]; k = 1; w = 3
c = {}; p = 'c',
c[p] = 1
c = {('c',): 1}; p = ('c',)
k = [1, 2, 3, 6, 7, 14, 15, 33554430, 33554431, 67108862, 67108863, 134217726, 134217727, 268435454]
k.append(k[-1] + 1)
k = [1, 2, 3, 6, 7, 14, 15, 33554430, 33554431, 67108862, 67108863, 134217726, 134217727, 268435454, 268435455]
m = 3
m += 1
m = 4
y = '1'
y = int(y)
y = 1
o = 1
o -= 1
o = 0
b = 'h'; d = {'a': 1, 'f': 1}
d[b] = d.get(b, 0) + 1
b = 'h'; d = {'a': 1, 'f': 1, 'h': 1}
q = 'night'; t = {'give': 1, 'me': 1, 'one': 1, 'grand': 1, 'today': 1}
t[q] = 1
q = 'night'; t = {'give': 1, 'me': 1, 'one': 1, 'grand': 1, 'today': 1, 'night': 1}
k = '8'; p = 4
p = len(k)
k = '8'; p = 1
h = 1
b.add(h)
b = {1}; h = 1
h = [['0', '0', '0'], ['8', '0', '0'], ['1', '6', '0'], ['5', '6', '0'], [ '6', '4', '0'], ['7', '2', '0']]; j = 80; x = 'Counter'
h.append([x for x in str(j)])
h = [['0', '0', '0'], ['8', '0', '0'], ['1', '6', '0'], ['5', '6', '0'], ['6', '4', '0'], ['7', '2', '0'], ['8', '0']]; j = 80; x = 'Counter'
f = 1; s = 'cba'; v = 'ab'
v = s[:f]
f = 1; s = 'cba'; v = 'c'
i = 1; j = 3; z = [0, 3, 2, 4, 6, 5, 1]
j = z[i]
i = 1; j = 3; z = [0, 3, 2, 4, 6, 5, 1]
i = 0; j = 1; k = 0; w = [[0, 0, 0], [0, 0, 1]]
w.append([i, j, k])
i = 0; j = 1; k = 0; w = [[0, 0, 0], [0, 0, 1], [0, 1, 0]]
i = 1; l = ['07895462130', '919875641230']; s = 11
s = len(l[i])
i = 1; l = ['07895462130', '919875641230']; s = 12
a = 'BANANA FRIES'; o = ['POTATO', 'CHIPS', '30']
a = o[0] + ' ' + o[1]
a = 'POTATO CHIPS'; o = ['POTATO', 'CHIPS', '30']
s = '07895462130'
s = '+91' + s[1:]
s = '+917895462130'
a = [(5, None)]; n = 8
a.append((n, step_removed))
a = [(5, None), (8, -14)]; n = 8; x = -14
a = 10946; b = 17711; y = {1, 2, 3, 5, 8, 13, 144, 21, 2584, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, 233, 6765, 377}
y.add(a + b)
a = 10946; b = 17711; y = {1, 2, 3, 5, 8, 13, 144, 21, 2584, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, 233, 6765, 28657, 377}
i = 19; q = [1, 1, 2, 6, 24, 120, 720, 479001600, 227020758, 178290591, 674358851, 789741546, 425606191, 660911389]; r = 1000000007
q.append(q[-1] * i % r)
i = 19; q = [1, 1, 2, 6, 24, 120, 720, 479001600, 227020758, 178290591, 674358851, 789741546, 425606191, 660911389, 557316307]; r = 1000000007
a = set(); e = 2
a.add(e)
a = {2}; e = 2
a = [1, 3, 2, 6, 1, 2]; i = 2; j = 5; m = 3
m = a[i] + a[j]
a = [1, 3, 2, 6, 1, 2]; i = 2; j = 5; m = 4
b = 2; t = 1
b += t
b = 3; t = 1
c = '1012'; i = 12
i = int(c)
c = '1012'; i = 1012
a = 3; s = 12; x = 6
s = x + a
a = 3; s = 9; x = 6
e = 4; h = 1
e = h
e = 1; h = 1
i = 3; j = 2; m = [[True, False, False, False], [True, False, False, False], [True, True, False, False], [False, False, False, False], [False, False, False, False], [False, False, False, False]]
m[i][j] = True
i = 3; j = 2; m = [[True, False, False, False], [True, False, False, False], [True, True, False, False], [False, False, True, False], [False, False, False, False], [False, False, False, False]]
i = 'H'
w = w + i.lower()
i = 'H'; w = 'GOWSsQIViLzxLBh'
i = 6; n = 5; p = [9, 6]
p.append(n + i)
i = 6; n = 5; p = [9, 6, 11]
i = 2; j = 3; t = [2, 3, 4, 5]; z = [[2, 3], [3, 4]]
z.append([t[i], t[j]])
i = 2; j = 3; t = [2, 3, 4, 5]; z = [[2, 3], [3, 4], [4, 5]]
g = '(?<=aa)'; p = '(?<=aa)'
g = p
g = '(?<=aa)'; p = '(?<=aa)'
i = 67; s = 10; t = 2; u = 1475739525896764129400
u = u + (t ^ s << i)
i = 67; s = 10; t = 2; u = 2951479051793528258682
q = [None, None]; t = [[None, None], [None, None]]
t.append(q)
q = [None, None]; t = [[None, None], [None, None], [None, None]]
k = '13'; u = 1; y = 10
y = int(k[:u])
k = '13'; u = 1; y = 1
a = ['1', '2', '3', '4', '1']; e = ['3']; i = 2
e.append(a[i - 1])
a = ['1', '2', '3', '4', '1']; e = ['3', '2']; i = 2
a = 13; b = 10; t = 3
t = a ^ b
a = 13; b = 10; t = 7
c = 'D'; u = 'A'
u += c
c = 'D'; u = 'AD'