data_source large_string | prompt list | ability large_string | 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": "6 15 55 3 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/868/B",
"idx": "i_from_o_direct_9152",
"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 2\n3 4 6 1\n4 12 25 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/558/D",
"idx": "i_from_o_direct_9153",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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\n-8 0\n-3 5\n-7 -7\n5 -7\n4 -9\n-6 4\n2 1\n-4 -6\n0 10\n-10 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/340/B",
"idx": "i_from_o_direct_9154",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', '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": "[[80]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5abd66a5ccfd1130b30000a9",
"idx": "i_from_o_direct_9155",
"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": "['123FISH321']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b37a50642b27ebf2e000010",
"idx": "i_from_o_direct_9156",
"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": "['13:34']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58485a43d750d23bad0000e6",
"idx": "i_from_o_direct_9157",
"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": "2\nhk\nobsp\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/278/B",
"idx": "i_from_o_direct_9158",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "9\n1 -1 -1 0 -1 -1 0 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/351/E",
"idx": "i_from_o_direct_9159",
"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": "1\ngetMin 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/681/C",
"idx": "i_from_o_direct_9160",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Data structures', '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\n1000000000\n100000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/510/D",
"idx": "i_from_o_direct_9161",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Bit manipulation', '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": "10:00\n01:01\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/387/A",
"idx": "i_from_o_direct_9162",
"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 8 8\n18:05:52\n17:51:58\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/529/D",
"idx": "i_from_o_direct_9163",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "6 10\n5 8 1 10 8 7\n12 6 8 4 3 2 2 2 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1342/D",
"idx": "i_from_o_direct_9164",
"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": "7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/109/A",
"idx": "i_from_o_direct_9165",
"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": "2 3 2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/242/A",
"idx": "i_from_o_direct_9166",
"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": "3 2\nRLR\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1333/D",
"idx": "i_from_o_direct_9167",
"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": "7\n4 5\n2 6\n2 4\n6 1\n3 7\n2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1206/F",
"idx": "i_from_o_direct_9168",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree 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": "['']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/552e45cc30b0dbd01100001a",
"idx": "i_from_o_direct_9169",
"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": "11 1\n0 -10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1009/C",
"idx": "i_from_o_direct_9170",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "3 110\n14 44 4",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc150/tasks/abc150_d",
"idx": "i_from_o_direct_9171",
"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": "['abc def']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56b861671d36bb0aa8000819",
"idx": "i_from_o_direct_9172",
"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": "7440888\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/82/A",
"idx": "i_from_o_direct_9173",
"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": "1\n0111111001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1006/C",
"idx": "i_from_o_direct_9174",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', 'Sorting', '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": "29\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/854/A",
"idx": "i_from_o_direct_9175",
"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": "['1']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55f8a9c06c018a0d6e000132",
"idx": "i_from_o_direct_9176",
"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\n7\n3 1 6 6 3 1 1\n8\n1 1 4 4 4 5 8 8\n7\n4 2 5 2 6 2 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1240/B",
"idx": "i_from_o_direct_9177",
"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": "2\n10 2 1 1\n1000000000 2 0000000100 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1065/A",
"idx": "i_from_o_direct_9178",
"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": "10 3 2\n1 2 1 1 3 2 1 1 2 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/180/E",
"idx": "i_from_o_direct_9179",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Sorting', '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": "100 100 100\n-100 100 -100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/21/B",
"idx": "i_from_o_direct_9180",
"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": "12 400000000\n1 400000000 800000000 2 3 4 5 6 7 8 9 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/275/C",
"idx": "i_from_o_direct_9181",
"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": "['ab', 256]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/595b3f0ad26b2d817400002a",
"idx": "i_from_o_direct_9182",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', '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": "3\n88321515 88321516 10542969\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1191/D",
"idx": "i_from_o_direct_9183",
"question_source": "codeforces",
"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": "167 6 59",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc066/tasks/abc066_a",
"idx": "i_from_o_direct_9184",
"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 25 68\n..*...***..******..***...\n...*.*.**.*.....*..**..X*\n**..**.****......**.**.*.\n..**.*.....*.***.*...*...\n**...*****.**..**.*......\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/769/C",
"idx": "i_from_o_direct_9185",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Graph algorithms', 'Graph traversal', '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": "[1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58ecc0a8342ee5e920000115",
"idx": "i_from_o_direct_9186",
"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": "zgzwgwggzggwzzwwwhzgzgzwgwggzggwzzwwwhzgzgzwgwggzggwzzwwwhzgzgzwgwggzggwzzww\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/646/B",
"idx": "i_from_o_direct_9187",
"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": "1\n29265950\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/103/A",
"idx": "i_from_o_direct_9188",
"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": "[[1, 0.5, 0.25, 0.125]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/589b137753a9a4ab5700009a",
"idx": "i_from_o_direct_9189",
"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": "2\n2 1\n2 0",
"style": "rule"
} | {
"contest_id": "https://www.codechef.com/problems/ANUTHM",
"idx": "i_from_o_direct_9190",
"question_source": "codechef",
"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": "['aaabcccbaaa']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57f759bb664021a30300007d",
"idx": "i_from_o_direct_9191",
"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": "[19]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55fd2d567d94ac3bc9000064",
"idx": "i_from_o_direct_9192",
"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": "11 10\n1 9 -1 -1 -1 -1 -1 -1 -1 -1 -1\n1 10 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1\n2 11 1 1 1 1 1 1 1 1 1 1 -1\n3 11 2 2 2 2 2 2 2 2 2 2 -1\n4 11 3 3 3 3 3 3 3 3 3 3 -1\n5 11 4 4 4 4 4 4 4 5 4 4 -1\n6 11 5 5 5 5 5 5 5 5 5 5 -1\n7 11 5 6 6 6 6 6 6 6 6 6 -1\n8 11 7 7 7 7 7 7 7 7 7 7 -1\n9 11 8 8 8 8 8 8 8 8 ... | {
"contest_id": "https://codeforces.com/problemset/problem/325/C",
"idx": "i_from_o_direct_9193",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', '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": "2\ntom 0 2 0 0 0 0 0\nmac 0 1 0 1 0 0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/74/A",
"idx": "i_from_o_direct_9194",
"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": "[9, []]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/546a3fea8a3502302a000cd2",
"idx": "i_from_o_direct_9195",
"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": "[2992127830]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b165654c8be0d17f40000a3",
"idx": "i_from_o_direct_9196",
"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": "[999220, 2849]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56bc7687e8936faed5000c09",
"idx": "i_from_o_direct_9197",
"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": "12 3\n4 56 78 104 2 345 67 1145 123 45 3 789",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc161/tasks/abc161_b",
"idx": "i_from_o_direct_9198",
"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": "6\n121827818 99437370 300000000 200000000 1000000000 300000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1007/A",
"idx": "i_from_o_direct_9199",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', 'Amortized analysis', 'Sorting', '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": "100\n36 48 92 87 28 85 42 10 44 41 39 3 79 9 14 56 1 16 46 35 93 8 82 26 100 59 60 2 96 52 13 98 70 81 71 94 54 91 17 88 33 30 19 50 18 73 65 29 78 21 61 7 99 97 45 89 57 27 76 11 49 72 84 69 43 62 4 22 75 6 66 83 38 34 86 15 40 51 37 74 67 31 20 63 77 80 12 53 5 25 58 90 68 24 64 23 95 32 55 47\n"... | {
"contest_id": "https://codeforces.com/problemset/problem/341/B",
"idx": "i_from_o_direct_9200",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "9\n0 13\n0 16\n0 22\n0 25\n0 27\n0 33\n0 34\n0 38\n0 39\n0 40\n2 41\n3 41\n4 13\n5 41\n7 41\n8 13\n9 13\n12 13\n17 13\n14 13\n16 41\n18 41\n22 41\n24 41\n26 13\n27 13\n27 41\n28 20\n28 22\n28 25\n28 30\n28 31\n28 32\n28 36\n28 37\n28 39\n32 33\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1184/C1",
"idx": "i_from_o_direct_9201",
"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', 'a', 'a', 'b', 'b', 'b', 'c', 'c', 'c']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52249faee9abb9cefa0001ee",
"idx": "i_from_o_direct_9203",
"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": "3 3 2\n2 3\n1 2 100\n1 3 100\n2 3 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1081/D",
"idx": "i_from_o_direct_9204",
"question_source": "codeforces",
"source": "taco",
"tags": "['Spanning trees', 'Sorting', '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": "7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/535/B",
"idx": "i_from_o_direct_9205",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Combinatorics', '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": "100000000000\n1\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc060/tasks/arc060_b",
"idx": "i_from_o_direct_9206",
"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": "[['blue', 'red', 'blue', 'blue', 'red', 'blue', 'red']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5357edc90d9c5df39a0013bc",
"idx": "i_from_o_direct_9207",
"question_source": "codewars",
"source": "taco",
"tags": "['Data structures', '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": "['abba']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5dcde0b9fcb0d100349cb5c0",
"idx": "i_from_o_direct_9209",
"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": "7 3\n---X--X\n-X--XX-\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/198/B",
"idx": "i_from_o_direct_9210",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "[407, '']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/565225029bcf176687000022",
"idx": "i_from_o_direct_9211",
"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": "11 16\n0111110101100011\n1000101100010100\n0010110110010101\n0110110010110010\n0011100101111000\n1001100011010111\n0010011111110000\n0101100100111110\n1101000000100111\n0110000010001000\n1001111011010000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/375/B",
"idx": "i_from_o_direct_9212",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Sorting', '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\n0111000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/847/G",
"idx": "i_from_o_direct_9213",
"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": "1\n99 6 1 10 101\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1244/A",
"idx": "i_from_o_direct_9214",
"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": "8\n5 6 9\n5 6 35\n12 5 0\n2 8 3\n1 1000000000 0000000000\n1 1000000000 999999999\n2 2 9\n3 2 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1272/A",
"idx": "i_from_o_direct_9215",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "6\nOO|XX\nXO|XX\nOX|OO\nXX|OX\nOO|XX\nNX|XX\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/711/A",
"idx": "i_from_o_direct_9216",
"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": "3 3\nabc\nada\nssa\n1 1 1\n1 1 1\n1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/544/E",
"idx": "i_from_o_direct_9217",
"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": "[4, 0.5]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a40c250c5e284a76400008c",
"idx": "i_from_o_direct_9218",
"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": "15 15 10\n4 5 9 1 4 6 4 1 4 3 7 9 9 2 6\n6 6 7 7 2 9 1 6 10 9 7 10 7 10 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/297/B",
"idx": "i_from_o_direct_9219",
"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": "3\n0000001000 1110000000 0",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc133/tasks/abc133_d",
"idx": "i_from_o_direct_9220",
"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": "10\n+ 870566619432760298\n+ 869797178280285214\n+ 609920823721618090\n+ 221159591436767023\n+ 730599542279836538\n? 101001100111001111\n? 001110110111010011\n? 100010100011101110\n? 100110010010001100\n? 110000011101110011\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/714/C",
"idx": "i_from_o_direct_9221",
"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": "25\n1 1 1 1 2 2 2 2 4 4 4 4 8 8 8 8 13 15 16 16 31 32 36 41 55\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/807/E",
"idx": "i_from_o_direct_9222",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Constructive algorithms', '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": "207\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/753/A",
"idx": "i_from_o_direct_9223",
"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": "9\nk\ny\nn\nj\no\nr\nk\nj\ne\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/855/A",
"idx": "i_from_o_direct_9224",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "16894\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/376/C",
"idx": "i_from_o_direct_9225",
"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": "4\n6\n22 6 32 3 20 2\n1\n2020\n4\n2 4 8 30\n3\n3 2 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1277/B",
"idx": "i_from_o_direct_9226",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "['dadc', 'dddc']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5bdc191306a8a678f6000187",
"idx": "i_from_o_direct_9227",
"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": "['1 2 3 4 5']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5866ec8b2e8d9cec7e0000bb",
"idx": "i_from_o_direct_9228",
"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": "3\n16 25 256\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/566/F",
"idx": "i_from_o_direct_9229",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "5 8\n6 8\n15 13\n15 19\n15 1\n20 7\n1 5\n1 4\n1 5\n2 3\n3 4\n2 5\n3 5\n4 5",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc098/tasks/arc098_d",
"idx": "i_from_o_direct_9230",
"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": "7\n1 13 13 13 6 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/127/B",
"idx": "i_from_o_direct_9231",
"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\nb\nd\nb\nc\nb\na\nc\nb\na\na\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/191/A",
"idx": "i_from_o_direct_9232",
"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": "[6]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56cf0eb69e14db4897000b97",
"idx": "i_from_o_direct_9233",
"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": "624\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/492/A",
"idx": "i_from_o_direct_9234",
"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\n3 9 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1034/A",
"idx": "i_from_o_direct_9235",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number 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": "50000 100000 500 1001 500 1000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/374/A",
"idx": "i_from_o_direct_9236",
"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": "27\n3 1\n1 1\n3 2\n1 2\n3 3\n1 1\n3 1\n2 1\n3 2\n2 1\n3 3\n2 1\n3 1\n3 1\n3 2\n3 1\n3 3\n3 1\n3 1\n1 2\n3 2\n1 2\n3 3\n1 2\n3 1\n2 2\n3 2\n2 2\n3 3\n2 2\n3 1\n3 2\n3 2\n3 2\n3 3\n3 2\n3 1\n1 3\n3 2\n1 3\n3 3\n1 3\n3 2\n2 3\n3 2\n2 3\n3 3\n2 3\n3 1\n3 3\n3 2\n3 3\n3 3\n3 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/690/A3",
"idx": "i_from_o_direct_9237",
"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": "['01:01']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5782a87d9fb2a5e623000158",
"idx": "i_from_o_direct_9238",
"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": "2\n-1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1261/E",
"idx": "i_from_o_direct_9239",
"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": "20 20\n..+#+.+++.+++#+..#++\n..####+++#..++#+.+.+\n+.+..+++..#.++++++++\n+##++..+.##..#+++.++\n++.+.+.+.++++.+++.++\n.+++++.+#+++++...+#+\n.+++#+++++++.+.++.++\n...+.++++++.++#...++\n+++.+++.+....#....+.\n.++++++.+.+..++.++##\n++++++..+.#++..+..+.\n+..#+++++..+##+#++.+\n+.+#+#....+.#+++#+.+\n++.+.+... | {
"contest_id": "https://codeforces.com/problemset/problem/250/E",
"idx": "i_from_o_direct_9240",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "4 2\n1 4 12\n3 4 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1266/D",
"idx": "i_from_o_direct_9241",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Constructive algorithms', 'Amortized analysis', 'Implementation', 'Greedy algorithms', '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": "[536870911]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58bf97cde4a5edfd4f00008d",
"idx": "i_from_o_direct_9242",
"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": "0\n1\n0\n1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/784/E",
"idx": "i_from_o_direct_9243",
"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": "3\n14 1\n+--+++--++--+-\n1 14\n14 3\n+--++---+++---\n1 14\n6 12\n3 10\n4 4\n+-+-\n2 1\n2 2\n1 3\n2 1\n2 0\n0 3\n2 4\n3 8\n3 6\n1 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1562/D2",
"idx": "i_from_o_direct_9244",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "100 1001000000\n5849347454478644774747479437170493249634474874684784475734456487776740780444477442497447771444047377\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/121/B",
"idx": "i_from_o_direct_9245",
"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": "[983212]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5eb27d81077a7400171c6820",
"idx": "i_from_o_direct_9246",
"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": "6 3\n5 0 3 0 3 3 1 4 0\n2 2 3 2 6 0 2 1 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1249/E",
"idx": "i_from_o_direct_9247",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "32\n93 11 25 89 20 55 1 2 77 14 3 51 25 22 74 67 47 47 27 62 42 83 92 41 53 48 0 48 45 45 93 35\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc143/tasks/abc143_b",
"idx": "i_from_o_direct_9248",
"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\n0 3 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/884/D",
"idx": "i_from_o_direct_9249",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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, 2, 3, 4, 1], 1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58b8cc7e8e7121740700002d",
"idx": "i_from_o_direct_9250",
"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": "10 10\n794273 446635 758469 932911 607860 683826 987442 666035 952171 698608\n1 3\n3 8\n2 7\n2 1\n2 9\n3 10\n6 4\n9 6\n3 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/634/E",
"idx": "i_from_o_direct_9251",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Sorting', 'Greedy algorithms', 'Tree algorithms', '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, 0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5546180ca783b6d2d5000062",
"idx": "i_from_o_direct_9252",
"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": "13 2\n29 6 6 3 34 51 7 13 16 55 8 9 81",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc105/tasks/abc105_d",
"idx": "i_from_o_direct_9253",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.