start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
---|---|---|
j = 3; n = 1; u = {(1): [1, 5]}
|
u[n] += [j]
|
j = 3; n = 1; u = {1: [1, 5, 3]}
|
b = 1.25; t = 4.5
|
t += b
|
b = 1.25; t = 5.75
|
a = [64630.0, 11735.0, 14216.0, 99233.0, 14470.0, 4978.0, 73429.0, 38120.0, 51135.0, 67060.0]
|
a.sort()
|
a = [4978.0, 11735.0, 14216.0, 14470.0, 38120.0, 51135.0, 64630.0, 67060.0, 73429.0, 99233.0]
|
o = 4; y = 6
|
y = y + o
|
o = 4; y = 10
|
a = 10; d = {(2): [2, 3], (3): [1, 4], (4): [4, 4]}; k = 4
|
a = a - (d[k][1] - d[k][0] + 1) + t
|
a = 31; d = {2: [2, 3], 3: [1, 4], 4: [4, 4]}; k = 4; t = 22
|
n = 2
|
n += 2
|
n = 4
|
n = 1; x = 1; y = 1
|
r = x + y - n if x + y >= n + 1 else 1
|
n = 1; r = 1; x = 1; y = 1
|
g = False; i = 7; l = 12
|
i = (i + 1, l)[g]
|
g = False; i = 8; l = 12
|
n = '8'
|
n = int(n)
|
n = 8
|
i = 3; j = 1; r = [[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]]; s = 2
|
s = sum(r[i][j:j + 3])
|
i = 3; j = 1; r = [[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]]; s = 6
|
m = 5
|
m += 1
|
m = 6
|
p = 4.0
|
p += 1
|
p = 5.0
|
l = ['6', '2', '2']
|
l = list(map(int, l))
|
l = [6, 2, 2]
|
i = '3 2\n'
|
a, b = list(map(int, i.split()))
|
a = 3; b = 2; i = '3 2\n'
|
i = 11; j = 14; u = 6
|
u = i ^ j
|
i = 11; j = 14; u = 5
|
g = 5; i = 4; j = 1; z = ['e', 'd', 'c', 'b']
|
z.append(alphabets[g - i + j])
|
g = 5; i = 4; j = 1; v = 'QjL9V3hdOE'; z = ['e', 'd', 'c', 'b', 'L']
|
j = {'14', '3', '7', '4', '1', '52', '6', '24', '8', '9', '12', '10', '13', '5', '11', '2'}; s = {'3', '7', '4', '1', '6', '8', '9', '5', '11', '2'}
|
j.intersection_update(s)
|
j = {'6', '11', '7', '3', '8', '2', '9', '5', '1', '4'}; s = {'6', '11', '7', '3', '8', '2', '9', '5', '1', '4'}
|
d = {'a': 0}; i = 1
|
d[chr(ord('a') + i)] = 0
|
d = {'a': 0, 'b': 0}; i = 1
|
c = 0.0390625; u = 0.078125
|
u = c % 2
|
c = 0.0390625; u = 0.0390625
|
c = 2; d = [1, 3, 2, 3, 1, 1]
|
d.append(c)
|
c = 2; d = [1, 3, 2, 3, 1, 1, 2]
|
d = 'CD'; p = 'CD'
|
d = p
|
d = 'CD'; p = 'CD'
|
k = 5
|
k = k + 2
|
k = 7
|
b = ['r', 'c', 't', 'p', 'q', 'm', 's', 'f', 'o', 'w', 'n', 'd', 'g', 'u', 'v', 'h', 'e']; i = 11; k = 'cdefghmnopqrstuvw'; q = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
|
q.append(k.count(b[i]))
|
b = ['r', 'c', 't', 'p', 'q', 'm', 's', 'f', 'o', 'w', 'n', 'd', 'g', 'u', 'v', 'h', 'e']; i = 11; k = 'cdefghmnopqrstuvw'; q = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
|
q = 36; u = 27
|
u = q
|
q = 36; u = 36
|
m = 97
|
m -= 1
|
m = 96
|
i = 7; r = 4; s = ['2', '2', '2', '2', '2', '2', '2']; t = ['2', '2']
|
t = s[r:i]
|
i = 7; r = 4; s = ['2', '2', '2', '2', '2', '2', '2']; t = ['2', '2', '2']
|
g = 3; v = 1; x = 2
|
t += min((g - 1) * v + x, x * g)
|
g = 3; t = -71; v = 1; x = 2
|
j = 4; k = 1; n = 'aa '; t = 'ababaa '
|
n = t[j:len(t) - k]
|
j = 4; k = 1; n = 'aa '; t = 'ababaa '
|
b = [1, 2, 0, 0, 0, 0, 0, 0, 0, 0]; j = 2
|
b[j] = 1
|
b = [1, 2, 1, 0, 0, 0, 0, 0, 0, 0]; j = 2
|
i = 1; k = []; l = {(0): 3, (1): 9, (2): 5}
|
k.append(l[i])
|
i = 1; k = [9]; l = {0: 3, 1: 9, 2: 5}
|
a = [1, 4, 1]; d = 0
|
d = a.count(1)
|
a = [1, 4, 1]; d = 2
|
e = 1000000007; f = [1, 1, 2, 3, 5, 8, 13, 165580141, 267914296, 433494437, 701408733, 134903163, 836311896, 971215059]
|
f.append((f[-1] + f[-2]) % e)
|
e = 1000000007; f = [1, 1, 2, 3, 5, 8, 13, 165580141, 267914296, 433494437, 701408733, 134903163, 836311896, 971215059, 807526948]
|
p = '1000'; u = '10001001'
|
q = u.find(p) == 0
|
p = '1000'; q = True; u = '10001001'
|
g = 3.308722450212111e-24; n = 2
|
g /= n
|
g = 1.6543612251060553e-24; n = 2
|
e = 105; t = 30
|
e -= t
|
e = 75; t = 30
|
i = '9'; z = 10
|
i = str(z)
|
i = '10'; z = 10
|
l = 205; u = {(203): 1, (204): 2}
|
u[l] = u.get(l, 0) + 1
|
l = 205; u = {203: 1, 204: 2, 205: 1}
|
s = 7
|
s = s + 1
|
s = 8
|
d = OrderedDict([('a', 2), ('b', 3), ('c', 2), ('d', 1)]); k = 'e'
|
d[k] = 1
|
d = OrderedDict([('a', 2), ('b', 3), ('c', 2), ('d', 1), ('e', 1)]); k = 'e'
|
d = 'acxz'
|
d = list(d)
|
d = ['a', 'c', 'x', 'z']
|
e = [7, 9, 11, 12]; z = 2
|
e = e[z + 1:]
|
e = [12]; z = 2
|
y = [1, 2, 3, 21, 7, 12, 14, 21]
|
y = sorted(y)
|
y = [1, 2, 3, 7, 12, 14, 21, 21]
|
a = [17, '28', '30']; i = 1
|
a[i] = int(a[i])
|
a = [17, 28, '30']; i = 1
|
d = 5; j = 4
|
d = d + j
|
d = 9; j = 4
|
i = 2; l = [2, 1, 5, 3, 4]
|
f = l[i]
|
f = 5; i = 2; l = [2, 1, 5, 3, 4]
|
i = 5; m = 3; x = 5
|
m = x // i
|
i = 5; m = 1; x = 5
|
g = [[0, None, None, None], [None, 0, None, None], [None, None, 0, None], [ None, None, None, None]]; i = 3
|
g[i][i] = 0
|
g = [[0, None, None, None], [None, 0, None, None], [None, None, 0, None], [None, None, None, 0]]; i = 3
|
b = [1, 3, 5, 7]; r = 9
|
r = b[-1]
|
b = [1, 3, 5, 7]; r = 7
|
k = 'o'; o = ['d', 'c']
|
k = min(o)
|
k = 'c'; o = ['d', 'c']
|
c = [1, 2, 3]; i = 1; o = '1 3 4 2'
|
c = [int(i) for i in o.split(' ')]
|
c = [1, 3, 4, 2]; i = 1; o = '1 3 4 2'
|
a = [4, 2, 4, 6, 1]; b = [2, 1, 8, 5]
|
m = min(a[0], b[0])
|
a = [4, 2, 4, 6, 1]; b = [2, 1, 8, 5]; m = 2
|
u = [97]
|
u = u[:-1]
|
u = []
|
i = 2; u = 2
|
i = u
|
i = 2; u = 2
|
c = [1, 2]
|
c.append(1)
|
c = [1, 2, 1]
|
a = 'abcabc'
|
k = len(a)
|
a = 'abcabc'; k = 6
|
h = 13
|
h += 1
|
h = 14
|
q = '('; x = ['{', '[']
|
x.append(q)
|
q = '('; x = ['{', '[', '(']
|
a = {9, 2, 4, 5}; c = {2, 4}
|
d = a.difference(c)
|
a = {9, 2, 4, 5}; c = {2, 4}; d = {9, 5}
|
a = 3.141592653589793; d = 8.0; n = 26.0; y = 0.016592653589793116
|
y = abs(n / d - a)
|
a = 3.141592653589793; d = 8.0; n = 26.0; y = 0.10840734641020688
|
i = 75; m = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72, 1, 75]
|
m.append(m[-1] ^ i)
|
i = 75; m = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71, 0, 72, 1, 75, 0]
|
e = 5; i = 2; j = [6, 5, 8, 4, 7, 10, 9]
|
e = j[i]
|
e = 8; i = 2; j = [6, 5, 8, 4, 7, 10, 9]
|
c = '4'; p = '3'
|
p, c = [int(p), int(c)]
|
c = 4; p = 3
|
b = 7; j = 9; z = 8
|
k = min([z, j, b])
|
b = 7; j = 9; k = 7; z = 8
|
q = '10'
|
q = int(q)
|
q = 10
|
f = '1'; i = '100'
|
f, i = [int(f), int(i)]
|
f = 1; i = 100
|
i = 4; q = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['p', 'q', 'r', 's', 't'], ['x', 'y', 'w', 'u', 'v']]
|
q[i].sort()
|
i = 4; q = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['p', 'q', 'r', 's', 't'], ['u', 'v', 'w', 'x', 'y']]
|
b = ['M', '1', '2']; o = 'Q'
|
o = b[0]
|
b = ['M', '1', '2']; o = 'M'
|
j = {'1': 4, '2': 4, '3': 4, '6': 4, '5': 4, '4': 5, '8': 1}; x = '3'
|
j[x] = j.get(x, 0) + 1
|
j = {'1': 4, '2': 4, '3': 5, '6': 4, '5': 4, '4': 5, '8': 1}; x = '3'
|
h = ['2', '2', '2', '2', '2', '2', '2']; i = 5; m = 3; t = ['2']
|
t = h[m:i]
|
h = ['2', '2', '2', '2', '2', '2', '2']; i = 5; m = 3; t = ['2', '2']
|
b = 11; n = 9
|
b = n
|
b = 9; n = 9
|
j = 3; k = 0; y = 50
|
y = 4 * j + 1 + k
|
j = 3; k = 0; y = 13
|
w = '6 6 2015'
|
j, i, q = w.split(' ')
|
i = '6'; j = '6'; q = '2015'; w = '6 6 2015'
|
b = ['x', 'y', 'w', 'u', 'v']; f = 's'; j = 1
|
f = b[j]
|
b = ['x', 'y', 'w', 'u', 'v']; f = 'y'; j = 1
|
c = [0, 0, 0, 0, 0, 0]; i = 0
|
c[i] = 1
|
c = [1, 0, 0, 0, 0, 0]; i = 0
|
a = [1, 2, 3, 7, 12, 14, 21, 21]
|
z = min(a)
|
a = [1, 2, 3, 7, 12, 14, 21, 21]; z = 1
|
a = 5
|
a = a - 1
|
a = 4
|
l = 18; r = ['IMNOQRSTUVWXYZ']
|
l = len(r[-1])
|
l = 14; r = ['IMNOQRSTUVWXYZ']
|
b = [20, 7, 8, 2, 5]; i = 0; j = 2; x = 13
|
x = min(x, b[i] - b[j])
|
b = [20, 7, 8, 2, 5]; i = 0; j = 2; x = 12
|
h = '6'; q = [9, 6]; v = '5'
|
q.append(int(v) + int(h))
|
h = '6'; q = [9, 6, 11]; v = '5'
|
s = 'give'; x = {'give': 1, 'me': 1, 'one': 1, 'grand': 1, 'today': 1, 'night': 1}
|
x[s] -= 1
|
s = 'give'; x = {'give': 0, 'me': 1, 'one': 1, 'grand': 1, 'today': 1, 'night': 1}
|
n = -1; t = -3; y = 2.0
|
y = t / n
|
n = -1; t = -3; y = 3.0
|
i = 2; j = 3; p = ['h', 'e', 'f', 'g']
|
p[i] = p[j]
|
i = 2; j = 3; p = ['h', 'e', 'g', 'g']
|
i = 1; v = {0, 2}
|
v.add(i)
|
i = 1; v = {0, 1, 2}
|
d = 3492223820; f = 35601423
|
d = 2 ** 32 - 1 - f
|
d = 4259365872; f = 35601423
|
a = 1; q = ['2', 'not']
|
a = int(q[0])
|
a = 2; q = ['2', 'not']
|
f = 16
|
f = f + 1
|
f = 17
|
n = 4; o = 3.0; r = 2.5
|
o = n / r + 1
|
n = 4; o = 2.6; r = 2.5
|
f = 3; j = 2
|
f = j
|
f = 2; j = 2
|
x = [2, 4, 5, 6, 7, 9, 11, 12]
|
i = min(x)
|
i = 2; x = [2, 4, 5, 6, 7, 9, 11, 12]
|
d = [[2, 3], [-1, 4], [-1, 5], [6, -1], [7, 8], [-1, 9], [-1, -1], [10, 11], [-1, -1], [-1, -1], [-1, -1]]; n = 4; r = []
|
r.append(d[n - 1][0])
|
d = [[2, 3], [-1, 4], [-1, 5], [6, -1], [7, 8], [-1, 9], [-1, -1], [10, 11], [-1, -1], [-1, -1], [-1, -1]]; n = 4; r = [6]
|
b = 5; s = {(0): 0, (1): 1, (2): 2, (3): 3, (4): 3, (9): 4, (6): 4, (16): 4, (12): 4, (8): 4, (5): 4}; y = 5
|
s[y * b] = s[y] + 1
|
b = 5; s = {0: 0, 1: 1, 2: 2, 3: 3, 4: 3, 9: 4, 6: 4, 16: 4, 12: 4, 8: 4, 5: 4, 25: 5}; y = 5
|
k = '3 2 7\n'
|
l.append([int(x) for x in k.split(' ')])
|
k = '3 2 7\n'; l = [[3, 2, 7]]
|
n = 2
|
n += 1
|
n = 3
|
d = -1; e = 2; k = 1; s = 2; t = 400
|
t += k * s * pow(2, d) * pow(2, e)
|
d = -1; e = 2; k = 1; s = 2; t = 404.0
|
d = 7.0; i = 8
|
d = i
|
d = 8; i = 8
|
d = 'bcdef'; o = OrderedDict([('bcdef', 1), ('abcdefg', 1), ('bcde', 1)])
|
o[d] += 1
|
d = 'bcdef'; o = OrderedDict([('bcdef', 2), ('abcdefg', 1), ('bcde', 1)])
|
a = [1, 1, 4, 1]; i = -1
|
i = len(a) - 2
|
a = [1, 1, 4, 1]; i = 2
|
i = 4; r = 3
|
r = i
|
i = 4; r = 4
|
c = [0.85, 0.16, 139.75]; i = 4; y = array([109.85, 155.72, 137.66, 0.0, 0.0, 0.0])
|
y[i] = c[-1]
|
c = [0.85, 0.16, 139.75]; i = 4; y = array([109.85, 155.72, 137.66, 0. , 139.75, 0. ])
|
b = [[1, 0, 0, 0, 0], [1, 1, 1, 1, 1], [1, 1, 2, 2, 3], [1, 0, 0, 0, 0]]; f = 1; v = 2
|
b[v + 1][f] = b[v][f]
|
b = [[1, 0, 0, 0, 0], [1, 1, 1, 1, 1], [1, 1, 2, 2, 3], [1, 1, 0, 0, 0]]; f = 1; v = 2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.