timeout
float64
0.5
4.5
test_cases
dict
solutions
sequencelengths
256
256
name
stringlengths
8
10
is_corrects
sequencelengths
26.1k
26.1k
2
{"input":["0\n","_XX\n","_00\n","0_25\n","25\n","X\n","6X\n","585X27X5\n","XX_X_3_X\n","_5\n","050\n(...TRUNCATED)
[" ```python\nimport math\ndef get_digits(s):\n s = s.replace('_', '0').replace('X', '9')\n if(...TRUNCATED)
problem37
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["4\n4 2 3 1\n","7\n2 1 4 2 5 3 7\n","1\n1\n","1\n200000\n","1\n2\n","1\n001\n","1\n69861\n(...TRUNCATED)
[" ```python\nn = int(input())\na = list(map(int, input().split()))\nfrom collections import Counter(...TRUNCATED)
problem36
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["6\nABACAB\nABBA\nAC\nABC\nCABCBB\nBCBCBCBCBCBCBCBC\n","6\nABACAB\nABBA\nAC\nABC\nCABCBB\n(...TRUNCATED)
[" 1\nB: 7\nC: 7\n\n```python\nimport sys\n\ndef solve(s):\n count = {'A': 0, 'B': 0, 'C': 0}\n (...TRUNCATED)
problem15
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["4\n2\n2 1\n3\n1 2 1\n4\n2 4 1 3\n5\n2 5 1 4 3\n","4\n2\n2 1\n3\n1 2 1\n4\n2 4 1 3\n5\n2 5(...TRUNCATED)
[" ```python\nfor _ in range(int(input())):\n n = int(input())\n a = list(map(int, input().spl(...TRUNCATED)
problem53
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["8\n2\n2 3\n3\n1 2 3\n4\n1 2 3 4\n3\n0 0 2\n2\n6 2\n3\n0 0 2\n5\n8 2 0 1 1\n5\n0 1 0 0 6\n(...TRUNCATED)
[" ```python\nfor _ in range(int(input())):\n n = int(input())\n a = list(map(int, input().spl(...TRUNCATED)
problem8
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["6\n4\n3 7 5 5\n3\n3 2 1\n3\n3 1 2\n4\n-1 2 2 -1\n4\n4 5 1 3\n5\n1 3 1 3 2\n","1\n1\n-1000(...TRUNCATED)
[" ```python\nimport sys\n\nt = int(input())\nfor _ in range(t):\n n = int(input())\n dq = []\(...TRUNCATED)
problem23
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["5\n2 1\n0 1\n3 2\n0 1 0\n5 2\n1 1 0 1 0\n4 2\n0 1 0 1\n1 1\n0\n","5\n2 1\n0 1\n3 2\n0 1 0(...TRUNCATED)
[" ```python\nfor _ in range(int(input())):\n n, d = map(int, input().split())\n A = list(map((...TRUNCATED)
problem81
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["6\n2\n1 3\n3\n1 2 3\n4\n6 2 3 9\n4\n6 8 4 5\n7\n1 2 4 6 7 7 3\n8\n8 6 5 1 2 2 3 6\n","6\n(...TRUNCATED)
[" ```python\nfrom sys import stdin, stdout\n\nfor _ in range(int(stdin.readline())):\n n = int(s(...TRUNCATED)
problem89
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["1\n9 9\n001010001\n101110100\n000010011\n100000001\n101010101\n110001111\n000001111\n1111(...TRUNCATED)
[" ```python\ndef min_operations(n, m, matrix):\n grid = [[int(x) for x in row] for row in matrix(...TRUNCATED)
problem12
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["4\n1\n2\n9\n91234\n","2\n99997\n3\n","14\n13633\n739\n4\n1\n23481\n279\n5113\n2013\n48785(...TRUNCATED)
[" ```python\nMOD = 1000000007\n\ndef power(x, n):\n result = 1\n while n:\n if n % 2:\(...TRUNCATED)
problem13
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
32
Edit dataset card