start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
|---|---|---|
m = 3; r = [1, 2, 3, 3]
|
m = r[0]
|
m = 1; r = [1, 2, 3, 3]
|
i = 15; s = 562949953421312; y = 64
|
s = 1 << y - i - 1
|
i = 15; s = 281474976710656; y = 64
|
c = '4'; i = 6
|
c = str(i)
|
c = '6'; i = 6
|
e = 0; p = [2, 3]
|
e = p[0]
|
e = 2; p = [2, 3]
|
e = 1; h = 3; r = [([], -1), ([2], -1), ([1], -1), ([1], -1)]
|
r[e][0].append(h)
|
e = 1; h = 3; r = [([], -1), ([2, 3], -1), ([1], -1), ([1], -1)]
|
b = [1]; l = 4
|
l = b.pop()
|
b = []; l = 1
|
a = 10; b = 100; i = 2; s = [30, 120]; x = 3
|
s.append(i * b + (x - i) * a)
|
a = 10; b = 100; i = 2; s = [30, 120, 210]; x = 3
|
i = 0; s = [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]
|
s[i].append('-')
|
i = 0; s = [['-'], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []]
|
c = 4; i = 2; j = 0; s = 'haveaniceday'; t = 'd'
|
t = s[c * j + i]
|
c = 4; i = 2; j = 0; s = 'haveaniceday'; t = 'v'
|
k = ['000', '001', '002', '003', '004', '005', '006', '049', '050', '051', '052', '053', '054', '055']; n = 56
|
k.append('0' + str(n))
|
k = ['000', '001', '002', '003', '004', '005', '006', '049', '050', '051', '052', '053', '054', '055', '056']; n = 56
|
i = 5; n = 7; s = 1530; z = [0, 0, 1480, 1200, 900, 700, 0]
|
z[n - i - 1] = s
|
i = 5; n = 7; s = 1530; z = [0, 1530, 1480, 1200, 900, 700, 0]
|
o = 4
|
o += 4
|
o = 8
|
b = 'ABABABAB'; f = 'A'; j = 1
|
f = b[j]
|
b = 'ABABABAB'; f = 'B'; j = 1
|
a = ['-1', '4']; l = 2
|
l = int(a[0])
|
a = ['-1', '4']; l = -1
|
x = 1; y = 2; z = 3
|
a, b = abs(x - z), abs(y - z)
|
a = 2; b = 1; x = 1; y = 2; z = 3
|
m = 295636; n = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; y = 4
|
m = n[y] - n[y - 1]
|
m = 3262681; n = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; y = 4
|
a = 0; b = 3; q = [0]
|
q.append(min(a, b))
|
a = 0; b = 3; q = [0, 0]
|
c = 'b'; s = 'a'
|
c = s
|
c = 'a'; s = 'a'
|
x = 'c'; y = [0, 0, 1, 0, 1, 0, 0, 0]; z = ['g', 'f', 'b', 'e', 'a', 'c', 'h', 'd']
|
y[z.index(x)] += 1
|
x = 'c'; y = [0, 0, 1, 0, 1, 1, 0, 0]; z = ['g', 'f', 'b', 'e', 'a', 'c', 'h', 'd']
|
u = 19
|
u += 1
|
u = 20
|
z = ['k']
|
z = ''.join(z)
|
z = 'k'
|
i = '2'; w = ['1', '2']
|
w = [eval(i) for i in w]
|
i = '2'; w = [1, 2]
|
c = 4; i = 1000000000; j = 1000000000; v = 1
|
v, c = i, j
|
c = 1000000000; i = 1000000000; j = 1000000000; v = 1000000000
|
f = [(1, 2)]; i = 3; j = 1
|
f.append((i, j))
|
f = [(1, 2), (3, 1)]; i = 3; j = 1
|
q = []
|
o = len(q)
|
o = 0; q = []
|
z = 1
|
z += 1
|
z = 2
|
n = ['2', '2']
|
n = int(n[1])
|
n = 2
|
e = [[3, 0]]; t = 0
|
t += e[0][0]
|
e = [[3, 0]]; t = 3
|
i = 1; j = 2; m = 3; x = [3, 2, 1]
|
m = max(x[i:j + 1])
|
i = 1; j = 2; m = 2; x = [3, 2, 1]
|
b = 12
|
b += 1
|
b = 13
|
a = {3}; g = {2, 3}
|
a.difference_update(g)
|
a = set(); g = {2, 3}
|
h = {(63): 1, (25): 2, (73): 2, (1): 1, (98): 1, (56): 1, (84): 1, (86): 1, (57): 1, (16): 1, (83): 1, (8): 1}; i = 81
|
h[i] = 1
|
h = {63: 1, 25: 2, 73: 2, 1: 1, 98: 1, 56: 1, 84: 1, 86: 1, 57: 1, 16: 1, 83: 1, 8: 1, 81: 1}; i = 81
|
p = 1.7999999999999998e-75
|
p /= 10
|
p = 1.7999999999999997e-76
|
i = 26; s = 33554432
|
s = 2 ** i
|
i = 26; s = 67108864
|
i = 3; s = [1, 2, 3, 4]; y = [0, 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, 0, 0, 0, 0, 0, 0]
|
y[s[i]] += 1
|
i = 3; s = [1, 2, 3, 4]; y = [0, 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, 0, 0, 0, 0, 0]
|
t = [4, 4]; x = 1
|
x = t[0]
|
t = [4, 4]; x = 4
|
i = 2; n = 3; t = 1
|
t = i ** n
|
i = 2; n = 3; t = 8
|
j = 8
|
j += 1
|
j = 9
|
p = [1, 1]; y = [['1', '1', '1', '2'], ['1', '9', '1', '2'], ['1', '8', '9', '2'], ['1', '2', '3', '4']]
|
y[p[0]][p[1]] = 'X'
|
p = [1, 1]; y = [['1', '1', '1', '2'], ['1', 'X', '1', '2'], ['1', '8', '9', '2'], ['1', '2', '3', '4']]
|
i = 1; j = 1; l = {1, 6, 9}
|
l.add(i + j)
|
i = 1; j = 1; l = {1, 2, 6, 9}
|
l = [1, 1, 1]
|
f = l
|
f = [1, 1, 1]; l = [1, 1, 1]
|
a = 1; b = 2; e = 2; x = 1; y = 1
|
e = x * a + y * b
|
a = 1; b = 2; e = 3; x = 1; y = 1
|
k = 1e-05
|
k = k / 10
|
k = 1.0000000000000002e-06
|
e = 2; i = 1; t = 1
|
e = -1 * (t - i + 1)
|
e = -1; i = 1; t = 1
|
j = 138; r = 123
|
r = j
|
j = 138; r = 138
|
p = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 2], [1, 1, 1], [1, 1, 2], [1, 2, 0]]; x = 1; y = 2; z = 1
|
p.append([x, y, z])
|
p = [[0, 0, 0], [0, 0, 1], [0, 1, 0], [0, 1, 2], [0, 2, 1], [1, 0, 2], [1, 1, 1], [1, 1, 2], [1, 2, 0], [1, 2, 1]]; x = 1; y = 2; z = 1
|
c = 'a'; d = 'b'; h = 1; m = {'b': 0, 'e': 1, 'a': 2, 'f': 3}
|
h = 1 if m[c] < m[d] else 0
|
c = 'a'; d = 'b'; h = 0; m = {'b': 0, 'e': 1, 'a': 2, 'f': 3}
|
j = 0, 1; l = [(0, 0), (0, 1), (1, 2)]
|
j = l[-1]
|
j = (1, 2); l = [(0, 0), (0, 1), (1, 2)]
|
a = 1; b = 2; d = 4; i = 1; j = 2
|
i, j = a + (j - b), b + (d - (i - a))
|
a = 1; b = 2; d = 4; i = 1; j = 6
|
g = [0, 2]; y = 3
|
g.append(y)
|
g = [0, 2, 3]; y = 3
|
i = 11; j = 12
|
k = max(k, i ^ j)
|
i = 11; j = 12; k = 7
|
i = 2; x = 8
|
x -= i
|
i = 2; x = 6
|
f = [2, 1, 3, 4, 5, 7, 6, 8, 9, 10, 11, 12, 13, 14]; i = 5; j = 1; p = [2, 3, 1]; s = [6, 7, 6]
|
s[j] = f[p[j] - 1 + i]
|
f = [2, 1, 3, 4, 5, 7, 6, 8, 9, 10, 11, 12, 13, 14]; i = 5; j = 1; p = [2, 3, 1]; s = [6, 8, 6]
|
t = '0b100011'
|
t = t.count('1')
|
t = 3
|
j = {(2): [[2, 2, 3]]}; t = [3, 1, 4]
|
j[t[0]] = [t]
|
j = {2: [[2, 2, 3]], 3: [[3, 1, 4]]}; t = [3, 1, 4]
|
f = [37.21, 37.2]; y = 41.0
|
f.append(y)
|
f = [37.21, 37.2, 41.0]; y = 41.0
|
i = {(4, 3): True, (5, 2): False, (4, 2): False, (3, 2): True}; k = 5, 2; v = True
|
i[k] = v
|
i = {(4, 3): True, (5, 2): True, (4, 2): False, (3, 2): True}; k = (5, 2); v = True
|
a = 11; u = 33; y = 43
|
u = a ^ y
|
a = 11; u = 32; y = 43
|
i = ['c']; t = [['a'], ['a', 'b'], ['a', 'b', 'c'], ['a', 'b', 'c', 'd'], ['b'], ['b', 'c'], ['b', 'c', 'd']]
|
t.append(i)
|
i = ['c']; t = [['a'], ['a', 'b'], ['a', 'b', 'c'], ['a', 'b', 'c', 'd'], ['b'], ['b', 'c'], ['b', 'c', 'd'], ['c']]
|
g = 4; p = 5; v = 2
|
g = p - v
|
g = 3; p = 5; v = 2
|
a = '1'; b = '2'
|
a, b = int(a), int(b)
|
a = 1; b = 2
|
i = 0; p = 0, 1; t = 0
|
t = i + p[0]
|
i = 0; p = (0, 1); t = 0
|
h = ['1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0']
|
l = ''.join(h)
|
h = ['1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0']; l = '1000000000000000000'
|
e = 1; i = 1; r = 'c'; s = 'cdcd'
|
r = s[i:i + e]
|
e = 1; i = 1; r = 'd'; s = 'cdcd'
|
k = [869167, 2545357, 295636, 3262681, 357400, 50, 450, 50, 266824, 5979603, 1128362]
|
m = min(k)
|
k = [869167, 2545357, 295636, 3262681, 357400, 50, 450, 50, 266824, 5979603, 1128362]; m = 50
|
j = []
|
j.append('yes')
|
j = ['yes']
|
i = 9; p = 'a '; y = 'aaaaaaaaaab'
|
p += y[i]
|
i = 9; p = 'a a'; y = 'aaaaaaaaaab'
|
k = 1; p = [2, 1]
|
p.append(k)
|
k = 1; p = [2, 1, 1]
|
w = 5; x = 3
|
x = w
|
w = 5; x = 5
|
i = 5; n = 6
|
n = i
|
i = 5; n = 5
|
a = [2, 3, 4, 2, 3, 6, 8, 4, 5]; d = 5; i = 0; w = [0, 0, 1, 2, 1, 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]
|
w[a[d + i]] += 1
|
a = [2, 3, 4, 2, 3, 6, 8, 4, 5]; d = 5; i = 0; w = [0, 0, 1, 2, 1, 0, 1, 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]
|
b = 7; e = 7; l = 'aaaaaaaaaab'; y = ['a', 'a', 'a', 'a', 'a', 'a', 'a']
|
y.append(l[b:e + 1])
|
b = 7; e = 7; l = 'aaaaaaaaaab'; y = ['a', 'a', 'a', 'a', 'a', 'a', 'a', 'a']
|
i = 'A', 'H'; p = 'AC'
|
p = ''.join(map(str, i))
|
i = ('A', 'H'); p = 'AH'
|
i = 4; s = 8
|
s = 2 ** i
|
i = 4; s = 16
|
j = 3; x = [9]
|
x.append(j)
|
j = 3; x = [9, 3]
|
a = 4; p = 5
|
p += a
|
a = 4; p = 9
|
x = 5
|
x //= 10
|
x = 0
|
n = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; q = 0; r = 1
|
k = n[q + 1:r + 1]
|
k = [2]; n = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; q = 0; r = 1
|
t = 'abc'; u = ['']
|
u.append(t)
|
t = 'abc'; u = ['', 'abc']
|
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; c = [-7330761, -6461594]; i = 3
|
c = [a[i - 1], a[i]]
|
a = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; c = [-3916237, -3620601]; i = 3
|
i = 1
|
u[i] = {}
|
i = 1; u = {1: {}}
|
d = 'This$#is% Matr'; i = 2; r = 'Tsi'
|
d += r[i]
|
d = 'This$#is% Matri'; i = 2; r = 'Tsi'
|
j = 1.0; x = [5.0, 6.0]
|
j = x[1] * x[1]
|
j = 36.0; x = [5.0, 6.0]
|
c = [2, 3, 4, 5, 6, 8, 7, 6, 5, 18]; t = [6, 55]
|
c.remove(t[0])
|
c = [2, 3, 4, 5, 8, 7, 6, 5, 18]; t = [6, 55]
|
k = 2.25
|
k /= 2
|
k = 1.125
|
n = 9; o = '0o10'
|
o = oct(n)
|
n = 9; o = '0o11'
|
r = 26
|
r += 1
|
r = 27
|
w = '111111111111111000011'
|
w = w + '1'
|
w = '1111111111111110000111'
|
e = [2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 16; u = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
u[i] = e[i] / 2
|
e = [2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 16; u = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0.0, 0, 0, 0, 0, 0, 0]
|
j = 142
|
j += 1
|
j = 143
|
e = 'This$#i'; g = 's% Matr'
|
e += g
|
e = 'This$#is% Matr'; g = 's% Matr'
|
d = {(1): 2}; w = 2
|
d[w] = 1
|
d = {1: 2, 2: 1}; w = 2
|
a = 10; b = 1010; g = 16546950; i = 14
|
g = g + (a ^ b << i)
|
a = 10; b = 1010; g = 33094800; i = 14
|
m = 2
|
m += 1
|
m = 3
|
s = ['w', 'e', 'p', 'r', 'o', 'm', 'p', 't', 'l', 'y', 'n', 'e', 'x', 't', 'p', 'r', 'i', 'z', 'e']
|
s = set(s)
|
s = {'t', 'l', 'r', 'n', 'i', 'z', 'y', 'm', 'o', 'e', 'p', 'w', 'x'}
|
a = [0, 0, 1, 2, 1]
|
e = sorted(a)
|
a = [0, 0, 1, 2, 1]; e = [0, 0, 1, 1, 2]
|
l = ['0', '0', '0', '0', '0', '0', '0', '0']
|
l.append('0')
|
l = ['0', '0', '0', '0', '0', '0', '0', '0', '0']
|
c = 5979603; i = 9; r = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]
|
c = r[i] - r[i - 1]
|
c = 1128362; i = 9; r = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]
|
c = 1; i = 2; q = [2, 2, 2, 2, 2, 1, 1, 1, 1]
|
c = min(abs(q[1] - i), i)
|
c = 0; i = 2; q = [2, 2, 2, 2, 2, 1, 1, 1, 1]
|
v = 10.0; x = 3
|
v -= x * (x - 1) / 2
|
v = 7.0; x = 3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.