start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
j = 3; o = ['a', 'i']; s = 'ifailuhkqq'; t = 2
o = sorted(s[j:j + t])
j = 3; o = ['i', 'l']; s = 'ifailuhkqq'; t = 2
b = 7; c = 80
c += b * b
b = 7; c = 129
t = 'bcdef'
k[t] = 1
k = {'bcdef': 1}; t = 'bcdef'
a = [4, 2, 4, 6, 1]; c = 17; i = 1
c -= a[i]
a = [4, 2, 4, 6, 1]; c = 15; i = 1
j = 1; t = [20, 7, 8, 2, 5]
v = int(t[j])
j = 1; t = [20, 7, 8, 2, 5]; v = 7
n = 5
n = n - 1
n = 4
d = {'A': False, 'B': False, 'C': False}; i = 68
d[chr(i)] = False
d = {'A': False, 'B': False, 'C': False, 'D': False}; i = 68
e = 1; f = [['3', '4', '8', '12'], ['2', '.', '.', '.'], ['.', '.', '.', '.'], [ '.', '9', '13', '14']]; j = ['2', '1', '5']; q = 1; x = 2
f[q + 1][x] = j[e]
e = 1; f = [['3', '4', '8', '12'], ['2', '.', '.', '.'], ['.', '.', '1', '.'], ['.', '9', '13', '14']]; j = ['2', '1', '5']; q = 1; x = 2
b = [0, 1, 2, 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]; l = 0
b[l] += 1
b = [1, 1, 2, 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]; l = 0
a = [0, 0, 3, 0, 0]; f = 3; x = 1
a[f - x] += 1
a = [0, 0, 4, 0, 0]; f = 3; x = 1
h = 2; s = 3; v = 2; z = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
s += z[h][v]
h = 2; s = 6; v = 2; z = [[1, 3, 1], [2, 1, 2], [3, 3, 3]]
c = 2; h = [[1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0]]; m = 0; n = 6; y = 0
y = h[m][n - c] if n - c >= 0 else 0
c = 2; h = [[1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0], [1, 0, 1, 0, 0, 0]]; m = 0; n = 6; y = 0
l = [0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
l = [(0) for _i in range(26)]
l = [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]
g = 5; u = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 10)]); y = 'CANDY'
u[y] += g
g = 5; u = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 15)]); y = 'CANDY'
h = 4; i = 1; j = 5; x = [1, 3, 2, 6, 1, 2]
h = x[i] + x[j]
h = 5; i = 1; j = 5; x = [1, 3, 2, 6, 1, 2]
h = 2; i = 1; p = [10, 11, 7, 6]; r = 2; t = 2; z = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 7, 11, 12], [13, 14, 15, 16]]
z[r][h] = p[(i + t) % len(p)]
h = 2; i = 1; p = [10, 11, 7, 6]; r = 2; t = 2; z = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 7, 6, 12], [13, 14, 15, 16]]
t = ['CANDY', '5']; y = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 10)])
y[' '.join(t[:len(t) - 1])] = y[' '.join(t[:len(t) - 1])] + int(t[len(t) - 1])
t = ['CANDY', '5']; y = OrderedDict([('BANANA FRIES', 12), ('POTATO CHIPS', 30), ('APPLE JUICE', 20), ('CANDY', 15)])
n = 5; r = 1.5; x = 3.5
x = n / r + 1
n = 5; r = 1.5; x = 4.333333333333334
b = 2; j = 18; m = -13.0; y = 16.0
m = j - b * y
b = 2; j = 18; m = -14.0; y = 16.0
i = 2; q = 0; u = 1
u = i - q
i = 2; q = 0; u = 2
d = 'aba'; w = 'aba'
e = min(len(w), len(d))
d = 'aba'; e = 3; w = 'aba'
d = 630; f = {315, -1572, -786}
f.add(d)
d = 630; f = {630, 315, -1572, -786}
i = 1; k = [[1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]
k[i][0] = 1
i = 1; k = [[1, 0, 0, 0, 0], [1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]
t = [3, 4]; v = 1
v = t.pop()
t = [3]; v = 4
s = '0'
x += '0' if s == '1' else '1'
s = '0'; x = 'cffO8o3nXf1'
i = 2; k = [10, 8, -12]; q = [11, 5]
q.append(k[i])
i = 2; k = [10, 8, -12]; q = [11, 5, -12]
e = [3, 10, 2, 9]; i = 1; s = 24
n = s - e[i]
e = [3, 10, 2, 9]; i = 1; n = 14; s = 24
i = 17; w = ['1', '1st', '2', '2nd', '3', '3rd', '4', '4th', '13th', '14', '14th', '15', '15th', '16', '16th']
w.append(str(i))
i = 17; w = ['1', '1st', '2', '2nd', '3', '3rd', '4', '4th', '13th', '14', '14th', '15', '15th', '16', '16th', '17']
a = 2; j = 3; l = [1, 1, 2, 3, 3]
l[j] = a
a = 2; j = 3; l = [1, 1, 2, 2, 3]
i = '1111111111111110000111011011'
i = i + '1'
i = '11111111111111100001110110111'
h = 2; z = 3
z = h
h = 2; z = 2
a = 3; d = 2; s = [[(3, 1)], [(3, 0), (1, 2)], [(1, 1)], [], []]; v = 1
s[v].append((d, a))
a = 3; d = 2; s = [[(3, 1)], [(3, 0), (1, 2), (2, 3)], [(1, 1)], [], []]; v = 1
f = {('cc', 0), ('cab', 0), ('cac ', 0), ('cb ', 0)}; x = {('b ', 1), ('c', 1), ('ab', 0), ('ac ', 0)}
x = f
f = {('cb ', 0), ('cac ', 0), ('cc', 0), ('cab', 0)}; x = {('cb ', 0), ('cac ', 0), ('cc', 0), ('cab', 0)}
c = {'a', 'b'}; p = 2; s = 'abba'
c.add(s[p])
c = {'a', 'b'}; p = 2; s = 'abba'
e = {(0, 1), (0, 0), (0, 2)}; i = 0; j = 3
e.add((i, j))
e = {(0, 1), (0, 3), (0, 0), (0, 2)}; i = 0; j = 3
m = '3\n'; x = [1, 2]
x.append(int(m))
m = '3\n'; x = [1, 2, 3]
e = 4.482421875; r = 2; t = 0.03125
e *= t % r + 1
e = 4.62249755859375; r = 2; t = 0.03125
z = 'give'
l[z] = 1
l = {'give': 1}; z = 'give'
a = 9992; x = 999
a = x + 1
a = 1000; x = 999
m = '11111111111111111111111111111011'; y = ['1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '1', '1']
m = ''.join(y)
m = '1111111111110111111'; y = ['1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '1', '1']
i = []; w = ['give', 'me', 'one', 'grand', 'today', 'night']
w = i[0] if i else None
i = []; w = None
d = """10\n2\n4\n2\n6\n1\n7\n8\n9\n2\n1\n\n\n\n"""; n = 10
d = [1] * n
d = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; n = 10
p = ['07', '05', '45PM']
g = int(p[0])
g = 7; p = ['07', '05', '45PM']
u = ['HACK', '2']
w = u[0]
u = ['HACK', '2']; w = 'HACK'
f = {'a': 1, 'b': 1, 'c': 1}; j = 'b'; z = 3
z += f[j]
f = {'a': 1, 'b': 1, 'c': 1}; j = 'b'; z = 4
m = {'bcdef': 1}; s = 'abcdefg'
m[s] = 1
m = {'bcdef': 1, 'abcdefg': 1}; s = 'abcdefg'
a = 0.00390625; n = 4.731401614844799; s = 2
n *= a % s + 1
a = 0.00390625; n = 4.7498836524027865; s = 2
c = 15; f = [8, 5, 2, 1]; i = 1
c += 2 * f[i]
c = 25; f = [8, 5, 2, 1]; i = 1
c = 'B'; d = {'A': 2, 'B': 1, 'C': 1}
d[c] += 1
c = 'B'; d = {'A': 2, 'B': 2, 'C': 1}
b = 2; v = 0; x = 1
v = (x ^ lastAns) % b
b = 2; c = -66; v = 1; x = 1
n = 2
q = [(0) for _ in range(n)]
n = 2; q = [0, 0]
j = 9; m = 72; n = 9
m = n * j
j = 9; m = 81; n = 9
c = 11; g = 6; k = 6
c = g + k
c = 12; g = 6; k = 6
d = '1226800'
v.append(int(d))
d = '1226800'; v = [1226800]
n = 5; z = b'5 3\n1 2 100\n2 5 100\n3 4 100\n\n\n\n'
z = [0] * n
n = 5; z = [0, 0, 0, 0, 0]
o = deque([4, 3, 2, 1, 3]); t = 4
t = o.popleft()
o = deque([3, 2, 1, 3]); t = 4
c = 4; d = [['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', '.', '.', 'O', 'O'], ['O', 'O', 'O', '.', 'O', 'O'], ['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O', 'O']]; r = 2
d[r + 1][c] = '.'
c = 4; d = [['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', '.', '.', 'O', 'O'], ['O', 'O', 'O', '.', 'O', 'O'], ['O', 'O', 'O', 'O', '.', 'O'], ['O', 'O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O', 'O']]; r = 2
i = 2; q = 10
q += i
i = 2; q = 12
b = 11
b += 1
b = 12
n = '0'
x = int(n)
n = '0'; x = 0
t = 17; x = 100
q = 2 * x / t
q = 11.764705882352942; t = 17; x = 100
d = 'ac '; x = ''
x = d[2:]
d = 'ac '; x = ' '
q = '4'; u = [6, 2, 2, 1, 3, 1, 4, 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]
u[int(q)] += 1
q = '4'; u = [6, 2, 2, 1, 4, 1, 4, 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]
x = '100'
x = '0' * (32 - len(x)) + x
x = '00000000000000000000000000000100'
g = 600; k = 100; t = 2
g += t * k
g = 800; k = 100; t = 2
f = 3
f += 1
f = 4
i = 1; o = 9; z = 1
o = i + z
i = 1; o = 2; z = 1
i = 'A'; y = {'A': 2, 'B': 2, 'C': 1}
y.update({i: 1})
i = 'A'; y = {'A': 1, 'B': 2, 'C': 1}
e = '22'; i = 0; r = '+*'; v = [22, 79, 21]
e = e + r[i] + str(v[i + 1])
e = '22+79'; i = 0; r = '+*'; v = [22, 79, 21]
u = 12; w = 'BANANA FRIES'
c[w] = u
c = {'BANANA FRIES': 12}; u = 12; w = 'BANANA FRIES'
e = dtype('int64')
l = e.type
e = dtype('int64'); l = <class 'numpy.int64'>
l = [1, 2, 3]
l = l[::-1]
l = [3, 2, 1]
o = 1.200000000000001e-72
o = o / 10
o = 1.2000000000000011e-73
a = 'abcdefghijklmnopqrstuvwxyz'; i = 'i'; k = 2; w = 'o'
w += a[a.index(i) + k]
a = 'abcdefghijklmnopqrstuvwxyz'; i = 'i'; k = 2; w = 'ok'
i = 0; y = [3, 2, 1, 3]
a = y[i]
a = 3; i = 0; y = [3, 2, 1, 3]
d = 'k'; g = 5; i = 2; s = 'kkkkkkz'; y = 1
y = s[i + 1:g].count(d)
d = 'k'; g = 5; i = 2; s = 'kkkkkkz'; y = 2
i = 'Q'; t = {'D': 2, 'F': 1}
t[i] = 1
i = 'Q'; t = {'D': 2, 'F': 1, 'Q': 1}
m = '00'
m += '0'
m = '000'
c = [0, 1]
t = set(c)
c = [0, 1]; t = {0, 1}
l = 10
g += l
g = 80; l = 10
e = 2; u = 3
e = u
e = 3; u = 3
h = array([[0, 0], [2, 3]]); w = 139683991227968, 139684453479680; y = set()
y.add(w)
h = array([[0, 0], [2, 3]]); w = (139683991227968, 139684453479680); y = {(139683991227968, 139684453479680)}
i = 5; n = 1; w = 5
i = n + i % w
i = 1; n = 1; w = 5
g = [2, 2]; i = 1; s = 2
s += g[i]
g = [2, 2]; i = 1; s = 4
a = 6; r = 6; w = 7
w = r + a
a = 6; r = 6; w = 12
t = 832040; w = [0, 1, 1, 2, 3, 5, 8, 13, 21, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229]
w.append(t)
t = 832040; w = [0, 1, 1, 2, 3, 5, 8, 13, 21, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040]
i = 1; j = 2; k = 0; o = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2]]
o.append([i, j, k])
i = 1; j = 2; k = 0; o = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2], [1, 2, 0]]
i = 3; k = ''; s = '999100010001'
k = s[i + 1:]
i = 3; k = '00010001'; s = '999100010001'
d = 3; e = [[], [2, 3], [1], [1]]; k = 2
e[k].append(d)
d = 3; e = [[], [2, 3], [1, 3], [1]]; k = 2
a = 'a'; b = '1'; l = ['r', '1']
a, b = [xx for xx in l]
a = 'r'; b = '1'; l = ['r', '1']
i = 1; v = [1, 4, 2, 3]
v[i] = v[i + 1]
i = 1; v = [1, 2, 2, 3]
i = 3; q = [2, 1, 3, 5, 4]
q[i], q[i + 1] = q[i + 1], q[i]
i = 3; q = [2, 1, 3, 4, 5]
j = 4; k = 'e-d-c-d-e-'; s = 'abcdefghijklmnopqrstuvwxyz'
k += s[j] + '-'
j = 4; k = 'e-d-c-d-e-e-'; s = 'abcdefghijklmnopqrstuvwxyz'
i = 13; j = 12; x = 6
x = i ^ j
i = 13; j = 12; x = 1
b = 2; n = 7
b = n
b = 7; n = 7
i = 2
i += 2
i = 4
b = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 1; j = 2; k = [2, 5, 3, 6]
b[j] += b[j - k[i - 1]]
b = [1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]; i = 1; j = 2; k = [2, 5, 3, 6]
i = 7
i = i + 1
i = 8
a = 1.5; l = 1.0
l += a
a = 1.5; l = 2.5
i = 2
y = i
i = 2; y = 2