start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
|---|---|---|
b = [2, 2]; q = 1; z = 3
|
q, z = b
|
b = [2, 2]; q = 2; z = 2
|
j = 6; l = 5
|
l = j
|
j = 6; l = 6
|
c = 9992
|
c += 1
|
c = 9993
|
p = [6, 5, 8, 4, 7, 10, 9]
|
j = len(p)
|
j = 7; p = [6, 5, 8, 4, 7, 10, 9]
|
m = set(); s = array([1.0, 2.0, 3.0, 7.0, 8.0, 9.0]); w = 140227705572688, 140228164789504
|
m.add(w)
|
m = {(140227705572688, 140228164789504)}; s = array([1., 2., 3., 7., 8., 9.]); w = (140227705572688, 140228164789504)
|
d = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; i = 9; l = [6246457]
|
l.append(d[i])
|
d = [-7330761, -6461594, -3916237, -3620601, -357920, -20, 30, 266854, 6246457, 7374819]; i = 9; l = [6246457, 7374819]
|
a = [8, 5, 2, 1]; g = 30; i = 3
|
g -= a[i]
|
a = [8, 5, 2, 1]; g = 29; i = 3
|
a = 0; s = [3, 4, 11]
|
a = s[2] // s[1]
|
a = 2; s = [3, 4, 11]
|
g = 'c',; o = {}
|
o[g] = o.get(g, 0) + 1
|
g = ('c',); o = {('c',): 1}
|
i = 2; j = 6
|
j += i
|
i = 2; j = 8
|
k = 1.0000000000000003e-49
|
k = k / 10
|
k = 1.0000000000000004e-50
|
c = [2, 2, 2, 2]; y = -1
|
c[y] += c[y - 1]
|
c = [2, 2, 2, 4]; y = -1
|
c = ['d']; g = 'fedcbabcd'; i = 7
|
c.append(g[i])
|
c = ['d', 'c']; g = 'fedcbabcd'; i = 7
|
d = 13; i = 13; j = 2; r = 0
|
d, r = divmod(i, j)
|
d = 6; i = 13; j = 2; r = 1
|
d = array([1, 2, 3, 7, 8, 9]); g = 'reshape'
|
s = getattr(d, g, None)
|
d = array([1, 2, 3, 7, 8, 9]); g = 'reshape'; s = <built-in method reshape of numpy.ndarray object at 0x7f1bf4c1f1c0>
|
a = 7; z = ['one', 'two', 'three', 'four', 'five', 'twenty six', 'twenty seven', 'twenty eight', 'twenty nine']
|
h = z[a - 1]
|
a = 7; h = 'twenty seven'; z = ['one', 'two', 'three', 'four', 'five', 'twenty six', 'twenty seven', 'twenty eight', 'twenty nine']
|
j = 0; u = ['H', 'a', 'c', 'k', 'e', 'r', 'R', 'a', 'n', 'k', 'o', 'n', 'i', 's', 't', ' ', '2', '"', '.']
|
i = u[j]
|
i = 'H'; j = 0; u = ['H', 'a', 'c', 'k', 'e', 'r', 'R', 'a', 'n', 'k', 'o', 'n', 'i', 's', 't', ' ', '2', '"', '.']
|
j = -520, -470
|
d += '{} {} '.format(j[0], j[1])
|
d = 'Ms0YBKxEZ2r-520 -470 '; j = (-520, -470)
|
i = 0; k = [[-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]
|
k[i][0] = 0
|
i = 0; k = [[0, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1], [-1, -1, -1, -1]]
|
w = {'1', '2'}; y = ['1', '2']
|
w = set(y)
|
w = {'1', '2'}; y = ['1', '2']
|
c = 55; f = []; i = 4
|
f.append((c, i))
|
c = 55; f = [(55, 4)]; i = 4
|
y = 98
|
y += 1
|
y = 99
|
e = ['aaabbb\n', 'ab\n', 'abc\n', 'mnop\n', 'xyyx\n', 'xaxbbbxx\n', '\n', '\n', '\n']
|
s = e[0]
|
e = ['aaabbb\n', 'ab\n', 'abc\n', 'mnop\n', 'xyyx\n', 'xaxbbbxx\n', '\n', '\n', '\n']; s = 'aaabbb\n'
|
p = 2, 2; x = 2; y = 0
|
p = x, y
|
p = (2, 0); x = 2; y = 0
|
i = 10; x = [6, 8, 10, 11, 15, 16, 20, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
x[i] += x[i - 1]
|
i = 10; x = [6, 8, 10, 11, 15, 16, 20, 20, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
d = {2, 3, 4, 5, 6, 7, 8, -1}; w = 9
|
d.add(w)
|
d = {2, 3, 4, 5, 6, 7, 8, 9, -1}; w = 9
|
c = [[-1, -1, -1, -1], [-1, -1, -1, -1]]
|
c.append(list())
|
c = [[-1, -1, -1, -1], [-1, -1, -1, -1], []]
|
c = [13, 29, 71]; i = 2; z = 29
|
z = c[i]
|
c = [13, 29, 71]; i = 2; z = 71
|
b = 3; k = 8
|
r = sum(range(k - b + 1, k + 1))
|
b = 3; k = 8; r = 21
|
s = ['{', '{', '[']
|
s.pop()
|
s = ['{', '{']
|
n = 5
|
b = 5 * n ** 2 - 4
|
b = 121; n = 5
|
i = [0, 0, 0, 0]
|
i.append(0)
|
i = [0, 0, 0, 0, 0]
|
f = [-1, 1, -1, -1, 1, -1, 1, -1]; n = 7; r = 1
|
f[r * 10 % n] = 1
|
f = [-1, 1, -1, 1, 1, -1, 1, -1]; n = 7; r = 1
|
x = 0
|
k[x] = []
|
k = {0: []}; x = 0
|
c = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; l = 37; t = 3
|
l -= c[t - 1]
|
c = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]; l = 34; t = 3
|
w = 4
|
w -= 2
|
w = 2
|
t = 2; u = 4
|
u = t + 1
|
t = 2; u = 3
|
f = 1; i = 1, 1
|
i = f, i[1] + 1
|
f = 1; i = (1, 2)
|
b = [3, 4, 1, 2, 1, 3]
|
y = len(b)
|
b = [3, 4, 1, 2, 1, 3]; y = 6
|
g = [98, 74, 12]; i = 0
|
y ^= g[i]
|
g = [98, 74, 12]; i = 0; y = -74
|
j = [1, {}]; r = {'e': [1, {}]}
|
r = j[1]
|
j = [1, {}]; r = {}
|
s = ' intersection_update 10'
|
t, j = s.split()
|
j = '10'; s = ' intersection_update 10'; t = 'intersection_update'
|
y = ['1', '2', '3']
|
y = [int(x) for x in y]
|
y = [1, 2, 3]
|
f = 3; n = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; y = 1; z = 10
|
z = z + n[f - 1 - y][y]
|
f = 3; n = [[11, 2, 4], [4, 5, 6], [10, 8, -12]]; y = 1; z = 15
|
f = 30; i = 1
|
f -= i
|
f = 29; i = 1
|
i = 5; q = [1, 2, 3, 4, 5]; t = 4
|
t = q[i - 1]
|
i = 5; q = [1, 2, 3, 4, 5]; t = 5
|
i = 1; j = 0; t = 'abcabcddd'; y = []
|
y.append(t[j:j + i])
|
i = 1; j = 0; t = 'abcabcddd'; y = ['a']
|
q = 6; w = 2
|
q += w
|
q = 8; w = 2
|
k = 13
|
k += 1
|
k = 14
|
a = [None, None, None]
|
a.append(None)
|
a = [None, None, None, None]
|
i = 0; v = 5; z = 16
|
z = z + v * (i + 1)
|
i = 0; v = 5; z = 21
|
l = ['5', '2']
|
a = [int(x) for x in l]
|
a = [5, 2]; l = ['5', '2']
|
b = 387452744; m = 1000000007
|
b = b * b % m
|
b = 782292147; m = 1000000007
|
a = 10; b = 1010; i = 7; j = 128320
|
j = j + (a ^ b << i)
|
a = 10; b = 1010; i = 7; j = 257610
|
d = 'acc'; k = 4; l = 1; p = ['b', 'a', 'c', 'ba', 'ac', 'bac']; r = ['b', 'a', 'c', 'ba', 'ac', 'bac']
|
d = p[k] + r[l]
|
d = 'aca'; k = 4; l = 1; p = ['b', 'a', 'c', 'ba', 'ac', 'bac']; r = ['b', 'a', 'c', 'ba', 'ac', 'bac']
|
p = [72, 67, 92, 95, 59]; y = 58
|
p.append(y)
|
p = [72, 67, 92, 95, 59, 58]; y = 58
|
a = 955629379; b = -312997434; c = 516; g = [-338760201, 945958360, 750]
|
g = [a, b, c]
|
a = 955629379; b = -312997434; c = 516; g = [955629379, -312997434, 516]
|
b = ['31415926535897932384626433832795', '1', '3']; j = '10'
|
b.append(j)
|
b = ['31415926535897932384626433832795', '1', '3', '10']; j = '10'
|
a = '25'
|
a = int(a)
|
a = 25
|
c = 73
|
l.append(c)
|
c = 73; l = [73]
|
i = 0; u = [2, 3, 4, 2, 3, 6, 8, 4, 5]; w = [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]
|
w[u[i]] += 1
|
i = 0; u = [2, 3, 4, 2, 3, 6, 8, 4, 5]; w = [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, 0, 0, 0, 0, 0, 0, 0]
|
l = 'cd'; t = ['c']
|
t = sorted(l)
|
l = 'cd'; t = ['c', 'd']
|
r = 3
|
r += 1
|
r = 4
|
a = {(0): 0}; i = 1
|
a[i] = 0
|
a = {0: 0, 1: 0}; i = 1
|
j = [True, False, False, False, False, False]; v = 2
|
j[v - 1] = True
|
j = [True, True, False, False, False, False]; v = 2
|
d = [0, 1, 3, 7, 15, 31, 63, 127, 255, 8191, 16383, 32767, 65535, 31071, 62143, 24287, 48575, 97151]; p = 97151
|
p = (1 + d[-1] * 2) % p
|
d = [0, 1, 3, 7, 15, 31, 63, 127, 255, 8191, 16383, 32767, 65535, 31071, 62143, 24287, 48575, 97151]; p = 1
|
i = 3; j = 0; p = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; x = 1
|
x = p[i][j - 1] if j >= 1 else 0
|
i = 3; j = 0; p = [[1, 1, 1, 1], [0, 0, 0, 0], [1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; x = 0
|
p = [1, 2, 3, 5]
|
p = p[1:]
|
p = [2, 3, 5]
|
c = 1.2000000000000003e-23; h = 1.2000000000000003e-24
|
c = h % 10
|
c = 1.2000000000000003e-24; h = 1.2000000000000003e-24
|
d = 'dowhatwemustbecausewecan'; o = 'd'; s = 1
|
o += d[s]
|
d = 'dowhatwemustbecausewecan'; o = 'do'; s = 1
|
f = 0; j = 1
|
f = j
|
f = 1; j = 1
|
i = 1; w = 2; x = [2, 4, 5, 6, 7, 9, 11, 12]
|
w = x[i]
|
i = 1; w = 4; x = [2, 4, 5, 6, 7, 9, 11, 12]
|
p = '^([456]\\d{3})-?(\\d{4})-?(\\d{4})-?(\\d{4})$'; q = '^([456]\\d{3})-?(\\d{4})-?(\\d{4})-?(\\d{4})$'
|
q = p
|
p = '^([456]\\d{3})-?(\\d{4})-?(\\d{4})-?(\\d{4})$'; q = '^([456]\\d{3})-?(\\d{4})-?(\\d{4})-?(\\d{4})$'
|
v = []; x = 26
|
v.append(x)
|
v = [26]; x = 26
|
m = 8.881784197001252e-16; u = 2; y = 4.7684620580627355
|
y *= m % u + 1
|
m = 8.881784197001252e-16; u = 2; y = 4.76846205806274
|
n = 0; x = 0
|
x += n
|
n = 0; x = 0
|
k = 4; z = 29
|
z = z * k
|
k = 4; z = 116
|
a = '3084193741082938'; d = {(1): [['1'], ['2'], [], [], [], []], (3): [['100'], [], [], [], [], [] ], (29): [['12303479849857341718340192371'], [], [], [], [], []], (16): [[], [], ['3084193741082937'], [], [], []]}; m = 16
|
d[m][int(a[0]) - 1].append(a)
|
a = '3084193741082938'; d = {1: [['1'], ['2'], [], [], [], []], 3: [['100'], [], [], [], [], []], 29: [['12303479849857341718340192371'], [], [], [], [], []], 16: [[], [], ['3084193741082937', '3084193741082938'], [], [], []]}; m = 16
|
l = ['H', 'C']; s = [['A', 'A'], ['A', 'C'], ['A', 'K'], ['C', 'C'], ['H', 'C'], ['H', 'H'], ['H', 'K'], ['K', 'K']]
|
l.sort()
|
l = ['C', 'H']; s = [['A', 'A'], ['A', 'C'], ['A', 'K'], ['C', 'C'], ['H', 'C'], ['H', 'H'], ['H', 'K'], ['K', 'K']]
|
a = [1, 2, 3, 4]; i = 1; y = [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, 0, 0, 0, 0, 0]
|
y[a[i]] += 1
|
a = [1, 2, 3, 4]; i = 1; y = [0, 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, 0]
|
f = 127; v = [0, 1, 3, 7, 15, 31, 63]
|
v.append(f)
|
f = 127; v = [0, 1, 3, 7, 15, 31, 63, 127]
|
a = [102, 101, 100, 99, 98, 97, 98, 100, 100]; j = 8; p = 99
|
a[j] = p
|
a = [102, 101, 100, 99, 98, 97, 98, 100, 99]; j = 8; p = 99
|
i = 0; s = [1, 2, 3, 4]
|
v = cur + s[i]
|
i = 0; s = [1, 2, 3, 4]; v = 11; z = 10
|
b = 1; n = 2
|
n = n + b
|
b = 1; n = 3
|
n = [0, 1, 2, 4, 6, 5, 3]
|
n.sort()
|
n = [0, 1, 2, 3, 4, 5, 6]
|
p = 1048576
|
p *= 2
|
p = 2097152
|
s = 'eaeeea'; x = 'eaeeea'
|
x = s
|
s = 'eaeeea'; x = 'eaeeea'
|
i = 2; l = [1, 2]; u = ['1', '2', '3', '\n']
|
l.append(int(u[i]))
|
i = 2; l = [1, 2, 3]; u = ['1', '2', '3', '\n']
|
c = 3; m = 2; q = 1; s = [[[0, 0], [1, 0], [2, 0], [3, 0], [4, 0]], [[0, 1], (-1, -1), [0, 1], ( -1, -1), [0, 0]], [[0, 2], [1, 0], [2, 2], [3, 0], [4, 0]], [[0, 3], [1, 1], [2, 0], [3, 0], [4, 0]]]; u = 3
|
s[c][m][q] = u
|
c = 3; m = 2; q = 1; s = [[[0, 0], [1, 0], [2, 0], [3, 0], [4, 0]], [[0, 1], (-1, -1), [0, 1], (-1, -1), [0, 0]], [[0, 2], [1, 0], [2, 2], [3, 0], [4, 0]], [[0, 3], [1, 1], [2, 3], [3, 0], [4, 0]]]; u = 3
|
b = [3, 6, 1, 3, 1]; i = 2; j = 4; m = 7; s = 2
|
s = (b[j] - b[i] + m) % m
|
b = [3, 6, 1, 3, 1]; i = 2; j = 4; m = 7; s = 0
|
c = [3, 10, 2, 9]
|
i = sum(c) / 2
|
c = [3, 10, 2, 9]; i = 12.0
|
n = 5
|
i.append(n)
|
i = [5]; n = 5
|
i = 1
|
x ^= i
|
i = 1; x = -23
|
i = 3; k = [[None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None]]
|
k[i].append(None)
|
i = 3; k = [[None, None, None, None, None, None], [None, None, None, None, None, None], [None, None, None, None, None, None], [None, None]]
|
a = [1, 2, 3]; i = 1; j = 0; r = [0, 3, 2]
|
r.append(a[i] ^ a[j])
|
a = [1, 2, 3]; i = 1; j = 0; r = [0, 3, 2, 3]
|
q = 3; r = 4; u = 1
|
u = r - q
|
q = 3; r = 4; u = 1
|
e = [72.0, 67.0, 92.0, 95.0, 59.0]; w = [47, 58, 74]
|
e.append(float(w[1]))
|
e = [72.0, 67.0, 92.0, 95.0, 59.0, 58.0]; w = [47, 58, 74]
|
b = [[10, 100]]; q = [2, 200]
|
b.append(q)
|
b = [[10, 100], [2, 200]]; q = [2, 200]
|
i = ['she', 'went', 'to', 'the', 'drawing', 'room']; n = 6
|
n = len(i)
|
i = ['she', 'went', 'to', 'the', 'drawing', 'room']; n = 6
|
h = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 6; j = 50
|
j = abs(h[i] - h[i + 1])
|
h = [-7330761, -6461594, -3916237, -3620601, -357920, -520, -470, -20, 30, 266854, 6246457, 7374819]; i = 6; j = 450
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.