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": "10000 10000 3 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/965/A",
"idx": "i_from_o_direct_4019",
"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\nbbac\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1165/C",
"idx": "i_from_o_direct_4020",
"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": "12\n24 22 6 20 5 21 1 7 2 19 41 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/255/A",
"idx": "i_from_o_direct_4021",
"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": "5\n+ 1 7\n+ 6 12\n+ 8 3\n? 9 10\n+ 5 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1101/E",
"idx": "i_from_o_direct_4024",
"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": "100\n75 62 31 96 62 76 93 96 72 67 88 35 67 34 60 56 95 86 82 48 64 61 74 100 56 98 76 98 78 55 53 10 12 78 58 45 86 90 93 77 69 73 39 66 92 88 33 50 95 69 89 12 93 57 93 89 59 53 71 86 15 13 61 93 24 100 58 76 46 95 76 82 50 20 79 38 5 72 99 81 55 90 90 65 85 44 63 39 6 34 98 72 88 45 59 73 84 61 ... | {
"contest_id": "https://codeforces.com/problemset/problem/278/A",
"idx": "i_from_o_direct_4025",
"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 15\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/620/B",
"idx": "i_from_o_direct_4026",
"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": "100000000000000000\n38252143531187623 50000000000000001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1075/A",
"idx": "i_from_o_direct_4027",
"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": "[314159]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/557a2c136b19113912000010",
"idx": "i_from_o_direct_4028",
"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 4\nDMIA\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/374/C",
"idx": "i_from_o_direct_4029",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph algorithms', 'Graph traversal', '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": "014928473\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1202/B",
"idx": "i_from_o_direct_4030",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Complete search', '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": "60\n17 34\n46 22\n50 44\n46 33\n41 21\n31 33\n48 6\n38 19\n35 60\n2 24\n49 29\n7 53\n34 1\n19 55\n32 1\n31 42\n27 28\n4 53\n6 50\n21 34\n1 10\n12 36\n54 8\n16 13\n51 43\n45 51\n54 20\n13 53\n34 33\n49 33\n51 11\n59 34\n15 5\n59 28\n30 39\n13 30\n58 4\n34 14\n3 9\n19 34\n4 18\n26 48\n56 54\n3 43\n57... | {
"contest_id": "https://codeforces.com/problemset/problem/25/D",
"idx": "i_from_o_direct_4031",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Graph 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": "2152",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc099/tasks/abc099_a",
"idx": "i_from_o_direct_4032",
"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\nrivest\nshamir\nadleman\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/510/C",
"idx": "i_from_o_direct_4033",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Graph algorithms', 'Graph traversal']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 1\na 1 10\nb 1 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/659/B",
"idx": "i_from_o_direct_4034",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "108\n15 0 12 15 9 15 1 15\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1132/E",
"idx": "i_from_o_direct_4035",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph traversal', '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": "10\nbbbcba`a`a",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc098/tasks/abc098_b",
"idx": "i_from_o_direct_4036",
"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": "26\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/475/A",
"idx": "i_from_o_direct_4037",
"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": "5 0 10\n933 790 366 485 475 665 457 112 483 170\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1039/C",
"idx": "i_from_o_direct_4038",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Sorting', 'Mathematics', 'Spanning trees']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 1\n1 2 010\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1070/K",
"idx": "i_from_o_direct_4039",
"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": "['Why are you shouting?', 7, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57fe50d000d05166720000b1",
"idx": "i_from_o_direct_4040",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', '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": "4 2 1\nabcd\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1121/F",
"idx": "i_from_o_direct_4041",
"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": "['a42']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/557efeb04effce569d000022",
"idx": "i_from_o_direct_4042",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n4 1\ndcba\n3 1\nabc\n4 3\naaaa\n9 3\naaaababba\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1493/C",
"idx": "i_from_o_direct_4043",
"question_source": "codeforces",
"source": "taco",
"tags": "['Constructive algorithms', 'String algorithms', 'Sorting', 'Greedy 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": "[6]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/589d1e88e8afb7a85e00004e",
"idx": "i_from_o_direct_4044",
"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": "5\n12\n5 4 4 3 2 2 1 1 1 1 1 1\n4\n4 3 2 1\n1\n1000000\n20\n20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1\n32\n64 64 63 58 58 58 58 58 37 37 37 37 34 30 28 28 28 28 28 28 24 24 19 17 17 17 17 16 16 16 16 11\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1265/C",
"idx": "i_from_o_direct_4045",
"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": "3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/285/D",
"idx": "i_from_o_direct_4047",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Combinatorics', 'Implementation', 'Complete search', '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": "53208 42123 134209 85846\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/533/C",
"idx": "i_from_o_direct_4048",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Game theory', '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": "10 10\n999999991 1000000000\n999999992 1000000000\n999999993 1000000000\n999999994 1000000000\n999999995 1000000000\n999999996 1000000000\n999999997 1000000000\n999999998 1000000000\n999999999 1000000000\n1000000010 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/523/D",
"idx": "i_from_o_direct_4049",
"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": "30 49\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/432/E",
"idx": "i_from_o_direct_4050",
"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\n3\n1 2 3 5 9 6\n2\n5 7 9 6\n5\n1 3 3 2 5 122 000 100 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1370/B",
"idx": "i_from_o_direct_4051",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[96, 6]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5614adad2283aa822f0000b3",
"idx": "i_from_o_direct_4052",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Data structures', '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": "CGCEONRDTE\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/432/D",
"idx": "i_from_o_direct_4053",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Dynamic programming', '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": "2\n6\n0 2 2 1 7 6\n3\n2 3 4\n6\n22 5 6 19 1 4\n2\n4 15",
"style": "rule"
} | {
"contest_id": "https://www.codechef.com/problems/CHEFSQ",
"idx": "i_from_o_direct_4054",
"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": "[[-52, 56, 30, 29, -54, 0, -110]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/577a98a6ae28071780000989",
"idx": "i_from_o_direct_4055",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n1000000000 0 2 -849351056\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/788/A",
"idx": "i_from_o_direct_4056",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "4\n1 2 3 4\n2 3 2 1\n699\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/273/B",
"idx": "i_from_o_direct_4057",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "[[17, 31, 21], 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5750699bcac40b3ed80001ca",
"idx": "i_from_o_direct_4059",
"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": "[['------------', '--L---R---M-', '------------', '------------', '------------', '------------'], 6]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5869848f2d52095be20001d1",
"idx": "i_from_o_direct_4060",
"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": "100\ndddddccccdddddaaaaabbbbbbbbbbbbbaaacdcabbacccacccccbdbbadddbbddddbdaabcacdddbbbaddddbbbbdcbbbdddddda\n50\n54 b\n60 d\n45 b\n52 c\n52 a\n48 a\n54 b\n45 a\n47 d\n50 d\n53 a\n34 a\n51 b\n48 d\n47 d\n47 a\n48 d\n53 b\n52 d\n54 d\n46 a\n38 a\n52 b\n49 a\n49 b\n46 c\n71 a\n45 b\n35 c\n55 c\n51 c\n46... | {
"contest_id": "https://codeforces.com/problemset/problem/814/C",
"idx": "i_from_o_direct_4061",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Amortized analysis', 'Complete search', 'String algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "20 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/817/C",
"idx": "i_from_o_direct_4062",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Sorting', '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": "[[0, 333, 0], 0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/553ba31138239b9bc6000037",
"idx": "i_from_o_direct_4063",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "149 300\n781539 540247 845277 205584 338505 501218 285052 894869 23824 143851 283400 179236 486400 994848 430564 809121 964746 627197 460185 475649 113296 550880 139452 134702 25764 258223 21255 206398 370730 464604 988017 634816 473181 803467 638021 901795 113417 781239 340938 528821 998769 753504... | {
"contest_id": "https://atcoder.jp/contests/arc107/tasks/arc107_f",
"idx": "i_from_o_direct_4064",
"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": "20\nl 6 02 02 2 02 02 2\nl 8 8 8 8 2 62 13 31 3\ne 9 0 91 0 0 60 91 60 2 44\ne 9 69 2 1 44 2 91 66 1 70\nl 9 7 27 27 3 1 3 7 80 81\nl 9 2 1 13 7 2 10 02 3 92\ne 9 0 15 3 5 5 15 91 09 44\nl 7 2 50 4 5 98 31 98\nl 3 26 7 3\ne 6 7 5 0 62 65 91\nl 8 80 0 4 0 2 2 0 13\nl 9 19 13 02 2 1 4 19 26 02\nl 10 ... | {
"contest_id": "https://codeforces.com/problemset/problem/898/C",
"idx": "i_from_o_direct_4065",
"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": "[200]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/562b384167350ac93b00010c",
"idx": "i_from_o_direct_4066",
"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": "3\n1110 0\n1000 1\n50 294",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc073/tasks/arc073_c",
"idx": "i_from_o_direct_4068",
"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": "['HeLLo WoRLD']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56efc695740d30f963000557",
"idx": "i_from_o_direct_4069",
"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": "0 0 1\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc094/tasks/arc094_a",
"idx": "i_from_o_direct_4070",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[2, 9, 30]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5919427e5ffc30804900005f",
"idx": "i_from_o_direct_4071",
"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": "100 10\n3 7 7 7 6 6 10 10 3 4 4 4 10 3 7 7 4 7 6 10 3 3 4 5 5 7 10 4 8 10 2 5 9 6 6 7 7 6 9 2 7 3 6 4 4 3 10 7 6 8 7 4 3 4 5 8 6 5 3 3 6 7 4 9 10 5 3 3 10 6 3 4 1 10 4 10 5 4 6 3 3 6 4 3 2 3 10 4 7 6 1 1 10 1 7 2 7 7 9 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/370/C",
"idx": "i_from_o_direct_4072",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Sorting', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "30\n0 0 0 0 1 15 9 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1132/E",
"idx": "i_from_o_direct_4073",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph traversal', '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\n851991424 58687854 310793856 288710434 342626527 58796623 14549368 517126753\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/272/B",
"idx": "i_from_o_direct_4074",
"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": "['3.5']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52f78966747862fc9a0009ae",
"idx": "i_from_o_direct_4075",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', '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": "['LOVE']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5713b0253b510cd97f001148",
"idx": "i_from_o_direct_4076",
"question_source": "codewars",
"source": "taco",
"tags": "['Game theory', '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": "['K', 'A']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58558673b6b0e5a16b000028",
"idx": "i_from_o_direct_4077",
"question_source": "codewars",
"source": "taco",
"tags": "['Game theory']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4666\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/678/B",
"idx": "i_from_o_direct_4078",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 0\n917 274 234 173 808 858 857 828 673 392 406 60\n2\n12 2 8 9 3 10 4 6 7 11 5 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1056/C",
"idx": "i_from_o_direct_4079",
"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": "[7]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58aa5d32c9eb04d90b000107",
"idx": "i_from_o_direct_4080",
"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": "3\n53653740855570\n468072193704684\n45953766074055\n710177872213117\n332412965815421\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc123/tasks/abc123_c",
"idx": "i_from_o_direct_4081",
"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": "19 43 41\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc094/tasks/arc094_a",
"idx": "i_from_o_direct_4082",
"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\n6 5\n7 5\n1 2\n10 6\n5 9\n3 5\n2 4\n8 3\n1 3\n1\n7 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1296/F",
"idx": "i_from_o_direct_4083",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph traversal', 'Constructive algorithms', 'Sorting', 'Greedy algorithms', 'Tree 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": "11474589 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1080/A",
"idx": "i_from_o_direct_4084",
"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": "6 2\n1 1 2 2 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1227/F2",
"idx": "i_from_o_direct_4085",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "2 2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc067/tasks/abc067_a",
"idx": "i_from_o_direct_4086",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n1 150\n100 100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1047/B",
"idx": "i_from_o_direct_4088",
"question_source": "codeforces",
"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": "[[15, 10, 9, 5], [1, 5, 3, 4], 8]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a51717fa7ca4d133f001fdf",
"idx": "i_from_o_direct_4089",
"question_source": "codewars",
"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\n1 1 1 23 10 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/43/C",
"idx": "i_from_o_direct_4090",
"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 99 20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/112/C",
"idx": "i_from_o_direct_4091",
"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": "[5]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5416fac7932c1dcc4f0006b4",
"idx": "i_from_o_direct_4092",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[2, 7, 5, 9, 100, 34, 32, 0], 3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5acc3634c6fde760ec0001f7",
"idx": "i_from_o_direct_4093",
"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": "[[' ']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57f12b4d5f2f22651c00256d",
"idx": "i_from_o_direct_4094",
"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": "['abcd']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58ad317d1541651a740000c5",
"idx": "i_from_o_direct_4095",
"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": "['I love arrays they are my favorite']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57e76bc428d6fbc2d500036d",
"idx": "i_from_o_direct_4096",
"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": "3\n% 903\n] 826\n^ 164\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/878/A",
"idx": "i_from_o_direct_4097",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', '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\n5\n45\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1473/F",
"idx": "i_from_o_direct_4098",
"question_source": "codeforces",
"source": "taco",
"tags": "['Flows and cuts', '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\n1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1084/B",
"idx": "i_from_o_direct_4100",
"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": "[4]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5d9f95424a336600278a9632",
"idx": "i_from_o_direct_4101",
"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": "14 5 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/171/G",
"idx": "i_from_o_direct_4102",
"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": "[[3, '3', '2', 2, '2', '1', 1, 'a', 'b', 'c']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5443b8857fc4473cb90008e4",
"idx": "i_from_o_direct_4103",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', '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": "100\n1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 2 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 2 2 1 1 1 1 2 1 2 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/933/A",
"idx": "i_from_o_direct_4104",
"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, 2, '&']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5810085c533d69f4980001cf",
"idx": "i_from_o_direct_4105",
"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\n10 20 10\n6\n1 1\n2 1\n2 1\n3 1\n3 2\n3 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1261/B2",
"idx": "i_from_o_direct_4106",
"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\n4 3\n1 2\n2 1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc046/tasks/arc062_a",
"idx": "i_from_o_direct_4107",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 3\n2 5 4\n9 9 6 3 2 8 4 5 1 7\n1 7 9 4 1 6 8 2 5\n1 6 1 9 3 8 5 4\n1 1 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1185/F",
"idx": "i_from_o_direct_4108",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', '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\n1557748116\n2701205557\n3717208302\n3214956022\n4654022868\n1589505892\n3717208304\n2526305530\n3519649733\n5884544197\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/172/A",
"idx": "i_from_o_direct_4109",
"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\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/688/B",
"idx": "i_from_o_direct_4110",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "158260522\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1081/A",
"idx": "i_from_o_direct_4111",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1061556374 639026405 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/338/A",
"idx": "i_from_o_direct_4112",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Greedy algorithms', 'Number theory', 'Mathematics', 'Matrices']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should 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, 53, 'July']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/584acd331b8b758fe700000d",
"idx": "i_from_o_direct_4113",
"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 2\n39 26 1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc161/tasks/abc161_b",
"idx": "i_from_o_direct_4114",
"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": "12 100\n1 8 8\n2 200 101\n2 10 139\n1 9 9\n2 10 99\n2 200 101\n1 14 4\n2 194 195\n2 194 194\n2 990 290\n2 999991 11\n2 999991 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/792/F",
"idx": "i_from_o_direct_4115",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', '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 20\n9 8 7 6 5 4 3 2 1\n4 6\n9 4\n5 9\n6 8\n1 9\n5 8\n6 9\n7 3\n1 9\n8 3\n4 5\n9 6\n3 8\n4 1\n1 2\n3 2\n4 9\n6 7\n7 5\n9 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/258/D",
"idx": "i_from_o_direct_4116",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Mathematics', 'Probability']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "15\n2 6 9 4 8 9 10 10 5 8 8 4 4 8 7\n10 9 2 6 8 10 5 2 8 4 9 6 9 10 10\n3 1 5 1 6 5 1 6 0 4 3 3 9 8 10\n5 7 10 6 4 9 6 8 1 5 4 9 10 4 12\n9 6 10 5 8 6 9 9 3 5 4 7 6 2 4\n8 6 10 7 3 3 8 10 3 8 4 8 8 3 1\n7 3 6 2 8 5 5 8 3 7 2 6 2 9 7\n6 8 4 7 7 7 10 4 6 4 4 10 1 10 2\n1 6 7 8 3 4 2 8 1 7 4 4 4 9 5\n... | {
"contest_id": "https://codeforces.com/problemset/problem/463/C",
"idx": "i_from_o_direct_4117",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "['hello example (words(more words) here) something']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5f7c38eb54307c002a2b8cc8",
"idx": "i_from_o_direct_4118",
"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 5 0\n3 4 1 2 5\n-1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/421/A",
"idx": "i_from_o_direct_4119",
"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": "[[1, 2, 3, 4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/525dfedb5b62f6954d000006",
"idx": "i_from_o_direct_4120",
"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": "99 98\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1113/A",
"idx": "i_from_o_direct_4121",
"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": "20 1000000000\n667066860 170421783 139902912 635488786 31946329 289281524 541340760 264115900 680775010 102068388 128171043 636359373 477042326 879154458 716982402 654668379 256334407 874949294 737194458 663371809\n688973261 813186249 677241392 581016678 216137209 424019643 428224807 184559135 2037... | {
"contest_id": "https://codeforces.com/problemset/problem/1269/B",
"idx": "i_from_o_direct_4122",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "0 1\n11",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc087/tasks/arc087_c",
"idx": "i_from_o_direct_4123",
"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\n6 5 4 5\n2 3 2 3 1 3\n1 5 4 3\n10\n4 4 2 3\n8 10 8 5\n2 2 1 4\n8 5\n3 5 3 5\n9 2 10\n4 5 5 5\n2 19 4 2\n2 3 1 4\n1 10\n3 1 5 3\n9 8 7\n2 5 4 5\n8 8\n3 5 1 4\n5 5 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1312/F",
"idx": "i_from_o_direct_4124",
"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": "4\n0011\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1184/A2",
"idx": "i_from_o_direct_4125",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Complete search']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.