start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
m = [(0, 1)]; u = 1
y, u = m.pop()
m = []; u = 1; y = 0
q = [None, [2, 3], [4, -1], [5, -1], [-1, -1], [-1, -1]]; t = 3
t = q[t][0]
q = [None, [2, 3], [4, -1], [5, -1], [-1, -1], [-1, -1]]; t = 5
p = 0; y = 1
l = y - p
l = 1; p = 0; y = 1
i = 'a'
t.append(i)
i = 'a'; t = ['a']
i = 5; l = ['S', 'o', 'm', 'e', 'R']; s = 'SomeRandomStuff'
l.append(s[i])
i = 5; l = ['S', 'o', 'm', 'e', 'R', 'a']; s = 'SomeRandomStuff'
b = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1]; z = 2
b.append(z)
b = [1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2]; z = 2
l = ['3', '2']; q = 'xy'
q = l[1]
l = ['3', '2']; q = '2'
b = ['i', 'if']; x = 'ifa'
b.append(x)
b = ['i', 'if', 'ifa']; x = 'ifa'
k = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; p = 2; t = 5; v = 8
v = k[t] - k[p]
k = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; p = 2; t = 5; v = 17
g = [2, 2, 3, 3, 1]; i = 0
j = g[i]
g = [2, 2, 3, 3, 1]; i = 0; j = 2
o = '1 1 3 3 6 8 9 9 10 12 13 16 16 18 20 21 21 22 '; x = 23
o += str(x) + ' '
o = '1 1 3 3 6 8 9 9 10 12 13 16 16 18 20 21 21 22 23 '; x = 23
j = 66
j += i
i = -69; j = -3
s = [[4, 4]]
s.pop(0)
s = []
d = 1
d -= 1
d = 0
d = [[1, 'X', 0, 0], [0, 'X', 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; h = [0, 0]
d[h[0]][h[1]] = 'X'
d = [['X', 'X', 0, 0], [0, 'X', 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]; h = [0, 0]
f = [1, 3, 0, 0, 0]; i = 3; k = 4
f[i - 1] = k + 1
f = [1, 3, 5, 0, 0]; i = 3; k = 4
a = [90.0, 91.0, 85.0, 88.0, 86.0]; f = [[89.0, 90.0, 78.0, 93.0, 80.0]]
f += [a]
a = [90.0, 91.0, 85.0, 88.0, 86.0]; f = [[89.0, 90.0, 78.0, 93.0, 80.0], [90.0, 91.0, 85.0, 88.0, 86.0]]
d = {'fi': 1, 'af': 1, 'ai': 1, 'il': 1}; f = 'lu'
d[f] = d[f] + 1 if f in d else 1
d = {'fi': 1, 'af': 1, 'ai': 1, 'il': 1, 'lu': 1}; f = 'lu'
i = 1; j = 2; l = 'ifailuhkqq'; u = 'af'
u = ''.join(sorted(l[j:j + i + 1]))
i = 1; j = 2; l = 'ifailuhkqq'; u = 'ai'
x = 20
z = [0] * x
x = 20; z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
w = [[1]]
h = len(w)
h = 1; w = [[1]]
t = 2.5
t /= 2
t = 1.25
a = [108, 109]; h = 'n'
a.append(ord(h))
a = [108, 109, 110]; h = 'n'
g = 'd'; m = [{'c': 1, 'd': 1, 'e': 1}, {'a': 1, 'b': 1, 'c': 1}]
x += abs(m[0].get(g, 0) - m[1].get(g, 0))
g = 'd'; m = [{'c': 1, 'd': 1, 'e': 1}, {'a': 1, 'b': 1, 'c': 1}]; x = 57
r = 12; t = 4
r += t
r = 16; t = 4
j = 6
j -= 1
j = 5
b = 'ifailuhkqq'; i = 5; j = 10; s = 'uhkq'
s = b[i:j]
b = 'ifailuhkqq'; i = 5; j = 10; s = 'uhkqq'
b = 'haveaniceday\n\n\n\n'; f = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c']]; n = 4; w = 2
f += [[ch for ch in b[w * n:(w + 1) * n]]]
b = 'haveaniceday\n\n\n\n'; f = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 'a', 'y']]; n = 4; w = 2
m = {1, 2, 3, 4, 6}; s = 8
m.add(s)
m = {1, 2, 3, 4, 6, 8}; s = 8
c = 'B'; y = 'Y', 2
c = y[0]
c = 'Y'; y = ('Y', 2)
i = {(10): 1, (20): 1}; l = 20
i[l] += 1
i = {10: 1, 20: 2}; l = 20
x = 3062.2233390808105
x = x / 2
x = 1531.1116695404053
i = 5; j = 1
j = j + i
i = 5; j = 6
c = '4'; j = [False, {'1': [True, {}], '2': [True, {}], '4': [False, {}]}]
j = j[1][c]
c = '4'; j = [False, {}]
c = [2]; i = 2; n = 2
i = n - c[0]
c = [2]; i = 0; n = 2
k = 'cd'; q = ['c', 'cd', 'ccd', 'ccdd', 'd']
q.append(k)
k = 'cd'; q = ['c', 'cd', 'ccd', 'ccdd', 'd', 'cd']
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, 0, 0, 0, 0, 0, 0]; e = [1, 2, 3, 4, 4]; i = 0
c[e[i]] += 1
c = [0, 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, 0, 0, 0, 0, 0, 0]; e = [1, 2, 3, 4, 4]; i = 0
b = [0, 1]; d = [2, 3]; n = 0
b = [0] * d[n]
b = [0, 0]; d = [2, 3]; n = 0
h = 11; k = 1; s = [(0, 5)]
s.append((k, h))
h = 11; k = 1; s = [(0, 5), (1, 11)]
i = 3; j = 0; u = [1, 1, 1, 1, 1, 1]; x = 2
x += u[i + j]
i = 3; j = 0; u = [1, 1, 1, 1, 1, 1]; x = 3
h = 24; i = 2; u = 1; x = [[], [], [], []]
x[u - 1].append((i - 1, h))
h = 24; i = 2; u = 1; x = [[(1, 24)], [], [], []]
k = 2; y = deque([1, 2, 3])
y.rotate(k)
k = 2; y = deque([2, 3, 1])
i = 0; k = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
u = u - k[i]
i = 0; k = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; u = -56
k = 3; t = [3, '2']
k = int(t[1])
k = 2; t = [3, '2']
i = 4; m = [1, 2, 3, 1, 6, 10]; w = 3
w = m[i - 1]
i = 4; m = [1, 2, 3, 1, 6, 10]; w = 1
z = 3
z += 1
z = 4
i = 0; s = [1, 1, 2]
a[s[i]] = 1
a = {1: 1}; i = 0; s = [1, 1, 2]
d = 9; j = [1, 2, 3, 4]; l = 2; n = 3
d += abs(j[l] - j[n])
d = 10; j = [1, 2, 3, 4]; l = 2; n = 3
d = 13
d += 1
d = 14
e = 1; i = 10; j = 9; s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 0]
j = s[i - e] + e
e = 1; i = 10; j = 10; s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 0]
l = 4; p = [[2, 3]]; r = -1
p.append([l, r])
l = 4; p = [[2, 3], [4, -1]]; r = -1
i = 2; l = ['+', '4']; s = '+4.54'
l.append(s[i])
i = 2; l = ['+', '4', '.']; s = '+4.54'
l = 1
o = l * (l - 1) // 2
l = 1; o = 0
i = 1; q = [2, 5, 1, 3, 4]; y = {(2): 1, (5): 2}
y.setdefault(q[i], 0)
i = 1; q = [2, 5, 1, 3, 4]; y = {2: 1, 5: 2}
c = 'h'; g = {}; r = {}
r = r.setdefault(c, {})
c = 'h'; g = {}; r = {}
p = [21, 28, 26, 5]; u = 4; x = 1, 3
u = bin(p[x[0]] | p[x[1]]).count('1')
p = [21, 28, 26, 5]; u = 4; x = (1, 3)
e = ['i love to', 'love to dance', 'i like to', 'like to dance', 'to dance i', 'like to play']; z = 'to play chess'
e.append(z)
e = ['i love to', 'love to dance', 'i like to', 'like to dance', 'to dance i', 'like to play', 'to play chess']; z = 'to play chess'
k = 671688302; p = 560062230; s = 1000000007
k = k * p % s
k = 649722745; p = 560062230; s = 1000000007
i = 1; p = [1, 1, 1]
p.append(i)
i = 1; p = [1, 1, 1, 1]
a = 5; h = 3
h = a
a = 5; h = 5
u = [1, 2, 3, 4, 5, 6]; x = [1, 5, 4, 3, 2, 6]
c = [(0) for x in range(len(u))]
c = [0, 0, 0, 0, 0, 0]; u = [1, 2, 3, 4, 5, 6]; x = [1, 5, 4, 3, 2, 6]
s = 1
s += 1
s = 2
p = 2; w = 3
w *= p
p = 2; w = 6
n = {(0): 1}; v = 1
n[v] = 1
n = {0: 1, 1: 1}; v = 1
i = '{'
q.append(i)
i = '{'; q = ['{']
e = [5, 6]; h = [[1, 2], [2, 3], [2, 5], [4, 5]]
h.append(e)
e = [5, 6]; h = [[1, 2], [2, 3], [2, 5], [4, 5], [5, 6]]
i = 0; j = 2; k = 1
i = j - k
i = 1; j = 2; k = 1
a = [[0, 0, 'ab'], [6, 1, 'cd'], [0, 2, 'ef'], [6, 3, 'gh'], [4, 10, 'that' ], [3, 11, 'be'], [0, 12, 'to']]; i = 13; m = 1; s = 'be'
a.append([m, i, s])
a = [[0, 0, 'ab'], [6, 1, 'cd'], [0, 2, 'ef'], [6, 3, 'gh'], [4, 10, 'that'], [3, 11, 'be'], [0, 12, 'to'], [1, 13, 'be']]; i = 13; m = 1; s = 'be'
k = ['append', '9']; w = [5, 10]
getattr(w, k[0])(int(k[1]))
k = ['append', '9']; w = [5, 10, 9]
q = [1, 1]; y = [1, 1]
q = q[y[0]:]
q = [1]; y = [1, 1]
g = 36; s = 42
g = s
g = 42; s = 42
h = 7; s = 8
h = s
h = 8; s = 8
n = 1.4901161193847656e-07
n /= 2
n = 7.450580596923828e-08
c = ['print']; p = 'pop'
c = p.split()
c = ['pop']; p = 'pop'
p = [2, 3]; v = 1
v = p[1]
p = [2, 3]; v = 3
i = 1; m = [(1, 4), (2, 5), (3, 6)]; q = [1]
q.append(m[i][0])
i = 1; m = [(1, 4), (2, 5), (3, 6)]; q = [1, 2]
j = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
i = j[0]
i = 3; j = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
k = [0, 2, 2, 3, 2, 1]; t = 4
k[t] += 1
k = [0, 2, 2, 3, 3, 1]; t = 4
c = [4, 4, 4]; n = 1
n = min(c[1], c[2])
c = [4, 4, 4]; n = 4
x = 1
d.add(x)
d = {1}; x = 1
a = 12; c = 4; i = 1; l = [1, 2, 3, 4]; v = 1
a += l[c - 1 - i] * v
a = 15; c = 4; i = 1; l = [1, 2, 3, 4]; v = 1
b = [['1', '1', '0', '0'], ['0', '1', '1', '0'], ['0', '0', '1', '0'], ['1', '0', '0', '0']]; y = 3
y = len(b) - 1
b = [['1', '1', '0', '0'], ['0', '1', '1', '0'], ['0', '0', '1', '0'], ['1', '0', '0', '0']]; y = 3
m = ['1', '3']
u = len(m)
m = ['1', '3']; u = 2
a = [0]; f = 2
a.append(f)
a = [0, 2]; f = 2
f = [{-1}, {1, -1}]; i = {-1}; k = 1
i = f[k].copy()
f = [{-1}, {1, -1}]; i = {1, -1}; k = 1
n = 'xy'; q = ''
q += n
n = 'xy'; q = 'xy'
a = '1 20'; b = [1, 97]
b = list(map(int, a.split()))
a = '1 20'; b = [1, 20]
j = 7; n = 5; x = 3; y = 2
j += min(n - x - 1, n - y - 1)
j = 8; n = 5; x = 3; y = 2
a = [3, 4, 7, 6, 5]; t = [5, 7, 3]
a = t
a = [5, 7, 3]; t = [5, 7, 3]
e = -144; i = 3; j = 0; m = 5; r = [[1, 2, 3, -1, -2], [-5, -8, -1, 2, -150], [1, 2, 3, -250, 100], [1, 1, 1, 1, 20]]
e += r[i][m - 1 - j]
e = -124; i = 3; j = 0; m = 5; r = [[1, 2, 3, -1, -2], [-5, -8, -1, 2, -150], [1, 2, 3, -250, 100], [1, 1, 1, 1, 20]]
k = 0; o = [None, 1, None, None]; p = 2
o[p] = p - k
k = 0; o = [None, 1, 2, None]; p = 2
i = 'b'; x = {'a': 1, 'b': 1, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}
x[i] += 1
i = 'b'; x = {'a': 1, 'b': 2, 'c': 2, 'd': 2, 'e': 3, 'f': 2, 'g': 2, 'h': 2}
g = 'b'; i = 2; l = 1; r = 'abcd'
g = ''.join(sorted(r[i:i + l]))
g = 'c'; i = 2; l = 1; r = 'abcd'
i = 73
i += 1
i = 74
i = 5; u = [0, 1, 3, 0, 4, 1, 7, 0, 8]; v = 7
v ^= u[i]
i = 5; u = [0, 1, 3, 0, 4, 1, 7, 0, 8]; v = 6
x = 4
x = x - 1
x = 3
j = 7; v = 8
j = v
j = 8; v = 8
o = ['31415926535897932384626433832795', '1', '3', '10']; v = '3'
o.append(v)
o = ['31415926535897932384626433832795', '1', '3', '10', '3']; v = '3'
a = 2; c = 'e'; n = 5; q = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
c = '-'.join(q[a + 1:n])
a = 2; c = 'd-e'; n = 5; q = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
i = 2; n = ['2', '3', '3', '4', '4']; t = [2, 3, 4, 5]
n.append(str(t[i + 1]))
i = 2; n = ['2', '3', '3', '4', '4', '5']; t = [2, 3, 4, 5]