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": "42195\n40000 -2196\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc135/tasks/abc135_e",
"idx": "i_from_o_direct_4759",
"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\n13\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1030/E",
"idx": "i_from_o_direct_4760",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Bit manipulation']"
} |
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\n1000000000 1\n1000000000 1\n1 100000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/267/A",
"idx": "i_from_o_direct_4761",
"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": "5\n3\n2 2 3\n3\n2 1 0\n7\n0 7 3 1 3 7 7\n9\n0 0 0 0 2 4 4 2 0\n9\n8 4 7 6 1 4 4 0 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1375/D",
"idx": "i_from_o_direct_4762",
"question_source": "codeforces",
"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 3 1 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1185/A",
"idx": "i_from_o_direct_4763",
"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": "5 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1157/D",
"idx": "i_from_o_direct_4764",
"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": "19 7 11\n1 2 4 23 16 29 64 24 256 117 1024 2174 4096 9167 10985 15458 85081 100000 100001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/735/B",
"idx": "i_from_o_direct_4765",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "[0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/53daa9e5af55c184db00025f",
"idx": "i_from_o_direct_4766",
"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": "RPBREE?",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc122/tasks/abc122_b",
"idx": "i_from_o_direct_4767",
"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": "['aaaa']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a4a2973d8e14586c700000a",
"idx": "i_from_o_direct_4768",
"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": "[100, 3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5559e4e4bbb3925164000125",
"idx": "i_from_o_direct_4769",
"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": "5\n5 491957578\n4 747764103\n3 446810728\n4 896625835\n4 33558766\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/19/B",
"idx": "i_from_o_direct_4770",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "[3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5ad29cd95e8240dd85000b54",
"idx": "i_from_o_direct_4771",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', '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": "1\n10\n1 2 6 3 2 6 7 6 5 1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1270/B",
"idx": "i_from_o_direct_4772",
"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": "1\nIAO'11133333\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/664/C",
"idx": "i_from_o_direct_4773",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', '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": "[2, 10]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/576b072359b1161a7b000a17",
"idx": "i_from_o_direct_4774",
"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": "2\n1 33085\n1 9192\n2\n1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/380/A",
"idx": "i_from_o_direct_4775",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "7 7\n2 -8 -7\n5 2 -10 10 -2 4\n7 10 -8 9 8 13 -10 -3\n6 0 6 -9 9 -6 -9\n4 -6 -9 10 -6\n3 -8 4 10\n7 -1 -3 10 -8 -6 -3 6\n4 5 4 6 6 1 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/75/D",
"idx": "i_from_o_direct_4776",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Greedy algorithms', 'Tree algorithms', 'Dynamic programming', 'Mathematics', '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": "15\n-793387817 -4\n-793387816 4\n-793387815 8\n-793387813 -5\n-793387812 3\n-793387811 8\n-793387810 2\n-793387809 3\n-793387808 8\n-793387807 5\n-793387806 -1\n-793387805 -2\n-793387804 -1\n-793387803 3\n-793387802 -3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/38/E",
"idx": "i_from_o_direct_4777",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "[307]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a27e3438882f334a10000e3",
"idx": "i_from_o_direct_4778",
"question_source": "codewars",
"source": "taco",
"tags": "['Number theory', '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 2\n3 8 2\n4 5 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/978/G",
"idx": "i_from_o_direct_4779",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "5\nXOXXX\nXOXXO\nOXOOX\nOOXXX\nOOXXX\nXOXXO\nXXXXO\nOXOOX\nXXXOX\nOOOXX\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/958/A1",
"idx": "i_from_o_direct_4780",
"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": "3311314413231141411421432122343321141133112122342341334443214\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/138/B",
"idx": "i_from_o_direct_4781",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "75549175 99860242 42423626 6574859 28967524 26030615\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/303/B",
"idx": "i_from_o_direct_4782",
"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": "71 57\n9 26 80 10 65 60 63 1 15 85 71 1 58 27 41 97 42 15 42 56 87 22 10 28 34 90 13 70 71 56 65 21 0 78 47 96 56 77 32 83 28 16 10 41 0 18 78 12 27 58 4 67 21 41 99 20 21 52 74 10 83 45 43 65 2 15 1 63 46 97 72\n81\n21\n81\n81\n5\n9\n41\n76\n81\n92\n95\n94\n78\n93\n47\n30\n92\n3\n45\n81\n42\n88\n1... | {
"contest_id": "https://codeforces.com/problemset/problem/1180/C",
"idx": "i_from_o_direct_4783",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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 4\n1 0 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/262/A",
"idx": "i_from_o_direct_4784",
"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": "30\n70\n6\n2\n10\n4\n7\n10\n5\n1\n2\n10\n4\n3\n5\n9\n3\n6\n6\n4\n2\n6\n5\n10\n1\n9\n7\n2\n1\n10\n7\n10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/609/A",
"idx": "i_from_o_direct_4785",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "14 3\n1 5 1\n4 3 4\n6 4 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/747/C",
"idx": "i_from_o_direct_4786",
"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": "[12]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/563b74ddd19a3ad462000054",
"idx": "i_from_o_direct_4787",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Bit manipulation']"
} |
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 5 17 10 3\n6 3 5 18 15 16 17 19 12 21\n2 5 8 16 17\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1148/B",
"idx": "i_from_o_direct_4788",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Amortized analysis', '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": "5\n10 20 30 34 66\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/962/D",
"idx": "i_from_o_direct_4789",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "10 10 20\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n1000000001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/946/D",
"idx": "i_from_o_direct_4790",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "8\n8 6 1 1 5 2 2 8\n4\n5 8 7 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1132/B",
"idx": "i_from_o_direct_4791",
"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": "5 6\n3 1 3 6\n3 1 2 2\n1 1\n2 3 4\n3 1 5 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/615/A",
"idx": "i_from_o_direct_4792",
"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": "7\n-1 100 -4 1 -1 -2 2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc173/tasks/abc173_d",
"idx": "i_from_o_direct_4793",
"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": "5\n3\nKDD\n6\nDDDDDD\n4\nDKDK\n1\nD\n9\nDDDDKKDKD\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1536/C",
"idx": "i_from_o_direct_4794",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Dynamic programming', 'Data structures', '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": "17 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/371/B",
"idx": "i_from_o_direct_4795",
"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": "163\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/320/A",
"idx": "i_from_o_direct_4796",
"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 10\n1 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/818/D",
"idx": "i_from_o_direct_4797",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "1 1 -1 1 1 1 1 2 1 1 1 1 1 1 3 7 1 2 1 11 1 0 1 1 1 2\naabbccdd\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/519/D",
"idx": "i_from_o_direct_4798",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Data structures', 'Amortized analysis']"
} |
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\n1\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc124/tasks/abc124_d",
"idx": "i_from_o_direct_4799",
"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": "4\n2 4\n3 1\n3 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/852/E",
"idx": "i_from_o_direct_4800",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "['Sunday', -666]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55b1fd84a24ad00b32000075",
"idx": "i_from_o_direct_4801",
"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\n0 537 1064 656\n537 0 527 119\n1064 527 0 408\n656 119 408 0\n4\n1 4 199\n1 4 344\n3 2 982\n3 2 587\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/25/C",
"idx": "i_from_o_direct_4802",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Shortest paths']"
} |
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": "['PLPPLPLLEELELRPFFMAAGGTPLAMMGG', ['P', 'E', 'L', 'R', 'F', 'M', 'A', 'G', 'T']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59759761e30a19cfe1000024",
"idx": "i_from_o_direct_4803",
"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": "[1500, 1600]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55b4d87a3766d9873a0000d4",
"idx": "i_from_o_direct_4804",
"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": "10 16\n8 4 2 5 4 8 3 5 6 18\n5 3 8 6 2 7 10 8 9 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/222/D",
"idx": "i_from_o_direct_4805",
"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": "[11011, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/566fc12495810954b1000030",
"idx": "i_from_o_direct_4806",
"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": "['AWUBBWUBC']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/551dc350bf4e526099000ae5",
"idx": "i_from_o_direct_4807",
"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": "19 20\n10 1 5 7 1 2 5 3 6 3 9 4 3 4 9 6 8 4 9 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1288/E",
"idx": "i_from_o_direct_4808",
"question_source": "codeforces",
"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": "94790 1306\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/638/A",
"idx": "i_from_o_direct_4809",
"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": "[[[-3, 4], [10, 5]]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55f1786c296de4952f000014",
"idx": "i_from_o_direct_4810",
"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": "1 2 1\na\naa\n1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1016/B",
"idx": "i_from_o_direct_4811",
"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": "5 5\nfacbz\nbcaaa\naaaaa\ndaaae\nvdade\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1393/D",
"idx": "i_from_o_direct_4812",
"question_source": "codeforces",
"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": "-48",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc105/tasks/abc105_b",
"idx": "i_from_o_direct_4813",
"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": "3\n2 1 16\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/37/A",
"idx": "i_from_o_direct_4814",
"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": "[[0, 0, 1, 1]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5becace7063291bebf0001d5",
"idx": "i_from_o_direct_4815",
"question_source": "codewars",
"source": "taco",
"tags": "['Bit manipulation', 'Data structures', '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 1\n.....\n5 z\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/570/C",
"idx": "i_from_o_direct_4816",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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\n8 0 1\n2\n2 2\n2 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/983/B",
"idx": "i_from_o_direct_4817",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "9 81812\n8 31 410 547 18 22 77 449 5 491 8 10 382 746 21 61 523\n1 452 181\n1 724 113\n1 113 724\n1 226 362\n46 5 257 2 126 373 6 6 491 9 7 137 23 93 73 163 13 17 106 3 100 5 415 270 2 7 723 597 4 176 3 274 18 1 852 334 14 7 25 163 1 3 199 29 140 32 32 191 2 583 3 23 11 22 23 250 1 79 3 33 83 8 433... | {
"contest_id": "https://codeforces.com/problemset/problem/43/E",
"idx": "i_from_o_direct_4818",
"question_source": "codeforces",
"source": "taco",
"tags": "['Amortized analysis', '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": "[2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a34da5dee1aae516d00004a",
"idx": "i_from_o_direct_4819",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices', '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": "111110111\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/9/C",
"idx": "i_from_o_direct_4821",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', '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": "6\n2 2 2 2 4 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/525/C",
"idx": "i_from_o_direct_4822",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Mathematics', '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": "['', '']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/580f1220df91273ee90001e7",
"idx": "i_from_o_direct_4823",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices', 'Bit manipulation', '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": "85\n436 23 384 417 11 227 713 910 217 177 227 161 851 396 556 948 700 819 920 451 1740 249 332 33 606 986 627 468 877 682 497 579 189 443 252 795 147 642 797 569 250 863 615 560 142 752 918 167 677 49 750 871 282 1183 102 884 179 980 392 509 178 977 51 241 912 599 142 975 453 353 350 130 837 955 68... | {
"contest_id": "https://codeforces.com/problemset/problem/108/B",
"idx": "i_from_o_direct_4824",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "2635 2 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/39/E",
"idx": "i_from_o_direct_4825",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "199\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc162/tasks/abc162_c",
"idx": "i_from_o_direct_4826",
"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": "3156 178256",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc172/tasks/abc172_e",
"idx": "i_from_o_direct_4828",
"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": "['1101', '101']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55c11989e13716e35f000013",
"idx": "i_from_o_direct_4829",
"question_source": "codewars",
"source": "taco",
"tags": "['Bit manipulation', '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": "15 10 4\nsejwprqjku\npnjsiopxft\nrsplgvwixq\nendglkchxl\nftihbbexgh\nsxtxbbavge\njcdkusfnmr\nskgsqvflia\nkcxmcxjpae\namaiwcfile\nnjgjSunmwd\nlexvahgreu\necmrajbjuT\nnaioqigols\npbwrmxkltj\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/84/E",
"idx": "i_from_o_direct_4830",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Graph algorithms', 'Shortest paths']"
} |
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": "['hello there']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56b3b27cadd4ad275500000c",
"idx": "i_from_o_direct_4831",
"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": "10\n1 1 1 2 3 2 1 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/931/D",
"idx": "i_from_o_direct_4833",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', '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": "10 19\n15704 19758 26631 25050 22778 15041 8487 26418 5136 4199\n1 2\n1 3\n1 4\n2 5\n1 6\n2 7\n2 8\n7 9\n6 10\n7 3\n4 7\n6 4\n6 8\n5 8\n6 9\n5 4\n1 8\n1 9\n5 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/437/D",
"idx": "i_from_o_direct_4834",
"question_source": "codeforces",
"source": "taco",
"tags": "['Spanning trees', '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": "['tweet']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/54f9f4d7c41722304e000bbb",
"idx": "i_from_o_direct_4835",
"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": "[[5, 2, 'abc', True, [False]]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5772ded6914da62b4b0000f8",
"idx": "i_from_o_direct_4836",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', '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": "20 20\n650419 11 1\n210389 11 2\n743965 2 1\n736403 17 2\n939670 1 2\n101303 8 2\n174013 19 2\n627995 19 1\n161132 5 1\n586095 19 1\n273999 4 1\n125805 12 2\n538606 2 2\n219848 9 2\n127586 4 1\n849701 18 1\n23273 17 1\n250794 4 1\n64709 7 2\n785893 9 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/832/C",
"idx": "i_from_o_direct_4837",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Sorting', '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": "39 68\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1113/A",
"idx": "i_from_o_direct_4838",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Mathematics', '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": "500\nccacbbbbbbbccbccbccbacbabcaaaabbcbcaabbababcbbcbcbbcbabbacbacbacbcaccccaaccbabcbbbbccbbaacbcbcaaabbbbbaaabbabacacaabcaababcbbcbcababbbabbaaaccbcabcabbbcbcccbcbcacabbbbbacbcbabbcbaabcbcbcacacccabbbccacaacaaccbbabbbaaccabcaaaaacbbcacacbacabbccaaaccccaabbaacbabbcbccababbabacabbcacbcbaaccbcaccabbb... | {
"contest_id": "https://codeforces.com/problemset/problem/1132/F",
"idx": "i_from_o_direct_4839",
"question_source": "codeforces",
"source": "taco",
"tags": "['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, 7, 5, 9, 100, 34, 32, 0], 3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5acc3634c6fde760ec0001f7",
"idx": "i_from_o_direct_4840",
"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": "1016",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc126/tasks/abc126_b",
"idx": "i_from_o_direct_4841",
"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\nIAO'11368\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/663/B",
"idx": "i_from_o_direct_4842",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', '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": "1110010001000101001011111\n00001010000010010001000001010000010101010000000110\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/608/B",
"idx": "i_from_o_direct_4843",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "77524 27 245",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc078/tasks/abc078_b",
"idx": "i_from_o_direct_4844",
"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": "[569]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55dc4520094bbaf50e0000cb",
"idx": "i_from_o_direct_4845",
"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": "[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 1, 0]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5427db696f30afd74b0006a3",
"idx": "i_from_o_direct_4846",
"question_source": "codewars",
"source": "taco",
"tags": "['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": "2\n3\n1 1 1\nPSR\n3\n4 1 0\nRPR\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1245/B",
"idx": "i_from_o_direct_4847",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Dynamic programming', '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": "[[], 0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58ef87dc4db9b24c6c000092",
"idx": "i_from_o_direct_4848",
"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": "30\n011011110001010110010100000101\n011110100001000001100001101111\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1017/B",
"idx": "i_from_o_direct_4849",
"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": "4\n-1 3 3 2\n2 -1 3 0\n2 6 -1 3\n6 3 3 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/545/A",
"idx": "i_from_o_direct_4850",
"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": "2 6",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc156/tasks/abc156_a",
"idx": "i_from_o_direct_4851",
"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\n2\n1010\n1011\n0111\n1100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1263/B",
"idx": "i_from_o_direct_4852",
"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": "22\n32 43 3 37 29 52 40 12 28 1 14 27 34 46 8 35 5 17 2 23 20 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/891/B",
"idx": "i_from_o_direct_4853",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy 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": "qfdwsr jsbrpfmn znplcx nhlselflytndzmgxqpgwhpi ghvbbxrkjdirfghcybhkkqdzmyacvrrcgsneyjlgzfvdmxyjmph\nylxlyrzs drbktzsniwcbahjkgohcghoaczsmtzhuwdryjwdijmxkmbmxv yyfrokdnsx\nyw xtwyzqlfxwxghugoyscqlx pljtz aldfskvxlsxqgbihzndhxkswkxqpwnfcxzfyvncstfpqf\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/78/A",
"idx": "i_from_o_direct_4854",
"question_source": "codeforces",
"source": "taco",
"tags": "['String 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": "1 1000010000\n12\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/271/E",
"idx": "i_from_o_direct_4855",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "272\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/854/A",
"idx": "i_from_o_direct_4856",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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\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_4857",
"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": "['01']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59b11f57f322e5da45000254",
"idx": "i_from_o_direct_4858",
"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": "FTFFTFFF\n1 0",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc087/tasks/arc087_b",
"idx": "i_from_o_direct_4859",
"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": "3\n>?<\n2 3 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/641/A",
"idx": "i_from_o_direct_4860",
"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": "10\n1 2 2 1 1 4 4 6 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1056/D",
"idx": "i_from_o_direct_4861",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Constructive algorithms', 'Sorting', 'Greedy algorithms', 'Tree algorithms', 'Dynamic programming']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.