start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
|---|---|---|
h = 3; m = 3; z = 8
|
z = h * m
|
h = 3; m = 3; z = 9
|
s = ['1', '78']
|
s[0] = int(s[0])
|
s = [1, '78']
|
n = 6
|
x = n & -n
|
n = 6; x = 2
|
b = [0, 1, 1]; i = 3
|
b.append(b[i - 1] * b[i - 1] + b[i - 2])
|
b = [0, 1, 1, 2]; i = 3
|
k = 18; m = 3; x = [0, 1, 2]
|
k += m * x.pop()
|
k = 24; m = 3; x = [0, 1]
|
k = 0; n = 4
|
i = n - 1 - k
|
i = 3; k = 0; n = 4
|
a = []; n = '07895462130'
|
a.append(n[1:] if n.startswith('0') else n)
|
a = ['7895462130']; n = '07895462130'
|
l = 'B'; w = ['A']
|
w.append(l)
|
l = 'B'; w = ['A', 'B']
|
c = 1; e = [[(1, '1'), (1, '1'), (1, '1'), (2, '2')], [(1, '1'), (9, '9'), (1, '1' ), (2, '2')], [(1, '1'), (8, '8'), (9, '9'), (2, '2')], [(1, '1'), (2, '2'), (3, '3'), (4, '4')]]; r = 1; u = [(1, '1'), (9, '9'), (1, '1'), (2, '2')]
|
e[r][c] = e[r][c][0], 'X'
|
c = 1; e = [[(1, '1'), (1, '1'), (1, '1'), (2, '2')], [(1, '1'), (9, 'X'), (1, '1'), (2, '2')], [(1, '1'), (8, '8'), (9, '9'), (2, '2')], [(1, '1'), (2, '2'), (3, '3'), (4, '4')]]; r = 1; u = [(1, '1'), (9, '9'), (1, '1'), (2, '2')]
|
i = 1; j = 8; m = 'ifailuhkqq'; q = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'fa', 'fai', 'fail', 'failu', 'failuh', 'failuhk']
|
q.append(m[i:j + 1])
|
i = 1; j = 8; m = 'ifailuhkqq'; q = ['i', 'if', 'ifa', 'ifai', 'ifail', 'ifailu', 'fa', 'fai', 'fail', 'failu', 'failuh', 'failuhk', 'failuhkq']
|
i = 3
|
a = i / 2
|
a = 1.5; i = 3
|
b = 4; k = 2; s = 5
|
s = max(b * k, s)
|
b = 4; k = 2; s = 8
|
r = 1
|
r += 1
|
r = 2
|
b = 3
|
l = sum(range(1, b + 1))
|
b = 3; l = 6
|
c = 50; m = 295636
|
m = c
|
c = 50; m = 50
|
f = [1, 60]; h = [14, 28]
|
h.append(f[1])
|
f = [1, 60]; h = [14, 28, 60]
|
b = [3, 6, 1, 3, 1]; i = 0; j = 4; m = 7; s = 0
|
s = (b[j] - b[i] + m) % m
|
b = [3, 6, 1, 3, 1]; i = 0; j = 4; m = 7; s = 5
|
h = 3; i = [4]
|
i.append(h)
|
h = 3; i = [4, 3]
|
i = 0
|
z.append(i)
|
i = 0; z = [0]
|
i = 0; l = [[-2, -3, -1, -4, -6]]
|
f = s = max(l[i])
|
f = -1; i = 0; l = [[-2, -3, -1, -4, -6]]; s = -1
|
e = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]; i = 2; w = [1, 2, 0, 0, 0, 0, 0, 0, 0, 0]
|
w[i] = w[i - 1] + 1 if e[i] > e[i - 1] else 1
|
e = [2, 4, 2, 6, 1, 7, 8, 9, 2, 1]; i = 2; w = [1, 2, 1, 0, 0, 0, 0, 0, 0, 0]
|
b = [1, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 5
|
b[i] = round(b[i] / 2)
|
b = [1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 5
|
d = 1; t = """4\n1112\n1912\n1892\n1234\n\n\n\n"""
|
t += str(d)
|
d = 1; t = '4\n1112\n1912\n1892\n1234\n\n\n\n1'
|
t = ['72', '76', '90']; x = 1374
|
x += int(t[0])
|
t = ['72', '76', '90']; x = 1446
|
t = [3, 4, 0]; x = [[1, 2, 4], [2, 3, 3], [3, 4, 1]]
|
x.append(t)
|
t = [3, 4, 0]; x = [[1, 2, 4], [2, 3, 3], [3, 4, 1], [3, 4, 0]]
|
i = 4; l = 2; n = [0, 1, 1, 1, 999]; o = [0, 0, 1, 2, 2, 0]; u = [0, 0, 1, 2, 2, 0]; v = 3
|
l = sum(n[i - v:i]) + o[i - v - u[i - v]]
|
i = 4; l = 3; n = [0, 1, 1, 1, 999]; o = [0, 0, 1, 2, 2, 0]; u = [0, 0, 1, 2, 2, 0]; v = 3
|
h = 4; j = 2.0; x = 2
|
j += x % h - (h / 2 - 1)
|
h = 4; j = 3.0; x = 2
|
u = 1.9721522630525295e-30
|
u /= 2
|
u = 9.860761315262648e-31
|
h = 'b',; i = 1; j = 2; s = 'abba'
|
h = tuple(sorted(s[i:j + 1]))
|
h = ('b', 'b'); i = 1; j = 2; s = 'abba'
|
q = [0, 380427290, 1146755480, -112200314, -471886354, -517372961, 1186237923, 871911180, 213347186]; v = 1
|
j = q[v]
|
j = 380427290; q = [0, 380427290, 1146755480, -112200314, -471886354, -517372961, 1186237923, 871911180, 213347186]; v = 1
|
f = 75; j = [95, 97, 93, 79]
|
j.append(f)
|
f = 75; j = [95, 97, 93, 79, 75]
|
a = 1; b = 2; r = [0, [-1, {2}], [-1, set()], [-1, set()], [-1, set()]]
|
r[b][1].add(a)
|
a = 1; b = 2; r = [0, [-1, {2}], [-1, {1}], [-1, set()], [-1, set()]]
|
g = [6, 5, 4]; z = [6, 5, 4]
|
g = [z[0]]
|
g = [6]; z = [6, 5, 4]
|
i = 15; r = {'016', '23', '56', '008', '024', '24', '27', '056', '046', '088', '8', '00', '04', '48', '004', ...}
|
r.add(''.join(sorted([str(8 * i % 10), str(int(8 * i / 10) % 10), str(int(8 * i / 100) % 10)])))
|
i = 15; r = {'046', '088', '056', '04', '27', '004', '008', '24', '56', '23', '8', Ellipsis, '48', '016', '00', '024', '012'}
|
i = 1; o = [1, 1, 2]
|
o.append(i)
|
i = 1; o = [1, 1, 2, 1]
|
i = 0; r = [['1', '5'], ['10', '3'], ['3', '4']]
|
a = int(r[i][0])
|
a = 1; i = 0; r = [['1', '5'], ['10', '3'], ['3', '4']]
|
b = 4; j = 1
|
b += j
|
b = 5; j = 1
|
n = 1; q = [1, 1, 1, 1, 1, 1, 1, -1]
|
q = [-1] * (n + 1)
|
n = 1; q = [-1, -1]
|
x = [5, 2, 1]
|
w = x[2]
|
w = 1; x = [5, 2, 1]
|
a = {'a': 1, 'ab': 1, 'abb': 1, 'aabb': 1, 'b': 1}; x = 'bb'
|
a[x] = 1
|
a = {'a': 1, 'ab': 1, 'abb': 1, 'aabb': 1, 'b': 1, 'bb': 1}; x = 'bb'
|
i = 3; j = 6
|
j = i ** 2
|
i = 3; j = 9
|
x = [1]; z = {(140134768278656): {}, (140134768499360): [1]}
|
z[id(z)] = [x]
|
x = [1]; z = {140134768278656: {}, 140134768499360: [1], 139758038055744: [[1]]}
|
b = ['this', 'is', 'a', 'string']
|
b = '-'.join(b)
|
b = 'this-is-a-string'
|
i = 'bcdef'; w = Counter({'bcdef': 2, 'abcdefg': 1, 'bcde': 1})
|
d = w.pop(i, None)
|
d = 2; i = 'bcdef'; w = Counter({'abcdefg': 1, 'bcde': 1})
|
j = 6; t = 'to the other'; y = ['', 'he', 'went', 'to', 'the', 'other', 'room']
|
t = ' '.join(y[j - 2:j + 1])
|
j = 6; t = 'the other room'; y = ['', 'he', 'went', 'to', 'the', 'other', 'room']
|
i = 1; x = [2, '3', '6', '6', '5']
|
x[i] = int(x[i])
|
i = 1; x = [2, 3, '6', '6', '5']
|
a = [[1, 0, 0, 0, 0], [1, 1, 1, 1, 1], [1, 1, 2, 2, 3], [1, 1, 0, 1, 0]]; i = 2; k = 1; o = 4
|
a[i + 1][o] += a[i][k]
|
a = [[1, 0, 0, 0, 0], [1, 1, 1, 1, 1], [1, 1, 2, 2, 3], [1, 1, 0, 1, 1]]; i = 2; k = 1; o = 4
|
i = [[0, 0, 0], [0, 0, 1], [0, 0, 2], [0, 1, 0], [0, 1, 1], [0, 2, 0], [0, 2, 1], [0, 2, 2], [1, 0, 0]]; x = 1; y = 0; z = 1
|
i.append([x, y, z])
|
i = [[0, 0, 0], [0, 0, 1], [0, 0, 2], [0, 1, 0], [0, 1, 1], [0, 2, 0], [0, 2, 1], [0, 2, 2], [1, 0, 0], [1, 0, 1]]; x = 1; y = 0; z = 1
|
f = 1.2000000000000005e-31
|
f = f / 10
|
f = 1.2000000000000005e-32
|
b = 206; m = {(203): 2, (204): 2, (205): 3, (206): 2, (207): 1, (208): 1}
|
m[b] += 1
|
b = 206; m = {203: 2, 204: 2, 205: 3, 206: 3, 207: 1, 208: 1}
|
e = 10; m = 10; x = [2, -1, 2, 3, 4, -5]
|
e = m = x[0]
|
e = 2; m = 2; x = [2, -1, 2, 3, 4, -5]
|
a = 2; p = 512; r = 1000000007; s = 629330
|
s = (s + a * p) % r
|
a = 2; p = 512; r = 1000000007; s = 630354
|
i = 0; n = 10
|
t = n, i + 1
|
i = 0; n = 10; t = (10, 1)
|
x = ['1', '1', '1']
|
z = int(x[2])
|
x = ['1', '1', '1']; z = 1
|
l = ['1', '2', '100']
|
h = int(l[2])
|
h = 100; l = ['1', '2', '100']
|
u = ['0', '3']
|
c.append(int(u[1]))
|
c = [3]; u = ['0', '3']
|
a = [[3, 4, 8, 12], [2, 7, 7, 16], [1, 10, 11, 15], [5, 9, 13, 14]]; g = 1; o = 1; w = 4
|
a[o][w - 1 - g] = a[o + 1][w - 1 - g]
|
a = [[3, 4, 8, 12], [2, 7, 11, 16], [1, 10, 11, 15], [5, 9, 13, 14]]; g = 1; o = 1; w = 4
|
w = 'a'; x = {'a': 0}
|
x[w] += 1
|
w = 'a'; x = {'a': 1}
|
a = [1, 2, 3, 4, 5]; i = 2; j = 1; w = 2
|
w = a[i] - a[j]
|
a = [1, 2, 3, 4, 5]; i = 2; j = 1; w = 1
|
j = 4; m = [100, 100, 0, 0, 0]; x = 100
|
m[j] = m[j] - x
|
j = 4; m = [100, 100, 0, 0, -100]; x = 100
|
b = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0]; c = 8; i = 14
|
c += b[i] % 2
|
b = [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0]; c = 9; i = 14
|
a = ['5', '2']
|
k = int(a[0])
|
a = ['5', '2']; k = 5
|
j = -1; y = 1; z = -1
|
z = j + y
|
j = -1; y = 1; z = 0
|
r = 19
|
r += 1
|
r = 20
|
b = '3'; i = 1; u = ['2', '4', '6', '6', '8']
|
u[-i - 2] = b
|
b = '3'; i = 1; u = ['2', '4', '3', '6', '8']
|
i = 204; y = {(203): 1, (204): 1}
|
y[i] += 1
|
i = 204; y = {203: 1, 204: 2}
|
i = 3; m = {'X': [0], '_': [1], 'Y': [2]}; v = 'X_Y__X'
|
m[v[i]].append(i)
|
i = 3; m = {'X': [0], '_': [1, 3], 'Y': [2]}; v = 'X_Y__X'
|
m = 9196; z = ['95', '92', '95']
|
m += int(z[0]) * int(z[2])
|
m = 18221; z = ['95', '92', '95']
|
h = ( 'In the third category he included those Brothers..., breathless from his gallop and his excitement. ' ); k = 31; y = 'In the third category he includ'
|
y += h[k]
|
h = 'In the third category he included those Brothers..., breathless from his gallop and his excitement. '; k = 31; y = 'In the third category he include'
|
d = {'a': 0, 'b': 0, 'c': 4}
|
d['c'] += 1
|
d = {'a': 0, 'b': 0, 'c': 5}
|
b = 1; n = 2; q = {(1): [3], (2): [4], (3): [1, 4], (4): [3, 2], (5): [], (6): []}
|
q[b].append(n)
|
b = 1; n = 2; q = {1: [3, 2], 2: [4], 3: [1, 4], 4: [3, 2], 5: [], 6: []}
|
t = [[], [], [], []]; x = 2; y = 3
|
t[x].append(y)
|
t = [[], [], [3], []]; x = 2; y = 3
|
i = 3; m = 1; p = [0, 1, 2, 4, 3, 3, 2, 1]
|
p[i] = p[i] - m
|
i = 3; m = 1; p = [0, 1, 2, 3, 3, 3, 2, 1]
|
i = 5; l = {'A': 3, 'C': 0, 'T': 1, 'G': 1}; s = ['G', 'A', 'A', 'A', 'T', 'A', 'A', 'A']
|
l[s[i]] = l[s[i]] + 1
|
i = 5; l = {'A': 4, 'C': 0, 'T': 1, 'G': 1}; s = ['G', 'A', 'A', 'A', 'T', 'A', 'A', 'A']
|
d = ['0', '0', '2', '2']; r = 1
|
r = int(d[3])
|
d = ['0', '0', '2', '2']; r = 2
|
b = {'A': 6, 'C': 0, 'T': 1, 'G': 0}; r = 'A'
|
b[r] = b[r] - 1
|
b = {'A': 5, 'C': 0, 'T': 1, 'G': 0}; r = 'A'
|
i = [6, 11, 25, 48, 60, 110, 10, 0, 0, 0]; j = 5; o = 100
|
o += i[j]
|
i = [6, 11, 25, 48, 60, 110, 10, 0, 0, 0]; j = 5; o = 210
|
p = 1
|
p += 1
|
p = 2
|
j = 'because'; x = ''
|
p = x + j
|
j = 'because'; p = 'because'; x = ''
|
b = 7; n = 6
|
q = 2 ** max(b, n)
|
b = 7; n = 6; q = 128
|
t = [2, 4, 6, 8, 3]
|
r = t[-1]
|
r = 3; t = [2, 4, 6, 8, 3]
|
e = 11; w = 9
|
w = e
|
e = 11; w = 11
|
a = 3; b = 0; c = 'cdcd'; r = 'cd'
|
r = c[a:b + 1 + a]
|
a = 3; b = 0; c = 'cdcd'; r = 'd'
|
m = '07895462130'
|
h = str(m[-5:])
|
h = '62130'; m = '07895462130'
|
i = 0; j = 1; o = 'a',; s = 'abba'
|
o = tuple(sorted(s[i:j + 1]))
|
i = 0; j = 1; o = ('a', 'b'); s = 'abba'
|
q = 5; w = 5
|
w = q
|
q = 5; w = 5
|
a = [2, 3, 5, 7, 23, 29, 31, 37, 41]; i = 43
|
a.append(i)
|
a = [2, 3, 5, 7, 23, 29, 31, 37, 41, 43]; i = 43
|
i = [[], [], [], [], [], [], []]; x = 2
|
i[0] = [[0, x, 0]]
|
i = [[[0, 2, 0]], [], [], [], [], [], []]; x = 2
|
j = 4; k = 9
|
k, j = k + 1, j - 1
|
j = 3; k = 10
|
q = [1]
|
q.pop()
|
q = []
|
i = ['IMNO']; j = 4; o = 0
|
o = sum(map(j, i))
|
i = ['IMNO']; j = 4; o = <map object at 0x7f1c77af3dd0>
|
h = {(63): 1, (25): 1, (73): 1, (1): 1, (98): 1}; i = 73
|
h[i] += 1
|
h = {63: 1, 25: 1, 73: 2, 1: 1, 98: 1}; i = 73
|
i = 98; n = '10'
|
n = str(i + 1)
|
i = 98; n = '99'
|
i = 1; n = [[0], [], [], []]; x = 4
|
n[x - 1].append(i)
|
i = 1; n = [[0], [], [], [1]]; x = 4
|
i = 7; l = 10; u = [1, 2, 1, 2, 1, 2, 1, 2]
|
l += u[i]
|
i = 7; l = 12; u = [1, 2, 1, 2, 1, 2, 1, 2]
|
c = {'22+79+21': 122, '22+79-21': 80, '22+79*21': 2121, '22-79+21': -36, '22-79-21': -78, '22-79*21': -1197}; d = 1738; j = 21; z = '22*79'
|
c[str(z) + '+' + str(j)] = d + j
|
c = {'22+79+21': 122, '22+79-21': 80, '22+79*21': 2121, '22-79+21': -36, '22-79-21': -78, '22-79*21': -1197, '22*79+21': 1759}; d = 1738; j = 21; z = '22*79'
|
c = 7
|
p = c
|
c = 7; p = 7
|
u = '2 to'; w = 'is'; x = 4
|
x, w = u.split()
|
u = '2 to'; w = 'to'; x = '2'
|
k = 49; l = ( 'In the third category he included those Brothers..., breathless from his gallop and his excitement. ' ); m = 'In the third category he included those Brothers '
|
m += l[k]
|
k = 49; l = 'In the third category he included those Brothers..., breathless from his gallop and his excitement. '; m = 'In the third category he included those Brothers .'
|
f = [[1, 1], [0, 0]]; i = 1; j = 0; k = 0; n = [[1, 0], [0, 1]]; u = [[1, 1], [1, 0]]
|
f[i][j] += u[i][k] * n[k][j]
|
f = [[1, 1], [1, 0]]; i = 1; j = 0; k = 0; n = [[1, 0], [0, 1]]; u = [[1, 1], [1, 0]]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.