start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
s = 1.2000000000000006e-38
s /= 10
s = 1.2000000000000006e-39
x = 0; y = {(0): [2], (1): [2], (2): []}
y[x] = []
x = 0; y = {0: [], 1: [2], 2: []}
a = 2; b = 10; i = 126; w = 850705917302346158658436518579420528878
w += a ^ b << i
a = 2; b = 10; i = 126; w = 1701411834604692317316873037158841057520
h = 0; l = 6
h += l
h = 6; l = 6
c = '('; i = '(H, C)'
i = i.replace(c, '')
c = '('; i = 'H, C)'
i = 2; j = 1; p = [[0, 0, 0], [0, 1, 0], [0, 2, 0], [0, 3, 0], [0, 4, 0], [0, 5, 0], [1, 0, 0], [1, 4, 0], [2, 0, 0]]; v = 0
p.append([i, j, v])
i = 2; j = 1; p = [[0, 0, 0], [0, 1, 0], [0, 2, 0], [0, 3, 0], [0, 4, 0], [0, 5, 0], [1, 0, 0], [1, 4, 0], [2, 0, 0], [2, 1, 0]]; v = 0
j = 1
j += 2
j = 3
a = [1, 2, 3, 4]; i = 6
a.append(i)
a = [1, 2, 3, 4, 6]; i = 6
e = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'e'
e[ord(x) - 97] += 1
e = [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; x = 'e'
p = ['d', 'c']
p.sort()
p = ['c', 'd']
a = [0, 0, 0, 0, 0]
a.append(0)
a = [0, 0, 0, 0, 0, 0]
a = [1, -3, 71, 68, 17]
y = sorted(a)
a = [1, -3, 71, 68, 17]; y = [-3, 1, 17, 68, 71]
e = 36; i = 9; k = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
e = k[i]
e = 42; i = 9; k = [3, 4, 21, 36, 10, 28, 35, 5, 24, 42]
o = 4; x = 2
o = o * x
o = 8; x = 2
a = 1.9296875; b = 0.00390625; i = 8
a += i * b
a = 1.9609375; b = 0.00390625; i = 8
l = 0
q = l
l = 0; q = 0
j = 4.768462057507622; m = 5.820766091346741e-11; z = 2
j *= m % z + 1
j = 4.768462057785183; m = 5.820766091346741e-11; z = 2
p = '99100'; s = '101103'
p = s
p = '101103'; s = '101103'
i = 5; k = 24
k = k * i
i = 5; k = 120
b = 'hae and vi'; j = 10
b = b + stringTobeEncrypted[j]
b = 'hae and vi2'; j = 10; p = 'pMTkKqpB852e'
f = 3; z = 3
z = max(z + f, 0)
f = 3; z = 6
v = [1, 1, 1, 1, [1, 1]]; z = [1, 1]
v.append(z)
v = [1, 1, 1, 1, [1, 1], [1, 1]]; z = [1, 1]
a = 0; b = 3; m = [4, 4, 2, 6]; u = 9; v = 3
v = abs(m[a] + m[b] - u)
a = 0; b = 3; m = [4, 4, 2, 6]; u = 9; v = 1
c = 9000; i = [0, 9, 0, 0, 9]; j = 1
c = int(''.join([str(j) for j in i]))
c = 9009; i = [0, 9, 0, 0, 9]; j = 1
s = 'BBBBB'; t = 0
t = len(s) - 1
s = 'BBBBB'; t = 4
b = 8; n = 1; z = [5, 8, 14]
n = abs(z[0] - b)
b = 8; n = 3; z = [5, 8, 14]
o = [4]
o.append(s)
o = [4, 82]; s = 82
u = '99'; y = 99
u = str(y + 1)
u = '100'; y = 99
i = 0; k = 3; r = [10, 20, 30, 100, 200, 300, 1000]
s = r[i + k - 1] - r[i]
i = 0; k = 3; r = [10, 20, 30, 100, 200, 300, 1000]; s = 20
a = 6; i = '3'
a += int(i)
a = 9; i = '3'
b = 3; o = ['a', 'c', 'd', 'c']; r = 'b'
o[b] = r
b = 3; o = ['a', 'c', 'd', 'b']; r = 'b'
l = 3; t = {(1): 0, (2): 24}; v = 3
t[v] = l
l = 3; t = {1: 0, 2: 24, 3: 3}; v = 3
f = 'h'; t = 'k'
f = ''.join(sorted(t))
f = 'k'; t = 'k'
t = 'wemustbecausewecan'; w = 'whatwemustbecausewecan'
w = t
t = 'wemustbecausewecan'; w = 'wemustbecausewecan'
t = 3
t *= 2
t = 6
s = 'hackerhappy'; t = 'hackerrank'
n = min(len(s), len(t))
n = 10; s = 'hackerhappy'; t = 'hackerrank'
s = 'be'; w = [(0, '-'), (6, '-'), (0, '-'), (6, '-'), (4, '-'), (6, '-'), (0, '-'), (6, '-'), (0, '-'), (4, 'that')]; x = 3
w.append((x, s))
s = 'be'; w = [(0, '-'), (6, '-'), (0, '-'), (6, '-'), (4, '-'), (6, '-'), (0, '-'), (6, '-'), (0, '-'), (4, 'that'), (3, 'be')]; x = 3
a = [[0, 'ab'], [6, 'cd'], [0, 'ef'], [6, 'gh'], [4, 'ij'], [1, 'or'], [2, 'not'], [4, 'is'], [2, 'to']]; e = ['4', 'the']
a += [[int(e[0]), e[1]]]
a = [[0, 'ab'], [6, 'cd'], [0, 'ef'], [6, 'gh'], [4, 'ij'], [1, 'or'], [2, 'not'], [4, 'is'], [2, 'to'], [4, 'the']]; e = ['4', 'the']
s = '{'; t = ['{', '[', '(']
s = t.pop()
s = '('; t = ['{', '[']
k = [2, 4, 2, 6]; x = 1
k.append(x)
k = [2, 4, 2, 6, 1]; x = 1
c = 'hackerhapp'; t = 'hackerrank'; z = 8
c += t[-z:]
c = 'hackerhappckerrank'; t = 'hackerrank'; z = 8
g = 9; j = 2; l = [3, 3, 9, 9, 5]
g -= l[j]
g = 0; j = 2; l = [3, 3, 9, 9, 5]
r = '1111111111111111'
r += '1'
r = '11111111111111111'
a = 'abcd'; i = 1; j = 2; v = 'b'
v = a[i:j + 1]
a = 'abcd'; i = 1; j = 2; v = 'bc'
i = 3; r = [0, 0, 0, 1, 0, 0, 0]; u = 2
r[i + 1] = u
i = 3; r = [0, 0, 0, 1, 2, 0, 0]; u = 2
b = 2
b += 1
b = 3
x = 2 + 1.0j; y = 5 + 6.0j
k = x + y
k = (7+7j); x = (2+1j); y = (5+6j)
e = '9'; t = '7891011'
t = e
e = '9'; t = '9'
i = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72]; x = 73
i.append(i[-1] ^ x)
i = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72, 1]; x = 73
f = [0, 9, 27, 63, 135, 279]; p = 5
f.append(9 * 2 ** p + f[-1])
f = [0, 9, 27, 63, 135, 279, 567]; p = 5
l = [76.0, 76.0, 95.0, 96.0, 79.0]; r = [47, 58, 74]
l.append(float(r[2]))
l = [76.0, 76.0, 95.0, 96.0, 79.0, 74.0]; r = [47, 58, 74]
x = 0
i = x
i = 0; x = 0
b = -10000000000000000; x = -5
b = x
b = -5; x = -5
i = 2; j = 150
j += i
i = 2; j = 152
d = 3
c = d - 1
c = 2; d = 3
h = '1000000'
h += '0'
h = '10000000'
i = 0; k = 0; r = 1; x = [[1, 0, 0, 0, 0], [1, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]
x[i + 1][r] += x[i][k]
i = 0; k = 0; r = 1; x = [[1, 0, 0, 0, 0], [1, 1, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]
a = {'c', 'db', 'ba', 'b', 'ac', 'a', 'd', 'dba'}; i = 1; j = 3; s = 'dbac'
a.add(s[i:i + j])
a = {'ba', 'c', 'ac', 'd', 'bac', 'b', 'dba', 'a', 'db'}; i = 1; j = 3; s = 'dbac'
k = 7; q = '0110111011'
k = q.find(s)
k = -1; q = '0110111011'; s = 'qtLvgStDb'
h = array([[1, 2], [3, 4]]); u = 'transpose'
v = getattr(h, u, None)
h = array([[1, 2], [3, 4]]); u = 'transpose'; v = <built-in method transpose of numpy.ndarray object at 0x7f1c77ad6850>
b = 'becausewecan'; i = 0; l = ['because', 'can', 'do', 'must', 'we', 'what']; t = 'becausewecan'; v = 0
b = t[v + len(l[i]):]
b = 'wecan'; i = 0; l = ['because', 'can', 'do', 'must', 'we', 'what']; t = 'becausewecan'; v = 0
c = 'h'; i = 1; s = 'hackerhappy'
c += s[i]
c = 'ha'; i = 1; s = 'hackerhappy'
a = 5; n = 4
a = n + 1
a = 5; n = 4
i = 0; k = [4, 1, 0, 1, 1, 0, 1]; s = [2]
s = k[i + 1:]
i = 0; k = [4, 1, 0, 1, 1, 0, 1]; s = [1, 0, 1, 1, 0, 1]
e = 15; q = [0, 1, 3, 7, 15]
e = (1 + q[-1] * 2) % p
e = 3; p = 28; q = [0, 1, 3, 7, 15]
p = {(5): 1, (1): 1, (2): 1, (4): 1, (3): 1}; v = 1
p[v] = 2
p = {5: 1, 1: 2, 2: 1, 4: 1, 3: 1}; v = 1
a = 1, 1, 2; b = 1, -1, 5; p = 4; s = 1, 1, 2
p = (b[0] - a[0]) * (s[1] - a[1]) - (b[1] - a[1]) * (s[0] - a[0])
a = (1, 1, 2); b = (1, -1, 5); p = 0; s = (1, 1, 2)
b = frozenset({2}); c = ['M', '2', '3']; g = [frozenset({1, 2}), frozenset({1, 2}), frozenset({3})]
b = g[int(c[2]) - 1]
b = frozenset({3}); c = ['M', '2', '3']; g = [frozenset({1, 2}), frozenset({1, 2}), frozenset({3})]
b = [[], [0, -1], [0, -1], [0, -2], [0, -1]]; e = 3; j = 1; u = [(-1, 1)]
u.append((b[e][j], e))
b = [[], [0, -1], [0, -1], [0, -2], [0, -1]]; e = 3; j = 1; u = [(-1, 1), (-2, 3)]
k = 'babab'
j.append(len(k))
j = [5]; k = 'babab'
e = 2; i = 0; o = [['a', 'b', 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; w = 'c'
o[i][e] = w
e = 2; i = 0; o = [['a', 'b', 'c', 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]]; w = 'c'
a = 296; b = 0; x = 616, 0
a, b = x
a = 616; b = 0; x = (616, 0)
i = 2788; j = 1936
t = abs(j - i)
i = 2788; j = 1936; t = 852
i = 4; j = 3; k = 0
j = i + k
i = 4; j = 4; k = 0
q = {'give': 1, 'one': 1, 'grand': 1}; t = 'today'
q[t] = 1
q = {'give': 1, 'one': 1, 'grand': 1, 'today': 1}; t = 'today'
a = 3; k = {(4): 0}
z[a] = k
a = 3; k = {4: 0}; z = {3: {4: 0}}
b = 7; w = [3]
w.append(b)
b = 7; w = [3, 7]
x = 11
x = str(x)
x = '11'
q = [6, 5, 8, 4, 7, 10, 9]
m = q[:]
m = [6, 5, 8, 4, 7, 10, 9]; q = [6, 5, 8, 4, 7, 10, 9]
r = [1, 1]; z = 3
z = len(r)
r = [1, 1]; z = 2
d = 'aaabbb'
o = len(d)
d = 'aaabbb'; o = 6
x = ['0', '4', '7']
t = int(x[1])
t = 4; x = ['0', '4', '7']
o = [2, 2, 3, 7]
p = min(o)
o = [2, 2, 3, 7]; p = 2
c = [(6, 2), (9, 1)]; o = 11, 3
c.append(o)
c = [(6, 2), (9, 1), (11, 3)]; o = (11, 3)
g = ['a']; i = 2; s = 'aabbcd'
g.append(s[i])
g = ['a', 'b']; i = 2; s = 'aabbcd'
i = 119
g += i
g = 216; i = 119
i = 2; p = 10
c = p / i
c = 5.0; i = 2; p = 10
p = [(-1, 4), (-1, 4), (-1, 4)]; r = -1; z = 3
p.append((r, z + 1))
p = [(-1, 4), (-1, 4), (-1, 4), (-1, 4)]; r = -1; z = 3
f = [0, -1, 0, -1]; i = 1; j = 4; l = ['.....', '.x.x.', '.....', '.....']
f.append(-1 if l[i][j] == 'x' else f[j - 1] + 1)
f = [0, -1, 0, -1, 0]; i = 1; j = 4; l = ['.....', '.x.x.', '.....', '.....']
l = [0, 0, 0, 0, 0]
l.append(0)
l = [0, 0, 0, 0, 0, 0]
w = 'B'; x = 'A'
w = x
w = 'A'; x = 'A'
o = [1, 'abc']; s = ''
s += o[1]
o = [1, 'abc']; s = 'abc'
m = '3'; n = '4'; s = '6'
n, m, s = [int(n), int(m), int(s)]
m = 3; n = 4; s = 6
v = {32, 97, 42, 12, 93, 95}; x = 79
v.add(x)
v = {32, 97, 42, 12, 79, 93, 95}; x = 79
i = 0; l = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]
v += l[i][i]
i = 0; l = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; v = 30
i = 7; p = [72, 67, 92, 95, 59, 58, 95, 94, 84, 83, 70, 79, 67, 73, 87, 86, 63, 92, 80, 76]; u = 78.6; w = [-6.599999999999994, -11.599999999999994, 13.400000000000006, - 19.599999999999994, -20.599999999999994, 16.400000000000006]
w.append(p[i] - u)
i = 7; p = [72, 67, 92, 95, 59, 58, 95, 94, 84, 83, 70, 79, 67, 73, 87, 86, 63, 92, 80, 76]; u = 78.6; w = [-6.599999999999994, -11.599999999999994, 13.400000000000006, -19.599999999999994, -20.599999999999994, 16.400000000000006, 15.400000000000006]
h = 5; i = 5; k = 7; l = 6
k = max(h, i, l)
h = 5; i = 5; k = 6; l = 6
i = 10; z = [0, 0, 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, 0, 0, 0, 0]
z[i] = 0
i = 10; z = [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]
y = 999
y += 1
y = 1000
p = 6
p -= 1
p = 5