data_source large_stringclasses 1
value | prompt listlengths 2 2 | ability large_stringclasses 5
values | reward_model dict | extra_info dict |
|---|---|---|---|---|
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['camel case method']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/587731fda577b3d1b0001196",
"idx": "i_from_o_direct_314",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 1 -1 16",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc052/tasks/abc052_a",
"idx": "i_from_o_direct_315",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[\"Go hang a salami, I'm a lasagna hog!\"]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52bc74d4ac05d0945d00054e",
"idx": "i_from_o_direct_317",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "20\n1 2 3 4 6 8 31 32 6 128 256 512 1024 2048 7213 13320 16384 32768 65536 100000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/558/C",
"idx": "i_from_o_direct_318",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Shortest paths', 'Greedy algorithms', 'Complete search', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "87 87\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1136/B",
"idx": "i_from_o_direct_319",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[2057]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b165654c8be0d17f40000a3",
"idx": "i_from_o_direct_320",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "50 500000\n2 57 94\n2 1 10\n2 97 98\n2 15 95\n2 66 90\n2 40 100\n2 8 4\n2 14 43\n2 55 75\n2 25 90\n2 22 69\n2 9 12\n2 32 34\n2 22 48\n2 54 88\n2 13 50\n2 30 56\n2 38 77\n2 4 28\n2 39 92\n2 23 72\n2 21 36\n2 20 29\n2 6 51\n2 11 87\n2 21 68\n2 59 80\n2 52 61\n2 26 42\n2 2 37\n2 45 62\n2 28 83\n2 41 7... | {
"contest_id": "https://codeforces.com/problemset/problem/1466/F",
"idx": "i_from_o_direct_321",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph algorithms', 'Graph traversal', 'Sorting', 'Greedy algorithms', 'Mathematics', 'Spanning trees']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100 55 1\n24 52 41 6 55 11 58 18 63 12 70 39 23 28 72 17 13 85 7 84 21 13 34 37 97 43 36 32 15 30 58 5 14 71 40 46 9 92 44 73 31 58 96 90 19 35 29 91 25 36 48 95 61 78 0 1 99 61 81 88 42 53 61 57 42 55 74 45 41 92 99 30 20 25 89 50 37 4 17 24 6 65 15 44 40 2 38 43 7 90 38 59 75 87 96 28 12 67 24 32... | {
"contest_id": "https://codeforces.com/problemset/problem/796/A",
"idx": "i_from_o_direct_322",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 2 2\n2 0 2\n1 -1 1 4\n4 2 3\n1 0 1 6\n2 4 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1535/E",
"idx": "i_from_o_direct_323",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Greedy algorithms', 'Tree algorithms', 'Dynamic programming', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "549\n193\n6\n1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc092/tasks/abc092_a",
"idx": "i_from_o_direct_324",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[0, 1, 1, 2, 0]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b5097324a317afc740000fe",
"idx": "i_from_o_direct_325",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[1, 3, 2]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58e16de3a312d34d000000bd",
"idx": "i_from_o_direct_326",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 3\n1 2 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/514/E",
"idx": "i_from_o_direct_327",
"question_source": "codeforces",
"source": "taco",
"tags": "['Matrices', 'Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\nL\nM\nM\nL\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1000/A",
"idx": "i_from_o_direct_329",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "0 0 2 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/630/E",
"idx": "i_from_o_direct_330",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['10001']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5e2733f0e7432a000fb5ecc4",
"idx": "i_from_o_direct_331",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[5, 100000000, 19]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52fe629e48970ad2bd0007e6",
"idx": "i_from_o_direct_332",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[75, 113, 226, 75]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57acc8c3e298a7ae4e0007e3",
"idx": "i_from_o_direct_333",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[5, -2.5, 1.25, -0.625]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/589b137753a9a4ab5700009a",
"idx": "i_from_o_direct_334",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[8, 3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5bb5e174528b2908930005b5",
"idx": "i_from_o_direct_336",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "26 9 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/399/A",
"idx": "i_from_o_direct_337",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "324693328712373699 541961409169732375 76289713450037915 873677521504257312\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/813/B",
"idx": "i_from_o_direct_338",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1, [300, 200, 400, 600, 100]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5cb05eee03c3ff002153d4ef",
"idx": "i_from_o_direct_339",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "9\ndh\nca\nc\ncij\nii\nd\ne\nf\ngde\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/910/C",
"idx": "i_from_o_direct_340",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\nxacb\nbaax\ntdohnccup\ntechconup\na\nz\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1223/B",
"idx": "i_from_o_direct_341",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "9\n4 2 2 2 1 1 2 2 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1418/G",
"idx": "i_from_o_direct_342",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Data structures', 'Amortized analysis', 'Divide and conquer']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n2 2 1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/599/C",
"idx": "i_from_o_direct_343",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "578\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/919/B",
"idx": "i_from_o_direct_344",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Implementation', 'Complete search', 'Number theory', 'Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "845775085502 54012199\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/616/E",
"idx": "i_from_o_direct_345",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Number theory', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1500]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58b8d22560873d9068000085",
"idx": "i_from_o_direct_346",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "999999998 64204105\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/854/B",
"idx": "i_from_o_direct_347",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "13 78\n10 2\n6 5\n5 7\n10 3\n6 13\n4 7\n7 13\n1 12\n13 2\n1 7\n10 5\n10 13\n12 2\n10 6\n5 3\n10 8\n9 11\n6 1\n4 5\n12 3\n6 7\n8 2\n1 9\n4 11\n5 8\n6 3\n9 5\n5 2\n13 11\n10 4\n12 7\n5 13\n12 8\n10 12\n6 12\n5 11\n1 8\n7 8\n12 4\n10 7\n1 5\n1 2\n2 11\n2 11\n12 13\n9 7\n8 3\n12 9\n9 2\n6 9\n10 9\n7 11... | {
"contest_id": "https://codeforces.com/problemset/problem/645/D",
"idx": "i_from_o_direct_348",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Sorting', 'Graph algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "14\n8 13 28 2 17 31 2 11 31 12 24 3 8 10\n41\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/262/D",
"idx": "i_from_o_direct_349",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Mathematics', 'Probability']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "++-++--+++++-+++++---+++-++-++-\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/245/E",
"idx": "i_from_o_direct_350",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1000 1 500 1000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/479/E",
"idx": "i_from_o_direct_351",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Combinatorics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\nIBgDZJAHSUFhexcZkQKqaTZT gqErHjXUahQpeDTcZZW nhLsPIrfflZWnwiPEWpt dcTGNMjzkvWNIVXrshBowdQ ugLvpovZZVWryM\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/803/D",
"idx": "i_from_o_direct_352",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6\n10 7 1 1 8 2\n5 5 2 3 3 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1027/D",
"idx": "i_from_o_direct_353",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "772\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc178/tasks/abc178_d",
"idx": "i_from_o_direct_354",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n-2\n5\n13\n6\n23",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc123/tasks/abc123_a",
"idx": "i_from_o_direct_356",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 1000000000\n00000 11000\n10000 10000\n100000 000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/203/C",
"idx": "i_from_o_direct_357",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[-1, 3, 3, 3, 5, 5]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/545f05676b42a0a195000d95",
"idx": "i_from_o_direct_358",
"question_source": "codewars",
"source": "taco",
"tags": "['Sorting', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/53a1eac7e0afd3ad3300008b",
"idx": "i_from_o_direct_359",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "251693083 289438443 917164266 1\n+\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/964/C",
"idx": "i_from_o_direct_360",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "7\nlolijek\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1063/A",
"idx": "i_from_o_direct_361",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58ad2e9c0e3c08126000003f",
"idx": "i_from_o_direct_362",
"question_source": "codewars",
"source": "taco",
"tags": "['Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "33 69\n60 69 68 76 69 60 64 60 62 59 54 47 60 62 69 69 69 58 67 69 62 69 68 53 69 69 66 66 57 58 65 69 61\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/810/A",
"idx": "i_from_o_direct_363",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['quarter quarter']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57e1857d333d8e0f76002169",
"idx": "i_from_o_direct_365",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "38\n26 28 23 34 33 14 38 15 35 36 30 1 19 17 18 28 22 15 9 27 11 16 17 32 7 21 6 8 32 26 33 23 18 4 2 25 29 3 35 8 38 37 31 37 12 25 3 27 16 24 5 20 12 13 29 11 30 22 9 19 2 24 7 10 34 4 36 21 14 31 13 6 20 10 5 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/996/D",
"idx": "i_from_o_direct_366",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/571bff6082661c8a11000823",
"idx": "i_from_o_direct_367",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/990/D",
"idx": "i_from_o_direct_368",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n1 1 0",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc134/tasks/abc134_d",
"idx": "i_from_o_direct_369",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1, 5, [4, 6]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/588dd9c3dc49de0bd400016d",
"idx": "i_from_o_direct_371",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Data structures', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n203 145\n780 692\n992 713\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/529/B",
"idx": "i_from_o_direct_372",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', 'Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 4 5\n1 1 0 1\n2 2 0 10\n8 0 1 100\n9 0 2 1000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/854/D",
"idx": "i_from_o_direct_373",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Amortized analysis', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[['wkskkkkkk', 'fokoo', 'wkskk', 'uizzzz', 'fokooff', 'wkskkkk', 'uizzzzzzz']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a296b571f7f70b0b3000100",
"idx": "i_from_o_direct_374",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "22 -999930 -362070\n-999929 -362070\n-994861 -919993\n-989365 -946982\n-964007 -997050\n-418950 -998064\n351746 -998882\n830925 -996765\n867755 -996352\n964401 -992258\n996299 -964402\n997257 -930788\n999795 -616866\n999689 327482\n997898 996234\n923521 997809\n631104 998389\n-261788 999672\n-60974... | {
"contest_id": "https://codeforces.com/problemset/problem/613/A",
"idx": "i_from_o_direct_375",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', 'Sorting']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['u']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/567bf4f7ee34510f69000032",
"idx": "i_from_o_direct_377",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1343 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/401/B",
"idx": "i_from_o_direct_378",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3299 39455",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc172/tasks/abc172_e",
"idx": "i_from_o_direct_379",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 1\n20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/808/C",
"idx": "i_from_o_direct_380",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Sorting', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "16\n1 3 4 6 8 9 11 12 14 16 17 19 21 22 24 25\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/48/C",
"idx": "i_from_o_direct_381",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "7\n1000000000 1000000000 1000000100 1000000000 1000000000 1000000000 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/774/F",
"idx": "i_from_o_direct_382",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Sorting']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 3\n1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/818/B",
"idx": "i_from_o_direct_383",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['A']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5705c699cb729350870003b7",
"idx": "i_from_o_direct_384",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "314159265 50",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc132/tasks/abc132_f",
"idx": "i_from_o_direct_386",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[1, 2, 3, 4, 5]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/559576d984d6962f8c00003c",
"idx": "i_from_o_direct_387",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 1 1\n1 1 2\n2 2 3\n3 3 1\n2 3 1\n2 3 1\n2 3 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/863/C",
"idx": "i_from_o_direct_388",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "babaabababaaaababaabababaabababababababbababbbabbaabababaababbaabbababaababaaabababaabbaababaaababaa\nabaabababaa\nabaaacaa\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/8/A",
"idx": "i_from_o_direct_389",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5\n1 1 0 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/365/B",
"idx": "i_from_o_direct_390",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 2 4 9\n6 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/413/A",
"idx": "i_from_o_direct_391",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1107\n471 739\n360 741\n71 473\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/557/A",
"idx": "i_from_o_direct_392",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "9\n7 2 5 3 2 3 5 3 3\n6\n3 5 4 8 7 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1132/B",
"idx": "i_from_o_direct_393",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "48\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/46/A",
"idx": "i_from_o_direct_394",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[5634]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/564057bc348c7200bd0000ff",
"idx": "i_from_o_direct_395",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n114867 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1543/D1",
"idx": "i_from_o_direct_396",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 4\n1 3\n2 1\n1 2\n2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/704/A",
"idx": "i_from_o_direct_397",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', 'Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[99]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/579ba41ce298a73aaa000255",
"idx": "i_from_o_direct_398",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6\n1 1 5\n3 5 5\n1 2 0\n3 6 2\n2 3 5\n3 7 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/641/E",
"idx": "i_from_o_direct_399",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n2\n-1 -2 0 0 0 0\n-1 -2 0 0 0 0\n3\n1 5 1 1 1 1\n2 5 0 0 0 1\n3 5 1 0 0 0\n2\n1337 1337 0 1 1 1\n1336 1337 1 1 0 1\n1\n3 5 1 1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1196/C",
"idx": "i_from_o_direct_400",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n111111 170790 777777 999999\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/894/C",
"idx": "i_from_o_direct_402",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/803/A",
"idx": "i_from_o_direct_403",
"question_source": "codeforces",
"source": "taco",
"tags": "['Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 1 0\n2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/846/B",
"idx": "i_from_o_direct_404",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n7\n3 1 6 6 3 1 1\n8\n1 1 4 5 4 7 8 8\n7\n4 2 5 2 6 2 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1223/D",
"idx": "i_from_o_direct_405",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Amortized analysis', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['HACKER', 'H4CK3R']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5881460c780e0dd207000084",
"idx": "i_from_o_direct_406",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/8/E",
"idx": "i_from_o_direct_407",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "s`b\naet",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc077/tasks/abc077_a",
"idx": "i_from_o_direct_408",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[75]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5262119038c0985a5b00029f",
"idx": "i_from_o_direct_409",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[['08:14', '11:34'], ['08:16', '08:18'], ['13:48', '01:14'], ['09:30', '10:32'], ['04:23', '05:11'], ['11:48', '13:48'], ['01:12', '01:14'], ['01:13', '08:15']]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57024825005264fe9200057d",
"idx": "i_from_o_direct_410",
"question_source": "codewars",
"source": "taco",
"tags": "['Sorting', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[155]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56269eb78ad2e4ced1000013",
"idx": "i_from_o_direct_411",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5\n1\n0\n5\n34166\n1\n4\n5\n19908\n2\n50\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1209/C",
"idx": "i_from_o_direct_412",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[6, 9, 3, 4, 3, 82, 11], 99]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59a9919107157a45220000e1",
"idx": "i_from_o_direct_413",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "369397184\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/959/E",
"idx": "i_from_o_direct_414",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph algorithms', 'Implementation', 'Dynamic programming', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 1\n1 1\n2 1\n1 2\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc106/tasks/arc106_b",
"idx": "i_from_o_direct_415",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[100, 1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5e64cc85f45989000f61526c",
"idx": "i_from_o_direct_416",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "999999999 735134400 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/78/C",
"idx": "i_from_o_direct_417",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Dynamic programming', 'Game theory']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['0']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5654d2428be803670a000030",
"idx": "i_from_o_direct_418",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[52]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59175441e76dc9f9bc00000f",
"idx": "i_from_o_direct_419",
"question_source": "codewars",
"source": "taco",
"tags": "['Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "29 71\n4 8 9 4 8 10 4 10 2 9 5 9 1 2 9 5 9 7 1 10 4 1 1 9 8 7 4 6 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/426/A",
"idx": "i_from_o_direct_423",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 3 10 2\nBA.\n..A\n.BB\nB..\nB..\n.AA\nB..\nAB.\n..A\nB@B\nA..\n.B.\nB..\n.A.\n...\n...\n.B.\nB.A\n..A\n.AB\n.B.\nB.A\n.A.\n.BA\nB..\n...\n.A.\n.AA\n/.A\n.B.\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/436/C",
"idx": "i_from_o_direct_424",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Graph algorithms', 'Spanning trees', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "15\n1 1 1 1 1 1 1 1 1 1 4 1 1 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1119/A",
"idx": "i_from_o_direct_425",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Greedy algorithms']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.