start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
i = 1; o = [[False, False, False], [False, False]]
o[i].append(False)
i = 1; o = [[False, False, False], [False, False, False]]
e = 1, 2, 3; k = 5, 2, 2
e = k
e = (5, 2, 2); k = (5, 2, 2)
e = {1, 2, 3, 6, 8, 10, 11, 21, 55}; s = {1, 2, 3, 4, 5, 6, 7, 8, 9}
z = s.intersection(e)
e = {1, 2, 3, 6, 8, 10, 11, 21, 55}; s = {1, 2, 3, 4, 5, 6, 7, 8, 9}; z = {1, 2, 3, 6, 8}
c = 8; i = 10; q = 'ifailuhkqq'; u = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'hk', 'hkq', 'hkqq', 'k', 'kq', 'kqq', 'q']
u.append(q[c:i])
c = 8; i = 10; q = 'ifailuhkqq'; u = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ifailuh', 'hk', 'hkq', 'hkqq', 'k', 'kq', 'kqq', 'q', 'qq']
j = [0, 1]; x = 2
j.append(x)
j = [0, 1, 2]; x = 2
h = '555555'
h = h + '3'
h = '5555553'
s = 2; y = [7, 4]
y.append(s)
s = 2; y = [7, 4, 2]
m = 1; n = 3; s = 3; u = 6
u = (s - 1 + m) % n
m = 1; n = 3; s = 3; u = 0
i = 2; q = 3; v = 2; y = 2
q = max(v, y, i)
i = 2; q = 2; v = 2; y = 2
h = [0, 4, 5, 5, 6, 7, 7, 8]; i = 5; j = 8; s = 1
s = h[j - 1] - h[i - 1]
h = [0, 4, 5, 5, 6, 7, 7, 8]; i = 5; j = 8; s = 2
b = [7, 5, 45]
b[0] = b[0] + 12
b = [19, 5, 45]
i = 7; s = 'abccddde-'; v = 12
v = ord(s[i]) - ord('a') + 1
i = 7; s = 'abccddde-'; v = 5
c = [76, 76, 95, 96, 79, 74, 97, 97]; k = 90
c.append(k)
c = [76, 76, 95, 96, 79, 74, 97, 97, 90]; k = 90
i = 1; s = [0, 2, 2]; z = 1
z += s[i]
i = 1; s = [0, 2, 2]; z = 3
s = 1
m = s
m = 1; s = 1
i = 3; k = 4; m = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; z = 25
z = z - (m[i] - m[i - 1]) * (k - 1) + (m[i + k - 1] - m[i])
i = 3; k = 4; m = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; z = 48
a = {(2, 1)}; i = 1; j = 0
a.add((i + 1, j))
a = {(2, 0), (2, 1)}; i = 1; j = 0
c = [10, 20, 30, 100, 200, 300, 1000]; e = 20; i = 1; k = 3
e = c[i + k - 1] - c[i]
c = [10, 20, 30, 100, 200, 300, 1000]; e = 80; i = 1; k = 3
l = [0, 5, 0]; p = 1
l[p] += 2
l = [0, 7, 0]; p = 1
e = 1000000005; s = 4000000010
s += e
e = 1000000005; s = 5000000015
a = 2; b = 2748779069440; r = 2748779069502
r += a ^ b
a = 2; b = 2748779069440; r = 5497558138944
g = 73; q = 73
g += 5 - q % 5
g = 75; q = 73
i = 2; n = 96
n += i
i = 2; n = 98
i = 2; k = 'bc'; l = 2; s = 'abcd'
k = list(s[i:i + l])
i = 2; k = ['c', 'd']; l = 2; s = 'abcd'
i = 3; q = [1, 2, 3, 5, 4]
q[i] = q[i + 1]
i = 3; q = [1, 2, 3, 4, 4]
j = [(0, 1)]; s = 1, 2
j.append(s)
j = [(0, 1), (1, 2)]; s = (1, 2)
g = [2, 2, 1]; j = 0; m = 3
g[j + 1] = m
g = [2, 3, 1]; j = 0; m = 3
d = {'a': 2, 'b': 1}; i = 'b'
d[i] += 1
d = {'a': 2, 'b': 2}; i = 'b'
e = 0; n = {(0): 2, (1): 2}
n[e] = n[e] + 1
e = 0; n = {0: 3, 1: 2}
w = 1; z = [[1, 0], [3, 1], [5, 2], [7, 3], [9, 4]]
w = z[w - 1][1]
w = 0; z = [[1, 0], [3, 1], [5, 2], [7, 3], [9, 4]]
f = ['e', 'd', 'c', 'd', 'e']; r = 'e-d-e'
r = '-'.join(f)
f = ['e', 'd', 'c', 'd', 'e']; r = 'e-d-c-d-e'
k = 10; x = '94'
k = int(x)
k = 94; x = '94'
r = [91, 94, 97]; t = [76, 76, 95, 96, 79, 74, 97]
t.append(r[2])
r = [91, 94, 97]; t = [76, 76, 95, 96, 79, 74, 97, 97]
l = [5, 4, 3, 2]
l.sort()
l = [2, 3, 4, 5]
k = 1; l = 3; n = ['a', 'b', 'd', 'c']
n[k], n[l] = n[l], n[k]
k = 1; l = 3; n = ['a', 'c', 'd', 'b']
f = 987; s = 1597
f = s
f = 1597; s = 1597
i = 'f'; x = {'a': 2, 'b': 2, 'c': 2, 'd': 2, 'e': 2, 'f': 1, 'g': 1}
x[i] = x[i] + 1
i = 'f'; x = {'a': 2, 'b': 2, 'c': 2, 'd': 2, 'e': 2, 'f': 2, 'g': 1}
i = 3; z = 1
z = i
i = 3; z = 3
a = 5; d = 2; p = 3
p = a + d
a = 5; d = 2; p = 7
i = 6; s = 'hackerhappy'; t = 'hackerrank'
g = len(s) + len(t) - 2 * i
g = 9; i = 6; s = 'hackerhappy'; t = 'hackerrank'
h = 42
h += 1
h = 43
e = 2
e = e + 1
e = 3
e = 500; h = 3; i = 3; x = [10, 20, 30, 100, 200, 300, 1000]
e += x[i + h]
e = 1500; h = 3; i = 3; x = [10, 20, 30, 100, 200, 300, 1000]
i = 0; k = 1; s = [4, 2]
y = s[i:i + k + 1]
i = 0; k = 1; s = [4, 2]; y = [4, 2]
j = 3; q = 'e-d-c-b-a'; s = 'edcba'
q += '-' + s[j]
j = 3; q = 'e-d-c-b-a-b'; s = 'edcba'
a = 1.4300837068799992; b = 0.28601674137599986; f = 5
a = a % f + b
a = 1.716100448255999; b = 0.28601674137599986; f = 5
c = 3; i = 5; l = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ailu', 'ailuh', 'ailuhk', 'ailuhkq', 'ailuhkqq', 'i']; u = 'ifailuhkqq'
l.append(u[c:i])
c = 3; i = 5; l = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'ailu', 'ailuh', 'ailuhk', 'ailuhkq', 'ailuhkqq', 'i', 'il']; u = 'ifailuhkqq'
i = 39; s = 10; t = 2; y = 5497558138944
y = y + (t ^ s << i)
i = 39; s = 10; t = 2; y = 10995116277826
d = [['a', 1]]; i = 0; m = ['m', 'n']
d.append([m[i], 1])
d = [['a', 1], ['m', 1]]; i = 0; m = ['m', 'n']
i = 6; t = 'hackerrank'
a = len(t) - i
a = 4; i = 6; t = 'hackerrank'
d = 'bc'; i = 2; l = 2; t = 'abcd'
d = list(t[i:i + l])
d = ['c', 'd']; i = 2; l = 2; t = 'abcd'
b = ['w', 'e', 'p', 'r', 'o', 'm', 't', 'l', 'y', 'j', 'i', 'q', 'v', 'b', 'c', 'k', 's', 'f', 'h']; i = 'x'
b.append(i)
b = ['w', 'e', 'p', 'r', 'o', 'm', 't', 'l', 'y', 'j', 'i', 'q', 'v', 'b', 'c', 'k', 's', 'f', 'h', 'x']; i = 'x'
u = [1, 97]
g = u[1]
g = 97; u = [1, 97]
c = 'a'
h[c] = h.get(c, 0) + 1
c = 'a'; h = {'a': 1}
e = [2, 4, 3, 5, 2, 6, 4, 5]; i = 5; z = [1, 2, 1, 2, 1, 1, 1, 1]
z[i] = z[i] if e[i] <= e[i - 1] else z[i - 1] + 1
e = [2, 4, 3, 5, 2, 6, 4, 5]; i = 5; z = [1, 2, 1, 2, 1, 2, 1, 1]
n = 2
m = [(0) for j in range(2 * n)]
m = [0, 0, 0, 0]; n = 2
a = 11; b = 22; n = 30
n = a ^ b
a = 11; b = 22; n = 29
z = [(2, -2, ('c', 2)), (3, -1, ('b', 3)), (2, 0, ('a', 2))]
o = z[0][0]
o = 2; z = [(2, -2, ('c', 2)), (3, -1, ('b', 3)), (2, 0, ('a', 2))]
t = 1; v = 0; w = -1
v = t - w - 1
t = 1; v = 1; w = -1
f = 1; r = 0
f, r = r, f
f = 0; r = 1
i = 100; s = 100
s += i
i = 100; s = 200
a = [False, False, True, True, False, True, True, True, True, True, True, True, True, True, True, True]; n = 6
a[n] = False
a = [False, False, True, True, False, True, False, True, True, True, True, True, True, True, True, True]; n = 6
c = 0.19954648526077098; p = 8.399092970521542
c = p / 42
c = 0.1999784040600367; p = 8.399092970521542
i = 3; s = 'abccddd'
s = s[:i - 1] + s[i + 1:]
i = 3; s = 'abddd'
i = 3; u = 6
u -= i
i = 3; u = 3
j = {'a': 2, 'b': 2, 'c': 1, 'd': 1}
u = list(j.values())
j = {'a': 2, 'b': 2, 'c': 1, 'd': 1}; u = [2, 2, 1, 1]
e = -357920; g = [-3916237, -357920, -20, -3620601, 7374819, -7330761, 30, 6246457, - 6461594, 266854, -520, -470]; i = 3
e = g[i]
e = -3620601; g = [-3916237, -357920, -20, -3620601, 7374819, -7330761, 30, 6246457, -6461594, 266854, -520, -470]; i = 3
m = 3; o = 2; s = 1
m, o, s = 1, 1, 0
m = 1; o = 1; s = 0
h = 7; l = 0; o = [{(5): 1}, {(35): 1}, {(175): 1}, {(1225): 1}]
o[l][h] = 0
h = 7; l = 0; o = [{5: 1, 7: 0}, {35: 1}, {175: 1}, {1225: 1}]
p = 1.2000000000000011e-86
p /= 10
p = 1.200000000000001e-87
y = 1.7999999999999993e-57
y /= 10
y = 1.7999999999999993e-58
a = [63, 25, 73, 1, 98, 73, 56, 84, 86, 57, 16, 83, 82, 67, 61, 32, 21, 79, 75, 75, 13, 87, 70, 33]; c = 1; i = 44
c = a.count(i)
a = [63, 25, 73, 1, 98, 73, 56, 84, 86, 57, 16, 83, 82, 67, 61, 32, 21, 79, 75, 75, 13, 87, 70, 33]; c = 0; i = 44
i = 1.2141981150288415; n = 5; z = 0.2023663525048069
z = i / n
i = 1.2141981150288415; n = 5; z = 0.24283962300576828
a = [4, 0, 0]; x = {1, 2}
x.add(a[0])
a = [4, 0, 0]; x = {1, 2, 4}
d = [[1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 1, 0], [1, 1, 1, 1, 5, 1], [1, 1, 0, 0, 0, 0]]; f = 5; i = 3; j = 4
d[i][j] = f
d = [[1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 1, 0], [1, 1, 1, 1, 5, 1], [1, 1, 0, 0, 5, 0]]; f = 5; i = 3; j = 4
e = 9; i = 3; p = 18; q = 9; x = [10, 1, 10, 1, 10]
e = max(abs(1 - x[i - 1]) + p, abs(1 - 1) + q)
e = 27; i = 3; p = 18; q = 9; x = [10, 1, 10, 1, 10]
a = 'one'; b = 'forty'; y = ['twenty one', 'twenty two', 'twenty three', 'twenty four', 'thirty seven', 'thirty eight', 'thirty nine']
y.append(b + ' ' + a)
a = 'one'; b = 'forty'; y = ['twenty one', 'twenty two', 'twenty three', 'twenty four', 'thirty seven', 'thirty eight', 'thirty nine', 'forty one']
k = '999'
k = str(int(k) + 1)
k = '1000'
b = 'ifailuhkqq'; i = 4; j = 4; k = 'hiklqqu'
k = ''.join(sorted(b[i:j + 1]))
b = 'ifailuhkqq'; i = 4; j = 4; k = 'l'
a = [[1, 2]]; y = [3, 4]
a.append(y)
a = [[1, 2], [3, 4]]; y = [3, 4]
i = 1; j = 1; s = 'abba'; w = 'aabb'
w = ''.join(sorted(list(s[i:j + 1])))
i = 1; j = 1; s = 'abba'; w = 'b'
i = 1; j = 5; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None]]
k[i][j] = k[i - 1][j - 1] + 1
i = 1; j = 5; k = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, None, 1], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None]]
z = [3, 4, 1, 2, 1, 3]
n = len(z)
n = 6; z = [3, 4, 1, 2, 1, 3]
m = 1; y = 1
y = (m - 1) // 2
m = 1; y = 0
i = 4; r = [0, 1, 2, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1]
r[i] = r[i - 1]
i = 4; r = [0, 1, 2, 3, 3, -1, -1, -1, -1, -1, -1, -1, -1]
a = 181; i = 1; p = 189
p = a ^ i
a = 181; i = 1; p = 180
f = ['MonthNum_47', '1023262']; i = 870095
i = int(f[1])
f = ['MonthNum_47', '1023262']; i = 1023262
g = [5, 10, 3]; i = 0; j = 1
p = g[i] - g[j]
g = [5, 10, 3]; i = 0; j = 1; p = -5
s = [0, -1]
u = s[1]
s = [0, -1]; u = -1
b = 52
b += 1
b = 53
b = 1; e = 3
e += int((b + 1) / 2)
b = 1; e = 4
i = 1; s = ['a', 'b', 'c', 'c', 'd', 'd', 'd', 'e']; t = 1
t = ord(s[i]) % 97 + 1
i = 1; s = ['a', 'b', 'c', 'c', 'd', 'd', 'd', 'e']; t = 2
w = 'e'; y = {'c': 4, 'd': 4, 'e': 0}
y[w] += 1
w = 'e'; y = {'c': 4, 'd': 4, 'e': 1}
c = 0
l[c] = set()
c = 0; l = {0: set()}
n = 4; q = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; t = 80; z = 6
t = q[z + n - 1] - q[z]
n = 4; q = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; t = 170; z = 6
m = 0; u = {(0): inf, (1): inf, (2): inf, (3): inf}
u[m] = 0
m = 0; u = {0: 0, 1: inf, 2: inf, 3: inf}
i = 5, 8, 9; j = 2; s = 89
s += i[j] ** 2
i = (5, 8, 9); j = 2; s = 170
i = 5; j = ['two', 'times', 'three', 'is', 'not', 'four']; s = {'two': 1, 'times': 1, 'three': 1, 'is': 1, 'not': 1, 'four': 0}
s[j[i]] += 1
i = 5; j = ['two', 'times', 'three', 'is', 'not', 'four']; s = {'two': 1, 'times': 1, 'three': 1, 'is': 1, 'not': 1, 'four': 1}
x = 3; y = 4; z = 2
z = abs(x - y)
x = 3; y = 4; z = 1
j = [1]
m = max(j)
j = [1]; m = 1