start
stringlengths 5
368
| code
stringlengths 5
143
| end
stringlengths 5
527
|
---|---|---|
a = [0, 0, 1, 2, 1]; i = 3; r = 1
|
r = r ^ a[i]
|
a = [0, 0, 1, 2, 1]; i = 3; r = 3
|
m = '2'; n = '5'
|
n, m = int(n), int(m)
|
m = 2; n = 5
|
n = 28; p = [1, 5, 10, 12, 111, 200, 1000]; z = 4
|
n += p[z]
|
n = 139; p = [1, 5, 10, 12, 111, 200, 1000]; z = 4
|
i = -53; n = 3; y = 4; z = 99
|
i = z - y ** n
|
i = 35; n = 3; y = 4; z = 99
|
i = 5; y = [1, 2, 3, 4]
|
y.append(i)
|
i = 5; y = [1, 2, 3, 4, 5]
|
b = 15; i = 1; j = 2; s = [20, 7, 8, 2, 5]
|
b = s[j] - s[i]
|
b = 1; i = 1; j = 2; s = [20, 7, 8, 2, 5]
|
h = 25
|
h = h + 1
|
h = 26
|
c = '{[('; p = '}])'
|
c, p = '{[(', '}])'
|
c = '{[('; p = '}])'
|
j = 1; r = [675.0, 632.0, 690.0]; z = [95.0, 84.0, 90.0]
|
r[j] += z[j]
|
j = 1; r = [675.0, 716.0, 690.0]; z = [95.0, 84.0, 90.0]
|
k = 10
|
k = int(k / 10)
|
k = 1
|
p = [5, 2, 8]
|
p = sorted(p)
|
p = [2, 5, 8]
|
i = 0; j = 1; s = 0
|
g += [(i, j, s)]
|
g = [(0, 1, 0)]; i = 0; j = 1; s = 0
|
i = {(1): 1}; v = 2
|
i[v] = i.get(v, 0) + 1
|
i = {1: 1, 2: 1}; v = 2
|
a = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]; d = 46; i = 1; m = 3
|
d += a[i][m - 1]
|
a = [[1, 3, 4], [2, 2, 3], [1, 2, 4]]; d = 49; i = 1; m = 3
|
b = ' '; m = set(); u = ' '
|
m.add((b + u, 0))
|
b = ' '; m = {(' ', 0)}; u = ' '
|
i = 2; j = 3; m = 2
|
j = i + m
|
i = 2; j = 4; m = 2
|
y = [3, 4, 1]
|
s = len(y)
|
s = 3; y = [3, 4, 1]
|
g = [109, 0, 7, 1]; w = 0
|
g[w] += 1
|
g = [110, 0, 7, 1]; w = 0
|
b = 4; q = [False, True, True, False, False]
|
q[b - 1] = True
|
b = 4; q = [False, True, True, True, False]
|
b = 'e'; c = 1; d = 3; u = 'e'
|
b = u[c:d]
|
b = ''; c = 1; d = 3; u = 'e'
|
q = {'a': 1}; v = 'b'
|
q[v] = 1
|
q = {'a': 1, 'b': 1}; v = 'b'
|
d = 0; f = [5, 8, 14]
|
i = f[d + 1]
|
d = 0; f = [5, 8, 14]; i = 8
|
f = 'cdcd'; i = 0; j = 2; k = 'd'
|
k = f[i:i + j]
|
f = 'cdcd'; i = 0; j = 2; k = 'cd'
|
b = '8'; n = '1'
|
n = n + b
|
b = '8'; n = '18'
|
i = -1; w = 3
|
w += i
|
i = -1; w = 2
|
m = 5
|
a += str(m) + ' '
|
a = 'namO1y34bU386gn5 '; m = 5
|
i = 7; s = '999100010001'; w = 9991000
|
w = int(s[:i + 1])
|
i = 7; s = '999100010001'; w = 99910001
|
k = [2, 3, 5, 7]; n = 11
|
k.append(n)
|
k = [2, 3, 5, 7, 11]; n = 11
|
o = ['H', 'A', 'C', 'K']
|
o.sort()
|
o = ['A', 'C', 'H', 'K']
|
i = 0; p = 3; w = 4; x = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
|
p += x[w + i] + x[i] - x[w + i - 1] - x[i + 1]
|
i = 0; p = 8; w = 4; x = [1, 2, 3, 4, 10, 20, 30, 40, 100, 200]
|
i = 1
|
d = lambda i: i * i * i
|
d = <function <lambda> at 0x7f1bf43ae950>; i = 1
|
i = 1; u = [1, 2, 3, 4, 5]; x = 3
|
x = u[i]
|
i = 1; u = [1, 2, 3, 4, 5]; x = 2
|
c = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1, 'g': 1, 'h': 2}; u = 'g'
|
c[u] += 1
|
c = {'a': 1, 'b': 1, 'c': 1, 'd': 1, 'e': 1, 'f': 1, 'g': 2, 'h': 2}; u = 'g'
|
a = 'a'; s = ['r', 'a']
|
s.append(a)
|
a = 'a'; s = ['r', 'a', 'a']
|
i = 35; w = 2
|
i += w
|
i = 37; w = 2
|
c = 1; i = 5; n = 4
|
c = c * (n + 1 - i) // i
|
c = 0; i = 5; n = 4
|
j = [1, 42]; p = deque([])
|
p.append(j[1])
|
j = [1, 42]; p = deque([42])
|
c = '4'; e = [0, 6, 0, 6, 4, 0, 6, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 10
|
e[i] = int(c)
|
c = '4'; e = [0, 6, 0, 6, 4, 0, 6, 0, 6, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0]; i = 10
|
i = 0; s = 'ab'; x = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']
|
x[i] = s
|
i = 0; s = 'ab'; x = ['ab', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']
|
g = 0.0009765625; p = 2; t = 4.759160768911386
|
t *= g % p + 1
|
g = 0.0009765625; p = 2; t = 4.763808386849775
|
a = [4, 2, 3, 1, 5]; i = 1; s = 1
|
s = a[i]
|
a = [4, 2, 3, 1, 5]; i = 1; s = 2
|
g = 100; j = OrderedDict([('a', 0), ('b', 0), ('c', 0)])
|
j[chr(g)] = 0
|
g = 100; j = OrderedDict([('a', 0), ('b', 0), ('c', 0), ('d', 0)])
|
a = 90; b = [99, 123, 138, 155, 174, 114, 138, 153, 170, 189, 131, 155, 170, 187, 206]; m = 1000
|
b.append(a % m)
|
a = 90; b = [99, 123, 138, 155, 174, 114, 138, 153, 170, 189, 131, 155, 170, 187, 206, 90]; m = 1000
|
e = ['1', '2', '3', '4']; t = 0
|
f = len(e) - 2 * t
|
e = ['1', '2', '3', '4']; f = 4; t = 0
|
u = [97]
|
del u[-1]
|
u = []
|
n = 6
|
m = [[(0) for x in range(26)] for y in range(n)]
|
m = [[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, 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, 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, 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, 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]]; n = 6
|
x = 77371252455336267181195264
|
x *= 2
|
x = 154742504910672534362390528
|
d = 3; t = 4; u = 4
|
u = t + d
|
d = 3; t = 4; u = 7
|
l = 'b'; q = ['b', 'b']
|
q.remove(l)
|
l = 'b'; q = ['b']
|
i = 70; y = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 56, 1, 59, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1]
|
y.append(y[-1] ^ i)
|
i = 70; y = [0, 1, 3, 0, 4, 1, 7, 0, 8, 1, 11, 0, 12, 1, 15, 56, 1, 59, 0, 60, 1, 63, 0, 64, 1, 67, 0, 68, 1, 71]
|
j = 29; n = 28.0
|
n = float(j)
|
j = 29; n = 29.0
|
x = '1'; y = '0\n'
|
x, y = [int(x), int(y)]
|
x = 1; y = 0
|
y = 2
|
s = (y - 1) * 6
|
s = 6; y = 2
|
w = '4'
|
w = int(w)
|
w = 4
|
c = 1.2000000000000006e-35
|
c = c / 10
|
c = 1.2000000000000007e-36
|
s = ['0', '2']
|
a = len(set(s))
|
a = 2; s = ['0', '2']
|
a = 6; i = 1
|
l = l + (a - i)
|
a = 6; i = 1; l = 22
|
l = '2'
|
l = int(l)
|
l = 2
|
i = 3; t = []
|
t.append(i)
|
i = 3; t = [3]
|
q = 2
|
q -= 1
|
q = 1
|
i = 1; j = 1; q = 'a'; z = 'abaab'
|
q = z[j:j + i]
|
i = 1; j = 1; q = 'b'; z = 'abaab'
|
i = 2; s = ['1.0', '2.0', 3.0]
|
s[i] = str(s[i])
|
i = 2; s = ['1.0', '2.0', '3.0']
|
i = 2; x = 1
|
x = i * i
|
i = 2; x = 4
|
j = [[1, 1, 2]]; w = [1, 2, 3]
|
w = j[0] if j else None
|
j = [[1, 1, 2]]; w = [1, 1, 2]
|
c = [1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0]; w = 'i'
|
c[ord(w) - ord('a')] += 1
|
c = [1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0]; w = 'i'
|
b = '1'; m = '1'; w = '2'
|
w, b, m = [int(w), int(b), int(m)]
|
b = 1; m = 1; w = 2
|
f = [[1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4]]; m = 3; n = 1; x = 2
|
x = f[m - 1][n] if m > 0 else 0
|
f = [[1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4], [1, 0, 1, 3, 3, 4]]; m = 3; n = 1; x = 0
|
x = ['Q', '1']
|
o = x[0]
|
o = 'Q'; x = ['Q', '1']
|
g = [2, 1]; i = 1; j = 1; t = [[1, 1], [1, 1]]
|
g[i] += t[j][i]
|
g = [2, 2]; i = 1; j = 1; t = [[1, 1], [1, 1]]
|
a = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 2, 3], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; i = 3; j = 0
|
a[i + 1][j + 1] = max(a[i + 1][j], a[i][j + 1])
|
a = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1], [0, 0, 0, 2, 2, 2], [0, 1, 1, 2, 2, 3], [0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]]; i = 3; j = 0
|
j = 1
|
a.append(j)
|
a = [1]; j = 1
|
q = ['c']; s = ['h', 'k', 'd', 'c']; x = 1
|
q = s[x:]
|
q = ['k', 'd', 'c']; s = ['h', 'k', 'd', 'c']; x = 1
|
j = 3; l = 3; z = 2
|
l = j - z
|
j = 3; l = 1; z = 2
|
b = 155; d = 138
|
d = b
|
b = 155; d = 155
|
k = [0, 0, 0, 0, 0, 0, 0, 0]
|
k.append(0)
|
k = [0, 0, 0, 0, 0, 0, 0, 0, 0]
|
i = 11; j = 15; v = 5
|
v = i ^ j
|
i = 11; j = 15; v = 4
|
z = 17
|
i = z + 1
|
i = 18; z = 17
|
a = [5, 8, 14]; i = 6; j = 2; l = [[1, 6], [2, 6]]
|
l.append([abs(a[j] - i), i])
|
a = [5, 8, 14]; i = 6; j = 2; l = [[1, 6], [2, 6], [8, 6]]
|
y = 1
|
x.add(y)
|
x = {1}; y = 1
|
k = [8]; x = 23
|
k.append(x)
|
k = [8, 23]; x = 23
|
m = 22; p = 2
|
m += p
|
m = 24; p = 2
|
i = 41; x = 1600
|
x = i * i
|
i = 41; x = 1681
|
m = '01'; s = '0'
|
m += '0' if s == '1' else '1'
|
m = '011'; s = '0'
|
j = 26; m = []
|
m.append(j)
|
j = 26; m = [26]
|
a = 5; j = 0.008; v = 0.008
|
v = j / a
|
a = 5; j = 0.008; v = 0.0016
|
i = """100\n63 25 73 1 98 73 56 84 86 57 16 83 8 25 81 5...0 65 16 82 67 61 32 21 79 75 75 13 87 70 33 \n\n\n\n"""
|
i = [(0) for dummy in range(100)]
|
i = [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, 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, 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, 0, 0, 0, 0]
|
d = 3; m = 2; x = 0
|
x = d % m
|
d = 3; m = 2; x = 1
|
b = 2; w = 4; y = 2
|
w = b * y + 1
|
b = 2; w = 5; y = 2
|
v = 2
|
v = v + 1
|
v = 3
|
i = 'SE'; t = {'S': 1, 'N': 1, 'L': 0, 'R': 2, 'NE': 1, 'NW': 1, 'SE': 2, 'SW': 2}; v = 6
|
v += t[i]
|
i = 'SE'; t = {'S': 1, 'N': 1, 'L': 0, 'R': 2, 'NE': 1, 'NW': 1, 'SE': 2, 'SW': 2}; v = 8
|
c = 3; r = [2, 4, 6, 5]
|
r.append(c)
|
c = 3; r = [2, 4, 6, 5, 3]
|
k = 9; s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
s = [0] * (k + 1)
|
k = 9; s = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
o = 1, 1; p = 1, 1
|
p = p[0] + o[0], p[1] + o[1]
|
o = (1, 1); p = (2, 2)
|
i = 8; j = [111, 107, 102, 102, 110, 103, 45, 81, -1, -1, -1]; s = 'middle-Outz'
|
j[i] = ord(s[i])
|
i = 8; j = [111, 107, 102, 102, 110, 103, 45, 81, 117, -1, -1]; s = 'middle-Outz'
|
a = """\n(?P<sentence>\n (?:(?P<quote>["])[A-Z].*?(?P=...)[^\\.\\?\\!]*[\\.\\?\\!]) | (?:[A-Z].*?[\\.\\?\\!]))"""; p = """\n(?P<sentence>\n (?:(?P<quote>["])[A-Z].*?(?P=...)[^\\.\\?\\!]*[\\.\\?\\!]) | (?:[A-Z].*?[\\.\\?\\!]))"""
|
a = p
|
a = '\n(?P<sentence>\n (?:(?P<quote>["])[A-Z].*?(?P=...)[^\\.\\?\\!]*[\\.\\?\\!]) | (?:[A-Z].*?[\\.\\?\\!]))'; p = '\n(?P<sentence>\n (?:(?P<quote>["])[A-Z].*?(?P=...)[^\\.\\?\\!]*[\\.\\?\\!]) | (?:[A-Z].*?[\\.\\?\\!]))'
|
g = 'me'; s = {'give': 1, 'me': 0}
|
s[g] += 1
|
g = 'me'; s = {'give': 1, 'me': 1}
|
n = 2
|
k = [0] * n
|
k = [0, 0]; n = 2
|
c = '[,|.]'; p = '[,|.]'
|
c = p
|
c = '[,|.]'; p = '[,|.]'
|
h = ['1', '1st', '2', '2nd', '3', '3rd', '4', '4th', '5', '5th', '6', '6th', '7', '7th']; i = 8
|
h.append(str(i))
|
h = ['1', '1st', '2', '2nd', '3', '3rd', '4', '4th', '5', '5th', '6', '6th', '7', '7th', '8']; i = 8
|
i = 7; v = [2, 2, 2, 2, 2, 1, 1, 1, 1]
|
v[i] = 0
|
i = 7; v = [2, 2, 2, 2, 2, 1, 1, 0, 1]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.