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": "5\n10 8 6 4 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/803/F",
"idx": "i_from_o_direct_700",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Bit manipulation', 'Combinatorics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n+ - * / ^ a+ b- c* 1/ 01^\n5\nx + y + z + 1 + 01 + 001\nx - y - z - 1 - 01 - 001\nx * y * z * 1 * 01 * 001\nx / y / z / 1 / 01 / 001\nx ^ y ^ z ^ 1 ^ 01 ^ 001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1089/J",
"idx": "i_from_o_direct_701",
"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": "1 100\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1\n1... | {
"contest_id": "https://codeforces.com/problemset/problem/570/A",
"idx": "i_from_o_direct_702",
"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": "[['A4Y', 'A4R']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5cde4e3f52910d00130dc92c",
"idx": "i_from_o_direct_703",
"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": "20 17\n01001001101010111011\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1190/C",
"idx": "i_from_o_direct_704",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "2\n2 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1005/C",
"idx": "i_from_o_direct_705",
"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": "2\nababbababa\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/219/A",
"idx": "i_from_o_direct_706",
"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": "['The-Stealth-Warrior']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/517abf86da9663f1d2000003",
"idx": "i_from_o_direct_707",
"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": "40\noeerzoozozzrezeezzzorzozrrreorrreeroeoeo\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1220/A",
"idx": "i_from_o_direct_708",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Sorting', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n-1 2 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/988/D",
"idx": "i_from_o_direct_709",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 3 5\n1 2 3 4 5 6\n2 1 1\n2 3 6\n1 1 6\n2 2 1 5 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/863/D",
"idx": "i_from_o_direct_710",
"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": "6\n4 4 2 6 6 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/649/D",
"idx": "i_from_o_direct_711",
"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": "100\nh\nshh\nh\nhs\nshh\nhh\nh\nhss\nhss\nh\nhh\nh\nh\nh\nh\nh\nh\nh\nh\nh\nhh\nh\nh\nh\nh\nhhh\nh\nh\nhhh\nsh\nhh\nhs\nh\nh\nshs\nh\nh\nh\nshh\nsh\nhs\nh\nh\nh\nhhh\nh\nhhs\nhh\nh\nssh\nh\nh\nhh\nsh\nh\nhss\nh\nhh\nsh\nhh\nhh\nhhh\nhs\nh\nh\nh\nshs\nsh\nshs\nsh\nh\nh\nhs\nh\nh\nh\nh\nhs\nssh\nh\nh... | {
"contest_id": "https://codeforces.com/problemset/problem/922/D",
"idx": "i_from_o_direct_712",
"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": "13 15\n531739709 635168245 234231026 281038754 623215180 692418771 741999464 557020273 415476010 65027535 509994318 572183511 764999869\n12 10 77113307\n6 4 493243408\n9 7 884704622\n12 1 661648514\n5 3 96756243\n10 5 455964540\n7 4 81872575\n13 6 526080427\n8 4 429617508\n7 5 992146684\n12 9 21429... | {
"contest_id": "https://codeforces.com/problemset/problem/1082/G",
"idx": "i_from_o_direct_713",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Flows and cuts']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[['d4', 'f6', 'd5', 'f6', 'dxe5', 'f4']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56b012bbee8829c4ea00002c",
"idx": "i_from_o_direct_714",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Data structures', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "8 1\n4 9 5 2 0 6 5 6",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc153/tasks/abc153_c",
"idx": "i_from_o_direct_715",
"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": "RLRXLLRLLLLLRRRLRLXR\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/11/E",
"idx": "i_from_o_direct_716",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Sorting', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['AUGGAGCACAAUAAAAUACCAAUACCACUCACUCUCUACCCUACUCUACUCUCAUGA']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/555a03f259e2d1788c000077",
"idx": "i_from_o_direct_717",
"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 6 1 1 3\n2\n10\n3\n1 1 5 6\n1 3 5 4\n3 3 5 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/925/A",
"idx": "i_from_o_direct_718",
"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": "['pUg']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/568dc014440f03b13900001d",
"idx": "i_from_o_direct_719",
"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": "321543612308 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/448/E",
"idx": "i_from_o_direct_720",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Graph traversal', '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": "1\n100 90 100\n8 70 60 46 68 2 42 45 7 54 89 78 16 59 21 29 5 30 20 12 64 42 34 33 13 17 55 30 54 31 23 27 38 36 2 49 45 43 47 55 4 1 55 38 60 16 41 86 67 76 55 86 39 62 12 58 74 51 10 31 38 85 50 61 48 35 69 24 64 53 4 19 15 35 28 22 88 3 25 4 9 40 67 47 26 57 58 61 65 21 76 4 15 35 37 49 62 45 81... | {
"contest_id": "https://codeforces.com/problemset/problem/1225/B1",
"idx": "i_from_o_direct_721",
"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": "-16",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc140/tasks/abc140_a",
"idx": "i_from_o_direct_722",
"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\nba\nbb\nbd\ned\nffffffffff\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/192/C",
"idx": "i_from_o_direct_723",
"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\n1 1\n6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/262/D",
"idx": "i_from_o_direct_724",
"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": "6 3 2\n1 1 -1 -1 1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1093/F",
"idx": "i_from_o_direct_725",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "6 75 152\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/911/B",
"idx": "i_from_o_direct_726",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "1 10\n2 26\n1 11\n1 9\n1 31\n1 8\n2 12\n1 8\n2 10\n2 8\n2 18\n1 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/339/D",
"idx": "i_from_o_direct_727",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree 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": "['Bill']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a91e0793e9156ccb0003f6e",
"idx": "i_from_o_direct_728",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices', 'Data structures', '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": "10\n307761 832732 1105913 820583 522866 159241 914566 100663 2507569 69099\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1131/C",
"idx": "i_from_o_direct_730",
"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": "34",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc084/tasks/abc084_a",
"idx": "i_from_o_direct_731",
"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 2 2\n1 0\n0 1\n0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/873/C",
"idx": "i_from_o_direct_732",
"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": "25\np\nk\nu\nl\nf\nt\nc\ns\nr\nd\nb\nr\no\ni\ni\nd\ni\nw\nm\nh\nw\ns\na\ne\ni\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/855/A",
"idx": "i_from_o_direct_733",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n2 2 1\n1 2 2\n2 1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/711/B",
"idx": "i_from_o_direct_734",
"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": "32\n915 740 482 592 394 648 919 705 443 418 719 315 916 287 289 743 319 270 269 668 203 119 20 224 847 500 949 910 164 468 965 846\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/61/E",
"idx": "i_from_o_direct_735",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree 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": "3 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/950/A",
"idx": "i_from_o_direct_736",
"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, 25]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59aa6567485a4d03ff0000ca",
"idx": "i_from_o_direct_737",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[[2, 5], [3, 4], [8, 7]]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/586e1d458cb711f0a800033b",
"idx": "i_from_o_direct_738",
"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\n92605 92606 41969 98774 92605\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/58/C",
"idx": "i_from_o_direct_739",
"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": "39 0 23\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/117/B",
"idx": "i_from_o_direct_740",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "74 3 36 68 80\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/409/C",
"idx": "i_from_o_direct_741",
"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": "['(a(b)c()d)']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5708e3f53f100874b60015ff",
"idx": "i_from_o_direct_742",
"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 4\n4 1\n4 4\n4 5\n1 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1027/B",
"idx": "i_from_o_direct_743",
"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": "8 2\n1 1 2 1 1 1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1185/C1",
"idx": "i_from_o_direct_744",
"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": "10\n1 1000000000\n2 146085669\n6 805629\n4 9999997\n5 999996\n6 99995\n9 18320\n8 993\n9 157\n7 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1330/D",
"idx": "i_from_o_direct_745",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', '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": "50\n57 122 98 44 22 63 5 65 36 69 49 54 61 15 58 79 50 30 43 93 18 105 46 92 72 67 67 51 34 40 50 77 91 53 79 72 72 34 91 75 83 67 71 93 11 51 85 20 6 2\n20\n2 40\n1 14 102\n2 4\n2 15\n2 43\n1 29 532\n2 27\n2 47\n1 24 107\n1 20 720\n1 21 315\n2 20\n1 2 787\n1 27 644\n2 38\n1 32 575\n1 38 17\n1 26 4... | {
"contest_id": "https://codeforces.com/problemset/problem/371/D",
"idx": "i_from_o_direct_746",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Data structures', 'Implementation', '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": "25 1\n1\n1\n1\n0\n0\n1\n1\n1\n1\n1\n0\n1\n1\n1\n1\n1\n0\n2\n1\n1\n0\n1\n1\n1\n1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/22/B",
"idx": "i_from_o_direct_747",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n1 2\n2 3\n3 4\n3 5\n7 6\n1 7\n3 8\n2 9\n5 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/538/E",
"idx": "i_from_o_direct_748",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Dynamic programming', 'Graph traversal', '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\n\n0\n\n-1",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1028/G",
"idx": "i_from_o_direct_749",
"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": "22\n4 1365 1\n4 79544 3\n3 60807 4\n1 31439 3\n1 7905 1\n1 37153 4\n1 21177 2\n4 16179 3\n4 76538 4\n4 54082 3\n4 66733 2\n4 85317 1\n2 588 3\n2 59575 1\n3 30596 1\n3 87725 2\n4 40298 4\n2 21693 2\n2 50145 4\n2 16461 1\n4 50314 3\n3 28506 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1038/E",
"idx": "i_from_o_direct_750",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph algorithms', 'Graph traversal', 'Complete search', 'Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n2 1 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1156/E",
"idx": "i_from_o_direct_751",
"question_source": "codeforces",
"source": "taco",
"tags": "['Spanning trees', 'Data structures', 'Amortized analysis', 'Divide and conquer']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should 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, 8], [3, -8]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5944f3f8d7b6a5748d000233",
"idx": "i_from_o_direct_752",
"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": "1\n106510052 2 60876496 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1082/A",
"idx": "i_from_o_direct_753",
"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": "51\n28 3\n42 40\n40 51\n48 20\n13 28\n18 40\n44 40\n22 5\n32 27\n45 34\n40 9\n34 46\n40 34\n22 1\n22 11\n40 7\n28 40\n40 22\n14 40\n34 30\n40 20\n47 40\n12 34\n28 23\n40 24\n40 43\n41 40\n28 15\n49 32\n40 8\n32 10\n40 50\n40 36\n40 21\n16 33\n40 38\n34 2\n28 16\n34 4\n17 34\n19 40\n32 35\n40 29\n6 ... | {
"contest_id": "https://codeforces.com/problemset/problem/29/D",
"idx": "i_from_o_direct_754",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree 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": "v <\n493870235\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/834/A",
"idx": "i_from_o_direct_755",
"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 3\n5 0 3 0 3 3 1 4 0\n2 2 2 2 6 0 2 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1249/E",
"idx": "i_from_o_direct_756",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Shortest paths']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n0 1 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1141/B",
"idx": "i_from_o_direct_757",
"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": "4\n1 1 1 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1428/D",
"idx": "i_from_o_direct_758",
"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": "10\n5 6\n8 2\n10 3\n4 1\n6 10\n9 8\n7 10\n7 4\n5 2\n0 -6 -9 -1 -5 -4 -2 -7 -8 -3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/275/D",
"idx": "i_from_o_direct_759",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', 'Dynamic programming', 'Graph traversal', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 6 1\n2 1 3\n1 2 3 1 2 3\n1 5\n1 6\n1 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1142/B",
"idx": "i_from_o_direct_760",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph traversal', 'Tree algorithms', 'Dynamic programming', 'Mathematics', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[[3, 2, 1, 0], [4, 6, 5, 3, 2], []]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b5e0ef007a26632c400002a",
"idx": "i_from_o_direct_761",
"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": "[100]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/54f0d5447872e8ce9f00013d",
"idx": "i_from_o_direct_762",
"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": "1463615122 1988383731 837331500\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/478/C",
"idx": "i_from_o_direct_763",
"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": "8\n22 43 26 64 19 50 3 46\n6 33 36 63 31 55 28 37\n11 34 51 10 12 56 59 29\n32 1 58 42 23 61 44 24\n30 41 20 27 45 16 25 13\n2 35 47 4 52 40 17 62\n49 7 15 48 54 60 57 9\n18 38 53 14 21 39 5 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1065/D",
"idx": "i_from_o_direct_764",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Graph traversal', 'Shortest paths']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n-1 -1\n10\n0 0\n0 0\n0 0 1\n0 0\n1 1\n0 0 -1\n0 0 0\n0 0 1\n1 1 0\n0 0 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/52/C",
"idx": "i_from_o_direct_765",
"question_source": "codeforces",
"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": "5 10 10\n2 5\n4 5\n2 1\n3 5\n2 2\n5 4\n5 1\n5 1\n3 5\n1 4",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc176/tasks/abc176_e",
"idx": "i_from_o_direct_766",
"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": "bcb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/955/B",
"idx": "i_from_o_direct_767",
"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]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5850e85c6e997bddd300005d",
"idx": "i_from_o_direct_768",
"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 100 1\n0 0 1 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 0 0 1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/873/C",
"idx": "i_from_o_direct_769",
"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": "8\n80 64 3 20 8\n81 72 20 12 11\n80 73 20 12 11\n81 73 20 12 12\n50 73 20 12 10\n1 99 5 1 100\n99 1 1 4 100\n53 37 13 3 17\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1244/A",
"idx": "i_from_o_direct_770",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5 8\nizrqp\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/628/C",
"idx": "i_from_o_direct_771",
"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": "['welcome to the organization']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56fb3cde26cc99c2fd000009",
"idx": "i_from_o_direct_772",
"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": "[[8, 1, 4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5e0b72d2d772160011133654",
"idx": "i_from_o_direct_773",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n0 790065835 662774077 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/595/C",
"idx": "i_from_o_direct_774",
"question_source": "codeforces",
"source": "taco",
"tags": "['Game theory']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n27\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/614/B",
"idx": "i_from_o_direct_775",
"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": "60132563481066573\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/991/C",
"idx": "i_from_o_direct_776",
"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": "9\ninsert 3\ninsert 4\ninsert 5\nremoveMin\ngetMin 5\nremoveMin\ngetMin 4\nremoveMin\ngetMin 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/681/C",
"idx": "i_from_o_direct_777",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Data structures', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "26\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/268/B",
"idx": "i_from_o_direct_778",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10 1 100\n1 55 67 75 40 86 24 84 82 26 81 23 70 79 51 54 21 78 31 98 68 93 66 88 99 65 20 52 35 85 16 21 94 100 59 56 18 33 47 46 71 8 38 57 2 92 6 95 6 4 87 22 48 80 15 29 11 45 72 76 44 60 91 13 39 73 41 36 13 27 53 83 32 5 30 63 89 64 49 17 9 97 69 14 50 77 37 96 10 42 28 34 61 19 73 7 62 43 58 ... | {
"contest_id": "https://codeforces.com/problemset/problem/665/B",
"idx": "i_from_o_direct_779",
"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": "['peter', 'peter']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/545cdb4f61778e52810003a2",
"idx": "i_from_o_direct_780",
"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": "['Did it work?']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58d76854024c72c3e20000de",
"idx": "i_from_o_direct_781",
"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": "3 1\n0\n0\n1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/426/B",
"idx": "i_from_o_direct_782",
"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\n7474747474\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1219/C",
"idx": "i_from_o_direct_783",
"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": "896454475\n-75982 -100000\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc135/tasks/abc135_e",
"idx": "i_from_o_direct_784",
"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\n39 77 67 25 81 26 50 11 73 95 86 16 90 33 14 79 12 100 68 64 60 27 41 15 34 24 3 61 83 47 57 65 99 43 40 21 94 72 82 85 23 71 76 32 10 17 30 18 44 59 35 89 6 63 7 69 62 70 4 29 92 87 31 48 36 28 45 97 93 98 56 38 58 80 8 1 74 91 53 55 54 51 96 5 42 52 9 22 78 88 75 13 66 2 37 20 49 19 84 46\n"... | {
"contest_id": "https://codeforces.com/problemset/problem/844/C",
"idx": "i_from_o_direct_785",
"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": "5\n1 3 4 4 2\n4\n1 5\n3 5\n1 1\n4 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/474/F",
"idx": "i_from_o_direct_786",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', '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": "...SSS.A\n.....S..\n..S.S.SS\n.S.S...S\n.S...S.S\n....S...\n........\nM..S.SSS\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/128/A",
"idx": "i_from_o_direct_787",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "3 7 5\n2 4 0 0 2 0 1\n2 1 4\n1 0 0 0 1 0 0\n0 1 0 0 0 0 0\n1 1 0 0 1 0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1153/B",
"idx": "i_from_o_direct_788",
"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": "11010 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/779/B",
"idx": "i_from_o_direct_789",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "['ATGTTTTAA', 'ATGATATAA']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/57cbb9e240e3024aae000b26",
"idx": "i_from_o_direct_790",
"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": "2113772\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/84/A",
"idx": "i_from_o_direct_791",
"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": "[[76, 4, 3, 81, 514, 6, 716]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59d902f627ee004281000160",
"idx": "i_from_o_direct_792",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Combinatorics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n6 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/892/B",
"idx": "i_from_o_direct_793",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "223 496\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1178/C",
"idx": "i_from_o_direct_794",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', '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": "[[31, -41, 59, 26, -53, 58, 97, -93, -23, 84]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56001790ac99763af400008c",
"idx": "i_from_o_direct_795",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "babababbaaabb\nabbab\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/762/C",
"idx": "i_from_o_direct_796",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Sorting', 'Amortized analysis']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100 10000\n110 92 117 110 105 91 118 102 124 130 101 100 90 85 106 85 98 112 95 112 90 108 105 93 101 103 94 99 94 109 95 90 124 98 121 107 103 107 100 86 111 112 92 115 94 92 97 93 92 97 105 87 93 103 110 96 110 91 94 95 98 100 91 102 107 102 80 119 95 85 90 112 111 101 104 112 103 93 108 93 108 8... | {
"contest_id": "https://codeforces.com/problemset/problem/1118/D2",
"idx": "i_from_o_direct_797",
"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": "[None]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/52a112d9488f506ae7000b95",
"idx": "i_from_o_direct_798",
"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": "1 1\n1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc124/tasks/abc124_d",
"idx": "i_from_o_direct_799",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n1 0\n-2 0\n2 1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc168/tasks/abc168_e",
"idx": "i_from_o_direct_800",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.