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": "9999991 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/710/E",
"idx": "i_from_o_direct_2958",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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\n2 -1 -1\n1 -1 8\n2 4 9\n5 -1 2\n5 7 6\n1 -1 1\n4 -1 -1\n0 -1 -1\n8 5 10\n5 -1 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/797/D",
"idx": "i_from_o_direct_2959",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "51\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/736/B",
"idx": "i_from_o_direct_2960",
"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": "[[1, 2]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58b3c2bd917a5caec0000017",
"idx": "i_from_o_direct_2961",
"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\neikm 0\nwesdna 12\nejkm 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/2/A",
"idx": "i_from_o_direct_2962",
"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": "15\n17 15 17 16 13 17 13 16 14 14 17 17 13 15 26\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/574/A",
"idx": "i_from_o_direct_2963",
"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": "20\n01001100011100011011\n00111101001100001101\n01010010000010000110\n10101001000000000110\n00110110111101100000\n00111010110011100011\n01101000111001110100\n11111100011110000100\n11011010011110011000\n10001100000101100101\n11001111010010100111\n00001111001001111111\n10011110000101001110\n100111010... | {
"contest_id": "https://codeforces.com/problemset/problem/1204/C",
"idx": "i_from_o_direct_2964",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Dynamic programming', '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": "[3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/569e09850a8e371ab200000b",
"idx": "i_from_o_direct_2965",
"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": "7 2\n1 2 5 8 5 5 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/332/B",
"idx": "i_from_o_direct_2966",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/331/C1",
"idx": "i_from_o_direct_2967",
"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": "10\n1 9 7 6 2 4 8 8 1 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1092/D2",
"idx": "i_from_o_direct_2968",
"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": "4 4\n1871\n9417\n7444\n4294\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/124/B",
"idx": "i_from_o_direct_2969",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "[[10, -10], [-10, 10]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57bfea4cb19505912900012c",
"idx": "i_from_o_direct_2970",
"question_source": "codewars",
"source": "taco",
"tags": "['Geometry', '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\nawiuegjsrkjshegkjrhegseg g soeigjseg www s\n3\nwww s\nawiuegjsrkjshegkjshegseg wwwwwwwwwwvwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\nwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww www\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/467/D",
"idx": "i_from_o_direct_2971",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Graph algorithms', 'Graph traversal', '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": "50\n95 86 10 54 82 42 64 88 14 62 2 31 10 80 18 47 73 81 42 98 30 86 65 77 45 28 39 9 88 58 19 70 41 6 33 7 50 34 22 69 37 65 98 89 46 48 9 76 57 64\n87 39 41 23 49 45 91 83 50 92 25 11 76 1 97 42 62 91 2 53 40 11 93 72 66 8 8 62 35 14 57 95 15 80 95 51 60 95 25 70 27 59 51 76 99 100 87 58 24 7\n",... | {
"contest_id": "https://codeforces.com/problemset/problem/993/D",
"idx": "i_from_o_direct_2972",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "476 252\nRRLLLRRRLLLLLRLRRLLRLLLRLRRLRRLLRLRLRRLLRRRRLLLRRRLLLLRLRLRRRLRLLRRRLRLRRLLRRLLLRLLRLRLLLRLRRLLLRLLLRLLRRRLRLRLLRLLLLLLRLRLRRRRLLRLRRRLRLLRRRLRRRRLRRRLRLLRLRRRLLRRLLRLLRLLRLRLRLRRLLLRLLLLLRLRRRRRLRLRLRLLLLRRLRRLLRLRLRLLRLLRLLRRLRLRLLRLRLRLRLRRLLLRLRRLLRLLRLLRLRLRLLRRLLRLLRLLLLLRLLLLRLLRLLL... | {
"contest_id": "https://codeforces.com/problemset/problem/1333/D",
"idx": "i_from_o_direct_2973",
"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": "8 10\n1 2 3\n2 8 3\n1 4 1\n4 3 6\n3 7 7\n4 5 5\n5 7 2\n7 8 1\n1 6 8\n6 8 7\n0\n4 1 2 3 4\n0\n0\n0\n0\n0\n0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/230/D",
"idx": "i_from_o_direct_2974",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Graph algorithms', 'Data structures', '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": "5\n2 2 2 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/379/B",
"idx": "i_from_o_direct_2975",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "[['XOOOXOO', 'OXOOOOO', 'XOXOXOO', 'OXOXXOO', 'OOOOOXX', 'OOOXOXX', 'XXXXOXO']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5839c48f0cf94640a20001d3",
"idx": "i_from_o_direct_2976",
"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": "12 4\nYES YES YES YES YES YES YES YES YES YDS YES\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/771/B",
"idx": "i_from_o_direct_2977",
"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": "[['']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52250aca906b0c28f80003a1",
"idx": "i_from_o_direct_2978",
"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": "['SILLY LITTLE BOYS silly little boys']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59de469cfc3c492da80000c5",
"idx": "i_from_o_direct_2979",
"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": "18 24\n3 3 3 4 5 7 8 8 9 9 9 9 10 10 11 11 11 11\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/63/B",
"idx": "i_from_o_direct_2980",
"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": "696297 112005 737\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/32/C",
"idx": "i_from_o_direct_2981",
"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": "4 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/888/D",
"idx": "i_from_o_direct_2982",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Combinatorics', '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": "RRLLLLLLRRLRRLRL",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc136/tasks/abc136_d",
"idx": "i_from_o_direct_2983",
"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",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/409/D",
"idx": "i_from_o_direct_2984",
"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": "[23, 7]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58a5aeb893b79949eb0000f1",
"idx": "i_from_o_direct_2985",
"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": "2 2\n3 11\n12 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1485/D",
"idx": "i_from_o_direct_2986",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Graph 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": "6 0 0 13 7\nEENSWESNNE\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/298/B",
"idx": "i_from_o_direct_2987",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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 2 5\n2\n2 100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1150/A",
"idx": "i_from_o_direct_2988",
"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": "8 5\n3 227589091\n12 131068951\n8 291000839\n20 918918112\n11 6972428\n20 585402296\n12 114701518\n1 225083234\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/580/B",
"idx": "i_from_o_direct_2989",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "bhuozkrmcxrmbx\n3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/443/B",
"idx": "i_from_o_direct_2990",
"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": "['hello', 'l']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5865918c6b569962950002a1",
"idx": "i_from_o_direct_2992",
"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": "111\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/244/B",
"idx": "i_from_o_direct_2993",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph traversal', '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\n1 1 1\n1 1 1\n1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1231/C",
"idx": "i_from_o_direct_2994",
"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 1 2 2\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc154/tasks/abc154_f",
"idx": "i_from_o_direct_2995",
"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\n5 2 1 4 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/280/B",
"idx": "i_from_o_direct_2996",
"question_source": "codeforces",
"source": "taco",
"tags": "['Amortized analysis', '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": "[{}]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5620281f0eeee479cd000020",
"idx": "i_from_o_direct_2997",
"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": "2 1000\n-15 0\n-21 -3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/127/A",
"idx": "i_from_o_direct_2998",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "gfkesp?jh?enf?rnu?riyu?mcvtswlzerx?mumzrqh?aqbbdujqwdwezqrsn?hqxpxsq?rh?cqgzxlchgtoyevlrojxovstvp?bw\n39\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1099/C",
"idx": "i_from_o_direct_2999",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "10 1\n1 1 1 2 1 2 1 2 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1090/M",
"idx": "i_from_o_direct_3000",
"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\n8\n3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1214/B",
"idx": "i_from_o_direct_3001",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n999998 679838 1000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/405/D",
"idx": "i_from_o_direct_3002",
"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": "20 34 1\n1 8\n2 8\n3 8\n4 8\n5 8\n6 8\n7 8\n9 8\n10 8\n10 8\n12 12\n13 8\n14 8\n15 8\n1 9\n3 12\n5 9\n7 9\n11 9\n13 9\n15 9\n1 5\n13 1\n3 11\n7 11\n15 13\n2 10\n4 10\n6 10\n12 10\n14 10\n2 6\n12 6\n4 14\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1104/E",
"idx": "i_from_o_direct_3003",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', '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": "32204093 202379097\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/171/A",
"idx": "i_from_o_direct_3004",
"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": "10\n3 2\n3 2 1\n3 3\n9 0 3\n3 3\n8 8 2\n4 2\n9 0 0 1\n4 4\n5 3 0 0\n4 3\n2 8 2 0\n5 3\n7 3 8 9 8\n5 5\n6 3 9 6 7\n5 5\n1 0 5 9 0\n5 5\n1 0 4 2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1255/B",
"idx": "i_from_o_direct_3005",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5\n4\n1\n4\n17\n6",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc134/tasks/abc134_e",
"idx": "i_from_o_direct_3007",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100\nFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/867/A",
"idx": "i_from_o_direct_3008",
"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": "1441083795302475000 87\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/922/C",
"idx": "i_from_o_direct_3009",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "['a b c d e f g h i h k']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56a24b4d9f3671584d000039",
"idx": "i_from_o_direct_3010",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6\nURL\nDRRLDRUDUULRDURDDL\nLDUDDLRURRUL\nLLLLRRRR\nRUDRU\nLLL\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1272/B",
"idx": "i_from_o_direct_3011",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 1107",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc145/tasks/abc145_d",
"idx": "i_from_o_direct_3012",
"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\n1 11 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1095/B",
"idx": "i_from_o_direct_3014",
"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": "59 2514\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/544/B",
"idx": "i_from_o_direct_3015",
"question_source": "codeforces",
"source": "taco",
"tags": "['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 100\n9 1\n6 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1015/C",
"idx": "i_from_o_direct_3016",
"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": "['!@#$%^&`~.']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5738f5ea9545204cec000155",
"idx": "i_from_o_direct_3017",
"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": "2 1\n2 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/489/D",
"idx": "i_from_o_direct_3018",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Combinatorics', '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 1 2\nabcd\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1120/C",
"idx": "i_from_o_direct_3019",
"question_source": "codeforces",
"source": "taco",
"tags": "['String 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": "82",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc162/tasks/abc162_b",
"idx": "i_from_o_direct_3020",
"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": "[19394, 19394]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b752a42b11814b09c00005d",
"idx": "i_from_o_direct_3021",
"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": "['A']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5705c699cb729350870003b7",
"idx": "i_from_o_direct_3022",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 9 6\nYYYYNYNNN\nNYNYNNNYN\nNYYYNNNYY\nYYNNNYYNN\nYYNYNNNYY\nYYYNYYNNN\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/656/G",
"idx": "i_from_o_direct_3023",
"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": "[[8, 900, 500]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58daa7617332e59593000006",
"idx": "i_from_o_direct_3024",
"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": "5\n1 11\n0 9\n1 4\n0 4\n0 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/260/D",
"idx": "i_from_o_direct_3025",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Constructive algorithms', 'Greedy algorithms', 'Tree algorithms', 'Spanning trees']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['+447+4435512555']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/581a52d305fe7756720002eb",
"idx": "i_from_o_direct_3026",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[], [1, 3, 4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5c79c07b4ba1e100097f4e1a",
"idx": "i_from_o_direct_3027",
"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": "['s7d8jd9qwertqwrt v654ed1frg651']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5ac54bcbb925d9b437000001",
"idx": "i_from_o_direct_3028",
"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": "70 1311 26\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1081/C",
"idx": "i_from_o_direct_3029",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Combinatorics', '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": "0111 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/630/B",
"idx": "i_from_o_direct_3030",
"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": "1000010001 1 1100100010 1100000010000000000\n1000000000000000101\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/883/A",
"idx": "i_from_o_direct_3031",
"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\n3717208309\n3717208306\n3717208302\n3214956022\n3717208303\n3717208308\n3717208304\n3717208307\n3717208300\n3717208305\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/172/A",
"idx": "i_from_o_direct_3032",
"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": "7 2 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/151/D",
"idx": "i_from_o_direct_3033",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Combinatorics', '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": "34 9\nDEF 7295\nDEF 7017\nDEF 7483\nDEF 7509\nDEF 7458\nDEF 7434\nDEF 6981\nDEF 7090\nDEF 7298\nDEF 7134\nATK 737\nDEF 7320\nDEF 7228\nDEF 7323\nATK 786\nDEF 6895\nDEF 7259\nDEF 6921\nDEF 7373\nDEF 7505\nDEF 7421\nDEF 6930\nDEF 6890\nDEF 7507\nDEF 6964\nDEF 7418\nDEF 7098\nDEF 6867\nDEF 7229\nDEF 7... | {
"contest_id": "https://codeforces.com/problemset/problem/321/B",
"idx": "i_from_o_direct_3034",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Flows and cuts', '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\n3 3 1 2 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1117/A",
"idx": "i_from_o_direct_3035",
"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 999998\n1 0 2\n1 2 1\n3 3 1\n2 -2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/424/B",
"idx": "i_from_o_direct_3036",
"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": "151\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/997/B",
"idx": "i_from_o_direct_3037",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', 'Greedy algorithms', 'Complete search', '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": "3D\n8T S4 1C RA 6H\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1097/A",
"idx": "i_from_o_direct_3038",
"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]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/542c0f198e077084c0000c2e",
"idx": "i_from_o_direct_3039",
"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": "50 2 1\n0 1 1 1 1 1 1 0 2 2 0 0 1 1 2 0 1 0 1 2 0 1 1 0 1 2 3 0 0 1 0 3 1 1 1 1 1 1 3 0 0 0 2 0 2 2 0 3 2 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/949/D",
"idx": "i_from_o_direct_3040",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', 'Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "7\n1 4 6 2 3 2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/608/D",
"idx": "i_from_o_direct_3041",
"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 8 2 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/255/D",
"idx": "i_from_o_direct_3042",
"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": "3\n2 36 114",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc081/tasks/abc081_b",
"idx": "i_from_o_direct_3043",
"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 3\n1 4\n2 4\n1 4\n1 2\n1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/421/D",
"idx": "i_from_o_direct_3044",
"question_source": "codeforces",
"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": "9 9\n1 2\n2 3\n2 4\n1 5\n5 7\n5 6\n3 8\n1 9\n9 6\n1 7 4\n3 6 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/543/B",
"idx": "i_from_o_direct_3045",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Shortest paths', '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\n(()(()(((())))())())\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1167/D",
"idx": "i_from_o_direct_3046",
"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": "10 10\n011\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/61/C",
"idx": "i_from_o_direct_3048",
"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": "['*2*']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a1a8b7ec374cbea92000086",
"idx": "i_from_o_direct_3049",
"question_source": "codewars",
"source": "taco",
"tags": "['Number theory', 'Fundamentals', 'Combinatorics', '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": "100 61\n82 167 233 636 432 456 494 507 562 681 683 921 1218 1323 1395 1531 1586 1591 1675 1766 1802 1842 2116 2625 2697 2735 2739 3337 3349 3395 3406 3596 3610 3721 4059 4078 4305 4330 4357 4379 846 4648 4651 4784 926 4920 5049 5312 5361 5418 5440 5463 5547 5594 5821 5951 5972 6141 6193 6230 6797 6... | {
"contest_id": "https://codeforces.com/problemset/problem/604/B",
"idx": "i_from_o_direct_3050",
"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": "23 19 6402373705728432\n18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/525/E",
"idx": "i_from_o_direct_3051",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Sorting', 'Complete search', '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": "787062 371814 73\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/280/A",
"idx": "i_from_o_direct_3052",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should 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 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/599/A",
"idx": "i_from_o_direct_3053",
"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": "XB\nAC\nCX\nBA\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/645/A",
"idx": "i_from_o_direct_3054",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "1 0\n5403\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/437/C",
"idx": "i_from_o_direct_3055",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Graph algorithms', '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": "100 1 3\n2 1 2 6122 1 2 71284 5610 2 2 50670 1 1 1 2 4334 138713 1 12952 42027 2 2 41291 2 1979 1 2 53081 194389 2 99607 18546 1 41492 4 5898 1 85546 65710 1 22220 2 122566 94567 71345 77576 28219 52969 5758 13878 79653 8181 2 29282 2 70781 8160 24342 5490 182711 46453 2 20160 75435 20987 5552 5239... | {
"contest_id": "https://codeforces.com/problemset/problem/1102/C",
"idx": "i_from_o_direct_3056",
"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": "4 1\n4 6 9 10\n4 4 5 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/658/A",
"idx": "i_from_o_direct_3057",
"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": "['indexinglessons']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59cfc000aeb2844d16000075",
"idx": "i_from_o_direct_3058",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[1, 0, 0, 1]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59841e5084533834d6000025",
"idx": "i_from_o_direct_3059",
"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": "[64]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55849d76acd73f6cc4000087",
"idx": "i_from_o_direct_3060",
"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": "[['Jacob', 'Alex']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5266876b8f4bf2da9b000362",
"idx": "i_from_o_direct_3061",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.