start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
c = {(3): {(4): 0, (1): 2}, (4): {(3): 0}, (2): {(1): 1}, (1): {(2): 1, (3): 2, (0): 3}, (0): {(1): 3}}; x = 4
m = list(c[x].keys())[0]
c = {3: {4: 0, 1: 2}, 4: {3: 0}, 2: {1: 1}, 1: {2: 1, 3: 2, 0: 3}, 0: {1: 3}}; m = 3; x = 4
i = ['a']; p = 'e'
i.append(p)
i = ['a', 'e']; p = 'e'
i = 1; l = ['a', 'f', 'b', 'e']; y = 'a'
y = l[i]
i = 1; l = ['a', 'f', 'b', 'e']; y = 'f'
l = 1; o = {(0, 0): 0, (1, 0): 1, (2, 0): 1, (2, 1): 2}; p = 2, 2
o[p] = l + 1
l = 1; o = {(0, 0): 0, (1, 0): 1, (2, 0): 1, (2, 1): 2, (2, 2): 2}; p = (2, 2)
j = 31; k = 6469693230
k *= j
j = 31; k = 200560490130
o = 1; y = [[5, 3], [7]]
g = len(y[o])
g = 1; o = 1; y = [[5, 3], [7]]
g = 2
u.append(g)
g = 2; u = [2]
d = 'bb'; i = 1; j = 2; p = 'abba'
d = ''.join(sorted(p[j:j + i + 1]))
d = 'ab'; i = 1; j = 2; p = 'abba'
i = [0, 1, 0]; n = ['2', '1']
i[int(n[-1]) - 1] += 1
i = [1, 1, 0]; n = ['2', '1']
m = -1
m -= 1
m = -2
i = 0; j = 2; l = [0, 1]; z = ['.....', '.x.x.', '.....', '.....']
l.append(-1 if z[i][j] == 'x' else l[j - 1] + 1)
i = 0; j = 2; l = [0, 1, 2]; z = ['.....', '.x.x.', '.....', '.....']
b = 1; u = [{(1): 3, (4): 1, (10): 1}, {(9): 1, (5): 1, (7): 2}]; w = 3
u[b][w] = u[b].get(w, 0) + 1
b = 1; u = [{1: 3, 4: 1, 10: 1}, {9: 1, 5: 1, 7: 2, 3: 1}]; w = 3
s = [44, 11, 55]; x = 11
x = s.pop(0)
s = [11, 55]; x = 44
u = 0; w = [1, 4, 3, 5, 6, 2]
i = i + str(w[u]) + ' '
i = 'r7SuZVA9FzH9YH1 '; u = 0; w = [1, 4, 3, 5, 6, 2]
k = 9
f = k
f = 9; k = 9
a = 6; b = 6; r = 0
b, a = a, r
a = 0; b = 6; r = 0
n = 0; r = [1, 2, 2]
n = int(len(r) / 2)
n = 1; r = [1, 2, 2]
u = 4, 4; w = {(10, 4): 0, (4, 4): 0, (10, 3): 0, (7, 4): 0, (1, 4): 0, (7, 3): 0}; y = 0
w[u] = y
u = (4, 4); w = {(10, 4): 0, (4, 4): 0, (10, 3): 0, (7, 4): 0, (1, 4): 0, (7, 3): 0}; y = 0
b = 'Q 2'; u = '1'
u = b.split(' ')[1]
b = 'Q 2'; u = '2'
j = 1
j += 1
j = 2
c = 98; s = 'no answer'; w = 'hefg'
s = [ord(c) for c in w]
c = 98; s = [104, 101, 102, 103]; w = 'hefg'
g = 3; i = 3
i = i / g
g = 3; i = 1.0
c = 10; i = 1; w = {(0): [0]}
w[c] = [i]
c = 10; i = 1; w = {0: [0], 10: [1]}
i = 3; s = 'abcdefgabcdefg'; y = {'a': 0.0, 'b': 1.0, 'c': 1.0, 'd': 1.0, 'e': 0.0, 'f': 0.0, 'g': 0.0}
y[s[i]] -= 1
i = 3; s = 'abcdefgabcdefg'; y = {'a': 0.0, 'b': 1.0, 'c': 1.0, 'd': 0.0, 'e': 0.0, 'f': 0.0, 'g': 0.0}
f = 13; t = [9, 10, 12, 13]
f = min(t)
f = 9; t = [9, 10, 12, 13]
b = [3, 2]
b.sort()
b = [2, 3]
x = '1'
o.append(int(x))
o = [1]; x = '1'
j = 5
j = i
i = 8; j = 8
i = ['+', 22, '+']; p = [79, 21]
i.append(p[0])
i = ['+', 22, '+', 79]; p = [79, 21]
c = [2, 0, 0]; j = 0
c[j] = 0
c = [0, 0, 0]; j = 0
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; d = 450; i = 8
d = a[i] - a[i - 1]
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; d = 50; i = 8
c = 5; j = [['2', '1', '0', '0', '2', '0'], ['2', '2', '2', '2', '1', '0']]; r = 0
j[r][c] = '2'
c = 5; j = [['2', '1', '0', '0', '2', '2'], ['2', '2', '2', '2', '1', '0']]; r = 0
h = [2, 2, 3]; i = 0; s = 7
s -= h[i]
h = [2, 2, 3]; i = 0; s = 5
a = ['15', 'o17', 'F', '1111']
a = list()
a = []
b = 1.1415926535897931; d = 1; n = 3; r = {}
r[n - 1, d] = b
b = 1.1415926535897931; d = 1; n = 3; r = {(2, 1): 1.1415926535897931}
j = 108
j = j - 1
j = 107
e = {'a': 1}; k = 'a'
e[k] = e[k] + 1
e = {'a': 2}; k = 'a'
g = False; j = -1
j, g = 0, False
g = False; j = 0
j = 2; k = 9
k *= j
j = 2; k = 18
l = 5; s = 4
l = s
l = 4; s = 4
m = 6; x = 5; z = 9
m = abs(x - z)
m = 4; x = 5; z = 9
a = 4; i = 1; j = [10, 20, 30, 40]; k = 1; n = 120
n += j[a - 1 - i] * k
a = 4; i = 1; j = [10, 20, 30, 40]; k = 1; n = 150
i = 1; r = {(1): 1}
r[i] += 1
i = 1; r = {1: 2}
l = [2, 2, 3, 7]; y = 2; z = 2
l[z] += y
l = [2, 2, 5, 7]; y = 2; z = 2
w = 2
w = w + 1
w = 3
e = {'b'}; s = 'e'
e.add(s)
e = {'e', 'b'}; s = 'e'
e = [2, 'not']; i = 1
i = e[0]
e = [2, 'not']; i = 2
t = ['1', '0', '1']
t.append('1')
t = ['1', '0', '1', '1']
g = -244; i = 2; j = 4; x = [[1, 2, 3, -1, -2], [-5, -8, -1, 2, -150], [1, 2, 3, -250, 100], [1, 1, 1, 1, 20]]
g += x[i][j]
g = -144; i = 2; j = 4; x = [[1, 2, 3, -1, -2], [-5, -8, -1, 2, -150], [1, 2, 3, -250, 100], [1, 1, 1, 1, 20]]
a = [2, 3, 1]; i = 1; j = 2
a[i] = a[j]
a = [2, 1, 1]; i = 1; j = 2
b = [-1, -1]; i = 11; r = {(1): 3, (2): -1, (3): -1, (4): -1, (5): 8, (6): 9, (7): -1, (8): 11, ( 9): -1, (10): -1}
r[i] = b[1]
b = [-1, -1]; i = 11; r = {1: 3, 2: -1, 3: -1, 4: -1, 5: 8, 6: 9, 7: -1, 8: 11, 9: -1, 10: -1, 11: -1}
o = 'abc'
s = s + o
o = 'abc'; s = 'WkKXJuiJLteabc'
v = 1; x = '1010'
x = str(v) + x
v = 1; x = '11010'
j = '2'; p = 1
p += int(j)
j = '2'; p = 3
n = 5
j = [None] * n
j = [None, None, None, None, None]; n = 5
j = 2; k = [4, 5, 0]
j = k[1] - 1
j = 4; k = [4, 5, 0]
e = [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 = 'ifa'
e[ord(s[i]) - ord('a')] += 1
e = [0, 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]; i = 0; s = 'ifa'
c = 'ab'; k = 1
c = c[k] + c[0:k] + c[k + 1:]
c = 'ba'; k = 1
a = [5]; b = 6
b += sum(a)
a = [5]; b = 11
a = '2'
a = int(a) - 1
a = 1
f = ['d', 'c']
f.sort()
f = ['c', 'd']
a = [20, 7, 8, 2, 5]
g = sorted(a)
a = [20, 7, 8, 2, 5]; g = [2, 5, 7, 8, 20]
l = 6; s = 'eededdeedede'; t = 'eededd'; x = 1
t = s[x:x + l]
l = 6; s = 'eededdeedede'; t = 'ededde'; x = 1
a = 0; q = 2
q = a
a = 0; q = 0
c = -470, -20; i = 7; x = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
c = x[i], x[i + 1]
c = (-20, 30); i = 7; x = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]
h = [1, 2, 3, 3]; i = 2; w = [1, 2]
w.append(h[i])
h = [1, 2, 3, 3]; i = 2; w = [1, 2, 3]
l = [3]; q = []
q = l
l = [3]; q = [3]
a = [[-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]; c = deque([3, 2, 1, 5, 9, 13, 14, 15, 16, 12, 8, 4]); l = 0; v = 0
a[v][l] = c[i]
a = [[2, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]; c = deque([3, 2, 1, 5, 9, 13, 14, 15, 16, 12, 8, 4]); i = True; l = 0; v = 0
i = 1; k = [1, '3', '1', '2']
k[i] = int(k[i])
i = 1; k = [1, 3, '1', '2']
p = 1; w = 2; y = {(1): set(), (2): set(), (3): set()}
y[p].add(w)
p = 1; w = 2; y = {1: {2}, 2: set(), 3: set()}
j = 0; k = 1; t = ['O......', '...O...', '....O..', '.......', 'OO.....', 'OO.....']; v = ''
v = t[j][:k]
j = 0; k = 1; t = ['O......', '...O...', '....O..', '.......', 'OO.....', 'OO.....']; v = 'O'
j = 1; s = 3; v = [1, 2, 3, 1, 6, 10]
s = s + v[j]
j = 1; s = 5; v = [1, 2, 3, 1, 6, 10]
i = 2; s = '{[(])}'; u = ['}', ']']
u.append(chr(ord(s[i]) + 1))
i = 2; s = '{[(])}'; u = ['}', ']', ')']
i = 0; j = 0
j = i + 1
i = 0; j = 1
i = 6; n = [2, 4, 3, 5, 2, 6, 4, 5]; q = 2
q = n[i - 1] if i > 0 else 10 ** 6
i = 6; n = [2, 4, 3, 5, 2, 6, 4, 5]; q = 6
q = 2; u = 7
u = min(u, q)
q = 2; u = 2
d = {(10): 1}; n = 20
d[n] = 1
d = {10: 1, 20: 1}; n = 20
i = 0; j = 2; l = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; r = [1]
r[i] += l[j][i]
i = 0; j = 2; l = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; r = [3]
d = 3; m = 6; p = 20
p = max(p - d, m)
d = 3; m = 6; p = 17
a = 5.551115123125783e-16
a /= 2
a = 2.7755575615628914e-16
t = 1; y = '2\n1\n2\n\n\n\n'
y = 2 ** t - 1
t = 1; y = 1
b = 2; s = 5
b = s
b = 5; s = 5
t = '1 abc'
r += t.split()[1]
r = 'FbkjYowgZvEwNabc'; t = '1 abc'
m = [58, 45, 33, 25]; u = [58, 45, 33, 25]; x = 103
m = [x] + u[2:]
m = [103, 33, 25]; u = [58, 45, 33, 25]; x = 103
a = 4; e = 6.0; y = 12
e = y / a
a = 4; e = 3.0; y = 12
c = 'g'; o = ['a']
o.append(c)
c = 'g'; o = ['a', 'g']
l = [1, 5.0, 10.0]; v = 10.0
l.append(v)
l = [1, 5.0, 10.0, 10.0]; v = 10.0
a = 105; i = 2; l = ['o', 'k', 'd', 'd', 'l', 'e', '-', 'O', 'u', 't', 'z']
a = ord(l[i])
a = 100; i = 2; l = ['o', 'k', 'd', 'd', 'l', 'e', '-', 'O', 'u', 't', 'z']
t = [1, 2, 3]
n = sum(t)
n = 6; t = [1, 2, 3]
b = [{0, 2}]; i = 1
b.append({i})
b = [{0, 2}, {1}]; i = 1
a = 'aa'; c = 13
c = len(a)
a = 'aa'; c = 2
b = [4]; m = [4]
b = m
b = [4]; m = [4]
k = [1, 2, 3, 4, 10, 20, 30]; x = 40
k.append(x)
k = [1, 2, 3, 4, 10, 20, 30, 40]; x = 40
b = 0; d = 7; q = 1; w = 2; x = [[5, 3], [7]]
d = x[b][q % w]
b = 0; d = 3; q = 1; w = 2; x = [[5, 3], [7]]
e = 1; l = 2; s = '99100'; t = ['9']
t.append(s[e:e + l])
e = 1; l = 2; s = '99100'; t = ['9', '91']
i = 18; l = [1, 2, 3, 6, 7, 14, 15, 30, 31, 62, 63, 126, 127, 254, 255, 510, 511, 1022]
l.append(l[i - 1] + 1)
i = 18; l = [1, 2, 3, 6, 7, 14, 15, 30, 31, 62, 63, 126, 127, 254, 255, 510, 511, 1022, 1023]
d = {2}; i = 'e'; t = {'a': 2, 'b': 2, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}
d.add(t[i])
d = {2, 3}; i = 'e'; t = {'a': 2, 'b': 2, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}
j = 7; x = [1, 3, 5]
j = int(x.pop())
j = 5; x = [1, 3]
i = 3; j = 4; m = 7; p = [3, 6, 1, 3, 1]; s = 0
s = (p[j] - p[i] + m) % m
i = 3; j = 4; m = 7; p = [3, 6, 1, 3, 1]; s = 5
i = 4; m = [1, 2, 1, 2]; v = [1, 2, 1, 2, 1, 1, 1, 3, 2, 1]; w = [1, 2, 1, 2, 1, 2, 3, 4, 1, 1]
m.append(max(w[i], v[i]))
i = 4; m = [1, 2, 1, 2, 1]; v = [1, 2, 1, 2, 1, 1, 1, 3, 2, 1]; w = [1, 2, 1, 2, 1, 2, 3, 4, 1, 1]