start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
k = 97; o = [1, 2, 2, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'a'
o[ord(x) - k] += 1
k = 97; o = [2, 2, 2, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'a'
e = 'hegf'; k = 'dhck'
e = k
e = 'dhck'; k = 'dhck'
i = 2; j = 60
j += i
i = 2; j = 62
i = 3; j = 2
j = i
i = 3; j = 3
d = {(95): 13}; e = 97; p = 25
d[e] = p
d = {95: 13, 97: 25}; e = 97; p = 25
i = 0; o = [[0]]; z = 0
o[i].append(z)
i = 0; o = [[0, 0]]; z = 0
a = 1.0000000000000002e-08; i = 1.0000000000000003e-09
a = i % 10
a = 1.0000000000000003e-09; i = 1.0000000000000003e-09
i = 4; y = 5
y = i
i = 4; y = 4
d = {(0): {1, 2}, (1): {0}, (2): {0, 3, 4}, (3): {2}, (4): {2}}; i = {3, 4}; m = 3; r = set()
i = d[m] & r
d = {0: {1, 2}, 1: {0}, 2: {0, 3, 4}, 3: {2}, 4: {2}}; i = set(); m = 3; r = set()
b = 16; n = '32768'
n = str(2 ** b)
b = 16; n = '65536'
u = 10; w = 2
u = max(u, w)
u = 10; w = 2
j = ['4\n', 'add hack\n', 'add hackerrank\n', 'find hac\n', 'find hak\n', '\n', '\n', '\n']
a = int(j[0])
a = 4; j = ['4\n', 'add hack\n', 'add hackerrank\n', 'find hac\n', 'find hak\n', '\n', '\n', '\n']
l = '6'; u = [[2, 3], [4, -1], [5, -1], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]; x = 3
u[x][0] = int(l)
l = '6'; u = [[2, 3], [4, -1], [5, -1], [6, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]]; x = 3
c = {'c': 1}; h = 'cdefghmnopqrstuvw'; x = 1
c[h[x]] = 1
c = {'c': 1, 'd': 1}; h = 'cdefghmnopqrstuvw'; x = 1
e = [(2, 3), (1, 'abc'), (1, 'xy')]
e.pop()
e = [(2, 3), (1, 'abc')]
c = '1'
n = int(c)
c = '1'; n = 1
j = 41; m = 7420738134810
m *= j
j = 41; m = 304250263527210
c = 0; o = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; r = 1; w = [0, 2, 1]
w[c] += o[r][c]
c = 0; o = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]; r = 1; w = [1, 2, 1]
n = 1
n = n + 1
n = 2
i = '5'; r = ['1', '2', '4']
r = r + [i]
i = '5'; r = ['1', '2', '4', '5']
r = 0; t = 1
t = r
r = 0; t = 0
g = [[], [2], [3, 1], [2], [], [], [], [], []]; x = 1; y = 8
g[x].append(y)
g = [[], [2, 8], [3, 1], [2], [], [], [], [], []]; x = 1; y = 8
q = [0, 100, 100, -100, 0, 0, 0]; s = 5; x = 100
q[s + 1] -= x
q = [0, 100, 100, -100, 0, 0, -100]; s = 5; x = 100
g = ['e', 'a', 'e', 'a']; i = 'b'
g.append(i)
g = ['e', 'a', 'e', 'a', 'b']; i = 'b'
r = 5
r += 1
r = 6
i = 0; k = [5, 4, 4, 2, 2, 8]; y = 2
k[i] = k[i] - y
i = 0; k = [3, 4, 4, 2, 2, 8]; y = 2
j = 49; k = 65
k += j
j = 49; k = 114
a = [999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 976, 975, 974, 973, 972, 971, 970, 969, 968]; i = 967
a += [i]
a = [999, 998, 997, 996, 995, 994, 993, 992, 991, 990, 976, 975, 974, 973, 972, 971, 970, 969, 968, 967]; i = 967
e = 'abc'; v = [(2, 3)]
v.append((2, len(e)))
e = 'abc'; v = [(2, 3), (2, 3)]
a = {(0): {2}, (1): set(), (2): {0, 3}, (3): {2}, (4): set(), (5): set()}; i = 2; o = 4
a[i - 1].add(o - 1)
a = {0: {2}, 1: {3}, 2: {0, 3}, 3: {2}, 4: set(), 5: set()}; i = 2; o = 4
a = [1, 2]; d = 1; q = 1
d = (a[q - 1] + a[q]) / 2
a = [1, 2]; d = 1.5; q = 1
q = '1111111111111111111111111'
q = '1' + q
q = '11111111111111111111111111'
i = 3; j = 5; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
k[i][j] = max(k[i - 1][j], k[i][j - 1])
i = 3; j = 5; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 0, 2], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]
h = 3; i = 4; y = 3
h += i % y
h = 4; i = 4; y = 3
i = 4; s = {(1): 1, (2): 2, (3): 1, (4): 4, (5): 5, (6): 6}; u = 3
s[i] = s[u]
i = 4; s = {1: 1, 2: 2, 3: 1, 4: 1, 5: 5, 6: 6}; u = 3
b = 'b'; h = 'eeeeeeee'
b = h[1]
b = 'e'; h = 'eeeeeeee'
c = 'A'; r = 'CA'
r += c
c = 'A'; r = 'CAA'
c = {'e': 0, 'c': 0, 'd': 0, 'b': 0, 'g': 0, 'f': 0, 'a': 0, 'h': 0}; i = 'i'
c[i] = 0
c = {'e': 0, 'c': 0, 'd': 0, 'b': 0, 'g': 0, 'f': 0, 'a': 0, 'h': 0, 'i': 0}; i = 'i'
d = '10'; x = 11
d += str(x)
d = '1011'; x = 11
l = [2, 2, 2, 2, 2, 2, 2]; p = 2; y = 2
y = y * 10 + l[p]
l = [2, 2, 2, 2, 2, 2, 2]; p = 2; y = 22
c = [[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]]; e = 8; i = 0; j = 0
e = sum(c[i + 2][j:j + 3])
c = [[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]]; e = 3; i = 0; j = 0
e = 2
e -= 1
e = 1
d = 300201; r = 249728
d += r
d = 549929; r = 249728
j = 'BABA'; m = 'A'
m = j[0]
j = 'BABA'; m = 'B'
j = 5; r = 5; t = 6; w = 5
j, t = t, r + t // w
j = 6; r = 5; t = 6; w = 5
m = 1; n = 2
m = n
m = 2; n = 2
i = 1; j = 0; l = [[0, inf, inf, inf, inf], [-3, -1, inf, inf, inf], [inf, 0, inf, inf, inf], [inf, inf, inf, inf, inf], [inf, inf, inf, inf, inf]]; v = -12
l[i + 1][j] = v
i = 1; j = 0; l = [[0, inf, inf, inf, inf], [-3, -1, inf, inf, inf], [-12, 0, inf, inf, inf], [inf, inf, inf, inf, inf], [inf, inf, inf, inf, inf]]; v = -12
k = [5, 10, 3]
k.sort()
k = [3, 5, 10]
d = ['84', '86', '95']
d = [int(a) for a in d]
d = [84, 86, 95]
t = 'e'; z = 'In the third category he included those Broth'
z += t
t = 'e'; z = 'In the third category he included those Brothe'
i = [-4]; n = 7
n = len(i)
i = [-4]; n = 1
c = '5 2 3 4 1'
c += ' '
c = '5 2 3 4 1 '
b = 1
b = b - 1
b = 0
j = 1; l = [4, 3, 7, 5, 6, 2]
l[j - 1] = l[j]
j = 1; l = [3, 3, 7, 5, 6, 2]
d = [-1, 1]
d = [(6 * e if e != -1 else e) for e in d]
d = [-1, 6]
h = 3; i = 5; l = [0, 1, 2]; n = 5; r = [1, 2, 3, 4, 5]
n = r[h] * (i - l[-1] - 1)
h = 3; i = 5; l = [0, 1, 2]; n = 8; r = [1, 2, 3, 4, 5]
c = [[3, 2, 1, 0], [1, 1, 0, 0], [3, 2, 1, 0], [2, 6, 10, 8], [0, 2, 2, 2], [1, 3, 7, 6]]; i = 2; j = 0; z = 4
z = z + c[i][j]
c = [[3, 2, 1, 0], [1, 1, 0, 0], [3, 2, 1, 0], [2, 6, 10, 8], [0, 2, 2, 2], [1, 3, 7, 6]]; i = 2; j = 0; z = 7
i = 3; j = 6
i = j
i = 6; j = 6
j = 'b'; p = 'a'
p = j
j = 'b'; p = 'b'
n = 10110
n += 1
n = 10111
d = 3; z = 14
z -= d
d = 3; z = 11
t = ['e', 'e', 'f', 'g', 'h', 'i']; u = 'd'
u = t[0]
t = ['e', 'e', 'f', 'g', 'h', 'i']; u = 'e'
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1}; t = 'f'
d[t] = d.get(t, 0) + 1
d = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1}; t = 'f'
s = 'In the third category he included tho'; t = 's'
s += t
s = 'In the third category he included thos'; t = 's'
s = {1, 2, 3, 5, 8, 13, 144, 21, 2584, 46368, 34, 17711, 55, 1597, 10946, 4181, 89, 987, 610, 233, 6765, ...}; x = 28657; y = 46368
s.add(x + y)
s = {1, 2, 3, 5, 8, 13, 144, 75025, 21, 2584, 46368, 34, 17711, 55, 1597, 10946, 4181, 89, 987, Ellipsis, 610, 233, 6765}; x = 28657; y = 46368
a = 'insert 1 10'; q = ['insert', '0', '5']
q = a.split()
a = 'insert 1 10'; q = ['insert', '1', '10']
a = 96669; c = 90
a += c * c
a = 104769; c = 90
n = 6; v = 'f'
v = chr(n + ord('a'))
n = 6; v = 'g'
c = 2; y = 1
c = c + y
c = 3; y = 1
r = [2, 3, 4]
r.sort(reverse=True)
r = [4, 3, 2]
a = 0.09375
a /= 2
a = 0.046875
j = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
j.append(0)
j = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
q = 0; x = 5
q = x % 4
q = 1; x = 5
i = 0; q = []
q.append(i)
i = 0; q = [0]
i = 3; u = [1, 3, 2, 4, 5, 6]
u[i] = u[i + 1]
i = 3; u = [1, 3, 2, 5, 5, 6]
g = 17; i = 30030
i *= g
g = 17; i = 510510
m = 0; n = 2; p = 3; w = [[1, 2, 0, 0, 0], [0, 0, 0, 0, 0]]
w[m][n] = p
m = 0; n = 2; p = 3; w = [[1, 2, 3, 0, 0], [0, 0, 0, 0, 0]]
a = 1; b = 1; c = 2; t = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [0, 2, 2], [1, 0, 0], [1, 0, 2], [1, 1, 1]]
t.append([a, b, c])
a = 1; b = 1; c = 2; t = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [0, 2, 2], [1, 0, 0], [1, 0, 2], [1, 1, 1], [1, 1, 2]]
a = ['h', 'i']; y = 4
y = len(a) - 1
a = ['h', 'i']; y = 1
i = 1; s = {(0): []}
s[i] = []
i = 1; s = {0: [], 1: []}
i = 2; n = 5; s = 'd-e------'; y = 'abcde'
s = '-'.join(y[n - (i + 1):].ljust(n, '-'))
i = 2; n = 5; s = 'c-d-e----'; y = 'abcde'
m = [1]; s = 3
m.append(s)
m = [1, 3]; s = 3
i = 3; l = [['c'], ['c', 'd'], ['c', 'c', 'd'], 'cdcd', 'd', 'dc', 'dcd', 'c', 'cd', 'd']; w = ['c', 'c', 'd', 'd']
l[i] = w
i = 3; l = [['c'], ['c', 'd'], ['c', 'c', 'd'], ['c', 'c', 'd', 'd'], 'd', 'dc', 'dcd', 'c', 'cd', 'd']; w = ['c', 'c', 'd', 'd']
j = [99, 123, 138, 155, 174, 114, 138, 153, 170, 189, 90, 114, 129, 146, 165, 105, 129, 144, 161, 180]; m = ['3', '1000']; y = 122
j.append(y % int(m[1]))
j = [99, 123, 138, 155, 174, 114, 138, 153, 170, 189, 90, 114, 129, 146, 165, 105, 129, 144, 161, 180, 122]; m = ['3', '1000']; y = 122
n = [3]; p = 0
p = len(n)
n = [3]; p = 1
a = 'd'; i = 1; s = ['d', 'c', 'b', 'a', 'b', 'c', 'd', 'e', 'f']
s[i] = a
a = 'd'; i = 1; s = ['d', 'd', 'b', 'a', 'b', 'c', 'd', 'e', 'f']
k = 1; u = 4
u = u + 2 * k + 1
k = 1; u = 7
t = 6
t += 1
t = 7
c = 3; k = 3
k += c
c = 3; k = 6
c = 'D'; t = -1
t += 1 if c == 'U' else -1
c = 'D'; t = -2
i = -1
i += 1
i = 0
f = 'AABCAAADA\n'; i = 0; j = 2; k = 3; q = 'A'
q = f[j + k * i]
f = 'AABCAAADA\n'; i = 0; j = 2; k = 3; q = 'B'
b = [1, 2, 3, 5, 8, 13]
b.append(b[-1] + b[-2])
b = [1, 2, 3, 5, 8, 13, 21]
g = 3; i = 6; j = [1, 2, 1, 2, 1, 2, None, None, 2, 1]
j[i] = g
g = 3; i = 6; j = [1, 2, 1, 2, 1, 2, 3, None, 2, 1]
i = 4, True; j = """2\n5\n999 1 1 1 0\n5\n0 1 1 1 999\n\n\n\n"""; v = {(5, False): 0, (6, False): 0, (7, False): 0}
v[i] = j
i = (4, True); j = '2\n5\n999 1 1 1 0\n5\n0 1 1 1 999\n\n\n\n'; v = {(5, False): 0, (6, False): 0, (7, False): 0, (4, True): '2\n5\n999 1 1 1 0\n5\n0 1 1 1 999\n\n\n\n'}
h = 5; s = 'k'; v = ['a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a']
v[h] = s
h = 5; s = 'k'; v = ['a', 'b', 'r', 'a', 'c', 'k', 'd', 'a', 'b', 'r', 'a']
k = 1.8554047620648454e-154
k /= 42
k = 4.4176303858686795e-156
d = 3; n = 4; u = 1
u = (d + n) // 2
d = 3; n = 4; u = 3
a = '1000000'
a = a + '0'
a = '10000000'
i = 3; j = 2; m = [[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]]; t = 3
t = sum(m[i + 2][:][j:j + 3])
i = 3; j = 2; m = [[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]]; t = 7