data_source large_string | prompt list | ability large_string | reward_model dict | extra_info dict |
|---|---|---|---|---|
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1989, 2016]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5761a717780f8950ce001473",
"idx": "i_from_o_direct_13310",
"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": "[16]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5850e85c6e997bddd300005d",
"idx": "i_from_o_direct_13311",
"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\n8 2\n()(())()\n10 1\n))()()()((\n2 1\n()\n2 1\n()\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1261/A",
"idx": "i_from_o_direct_13312",
"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": "11 14\n3 1 4 1 2 9 2 11 3 3 10\n8 9 7 26 3 2 3 8 7 6 2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc144/tasks/abc144_e",
"idx": "i_from_o_direct_13313",
"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": "8\n1 2 2 2 1 2 1 1\n2\n5 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/733/C",
"idx": "i_from_o_direct_13314",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Dynamic programming', 'Amortized analysis', '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": "9 38\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/520/B",
"idx": "i_from_o_direct_13315",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Shortest paths', 'Implementation', 'Greedy 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": "10 10 50 80\n529 349 889 455 946 983 312 179 590 907\n436 940 407 1064 26 963 181 789 461 437\n367 505 888 521 449 741 900 994 342 629\n605 374 112 829 212 329 295 416 181 435\n661 647 676 144 436 629 660 282 545 470\n392 555 351 969 102 178 588 578 696 592\n837 115 669 760 324 680 584 822 909 75\n... | {
"contest_id": "https://codeforces.com/problemset/problem/446/B",
"idx": "i_from_o_direct_13316",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "[7]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56aed5db9d5cb55de000001c",
"idx": "i_from_o_direct_13317",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 1\n1 1 2 2\n2 2 3 3\n3 3 4 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/594/C",
"idx": "i_from_o_direct_13318",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', 'Amortized analysis', '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": "99 99 -33 0\n-6 -97 -34 -12 -57 1 -83 -75 -44 -91 -92 -5 -51 -29 -100 -7 -77 -93 -10 -27 -9 -23 -42 -22 -67 -71 -85 -45 -82 -30 -61 -63 -36 -59 -94 -40 -47 -32 -89 -38 -81 -24 -96 -31 -28 -78 -70 -56 -86 -43 -79 -2 -17 -11 -4 -46 -69 -8 -39 -99 -55 -66 -53 -58 -72 -64 -15 -49 -95 -68 -13 -50 -37 -2... | {
"contest_id": "https://atcoder.jp/contests/abc110/tasks/abc110_b",
"idx": "i_from_o_direct_13319",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[0, 2, 3, 0, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/576bb71bbbcf0951d5000044",
"idx": "i_from_o_direct_13320",
"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": "100 100\n1 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 10... | {
"contest_id": "https://codeforces.com/problemset/problem/1112/B",
"idx": "i_from_o_direct_13321",
"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": "57\n40 11 43 39 13 38 18 57 54 48 17 5 37 5 38 15 43 53 8 4 51 41 30 16 26 10 55 27 35 56 23 20 1 8 12 46 21 28 6 19 34 2 45 31 14 42 50 16 44 10 50 52 14 35 47 27 24\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/900/C",
"idx": "i_from_o_direct_13322",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "2 -1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/628/A",
"idx": "i_from_o_direct_13323",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5bc027fccd4ec86c840000b7",
"idx": "i_from_o_direct_13324",
"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": "24 24\n25 69 89 18 35 30 78 14 14 8 27 49 75 95 10 69 80 71 51 8 91 9 8 10\nswtcofrcpeyszydwkrg\nszyd\ndyzsyep\nrcpeyszydwkrgfj\nfgrkwdyzsyfp\ndwyz\nsmzginydyrtua\nj\nk\ntzwsw\ngfj\nmsplnqossy\ninydyrtuatzw\ninxdy\nlpsmzginydyrtuatzwswtcofrcpeyszy\nyssoqnlpsm\npeyszyd\nysosqnlpsm\ninydy\ndyzsyep\ni... | {
"contest_id": "https://codeforces.com/problemset/problem/12/C",
"idx": "i_from_o_direct_13325",
"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": "['ifkhchlhfd']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57f75cc397d62fc93d000059",
"idx": "i_from_o_direct_13326",
"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": "10\n1 1 1 4 5 0 2 2 17 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/243/A",
"idx": "i_from_o_direct_13327",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1029 1028\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1136/B",
"idx": "i_from_o_direct_13328",
"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": "48 19\n227460648 746912227 53993110 682685526 621533699 666833118 492590399 167395932 678377837 66509685 638633256 713194370 386921921 34175133 704550052 220688092 499436761 495071386 57379330 137372655 0 720974146 209203457 946682102 237312198 943872065 957150897 357568282 367006748 0 730509325 68... | {
"contest_id": "https://codeforces.com/problemset/problem/260/C",
"idx": "i_from_o_direct_13329",
"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": "17\ntypedef void* b\ntypedef b* c\ntypeof b\ntypeof c\ntypedef &b b\ntypeof b\ntypeof d\ntypedef &&b* c\ntypeof c\ntypedef &b* c\ntypeof c\ntypedef &void b\ntypeof b\ntypedef b******* c\ntypeof c\ntypedef &&b* c\ntypeof c\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/88/D",
"idx": "i_from_o_direct_13330",
"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": "100\nd\na\ne\neb\nc\nd\nd\nf\nc\ne\nac\nd\nc\naa\na\ne\nda\ne\ne\nc\ne\na\nc\nc\ncb\nbd\nd\nda\ncc\nbe\nb\na\nee\nd\neb\nbe\ne\nb\na\ned\ncb\nab\na\nea\nac\naa\ned\nd\nb\neb\ne\ned\nc\nce\nc\nd\nc\nd\nd\nee\ne\nb\nea\nea\nda\nab\nba\ned\nda\nec\nea\nbd\nee\ndc\nd\nbd\nd\nc\ncc\nab\nbd\na\nad\ne\nd\... | {
"contest_id": "https://codeforces.com/problemset/problem/192/C",
"idx": "i_from_o_direct_13331",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 8\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc088/tasks/arc088_a",
"idx": "i_from_o_direct_13332",
"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": "['Agnieszka Radwańska']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57ab2d6072292dbf7c000039",
"idx": "i_from_o_direct_13333",
"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": "[[{'person': 'Abe', 'dest': ['London', 'Dubai']}, {'person': 'Bond', 'dest': ['Melbourne', 'Dubai']}, {'person': 'Carrie', 'dest': ['Melbourne']}, {'person': 'Damu', 'dest': ['Melbourne', 'Dubai', 'Paris']}]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57dd8c78eb0537722f0006bd",
"idx": "i_from_o_direct_13335",
"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": "4 3 7\n7 4 17\n3 0 8\n11 2 0\n13 3 5\n3 1\n2 1\n4 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1271/D",
"idx": "i_from_o_direct_13336",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Implementation', 'Greedy algorithms', 'Dynamic programming', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 5\nAAAAA\nAAAAB\nAAABB\nAABBB\nABBBB\nBBBBB\n999 13 877 9 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1201/A",
"idx": "i_from_o_direct_13337",
"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": "3\n2 9\n20 99\n5 5\n000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/54/C",
"idx": "i_from_o_direct_13338",
"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": "2\n-2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc140/tasks/abc140_c",
"idx": "i_from_o_direct_13339",
"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\n20\n0",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc112/tasks/abc112_a",
"idx": "i_from_o_direct_13340",
"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 7 4 2 1 17\n3 30\n46 100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/10/A",
"idx": "i_from_o_direct_13341",
"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": "111\n117 101 127 127 119 183 19 117 28 119 119 54 163 136 37 145 11 83 117 9 145 2 11 19 73 18 3 65 164 100 36 101 64 1 45 11 2 137 12 136 128 110 117 91 54 3 47 64 164 155 137 63 117 65 63 90 81 99 136 136 38 172 109 117 127 172 9 126 28 38 164 137 162 99 91 145 172 90 101 110 64 91 92 56 173 16 2... | {
"contest_id": "https://codeforces.com/problemset/problem/1203/E",
"idx": "i_from_o_direct_13342",
"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": "7\n177679021 237356752 791250000 455912656 111364163 678510224 60382864\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/938/E",
"idx": "i_from_o_direct_13343",
"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": "100\nBBBBBBBWBBBBBBBBBBBWWBWWWWWWWWWWWWBBWWWWWWBWWBWWWWBWWWBBWWWWWWWWWWWWWWBWWWWWBWBBBBBBBBBBBBBBBBBBBBBB\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/721/A",
"idx": "i_from_o_direct_13344",
"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": "42\n1 0 0 1 0 1 1 0 1 1 1 1 0 1 0 0 0 1 1 1 0 1 1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0\n35 6\n35 39\n4 31\n31 5\n14 35\n1 2\n40 32\n35 31\n37 35\n32 38\n1 36\n3 25\n35 11\n26 35\n24 35\n3 2\n35 23\n21 1\n20 27\n16 26\n2 18\n34 39\n39 28\n3 32\n26 30\n41 7\n13 35\n1 8\n31 22\n33 21\n21 29\n28 10\n2... | {
"contest_id": "https://codeforces.com/problemset/problem/734/E",
"idx": "i_from_o_direct_13345",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', '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": "['#']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/54a2e93b22d236498400134b",
"idx": "i_from_o_direct_13346",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5\n2\nab\naa\n2\nab\naa\n2\nab\nba\n2\nbb\nab\n3\nabb\nabb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1231/E",
"idx": "i_from_o_direct_13347",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'String algorithms', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "22 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1266/C",
"idx": "i_from_o_direct_13348",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', '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": "5\n1000000000 1000000000 1000010000 1000000000 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/349/C",
"idx": "i_from_o_direct_13349",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\ngkjhps rcckpnah\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/975/A",
"idx": "i_from_o_direct_13350",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 23 56\n10 57 50 46 56 4 64 35 47 43 33 51 18 45 6 4 5 61 59 57 21 53 44\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1433/F",
"idx": "i_from_o_direct_13351",
"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": "1460 5\n100 372\n200 735\n420 117\n234 450\n435 900\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1253/D",
"idx": "i_from_o_direct_13352",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Constructive algorithms', 'Sorting', 'Greedy 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": "1 1\n1 1\n1 2 498328473 730315543\n1 267535146 337021959\n1 340728578\n1 82073826\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1184/B2",
"idx": "i_from_o_direct_13353",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Graph algorithms', 'Flows and cuts', '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": "765 766\n352 69 728 452\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/643/B",
"idx": "i_from_o_direct_13354",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph 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": "8 2\n0 20 3\n1 5 2\n1 4 1\n1 7 1\n0 1 3\n1 5 3\n1 7 2\n1 3 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/436/A",
"idx": "i_from_o_direct_13355",
"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": "100\n9 9 72 55 14 8 55 58 35 67 3 18 73 92 41 49 15 60 18 66 9 26 97 47 43 88 71 97 19 34 48 96 79 52 8 24 69 49 12 23 77 12 21 88 66 9 29 13 61 69 54 77 41 13 4 68 37 74 7 6 29 76 55 72 89 4 78 27 29 82 18 83 12 4 32 69 89 85 66 13 92 54 38 5 26 6 17 55 29 4 17 39 29 94 3 67 85 98 21 14\n",
"sty... | {
"contest_id": "https://codeforces.com/problemset/problem/831/E",
"idx": "i_from_o_direct_13356",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Data structures', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n0 1\n1 0\n1 4\n2 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/660/D",
"idx": "i_from_o_direct_13357",
"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": "46\n11 6 16 8 11 8 2 10 14 3 16 1 9 9 18 2 2 5 17 19 3 9 8 19 2 4 2 15 2 11 13 13 8 6 10 12 7 7 17 15 10 19 7 7 19 6\n71\n6715 8201 9324 276 8441 2378 4829 9303 5721 1112 8193 7725 1246 8845 8380 2897 5001 5055 2745 596 9108 4313 1108 982 6483 7256 1993 8981 9026 9885 2433 2009 8441 7441 9044 6969 ... | {
"contest_id": "https://codeforces.com/problemset/problem/262/C",
"idx": "i_from_o_direct_13358",
"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": "2\n180034154 82521764 119443802 240510681\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1013/C",
"idx": "i_from_o_direct_13359",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Sorting', '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": "4 3 3\n2 0 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/427/B",
"idx": "i_from_o_direct_13360",
"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": "528779165237 9396634689650360 48273 6485\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1244/C",
"idx": "i_from_o_direct_13361",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "2 15\n3 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1010/C",
"idx": "i_from_o_direct_13362",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1677 011 0100",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc091/tasks/abc091_a",
"idx": "i_from_o_direct_13363",
"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": "['42']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57f8ff867a28db569e000c4a",
"idx": "i_from_o_direct_13364",
"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 851 999 721 2000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/382/B",
"idx": "i_from_o_direct_13365",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": ")][(\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/224/C",
"idx": "i_from_o_direct_13366",
"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": "12\n2 1\n3 1\n1 4\n5 1\n1 6\n1 7\n1 8\n9 1\n10 1\n11 1\n12 1\n2 3\n2 4\n2 5\n2 6\n2 7\n2 8\n9 2\n2 10\n2 11\n2 12\n3 4\n3 5\n3 6\n3 7\n3 8\n3 9\n3 10\n3 11\n3 12\n4 5\n4 6\n7 4\n4 8\n9 4\n4 10\n11 4\n12 4\n6 5\n5 7\n5 8\n9 5\n5 10\n5 11\n5 12\n6 7\n6 8\n9 6\n10 6\n11 6\n12 6\n7 8\n9 7\n7 10\n11 7\n... | {
"contest_id": "https://codeforces.com/problemset/problem/1498/E",
"idx": "i_from_o_direct_13367",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "2\n2 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1105/A",
"idx": "i_from_o_direct_13368",
"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": "[9999999999]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55983863da40caa2c900004e",
"idx": "i_from_o_direct_13369",
"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": "21\n942265343 458078985 904519178 810069524 954862509 115602302 674597741 132426218 999736168 584061682 696014113 960485837 712089816 581331718 317512142 593926314 161810971 716885305 477125514 813997503 535631456\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/624/B",
"idx": "i_from_o_direct_13370",
"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": "0\n1011100100010110010111010\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/365/C",
"idx": "i_from_o_direct_13371",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', '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": "5 128805 1000000000\n1 2 3 4 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/721/D",
"idx": "i_from_o_direct_13372",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Data structures', '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": "50\n01110011100101101001001101110101011011101011010011\n50\n10 18 32\n13 50 1\n5 42 1\n10 6 35\n47 4 4\n42 44 7\n50 7 1\n45 1 5\n14 38 11\n28 29 4\n7 48 2\n35 10 1\n12 44 6\n28 26 4\n43 4 4\n42 12 4\n47 41 3\n47 49 1\n19 47 2\n3 46 2\n9 17 23\n17 30 1\n1 31 11\n48 48 1\n14 27 9\n15 26 4\n7 32 10\n3... | {
"contest_id": "https://codeforces.com/problemset/problem/1320/D",
"idx": "i_from_o_direct_13373",
"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": "5 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1136/B",
"idx": "i_from_o_direct_13374",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n1 5 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1424/J",
"idx": "i_from_o_direct_13375",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Sorting', 'Amortized analysis', '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": "[10]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56f69d9f9400f508fb000ba7",
"idx": "i_from_o_direct_13377",
"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": "2045\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/804/A",
"idx": "i_from_o_direct_13378",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "14 1\nlnjkebykvlhexh\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/999/C",
"idx": "i_from_o_direct_13379",
"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 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/685/A",
"idx": "i_from_o_direct_13380",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Combinatorics', '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": "100 100 99\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1064/A",
"idx": "i_from_o_direct_13381",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', '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": "4 3\n1 2\n2 3\n3 4\n1 2 3 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/681/D",
"idx": "i_from_o_direct_13382",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Graph algorithms', 'Graph traversal', '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": "14\n8817 245 150 1575 90 5308 971 6261 117 93 13 194 001110 0",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc132/tasks/abc132_c",
"idx": "i_from_o_direct_13383",
"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": "dqnqwgqq\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/835/D",
"idx": "i_from_o_direct_13384",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "15 10 15\n1\n2\n1\n4\n5\n4\n7\n8\n9\n10\n9\n12\n13\n14\n15\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/104/D",
"idx": "i_from_o_direct_13385",
"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": "4 79\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/750/A",
"idx": "i_from_o_direct_13386",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Sorting', '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": "26\npGiFluRteQwBaVoPszJyNkChxM\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/520/A",
"idx": "i_from_o_direct_13387",
"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": "[11]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56a6ce697c05fb4667000029",
"idx": "i_from_o_direct_13388",
"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": "[2, 3, '11111011001']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5d870ff1dc2362000ddff90b",
"idx": "i_from_o_direct_13389",
"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": "[202233445566]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5659c6d896bc135c4c00021e",
"idx": "i_from_o_direct_13390",
"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": "490",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc173/tasks/abc173_a",
"idx": "i_from_o_direct_13391",
"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 5\n1 1 5\n1 4 10\n0 -1\n2 0 2\n2 0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/461/C",
"idx": "i_from_o_direct_13392",
"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": "2\n0 9\n27 0\n1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/295/B",
"idx": "i_from_o_direct_13393",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "99\n28 37 55 57 97 79 53 25 89 13 15 77 91 51 73 39 29 83 13 43 79 15 89 97 67 25 23 77 71 41 15 83 39 13 43 1 51 49 1 11 95 57 65 7 79 43 51 33 33 71 97 73 3 65 73 55 21 7 37 75 39 9 21 47 31 97 33 11 61 79 67 63 81 21 77 57 73 19 21 47 55 11 37 31 71 5 15 73 23 93 83 25 37 17 23 75 77 97 93\n",
... | {
"contest_id": "https://codeforces.com/problemset/problem/59/B",
"idx": "i_from_o_direct_13394",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "202 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1070/A",
"idx": "i_from_o_direct_13395",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Graph algorithms', 'Dynamic programming', 'Shortest paths']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n5 1 1\n1 1 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/586/C",
"idx": "i_from_o_direct_13397",
"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\n23 18 8 12 29 33 36\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1416/C",
"idx": "i_from_o_direct_13398",
"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": "[548702838394]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5583090cbe83f4fd8c000051",
"idx": "i_from_o_direct_13399",
"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": "234 868 929 1257\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/312/B",
"idx": "i_from_o_direct_13400",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "2\n11 25\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1005/C",
"idx": "i_from_o_direct_13401",
"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, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,... | {
"contest_id": "https://www.codewars.com/kata/5c1bb3d8e514df60b1000242",
"idx": "i_from_o_direct_13402",
"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": "6 3 3\n2 2 2 4 7 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/985/E",
"idx": "i_from_o_direct_13403",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Amortized analysis', 'Greedy algorithms', 'Dynamic programming', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "34 10\n0010101000011110000100111111010110 5\n0110011001011110001101110111000110 4\n0111001000011100000100111111110110 4\n0011011000001110100000110111111010 3\n0101011000011110000000010111010111 0\n0111011000011111010100111111010110 3\n0110010000011110000100110111010010 3\n01110110011111100001001101... | {
"contest_id": "https://codeforces.com/problemset/problem/47/D",
"idx": "i_from_o_direct_13404",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/926/C",
"idx": "i_from_o_direct_13405",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[7, [6, 0]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/586d9a71aa0428466d00001c",
"idx": "i_from_o_direct_13406",
"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": "['Buckethead', 'DeathCubeK']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/529eef7a9194e0cbc1000255",
"idx": "i_from_o_direct_13407",
"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": "358",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc070/tasks/abc070_a",
"idx": "i_from_o_direct_13408",
"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\n0\n0\n0\n1\n1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc134/tasks/abc134_e",
"idx": "i_from_o_direct_13409",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 2 1\n10\n11 12\n13\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/929/C",
"idx": "i_from_o_direct_13410",
"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": "30\n30 12 32 27 31 38 24 24 22 21 20 25 18 10 46 6 1 6 9 11 20 9 8 7 6 5 4 3 0 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/463/B",
"idx": "i_from_o_direct_13411",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "8 8\n48 14\n74 1\n94 1\n127 14\n151 11\n173 4\n190 14\n191 17\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/172/C",
"idx": "i_from_o_direct_13412",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Implementation']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.