timeout
float64
0.5
6
test_cases
dict
solutions
sequencelengths
1.02k
1.02k
name
stringlengths
8
10
is_corrects
sequencelengths
173k
173k
1
{"input":["2\n17\n5\n","2\n17\n5\n","1\n55439\n","5\n5\n7\n11\n13\n19\n","1\n96349\n","5\n5\n7\n13\n(...TRUNCATED)
["```python\nfor _ in range(int(input())):\n n = int(input())\n print(2, n-1)\n```\n``` (...TRUNCATED)
problem42
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
2
{"input":["4\n5\n1 5 2 4 6\n4\n8 2 5 10\n2\n1000 2000\n8\n465 55 3 54 234 12 45 78\n","1\n3\n1 13743(...TRUNCATED)
[" ```python\nfrom collections import defaultdict\n\ndef gcd(a, b):\n while b:\n a, b = b,(...TRUNCATED)
problem26
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["6\n1000\n30\n1\n32\n1000000000\n5\n","1\n10111\n","1\n10555\n","2\n3000002\n3000001\n","1(...TRUNCATED)
[" ```python\nimport sys\ninput = sys.stdin.readline\n\ndef solve(n):\n if n % 3 == 0:\n r(...TRUNCATED)
problem86
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
4
{"input":["6\n3\nbac\naaada\ne\n3\naba\nabcde\naba\n2\nbaba\nbaba\n4\nab\nab\nc\nbc\n5\ncbdca\nd\na\(...TRUNCATED)
[" ```python\nfor _ in range(int(input())):\n n = int(input())\n s = []\n for _ in range(n)(...TRUNCATED)
problem89
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["8\n4 4 2\n2 3 0\n3 2 3\n1 2 0\n2 4 2\n5 2 2\n2 17 16\n2 1 1\n","1\n6 7 20\n","10\n26 80 5(...TRUNCATED)
[" ```\nt = int(input())\nfor _ in range(t):\n n, m, k = map(int, input().split())\n if n % 2 (...TRUNCATED)
problem97
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["8\n4 4 2\n2 3 0\n3 2 3\n1 2 0\n2 4 2\n5 2 2\n2 17 16\n2 1 1\n","10\n4 1 1\n10 2 2\n2 1 1\(...TRUNCATED)
[" ```\ndef solve(n, m, k):\n if (n * m) // 2 != k:\n return \"NO\"\n if k % 2 != 0:\n (...TRUNCATED)
problem96
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["4\n7 6\n1 1 2 3 4 5 6\n5 2\n5 1 3 2 3\n5 2\n5 5 5 5 4\n8 4\n1 2 3 3 2 2 5 5\n","2\n15 6\n(...TRUNCATED)
[" ```python\nimport sys\ninput = sys.stdin.readline\nfor _ in range(int(input())):\n n, k = map((...TRUNCATED)
problem32
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["3\n\n4 2\n1 2\n2 3\n2 4\n\n3 3\n1 2\n2 3\n\n5 3\n1 2\n2 3\n2 4\n4 5\n","8\n\n3 2\n3 1\n1 (...TRUNCATED)
[" ```python\nfrom sys import stdin, stdout\ninput = stdin.readline\nMOD = 10**9 + 7\n\ndef dfs(u, p(...TRUNCATED)
problem12
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["4\n3\nlol\n10\ncodeforces\n5\naaaaa\n4\ndcba\n","1\n20\naaaaaaaaaaaaaaaaaqwq\n","1\n20\na(...TRUNCATED)
[" ```python\nt = int(input())\nfor _ in range(t):\n n = int(input())\n s = input()\n sorte(...TRUNCATED)
problem10
[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,fal(...TRUNCATED)
1
{"input":["4\n1\n50000 1 50000 50000 50000\n3\n10 10 20 30 30\n20 20 30 10 10\n30 30 10 20 20\n3\n1 (...TRUNCATED)
[" ```python\nfor _ in range(int(input())):\n n = int(input())\n r = [list(map(int, input().sp(...TRUNCATED)
problem92
[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
9
Edit dataset card