start
stringlengths
5
368
code
stringlengths
5
143
end
stringlengths
5
527
p = 'bb'; t = 1
t = len(p)
p = 'bb'; t = 2
j = 1; u = 4; w = 4
u *= w - j
j = 1; u = 12; w = 4
d = {(1): [3, 2], (3): [1, 4, 2], (4): [3, 2], (2): [4, 1, 3], (5): [6], (6 ): [5]}; j = 6; x = []
x.extend(d[j])
d = {1: [3, 2], 3: [1, 4, 2], 4: [3, 2], 2: [4, 1, 3], 5: [6], 6: [5]}; j = 6; x = [5]
w = 10
t = w
t = 10; w = 10
d = 19; n = 10
n = n if n > d else d
d = 19; n = 19
b = '2'; r = '1'
r = ''.join([r, b])
b = '2'; r = '12'
c = '9 10 11 12'
c = c.split(' ')
c = ['9', '10', '11', '12']
e = 18; j = 4; k = 2
e = 4 * j + 1 + k
e = 19; j = 4; k = 2
a = [10, 3]; i = 2; x = 1
x += i % a[1]
a = [10, 3]; i = 2; x = 3
e = ['203', '204', '205', '206', '207', '208', '203', '204', '205', '206']
j = list(set(e))
e = ['203', '204', '205', '206', '207', '208', '203', '204', '205', '206']; j = ['208', '205', '207', '203', '204', '206']
c = [10, 20, 20, 10, 10, 30, 50, 10, 20]; d = [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]; i = 0
d[c[i] - 1] += 1
c = [10, 20, 20, 10, 10, 30, 50, 10, 20]; d = [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, 0]; i = 0
h = ['1', '12', '5', '111', '200', '1000', '10']
h = list(map(int, h))
h = [1, 12, 5, 111, 200, 1000, 10]
a = {'d', 'e', 'b', 'a', 'c'}; b = {'c', 'd', 'a', 'b'}
a = a.intersection(b)
a = {'a', 'b', 'c', 'd'}; b = {'a', 'b', 'c', 'd'}
j = 90.0
a.append(j)
a = [90.0]; j = 90.0
i = [9, 5]; l = 3
l = min(i)
i = [9, 5]; l = 5
d = {(1): 3, (5): 7, (3): 5}; k = 2; x = 4
d[x] = x + k
d = {1: 3, 5: 7, 3: 5, 4: 6}; k = 2; x = 4
i = 2; x = 2
x = i + 1
i = 2; x = 3
o = 4; v = 2
o += 1 * (v - 1)
o = 5; v = 2
a = 1000; m = 129; s = 146
m = s % a
a = 1000; m = 146; s = 146
s = [5, 0]; t = [10]
t.append(s[0])
s = [5, 0]; t = [10, 5]
a = 4; j = 3.141592653589793; o = 9
o = int(j * a)
a = 4; j = 3.141592653589793; o = 12
b = ['+91 78954 62130', '+91 98756 41230', '9195969878']; i = 2; l = '9195969878'
b[i] = '+91 ' + l[0:5] + ' ' + l[5:]
b = ['+91 78954 62130', '+91 98756 41230', '+91 91959 69878']; i = 2; l = '9195969878'
g = 10; x = -5
g = max(0, g + x)
g = 5; x = -5
a = 'dhkc'; i = 0; u = 2, 4; w = 'dkhc'
a = w[:i] + w[u[0]] + ''.join(sorted(w[i:u[0]] + w[u[0] + 1:]))
a = 'hcdk'; i = 0; u = (2, 4); w = 'dkhc'
i = 4; l = [1, 1, 2, 3, 2]; v = 1
v = l[i]
i = 4; l = [1, 1, 2, 3, 2]; v = 2
f = [2, 5]; i = {(0): 3, (1): 9}
i[f[0]] = f[1]
f = [2, 5]; i = {0: 3, 1: 9, 2: 5}
i = 0; j = 1; p = [[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]]; y = 1
y = p[i + 1][j + 1]
i = 0; j = 1; p = [[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]]; y = 0
e = 3; h = [2, 1, 3]; j = 2
e = h[j]
e = 3; h = [2, 1, 3]; j = 2
g = [28, 0, 0, 0]; w = 0
g[w] += 1
g = [29, 0, 0, 0]; w = 0
h = [2, 3]; x = 3; y = 1
h.append(abs(x - y))
h = [2, 3, 2]; x = 3; y = 1
i = 0; t = ['lmno', 'dcba', 'dcbb', 'abdc', 'abcd', 'fedcbabcd']
a = list(t[i])
a = ['l', 'm', 'n', 'o']; i = 0; t = ['lmno', 'dcba', 'dcbb', 'abdc', 'abcd', 'fedcbabcd']
a = [95.0, 92.0, 95.0]; j = 1; r = [216.0, 139.0, 152.0]
r[j] += a[j]
a = [95.0, 92.0, 95.0]; j = 1; r = [216.0, 231.0, 152.0]
x = 524288
x *= 2
x = 1048576
f = 3; p = 4
f = p
f = 4; p = 4
i = 3; l = [1, 2, 3, 1, 2]; s = 3
s = l[i]
i = 3; l = [1, 2, 3, 1, 2]; s = 1
a = 0; b = 2; g = [3, 3, 1]
g[a] = b
a = 0; b = 2; g = [2, 3, 1]
a = ['e', 'd', 'c', 'b', 'a']; f = 3; j = 5; n = ['e', 'd', 'c', 'd']
n.append(a[f - abs(j - f) - 1])
a = ['e', 'd', 'c', 'b', 'a']; f = 3; j = 5; n = ['e', 'd', 'c', 'd', 'e']
j = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; u = 869167; x = 1
u = j[x + 1] - j[x]
j = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; u = 2545357; x = 1
x = 'abcdefghhgfedecba'
x = list(x)
x = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'h', 'g', 'f', 'e', 'd', 'e', 'c', 'b', 'a']
v = 4
s += v / 2
s = 51.0; v = 4
a = [2, 1]; i = 1; s = '2 '
s += str(a[i]) + ' '
a = [2, 1]; i = 1; s = '2 1 '
a = 'cde'; h = 'c'; i = 1
h = a[i]
a = 'cde'; h = 'd'; i = 1
a = [[1, 3, 4], [2, 2, 3]]; d = 6; i = 1; j = 0
d += 2 * min(a[i - 1][j], a[i][j])
a = [[1, 3, 4], [2, 2, 3]]; d = 8; i = 1; j = 0
h = [14]
h.pop()
h = []
k = 2; l = 'aaaaabbbbaaaa'; n = 12; p = 'aaabbbbaa'
p = l[k:n]
k = 2; l = 'aaaaabbbbaaaa'; n = 12; p = 'aaabbbbaaa'
h = 2; x = [1, 2, '3', '21', '7', '12', '14', '21']
x[h] = int(x[h])
h = 2; x = [1, 2, 3, '21', '7', '12', '14', '21']
x = 3
c.append(x)
c = [3]; x = 3
i = 9
i -= 1
i = 8
c = '('; x = ['{', '[']
x.append(c)
c = '('; x = ['{', '[', '(']
y = 0, 0; z = 1, 0
c = y[0] - z[0], y[1] - z[1]
c = (-1, 0); y = (0, 0); z = (1, 0)
e = [2, -1, 2, 3, 4, -5]; i = 3; t = 4
t = max(t, e[i], e[i] + t)
e = [2, -1, 2, 3, 4, -5]; i = 3; t = 7
j = 35
j += 1
j = 36
a = [1, -3, 71, 68, 17]
f = abs(a[1] - a[0])
a = [1, -3, 71, 68, 17]; f = 4
g = 'haveaniceday'; i = 2; j = 1; l = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 0, 0, 0]]; x = 9
l[i][j] = g[x]
g = 'haveaniceday'; i = 2; j = 1; l = [['h', 'a', 'v', 'e'], ['a', 'n', 'i', 'c'], ['e', 'd', 0, 0]]; x = 9
m = 11.25; y = 16.875
m = y
m = 16.875; y = 16.875
a = [0, 24, 3, 20]; f = 3; s = 12; z = 2
a[f] = a[z] + s
a = [0, 24, 3, 15]; f = 3; s = 12; z = 2
a = 'a'; b = 'q'; x = ['a', 'r']
a, b = x
a = 'a'; b = 'r'; x = ['a', 'r']
j = 3; x = 8
x += int(j)
j = 3; x = 11
r = [1, 3]; s = 7
r.append(s)
r = [1, 3, 7]; s = 7
k = 1; x = 5
x = k % 10
k = 1; x = 1
f = 3; g = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]; x = 1; y = 1
f = g[y][x]
f = 2; g = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]; x = 1; y = 1
a = 1000; n = 144; o = 161
n = o % a
a = 1000; n = 161; o = 161
o = '98 95 97'
o = [float(score) for score in o.split()]
o = [98.0, 95.0, 97.0]
b = '1'; s = '111111111111111111111111111'
s += b
b = '1'; s = '1111111111111111111111111111'
i = 0; k = [1, 2, 3, 4]
t += k[i]
i = 0; k = [1, 2, 3, 4]; t = -89
i = 25, 49, 49; w = 25, 49, 25
w = i
i = (25, 49, 49); w = (25, 49, 49)
t = [1, 2, 3, 4, 3, 3, 2, 1]
v.append(len(t))
t = [1, 2, 3, 4, 3, 3, 2, 1]; v = [8]
i = 49; o = [1, 1, 2, 6, 24, 120, 720, 626855450, 954784168, 10503098, 472639410, 741412713, 846397273, 627068824]; t = 1000000007
o.append(o[-1] * i % t)
i = 49; o = [1, 1, 2, 6, 24, 120, 720, 626855450, 954784168, 10503098, 472639410, 741412713, 846397273, 627068824, 726372166]; t = 1000000007
r = ['1', '1', '1', '2', '3', '5']
i = [int(x) for x in r]
i = [1, 1, 1, 2, 3, 5]; r = ['1', '1', '1', '2', '3', '5']
j = 3; k = 'e-'; s = 'abcdefghijklmnopqrstuvwxyz'
k += s[j] + '-'
j = 3; k = 'e-d-'; s = 'abcdefghijklmnopqrstuvwxyz'
i = 2; j = 0; t = [[0, inf, inf, inf, inf], [-1, -3, inf, inf, inf], [-4, -4, -12, inf, inf], [inf, inf, inf, inf, inf], [inf, inf, inf, inf, inf]]; x = -1
t[i + 1][j + 1] = x
i = 2; j = 0; t = [[0, inf, inf, inf, inf], [-1, -3, inf, inf, inf], [-4, -4, -12, inf, inf], [inf, -1, inf, inf, inf], [inf, inf, inf, inf, inf]]; x = -1
a = 12; x = [10]
x.append(a)
a = 12; x = [10, 12]
r = 2; s = 9223372036854775807
s = min(s, r)
r = 2; s = 2
p = [34, 21, 21, 13]
p = [0] * 4
p = [0, 0, 0, 0]
i = 4
i = i + 1
i = 5
i = 1; x = [2, 4, 5, 6, 7, 9, 11, 12]
l += [x[i]]
i = 1; l = [4]; x = [2, 4, 5, 6, 7, 9, 11, 12]
l = {'a', 'b', 'c'}; v = 'd'
l.add(v)
l = {'a', 'b', 'c', 'd'}; v = 'd'
u = 1.2000000000000007e-50
u = u / 10
u = 1.2000000000000008e-51
j = 'aaaaabbbbaaaa'; k = 6; n = 7; p = 'bbbbaaaa'
p = j[k:n]
j = 'aaaaabbbbaaaa'; k = 6; n = 7; p = 'b'
e = [['1', '1', '1', '2'], ['1', '9', '1', '2'], ['1', '8', '9', '2'], ['1', '2', '3', '4']]; i = 1; j = 1
y = ord(e[i][j])
e = [['1', '1', '1', '2'], ['1', '9', '1', '2'], ['1', '8', '9', '2'], ['1', '2', '3', '4']]; i = 1; j = 1; y = 57
n = 1.2000000000000011e-91
n = n / 10
n = 1.200000000000001e-92
c = 0; t = 1; x = 6; y = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]
x += y[t][c]
c = 0; t = 1; x = 7; y = [[0, 2, 1], [1, 1, 1], [2, 0, 0]]
p = '([A-Za-z0-9]){10}$'; x = '([A-Za-z0-9]){10}$'
x = p
p = '([A-Za-z0-9]){10}$'; x = '([A-Za-z0-9]){10}$'
j = [(1, 1), (1, 4), (3, 2), (4, 3), (7, 0), (7, 5)]
n = len(j) + 1
j = [(1, 1), (1, 4), (3, 2), (4, 3), (7, 0), (7, 5)]; n = 7
i = 0; j = 0; k = [['X', '1', '0', '0'], ['0', '1', '1', '0'], ['0', '0', '1', '0'], ['1', '0', '0', '0']]
k[i + 1][j + 1] = 'X'
i = 0; j = 0; k = [['X', '1', '0', '0'], ['0', 'X', '1', '0'], ['0', '0', '1', '0'], ['1', '0', '0', '0']]
d = {'ab': 1, 'bc': 1, 'cd': 1}; v = 'abc'
d[v] = 1
d = {'ab': 1, 'bc': 1, 'cd': 1, 'abc': 1}; v = 'abc'
e = [999, 1000, 1001]
a = 'YES ' + str(e[0])
a = 'YES 999'; e = [999, 1000, 1001]
i = 21; x = 400
x = i * i
i = 21; x = 441
b = [2, 5, 3, 6]; i = 4; j = 9; w = [1, 0, 1, 1, 1, 2, 3, 2, 4, 3, 4]
w[j] += w[j - b[i - 1]]
b = [2, 5, 3, 6]; i = 4; j = 9; w = [1, 0, 1, 1, 1, 2, 3, 2, 4, 4, 4]
f = 1; m = 2
f = m
f = 2; m = 2
b = 1; m = ['3', '2']
b = int(m[0])
b = 3; m = ['3', '2']
c = [20, 20, 30, 50, 10, 20]; m = 10
c.remove(m)
c = [20, 20, 30, 50, 20]; m = 10
k = '999'; q = '7'
k = q
k = '7'; q = '7'
f = 4; m = [100, 100, 100]
m = [0] * f
f = 4; m = [0, 0, 0, 0]
n = [0, 5]; w = 2; z = 4
n.append(w * z)
n = [0, 5, 8]; w = 2; z = 4
f = 13; s = 2310
s *= f
f = 13; s = 30030
f = ['0', 'ij']
f.append(True)
f = ['0', 'ij', True]
i = 1
x = [i]
i = 1; x = [1]
j = 2784220; n = 20; x = [76, 76, 95, 96, 79, 74, 97, 97, 90, 90, 78, 91, 76, 90, 95, 95, 75, 100, 87, 90]; y = [73, 48, 95, 95, 33, 47, 98, 91, 95, 93, 70, 85, 33, 47, 95, 84, 43, 95, 54, 72]
j = n * sum([(a * b) for a, b in zip(x, y)])
j = 2590400; n = 20; x = [76, 76, 95, 96, 79, 74, 97, 97, 90, 90, 78, 91, 76, 90, 95, 95, 75, 100, 87, 90]; y = [73, 48, 95, 95, 33, 47, 98, 91, 95, 93, 70, 85, 33, 47, 95, 84, 43, 95, 54, 72]
j = 0; y = [1, 2, 2, 2, 0]; z = 2
z = 1 + y[j]
j = 0; y = [1, 2, 2, 2, 0]; z = 2