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": "1 1010\n477\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1061/B",
"idx": "i_from_o_direct_10393",
"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": "50 1\n4 3 9 7 6 8 3 7 10 9 8 8 10 2 9 3 2 4 4 10 4 6 8 6 9 9 4 2 8 9 4 4 9 5 1 5 2 4 4 11 10 2 5 10 7 2 8 6 8 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/450/A",
"idx": "i_from_o_direct_10394",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n1\n2\n2\n7\n2\n9\n8\n6\n13\n0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/358/C",
"idx": "i_from_o_direct_10395",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5262119038c0985a5b00029f",
"idx": "i_from_o_direct_10396",
"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": "4 5\n2 4 2\n8 13 1\n17 6 6\n5 7 2\n1\n1\n2\n3\n8\n8",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc128/tasks/abc128_e",
"idx": "i_from_o_direct_10397",
"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": "6\n0 1\n1 1\n2 1\n0 1\n3 1\n0 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/417/B",
"idx": "i_from_o_direct_10398",
"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\n139\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1139/A",
"idx": "i_from_o_direct_10399",
"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": "['cat', 4]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a2b7edcb6486a856e00005b",
"idx": "i_from_o_direct_10400",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 2\n0000000010 1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/977/C",
"idx": "i_from_o_direct_10401",
"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": "6\n4\n1 1 3 4\n2 3 1 4\n5\n5 3 5 1 4\n1 2 3 2 4\n3\n1 2 1\n3 3 1\n4\n1 2 2 1\n3 4 3 4\n4\n4 3 1 4\n3 2 2 2\n3\n1 1 2\n3 3 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1385/G",
"idx": "i_from_o_direct_10402",
"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": "5531\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/802/H",
"idx": "i_from_o_direct_10403",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n3 7 1 2 6 6 4 10 9 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1091/E",
"idx": "i_from_o_direct_10404",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Sorting', 'Implementation', 'Greedy algorithms', '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": "4 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/489/C",
"idx": "i_from_o_direct_10405",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaabbbbbbbbbbbbbaaaaaaaaabaabaaababaabaababaaabababaabbbbbbb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/805/D",
"idx": "i_from_o_direct_10406",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Combinatorics', '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": "[2350592363443115]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5705ca6a41e5be67720012c0",
"idx": "i_from_o_direct_10407",
"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 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/797/A",
"idx": "i_from_o_direct_10408",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Number theory', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/907/D",
"idx": "i_from_o_direct_10409",
"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": "12 0\n100 2 100 2 100 2 100 4 100 5 100 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/385/A",
"idx": "i_from_o_direct_10410",
"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": "uayd\nuxxd\n3\na w 8\nx y 13\nd c 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/33/B",
"idx": "i_from_o_direct_10411",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "4 3 2\n2 1 1 2\n1 0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/177/D2",
"idx": "i_from_o_direct_10412",
"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": "qqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq... | {
"contest_id": "https://codeforces.com/problemset/problem/128/B",
"idx": "i_from_o_direct_10413",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Complete search', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "00001110010011",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc120/tasks/abc120_c",
"idx": "i_from_o_direct_10414",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n0 1\n0 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1237/B",
"idx": "i_from_o_direct_10415",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', '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": "4 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/318/A",
"idx": "i_from_o_direct_10416",
"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": "35\nG2 Y1 Y1 R4 G5 B5 R2 G4 G2 G3 W4 W1 B3 W5 R2 Y5 R4 R4 B5 Y2 B4 B1 R3 G4 Y3 G2 R4 G3 B2 G2 R3 B2 R1 W2 B4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/442/A",
"idx": "i_from_o_direct_10417",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', '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": "]Id)~I`K-;k3<R#%2=49'r#FH,=kc1-a\\05s%L>$Tob0zP+0e`B4m]V 7kEt-1>0GGdqIEii^)]~Y$NhZB}cSu!0aUxsZ(;W&D\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/132/A",
"idx": "i_from_o_direct_10418",
"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": "['Code']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b180e9fedaa564a7000009a",
"idx": "i_from_o_direct_10419",
"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": "vayscqiwpc686.919.75bwyumkz759.174kgqq444.563.54feupje806.486.78vojngmlc385.668.02jrkzbsa819.334b32.509wdjg980.332yh894.786hw356.243oiuueu662.016ychbsklfln21.860.87p836.999.94huhiiqlqoc596.917.99\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/727/B",
"idx": "i_from_o_direct_10420",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100\n50 50 50 50 50 50 50 49 49 49 49 86 86 86 86 87 87 87 87 43 43 45 45 45 48 48 48 92 92 95 95 45 98 98 47 47 44 44 32 44 97 97 47 47 44 98 43 43 95 95 95 45 91 91 91 99 47 96 96 96 96 90 90 92 92 92 99 99 99 99 46 46 46 46 93 93 89 89 89 88 91 94 98 93 93 94 94 94 97 97 97 88 88 88 87 90 90 96 ... | {
"contest_id": "https://codeforces.com/problemset/problem/1078/B",
"idx": "i_from_o_direct_10421",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['aa']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5934d648d95386bc8200010b",
"idx": "i_from_o_direct_10422",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59e6aec2b2c32c9d8b000184",
"idx": "i_from_o_direct_10423",
"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\n100 1 1\n1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1225/B1",
"idx": "i_from_o_direct_10424",
"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 2\n1 2\n3 4\n3 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/267/B",
"idx": "i_from_o_direct_10425",
"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": "4\n1 1 3 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1163/E",
"idx": "i_from_o_direct_10426",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph algorithms', 'Constructive algorithms', 'Complete search', '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": "[30.0, 130.0, [[1.0, 120.0], [0.7, 125.0], [1.5, 110.0]]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59279aea8270cc30080000df",
"idx": "i_from_o_direct_10427",
"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 -1 8\n10 3 18",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc054/tasks/abc054_d",
"idx": "i_from_o_direct_10428",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n3 1001003 1001003 1001003\n3 1001003 1001003 1001003\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1033/D",
"idx": "i_from_o_direct_10429",
"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": "20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1331/C",
"idx": "i_from_o_direct_10430",
"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 3 2\n2 1 1 2 0 1 3 1 3 4\n4 10\n9 3\n5 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/731/C",
"idx": "i_from_o_direct_10431",
"question_source": "codeforces",
"source": "taco",
"tags": "['Spanning trees', 'Graph algorithms', '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": "4 999999999000531216\n4 0 0 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/837/F",
"idx": "i_from_o_direct_10432",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Combinatorics', 'Complete search', 'Mathematics', 'Matrices']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "43 5\n6 7 15 12 23 7 22 33 38 15 7 23 31 21 26 41 25 14 26 33 5 28 22 6 35 17 19 32 41 27 20 25 5 32 37 19 40 9 25 22 10 24 9\n3 5 3 6 5 4 5 3 3 3 3 6 6 3 3 3 3 3 3 3 3 6 3 3 4 3 4 3 6 4 3 6 3 4 6 3 4 5 4 4 3 3 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/241/A",
"idx": "i_from_o_direct_10433",
"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": "6\n7\n2323216\n1245193\n1\n3\n4\n2\n13\n24\n2\n12\n34\n3\n536\n525\n2\n61\n54\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1234/C",
"idx": "i_from_o_direct_10434",
"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": "2\n1 2\n1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1207/D",
"idx": "i_from_o_direct_10436",
"question_source": "codeforces",
"source": "taco",
"tags": "['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 0 24022820\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/156/D",
"idx": "i_from_o_direct_10437",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', '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": "5\n1\n1\n1\n1\n3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/893/A",
"idx": "i_from_o_direct_10438",
"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\nZAAMON APPLE\nAZAMON AAAAAAAAAAALHBABA\nAPPLF ANANAB\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1281/B",
"idx": "i_from_o_direct_10439",
"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": "['thirty-seven']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/525c7c5ab6aecef16e0001a5",
"idx": "i_from_o_direct_10440",
"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": "5 5\n1 7 12 16 20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/716/A",
"idx": "i_from_o_direct_10441",
"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 3 4\naaT\nacc\nbbb\nbbc\ncSb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/84/E",
"idx": "i_from_o_direct_10442",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', '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": "2\n4 13",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc080/tasks/arc080_d",
"idx": "i_from_o_direct_10443",
"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 6 2 5\n1 2\n1 3\n1 4\n4 5\n3 5\n1 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/954/D",
"idx": "i_from_o_direct_10444",
"question_source": "codeforces",
"source": "taco",
"tags": "['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": "[[]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/54bf85e3d5b56c7a05000cf9",
"idx": "i_from_o_direct_10445",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100\n)))()())()()))()(((())())(((())()()())())))((((()))(()(((())())(())(()))(()))())(((())(())()((()((((\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1214/C",
"idx": "i_from_o_direct_10446",
"question_source": "codeforces",
"source": "taco",
"tags": "['Data structures', 'Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[16]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/566c3f5b9de85fdd0e000026",
"idx": "i_from_o_direct_10447",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "-5 -8\n0 0100\n1 1\n2 0100\n3 31",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc112/tasks/abc112_b",
"idx": "i_from_o_direct_10448",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2\n14 0\n1 5 2 150 1 20 2 1024 1 1000000 1 1706580 1 3908096\n14 0\n2 16 2 2 2 2 1 1940 3 1000000 2 756057 1 4512495\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1497/E1",
"idx": "i_from_o_direct_10449",
"question_source": "codeforces",
"source": "taco",
"tags": "['Amortized analysis', 'Greedy algorithms', 'Number theory', '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": "98 3\n...\n.*.\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n.-.\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n../\n...\n...\n...\n...\n...\n...... | {
"contest_id": "https://codeforces.com/problemset/problem/181/A",
"idx": "i_from_o_direct_10450",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', 'Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 366\n450\n4\n53\n177",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc095/tasks/abc095_b",
"idx": "i_from_o_direct_10451",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "2 1\n1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/334/D",
"idx": "i_from_o_direct_10452",
"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": "5803 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1180/D",
"idx": "i_from_o_direct_10453",
"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": "-76 39\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc137/tasks/abc137_a",
"idx": "i_from_o_direct_10454",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "26 26\nidjoceuhidzysreircebndxnha\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/464/A",
"idx": "i_from_o_direct_10455",
"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": "57\n888888888888888888888888888888888888888888888888888888888\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1060/A",
"idx": "i_from_o_direct_10456",
"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": "[[-1, -2, -3, -4], 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b05867c87566a947a00001c",
"idx": "i_from_o_direct_10457",
"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": "7 4\n7614528\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/122/D",
"idx": "i_from_o_direct_10458",
"question_source": "codeforces",
"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": "78618222 135838290 28289 21909\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/483/B",
"idx": "i_from_o_direct_10459",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 1\n688747536 688747536\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/490/D",
"idx": "i_from_o_direct_10460",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Graph traversal', '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": "229041861945055125 119107362848572241\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/832/A",
"idx": "i_from_o_direct_10461",
"question_source": "codeforces",
"source": "taco",
"tags": "['Game 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": "50\n-262 -377 -261 903 547 243 -800 -53 670 76 758 109 547 1015 152 -901 -275 -527 -388 24 139 -227 413 -135 811 -886 -22 -526 -643 -431 284 609 -745 -50 323 -441 743 -800 86 862 587 -513 -593 -651 -640 197 141 -414 -909 438\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/347/A",
"idx": "i_from_o_direct_10462",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "8\n1 0 0 1000000000 1000000000 -1000000000 -1000000000 -1000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/803/B",
"idx": "i_from_o_direct_10463",
"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": "[340]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5676ffaa8da527f234000025",
"idx": "i_from_o_direct_10464",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', '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": "30\n(89+76)/87\n(81+78)/18\n(60+97)/32\n(41+14)/48\n(25+65)/57\n(29+15)/95\n(64+13)/96\n(78+30)/75\n(43+6)/60\n(69+34)/48\n(62+2)/97\n(85+42)/3\n(4+97)/42\n(1+18)/39\n(46+55)/76\n(22+59)/24\n(62+81)/98\n(64+8)/51\n(9+59)/48\n(47+2)/80\n(33+74)/76\n(61+83)/44\n(86+4)/51\n(65+42)/49\n(53+36)/45\n(6+1... | {
"contest_id": "https://codeforces.com/problemset/problem/958/D1",
"idx": "i_from_o_direct_10465",
"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": "[-1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55685cd7ad70877c23000102",
"idx": "i_from_o_direct_10466",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 3\n1293\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1269/C",
"idx": "i_from_o_direct_10467",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'String algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n5 2 2\n1 2 1 2 1\n9 3 3\n3 0 3 2 2 2 1 1 1\n4 10 4\n10 8 6 4\n16 9 8\n3 1 7 1 7 9 2 1 5 3 8 8 9 7 9 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1225/B2",
"idx": "i_from_o_direct_10468",
"question_source": "codeforces",
"source": "taco",
"tags": "['Amortized analysis', '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": "['+555 aaaa bbbb']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/59901fb5917839fe41000029",
"idx": "i_from_o_direct_10469",
"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": "3\n4 2 9\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1424/I",
"idx": "i_from_o_direct_10470",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Bit manipulation', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "50\n1 574339\n0 409333\n0 330634\n0 420557\n0 323095\n0 63399\n0 69999\n1 82396\n1 90197\n0 265793\n0 65065\n1 38496\n1 43632\n1 95792\n1 61780\n1 87623\n1 31246\n0 48483\n1 76824\n1 81693\n1 66004\n1 72826\n1 146477\n1 12359\n1 27042\n1 12542\n0 81514\n0 28986\n1 73958\n1 8219\n0 5679\n0 77936\n1 ... | {
"contest_id": "https://codeforces.com/problemset/problem/260/D",
"idx": "i_from_o_direct_10471",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Constructive algorithms', 'Greedy algorithms', 'Tree algorithms', 'Spanning trees']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n4\n2 1\n1 1\n2 2\n3 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1176/F",
"idx": "i_from_o_direct_10472",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "20 23036\n-1 1 -1 -1 -1 -1 1 -1 -1 0 0 1 1 0 -1 1 0 1 -1 -1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/893/D",
"idx": "i_from_o_direct_10473",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "1 2 1000000000\n-70389349\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/721/D",
"idx": "i_from_o_direct_10474",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Data structures', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10 4 2\n.*...*..*.\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/962/B",
"idx": "i_from_o_direct_10475",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[12]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/584dee06fe9c9aef810001e8",
"idx": "i_from_o_direct_10476",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100\n13 71 16 92 25 53 97 63 70 83 51 16 51 84 5 11 54 89 18 95 48 29 82 16 84 68 7 4 65 99 95 37 26 24 24 39 3 28 74 5 75 32 27 24 73 48 72 15 46 66 91 94 19 44 77 23 94 88 51 84 72 95 75 55 80 47 58 13 87 88 25 2 89 81 72 36 7 42 16 59 32 24 58 61 44 96 36 48 88 49 53 91 13 1 37 87 90 47 61 87\n"... | {
"contest_id": "https://codeforces.com/problemset/problem/22/E",
"idx": "i_from_o_direct_10477",
"question_source": "codeforces",
"source": "taco",
"tags": "['Tree algorithms', '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": "1\nf\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc108/tasks/arc108_b",
"idx": "i_from_o_direct_10478",
"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": "424 -288\n-1000 -466\n68 246\n246 1492\n-644 -1000\n-644 -110\n-1000 1136\n602 135\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/136/D",
"idx": "i_from_o_direct_10479",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', 'Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[6011111111111117]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5701e43f86306a615c001868",
"idx": "i_from_o_direct_10480",
"question_source": "codewars",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\nababcd\nabcba\na\nb\ndefi\nfed\nyyz\nx\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1303/E",
"idx": "i_from_o_direct_10481",
"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": "[1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5572f7c346eb58ae9c000047",
"idx": "i_from_o_direct_10482",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4 4 4\n1 2 3 4\n3 4 2 1\n4 3 2 1\n4 1 1 3\n4 2 2 3\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/665/B",
"idx": "i_from_o_direct_10483",
"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": "abbbaaabbabbbabbabbb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1043/C",
"idx": "i_from_o_direct_10484",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Implementation', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "15\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/235/A",
"idx": "i_from_o_direct_10485",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[1, 'a', '2', 3, 3, 4, 5, 'b']]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55a58505cb237a076100004a",
"idx": "i_from_o_direct_10486",
"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": "[5, [10], [10]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b7d2cca7a2013f79f000129",
"idx": "i_from_o_direct_10487",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', '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": "10 10 1 10\n1 4 201\n2 3 238\n3 4 10\n3 6 231\n3 8 4\n4 5 227\n4 6 58\n4 9 55\n5 7 14\n6 10 242\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/567/E",
"idx": "i_from_o_direct_10488",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "-1 4",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc106/tasks/abc106_a",
"idx": "i_from_o_direct_10489",
"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": "200560490130\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc144/tasks/abc144_c",
"idx": "i_from_o_direct_10490",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[[1, 2, 1, 2]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a60d519400f93fc450032e5",
"idx": "i_from_o_direct_10491",
"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": "1463666325\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1102/A",
"idx": "i_from_o_direct_10493",
"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": "823650758 10264076 395427398\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/322/B",
"idx": "i_from_o_direct_10494",
"question_source": "codeforces",
"source": "taco",
"tags": "['Combinatorics', 'Mathematics']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.