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": "[51120111]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56a628758f8d06b59800000f",
"idx": "i_from_o_direct_3915",
"question_source": "codewars",
"source": "taco",
"tags": "['Number theory', 'Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "code\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1095/A",
"idx": "i_from_o_direct_3916",
"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 5\n2 1\n6 4\n2 2\n4 3\n4 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/333/B",
"idx": "i_from_o_direct_3917",
"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": "[19]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/589436311a8808bf560000f9",
"idx": "i_from_o_direct_3918",
"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": "20\n363756450 -204491568 95834122 -840249197 -49687658 470958158 -445130206 189801569 802780784 -790013317 -192321079 586260100 -751917965 -354684803 222819741 -253230108 26689189 712662868 853829789 634476004\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/844/C",
"idx": "i_from_o_direct_3919",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph traversal', 'Sorting', 'Implementation', '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": "-1 -2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc067/tasks/abc067_a",
"idx": "i_from_o_direct_3920",
"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\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc068/tasks/arc079_b",
"idx": "i_from_o_direct_3921",
"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": "1999 464\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc068/tasks/arc068_d",
"idx": "i_from_o_direct_3922",
"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": "16\nx*d**s******xd*u\n22\nxfdeoshogyqjxdmu\nxvdvdsnwfwakxdyu\nxfdjoshftydjxkmu\nxfdcoshfwyajxdmu\nxfdfoshkmyajxdmu\nxfdyoshpoycjxdmu\nxmdhcswqnhxjxdtu\nxxdxwsoogqzwxdcu\nxxdhhsxqzciuxdfu\nxddcmswqzksqxdhu\nxfdtoshioyvjxdmu\nugdxybjgmfsmxdsx\nxasfsdplfnlbxdru\nurdxbmqmkysacdnx\nxrdxgszaisicxdlu\numd... | {
"contest_id": "https://codeforces.com/problemset/problem/883/E",
"idx": "i_from_o_direct_3923",
"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": "-2 11816546",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc096/tasks/arc096_c",
"idx": "i_from_o_direct_3924",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n2\n3 5 1 2\n3\n2 1 8 8 64 64\n2\n1 1 3 8\n5\n1 0 3 4 0 6 7 14 1 11\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1474/C",
"idx": "i_from_o_direct_3925",
"question_source": "codeforces",
"source": "taco",
"tags": "['Constructive algorithms', 'Sorting', 'Implementation', 'Complete search', 'Greedy algorithms', '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": "[[1, 2, 3, 4, 5], [0, 0, 1, 1, -4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5457ea88aed18536fc000a2c",
"idx": "i_from_o_direct_3927",
"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": "100\n96 36 10 82 40 33 43 91 8 14 84 95 93 62 47 4 22 94 78 83 16 32 48 34 46 67 45 37 18 25 59 5 20 81 58 26 85 90 77 17 98 3 30 11 49 65 15 28 19 53 1 12 99 71 100 31 66 89 13 7 73 39 2 68 6 86 55 92 41 87 29 57 23 80 88 54 42 79 51 56 69 60 38 50 63 72 70 76 61 97 9 27 21 35 24 44 64 52 74 75\n"... | {
"contest_id": "https://codeforces.com/problemset/problem/749/E",
"idx": "i_from_o_direct_3928",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "5\n10011\n8 7 55 0 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1107/E",
"idx": "i_from_o_direct_3929",
"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": "[[1, 1, 1]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5806445c3f1f9c2f72000031",
"idx": "i_from_o_direct_3930",
"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": "7 7\n1 0\n2 0\n3 0\n4 0\n0 0\n6 0\n7 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/463/A",
"idx": "i_from_o_direct_3931",
"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": "['hello']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57a0556c7cb1f31ab3000ad7",
"idx": "i_from_o_direct_3932",
"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": "[365]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/559ce00b70041bc7b600013d",
"idx": "i_from_o_direct_3933",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[6]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59e0dbb72a7acc3610000017",
"idx": "i_from_o_direct_3934",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100 5\n3416 2232 2630 706 6716 9525 8018 1330 6689 2220 2486 7478 9225 8535 4099 3386 4392 8755 6088 2659 2129 8582 2784 2948 5336 6622 8559 2566 1733 1928 6090 8555 7673 7567 375 7468 1567 1036 4615 185 494 1306 2334 4238 8608 3721 1156 3326 7947 4401 4878 2372 3103 6884 1044 6281 1675 7196 5016 2... | {
"contest_id": "https://codeforces.com/problemset/problem/1029/D",
"idx": "i_from_o_direct_3935",
"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": "624 33 145653575\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/507/D",
"idx": "i_from_o_direct_3936",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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 110\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/53/B",
"idx": "i_from_o_direct_3937",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['hello world!', ' |']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/581951b3704cccfdf30000d2",
"idx": "i_from_o_direct_3938",
"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 1\n1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1090/D",
"idx": "i_from_o_direct_3940",
"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": "[1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5262119038c0985a5b00029f",
"idx": "i_from_o_direct_3941",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "45021689\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1157/A",
"idx": "i_from_o_direct_3942",
"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\n3\n-2 4 3\n5\n1 1 1 1 0\n5\n-2 4 14 -6 4\n9\n9 7 -4 -2 2 -3 9 -4 -2\n9\n-4 1 28 3 0 9 5 2 -15\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1375/A",
"idx": "i_from_o_direct_3943",
"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": "1 1\n1 1\n0 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://open.kattis.com/problems/contacttracing",
"idx": "i_from_o_direct_3944",
"question_source": "kattis",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "7\n10 11 10 11 10 11 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/609/C",
"idx": "i_from_o_direct_3945",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 2\n1 3 5 6\n0 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1159/C",
"idx": "i_from_o_direct_3946",
"question_source": "codeforces",
"source": "taco",
"tags": "['Constructive algorithms', 'Sorting', 'Amortized analysis', '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": "5\n0 954 1255 266 751\n954 0 1677 688 1173\n1255 1677 0 989 504\n266 688 989 0 485\n751 1173 504 485 0\n5\n5 2 1188\n3 4 692\n3 5 7\n3 1 83\n2 5 262\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/25/C",
"idx": "i_from_o_direct_3947",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Shortest paths']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "9 45031\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/290/B",
"idx": "i_from_o_direct_3948",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[3, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a491f0be6be389dbb000117",
"idx": "i_from_o_direct_3949",
"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": "9 20\n.....***....***.....\n....*...*..*...*....\n...*.....**.....*...\n...*.....*......*...\n....*.....*....*....\n.....**..*...**.....\n.......*..*.*.......\n........**.*........\n.........**.........",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc049/tasks/abc049_b",
"idx": "i_from_o_direct_3950",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 160\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/290/B",
"idx": "i_from_o_direct_3951",
"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": "oohkqxxtvxzmvfjjxyjwlbqmeqwwlienzkdbhswgfbkhfygltsucdfjozwaiewpixapyazfztksjeoqjugjfhdbqzuezbuajfvvffkwprroyiufoocvslejffgxuiofisenroxoeixmdbzonmreikpflciwsbafrdqfvdiojgoziiibqhwwsvhozmptgirqqulkgmyzrfekzqqujmdumxkudsgexisupedisgmdgebvlvqpyfrbrqjknrxyzfpwmsxjxismgd\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/932/A",
"idx": "i_from_o_direct_3952",
"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": "3 70\n7 60\n1 80\n4 50\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc112/tasks/abc112_b",
"idx": "i_from_o_direct_3953",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100\n-1 -1 0 1 -1 0 0 -1 -1 1 1 0 1 0 -1 1 0 0 -1 0 0 0 1 0 0 1 1 1 1 0 -1 -1 0 0 0 1 1 -1 0 0 1 1 1 0 -1 -1 0 -1 0 -1 -1 0 1 0 1 -1 1 -1 -1 -1 0 0 -1 0 -1 -1 0 -1 1 1 -1 1 0 1 -1 -1 1 1 -1 1 0 -1 1 -1 1 1 1 1 1 -1 0 1 0 0 -1 0 1 1 -1 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/846/C",
"idx": "i_from_o_direct_3954",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Data structures', '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, '*', 0]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56368f37d464c0a43c00007f",
"idx": "i_from_o_direct_3955",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 2\nSp.\n.o.\nR.o",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc074/tasks/arc074_d",
"idx": "i_from_o_direct_3956",
"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",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc053/tasks/abc053_a",
"idx": "i_from_o_direct_3957",
"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": "81\n48 22 31 24 73 77 79 75 37 78 43 56 20 33 70 34 6 50 51 21 39 29 20 11 73 53 39 61 28 17 55 52 28 57 52 74 35 13 55 2 57 9 46 81 60 47 21 68 1 53 31 64 42 9 79 80 69 30 32 24 15 2 69 10 22 3 71 19 67 66 17 50 62 36 32 65 58 18 25 59 38 10 14 51 23 16 29 81 45 40 18 54 47 12 45 74 41 34 75 44 19... | {
"contest_id": "https://codeforces.com/problemset/problem/996/D",
"idx": "i_from_o_direct_3958",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['a']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a4076f3e1ce0ee6d4000010",
"idx": "i_from_o_direct_3959",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals', 'Mathematics', '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": "4\n309999 6000 2080 2080\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/335/F",
"idx": "i_from_o_direct_3960",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "1000 199\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1136/B",
"idx": "i_from_o_direct_3961",
"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": "[10]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/525f039017c7cd0e1a000a26",
"idx": "i_from_o_direct_3962",
"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": "['ccccccccccc']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58899594b832f80348000122",
"idx": "i_from_o_direct_3963",
"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": "100\n0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 1 1 1 1 0 0 1 0 1 1 0 1 0 0 0 0 1 0 1 1 1 1 0 0 1 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0 1 0 0 1 1 0 0 0 1 1 1 0 0 0 1\n1 2 3 4 2 6 5 5 4 8 10 8 1 14 5 16 3 11 13 11 12 8 11 22 8 17 19 5 15 27 14 13 12 4 6 2 10 25... | {
"contest_id": "https://codeforces.com/problemset/problem/1153/D",
"idx": "i_from_o_direct_3964",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph traversal', 'Sorting', 'Greedy algorithms', 'Tree algorithms', 'Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['abc(123)456-7890']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/525f47c79f2f25a4db000025",
"idx": "i_from_o_direct_3965",
"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": "['pufferfish']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5714eb80e1bf814e53000c06",
"idx": "i_from_o_direct_3966",
"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": "119 0 0 0 0\n2 0 0 0 0\n5 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/604/A",
"idx": "i_from_o_direct_3967",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n- 1\n+\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1434/B",
"idx": "i_from_o_direct_3969",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "2\n4\n2.0950018545161164 31.80877400742784\n14 1\n3 0\n31 0\n6 0\n3\n1.000 30.000\n1 10\n10 8\n26 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1056/F",
"idx": "i_from_o_direct_3970",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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 22369171 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/717/B",
"idx": "i_from_o_direct_3971",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "['21W', 64, 88, '25W']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5aefd0a686d075d5f3000091",
"idx": "i_from_o_direct_3972",
"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 1 3\nto head\n10111111111111111011110110111111110111011111111111111111110101111111111111101111111111011110111110111111111111111111111111111110111111111111111110001011101111101110111111111111111111110101111111110011\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/74/B",
"idx": "i_from_o_direct_3974",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Game theory', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 1\n4 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/16/B",
"idx": "i_from_o_direct_3975",
"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": "100000 92060 109648 58709 36956\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/675/B",
"idx": "i_from_o_direct_3976",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 4 194\n60 90 211\n80 150 80 150",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc172/tasks/abc172_c",
"idx": "i_from_o_direct_3977",
"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": "['lamppu sofia']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/570e1271e5c9a0cf2f000d11",
"idx": "i_from_o_direct_3978",
"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\n1000000000 1000000000 999999999\n3\n999999999 1000000000 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1036/D",
"idx": "i_from_o_direct_3979",
"question_source": "codeforces",
"source": "taco",
"tags": "['Amortized analysis', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[194]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58e26b5d92d04c7a4f00020a",
"idx": "i_from_o_direct_3980",
"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": "10 101\naabaaaaaab\naabbaaabab\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1084/E",
"idx": "i_from_o_direct_3981",
"question_source": "codeforces",
"source": "taco",
"tags": "['String 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": "5\n5 8\n12 10\n5 17\n5 24\n1 286\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/204/B",
"idx": "i_from_o_direct_3982",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "75058 19810836\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1561/D2",
"idx": "i_from_o_direct_3983",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "[100]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59f8750ac374cba8f0000033",
"idx": "i_from_o_direct_3984",
"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": "['90:00:01', '60:00:02', '70:00:03', '80:00:04']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5915686ed2563aa6650000ab",
"idx": "i_from_o_direct_3985",
"question_source": "codewars",
"source": "taco",
"tags": "['Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n44 22 14 9 93 81 52 64 3 99\n43 23 13 10 92 82 51 65 2 100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/66/E",
"idx": "i_from_o_direct_3986",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "39 49 21\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc094/tasks/arc094_a",
"idx": "i_from_o_direct_3987",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n1000000000 -1611858850 -1000000000 1000000000\n1 2\n3 2\n4 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/796/C",
"idx": "i_from_o_direct_3988",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Dynamic programming', 'Data structures', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100 100\nSPRPSSRPPPRPRPRSSSPPRRRPRPRPPSRRRRPSRPPPRPRRSRSRPSRRPPSRRRPSSSSSPSSRPPPSPSPRRSPSPPSPSRSPSSSSSSPPRPSS\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc109/tasks/arc109_c",
"idx": "i_from_o_direct_3989",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 5\n0 4 1 4 4\n2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1340/C",
"idx": "i_from_o_direct_3990",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph algorithms', 'Graph traversal', 'Shortest paths']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "8 31\n1 1 1 1 1 1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1198/A",
"idx": "i_from_o_direct_3991",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Amortized analysis']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "010101110001010101100000010111010000000111110011001101100011001000000011001111110000000010100\n010010111011100101010101111110110000000111000100001101101001001000001100101110001010000100001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/61/A",
"idx": "i_from_o_direct_3992",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n1000000000 1101\n2\n3 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/175/C",
"idx": "i_from_o_direct_3993",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "1\n1000000000 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1131/B",
"idx": "i_from_o_direct_3994",
"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 0\n4 19 C\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/662/B",
"idx": "i_from_o_direct_3995",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "501 450 400 350\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/328/A",
"idx": "i_from_o_direct_3996",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n1\n100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1315/D",
"idx": "i_from_o_direct_3997",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "()))))(()(()(()(((()()(((()()()))())())()(()()())(((()))))(()()(((())())(((()())))()))((((()(()((())\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/917/A",
"idx": "i_from_o_direct_3998",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Dynamic programming', '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": "[21]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56b7771481290cc283000f28",
"idx": "i_from_o_direct_3999",
"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": "zza\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/665/C",
"idx": "i_from_o_direct_4000",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Dynamic programming', '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": "42 86\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/322/A",
"idx": "i_from_o_direct_4001",
"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": "['aab']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/54bb6f887e5a80180900046b",
"idx": "i_from_o_direct_4002",
"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 1000002 1000003 1000000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/919/E",
"idx": "i_from_o_direct_4003",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 3 1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc061/tasks/arc061_d",
"idx": "i_from_o_direct_4004",
"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": "fffdmdfqpuc\nduppeiotuea",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc172/tasks/abc172_b",
"idx": "i_from_o_direct_4005",
"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": "e`bccc\naab",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc177/tasks/abc177_b",
"idx": "i_from_o_direct_4006",
"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, 1, 0, 1, 1]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a511db1b3bfa8f45b000098",
"idx": "i_from_o_direct_4007",
"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 2\n47 47 47 47 47\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/145/C",
"idx": "i_from_o_direct_4008",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Combinatorics', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100000 9999999999\n100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 ... | {
"contest_id": "https://atcoder.jp/contests/abc130/tasks/abc130_d",
"idx": "i_from_o_direct_4009",
"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\n0111010\n0111010\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1165/E",
"idx": "i_from_o_direct_4010",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Mathematics', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n2\n3 5\n2 3\n3\n5 5\n1 5\n0 3\n3\n3 3\n4 8\n5 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1101/C",
"idx": "i_from_o_direct_4011",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n3 2 2\n2 2 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1031/B",
"idx": "i_from_o_direct_4012",
"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": "[[['09:30', '10:15'], ['12:20', '15:50']], '10:00']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5603002927a683441f0000cb",
"idx": "i_from_o_direct_4013",
"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": "['Hi!!!']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57faf32df815ebd49e000117",
"idx": "i_from_o_direct_4014",
"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": "26\n6 21 20 16 26 17 11 0 24 4 1 12 14 8 25 7 15 10 22 5 13 18 9 23 19 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/676/A",
"idx": "i_from_o_direct_4015",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n5 48258 84644 992412 548310 132019\n5 132019 556600 548310 94345 992412\n6 132019 771663 523582 548310 463969 327864\n7 556600 132019 992412 523582 548310 70239 84644\n4 504172 548310 523582 286042\n7 548310 5409 771663 556600 132019 463969 48258\n5 556600 771663 463969 523582 84644\n6 131105 5... | {
"contest_id": "https://codeforces.com/problemset/problem/1279/D",
"idx": "i_from_o_direct_4016",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', '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": "0 7\n0 1 1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc056/tasks/arc070_b",
"idx": "i_from_o_direct_4017",
"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": "14 4\njnlkebykvmiexg\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/999/C",
"idx": "i_from_o_direct_4018",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.