start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
f = 5; q = {(1): 100, (2): 200, (3): 100, (4): 500}; r = [100, 200, 100, 500, 100, 600]
q[f] = r[f - 1]
f = 5; q = {1: 100, 2: 200, 3: 100, 4: 500, 5: 100}; r = [100, 200, 100, 500, 100, 600]
m = ['1', '0', '1', '1']
m.append('1')
m = ['1', '0', '1', '1', '1']
b = 0, 0
e = b[0] + 1
b = (0, 0); e = 1
g = 'abcde'; i = 1; q = 0
q = ord(g[i]) - ord('a')
g = 'abcde'; i = 1; q = 1
i = 2; n = 13
n = i
i = 2; n = 2
s = 'a'
a = list(s)
a = ['a']; s = 'a'
n = 5
h = n * (n + 1) / 2
h = 15.0; n = 5
c = '91011'; i = 1
c = c[i:]
c = '1011'; i = 1
d = 8
d = d % 5
d = 3
i = 9; j = 3; q = 15
q = (i and j) ^ (i or j) and i ^ j
i = 9; j = 3; q = 10
r = -1293
r = r * 2
r = -2586
c = [-34, -33, -33, -32, -32, -31, -31, -30, -30, -29, 106, 107, 107, 108, 108, 109, 110, 111, 112]
list.pop(c, 0)
c = [-33, -33, -32, -32, -31, -31, -30, -30, -29, 106, 107, 107, 108, 108, 109, 110, 111, 112]
i = 5; k = [True, True, True, True, True, False, False, False, False, False, False, False, False]
k[i] = True
i = 5; k = [True, True, True, True, True, True, False, False, False, False, False, False, False]
a = 'ABACABA['; b = 'ABACABA['; i = 1; j = 3; q = 'AABA'
q += min(a[i], b[j])
a = 'ABACABA['; b = 'ABACABA['; i = 1; j = 3; q = 'AABAB'
b = [9, 7, 5, 3, 1]; e = 3; i = 5; s = [1, 1, 0]
s[b.index(i) % e] += 1
b = [9, 7, 5, 3, 1]; e = 3; i = 5; s = [1, 1, 1]
a = 46.0; b = 4; c = 1.0
a = a - c * b
a = 42.0; b = 4; c = 1.0
g = [3, 9]
g.reverse()
g = [9, 3]
x = 24497.786712646484
x = x / 2
x = 12248.893356323242
c = 4; y = 4
n = y + c
c = 4; n = 8; y = 4
b = [1, 2, 4]; i = 0; j = 3; k = 3; l = [1, 1, 2, 2, 3, 4]
b = [l[i], l[j], l[k]]
b = [1, 2, 2]; i = 0; j = 3; k = 3; l = [1, 1, 2, 2, 3, 4]
g = [63, '25', '73', '1', '98', '73', '56', '84', '86', '79', '75', '75', '13', '87', '70', '33', '']; i = 1
g[i] = int(g[i])
g = [63, 25, '73', '1', '98', '73', '56', '84', '86', '79', '75', '75', '13', '87', '70', '33', '']; i = 1
r = ['c', 'd', 'c', 'd']
r.sort()
r = ['c', 'c', 'd', 'd']
i = '1'; o = [2]
o.append(int(i))
i = '1'; o = [2, 1]
i = 3; v = [[0, 0, 0, 0, 0, 0], [0, 1, 2, 10, 11, 12], [0, 1, 2, 10, 11, 12], [0, 0, 0, 0, 0, 0]]; w = 1
v[i][w] = v[i - 1][w]
i = 3; v = [[0, 0, 0, 0, 0, 0], [0, 1, 2, 10, 11, 12], [0, 1, 2, 10, 11, 12], [0, 1, 0, 0, 0, 0]]; w = 1
i = 0; p = [2, 4]
v = [p[i]]
i = 0; p = [2, 4]; v = [2]
e = 9
e += 1
e = 10
d = 21; h = 2; x = 3
d += x * h
d = 27; h = 2; x = 3
d = ['c', 'cd', 'ccd']; i = 0; j = 3; s = 'cdcd'
d += [''.join(sorted(s[i:j + 1]))]
d = ['c', 'cd', 'ccd', 'ccdd']; i = 0; j = 3; s = 'cdcd'
j = 2; l = [1, 1, 1, 1, 2, 3, 4, 5, 7, 11, 16, 22, 22]; q = 12
l[q] = l[q] + l[q - j * j]
j = 2; l = [1, 1, 1, 1, 2, 3, 4, 5, 7, 11, 16, 22, 29]; q = 12
p = 55; t = 1
p += t
p = 56; t = 1
a = 2; b = [1, 1, 1, 2, 2]; k = 2; u = [0, 0]
u.append(b[a + k - 1] - b[a])
a = 2; b = [1, 1, 1, 2, 2]; k = 2; u = [0, 0, 1]
y = {1, 2}
r = sorted(y)
r = [1, 2]; y = {1, 2}
j = 17
j += 1
j = 18
d = ['c']
d = ''.join(d)
d = 'c'
d = [[1, 1, 2], None, None, None, None, None, None, None, None, None, None, None, None, None, None]; i = 3; j = 0
d[j].append(d[j][i - 1])
d = [[1, 1, 2, 2], None, None, None, None, None, None, None, None, None, None, None, None, None, None]; i = 3; j = 0
a = [0, 9, 0, 9]; i = [0, 9, 0, 9]; t = 3
i[t] = 0
a = [0, 9, 0, 9]; i = [0, 9, 0, 0]; t = 3
h = 'edede'; l = 12; s = 'ededdeededee'; x = 0
h = s[x:x + l]
h = 'ededdeededee'; l = 12; s = 'ededdeededee'; x = 0
n = 1
n += 1
n = 2
i = 1; l = [4]; m = [5, 8, 14]; q = 9
l.append(abs(m[i] - q))
i = 1; l = [4, 1]; m = [5, 8, 14]; q = 9
i = '2'; j = 65
j = ord(i)
i = '2'; j = 50
l = '1000000000000'
l += '0'
l = '10000000000000'
m = [1]; x = 2
m.append(x)
m = [1, 2]; x = 2
j = deque(['{']); k = '['
k = j.pop()
j = deque([]); k = '{'
y = '2'; z = '1'
y, z = int(y), int(z)
y = 2; z = 1
j = 3; r = 0; w = ['h', 'e', 'f', 'g']
w.insert(j - 1, w.pop(r + j))
j = 3; r = 0; w = ['h', 'e', 'g', 'f']
d = []; i = 2
d.append(i)
d = [2]; i = 2
i = 0; j = 4; s = 'abcd'; t = ['a', 'b', 'c']
t = list(s[i:j])
i = 0; j = 4; s = 'abcd'; t = ['a', 'b', 'c', 'd']
c = 1; r = 2
c += 1 << r
c = 5; r = 2
f = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 2, 'g': 2, 'h': 2}; i = 'e'
f[i] += 1
f = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 2, 'f': 2, 'g': 2, 'h': 2}; i = 'e'
c = 'C'; u = 'AB'
u += c
c = 'C'; u = 'ABC'
d = 9; q = [8, 9, 7]
h = q.index(d)
d = 9; h = 1; q = [8, 9, 7]
j = 11; n = 'whatwemustbecausewecan'; s = 'wemustb'
s += n[j]
j = 11; n = 'whatwemustbecausewecan'; s = 'wemustbe'
l = 4; u = [1, 1, 1, 1, 1, 1]
g = u[l]
g = 1; l = 4; u = [1, 1, 1, 1, 1, 1]
e = ['b', 'a']
i = ''.join(e)
e = ['b', 'a']; i = 'ba'
i = '5'; j = {'1': 1, '2': 2, '3': 1, '6': 1, '5': 1, '4': 2}
j[i] += 1
i = '5'; j = {'1': 1, '2': 2, '3': 1, '6': 1, '5': 2, '4': 2}
i = 32
i *= 2
i = 64
o = {(5): 1, (4): 2, (2): 2, (8): 1}
d = sorted(o.keys())
d = [2, 4, 5, 8]; o = {5: 1, 4: 2, 2: 2, 8: 1}
i = 2; k = 5.0
k = k * i
i = 2; k = 10.0
i = 0; j = 5; x = ['i', 'if', 'ifa', 'ifai', 'ifail']; y = 'ifailuhkqq'
x.append(y[i:j + 1])
i = 0; j = 5; x = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu']; y = 'ifailuhkqq'
c = 1; f = 48; i = 1; n = '12'
c += ord(n[i]) - f
c = 3; f = 48; i = 1; n = '12'
q = 3221225472
q *= 2
q = 6442450944
a = [[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]]; i = 4; j = 3; m = 9
m = sum(a[i - 1][j - 1:j + 2]) + a[i][j] + sum(a[i + 1][j - 1:j + 2])
a = [[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]]; i = 4; j = 3; m = 19
c = [0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]; x = 9
c[x] += 1
c = [0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]; x = 9
j = 2; x = 3
x += j
j = 2; x = 5
s = 'aaaaabbbbaaaa'
x = len(s)
s = 'aaaaabbbbaaaa'; x = 13
e = 3; j = 1
e = j + 1
e = 2; j = 1
d = 9; q = '11'
q = str(d)
d = 9; q = '9'
m = 2
a = 2 ** m
a = 4; m = 2
l = 1
u = [(0, l)]
l = 1; u = [(0, 1)]
i = 2; q = [deque([6, 5, 4]), deque([6, 5, 4]), deque([9])]
q.pop(i - 1)
i = 2; q = [deque([6, 5, 4]), deque([9])]
i = '0'; z = '11111111111111100001110110111'
z += str(int(i) ^ 1)
i = '0'; z = '111111111111111000011101101111'
b = [([], -1), ([3, 2], -1), ([4], -1), ([1, 4], -1), ([3, 2], -1), ([], -1 ), ([], -1)]; g = 1; u = 2
b[u][0].append(g)
b = [([], -1), ([3, 2], -1), ([4, 1], -1), ([1, 4], -1), ([3, 2], -1), ([], -1), ([], -1)]; g = 1; u = 2
b = 6; n = 3
n = b
b = 6; n = 6
q = 2.3333333333333335; t = 3; w = 7; y = -2.0
y = (2 * w + 1 - t - 2 * q * t) / 2
q = 2.3333333333333335; t = 3; w = 7; y = -1.0
f = 0
f += 1
f = 1
s = 53; y = {(63): 1, (25): 2, (73): 2, (1): 1, (98): 1, (56): 2, (84): 1, (86): 1, (57): 1, (16): 1, (83): 1, (8): 1, (81): 1, (9): 1}
y.setdefault(s, 0)
s = 53; y = {63: 1, 25: 2, 73: 2, 1: 1, 98: 1, 56: 2, 84: 1, 86: 1, 57: 1, 16: 1, 83: 1, 8: 1, 81: 1, 9: 1, 53: 0}
c = [-520, -470, -20]; j = 8; n = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
c.append(n[j])
c = [-520, -470, -20, 30]; j = 8; n = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
j = 2; x = [[None, None, None, None, None, None], [0, 0, None, None, None, None]]
x[1][j] = 0
j = 2; x = [[None, None, None, None, None, None], [0, 0, 0, None, None, None]]
a = 10; b = [2, -1, 2, 3, 4, -5]; r = 6
a = b[r - 1]
a = -5; b = [2, -1, 2, 3, 4, -5]; r = 6
r = 18; x = 18
r = x
r = 18; x = 18
i = 3; k = 3; n = [10, 20, 30, 100, 200, 300, 1000]; r = [0, 10, 30, 240, 640, 1140, 5340]; s = 400
s += r[i + k] - r[i] - (n[i + k] - n[i]) * (i + 1)
i = 3; k = 3; n = [10, 20, 30, 100, 200, 300, 1000]; r = [0, 10, 30, 240, 640, 1140, 5340]; s = 1900
h = 0; u = 1
u = h
h = 0; u = 0
h = ['1', '4', '3', '5', '6', '2']; i = 1; s = [1, 'None', 'None', 'None', 'None', 'None']
s[i] = int(h[i])
h = ['1', '4', '3', '5', '6', '2']; i = 1; s = [1, 4, 'None', 'None', 'None', 'None']
h = [0, 1, 2, 2, 3, 3, 4, 4, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l = 8; v = 4
h[l] = v
h = [0, 1, 2, 2, 3, 3, 4, 4, 4, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l = 8; v = 4
a = [3, 1, 2]; i = 0
x = a[i]
a = [3, 1, 2]; i = 0; x = 3
h = 3400; o = [111]; u = [111]
u = [h] + o[2:]
h = 3400; o = [111]; u = [3400]
g = [1, 1, 1, 1, 1, 1]; i = 0; m = 2
u = sum(g[i:i + m])
g = [1, 1, 1, 1, 1, 1]; i = 0; m = 2; u = 2
g = 1; x = 8
x += g
g = 1; x = 9
v = 23; w = Counter({(23): 1, (13): 1, (2): 1})
l += w[v]
l = 81; v = 23; w = Counter({23: 1, 13: 1, 2: 1})
s = {1, 2, 3, 4, 5, 6, 8, 9, 66, 11, 35, 22, 55, 58, 62}; y = {66, 35, 11, 22, 55, 58, 62}
s.difference_update(y)
s = {1, 2, 3, 4, 5, 6, 8, 9}; y = {66, 35, 11, 22, 55, 58, 62}
h = [30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]; k = 30
h.remove(k)
h = [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]; k = 30
c = 1; j = 9; n = 1
j, n = min(j, n + c), min(n, j + c)
c = 1; j = 2; n = 1
w = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
o = w[0]
o = 3; w = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
i = 3; j = 0
j = i
i = 3; j = 3
i = 0; o = [['T', 'h', 'i', '$', '#', 'i'], ['s', '%', ' ', 'a', 't', 'r'], ['i', 'x', '#', ' ', '%', '!']]
o[i] = ''.join(o[i])
i = 0; o = ['Thi$#i', ['s', '%', ' ', 'a', 't', 'r'], ['i', 'x', '#', ' ', '%', '!']]
r = 6
a = (r - 1) // 2
a = 2; r = 6
e = 'abcdefghhgfedecba'; i = 3; t = {'a': 1, 'b': 1, 'c': 1}
t[e[i]] = 1
e = 'abcdefghhgfedecba'; i = 3; t = {'a': 1, 'b': 1, 'c': 1, 'd': 1}
j = 104
j += 1
j = 105
d = 'middle-Outz'; i = 0
o = d[i]
d = 'middle-Outz'; i = 0; o = 'm'
n = 1; s = 2
a = min(s - 1, n)
a = 1; n = 1; s = 2