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": "[65, 56, 33]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/53907ac3cd51b69f790006c5",
"idx": "i_from_o_direct_1808",
"question_source": "codewars",
"source": "taco",
"tags": "['Geometry', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10 18\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1355/D",
"idx": "i_from_o_direct_1809",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 7\n1 16\n5 49\n11 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/463/A",
"idx": "i_from_o_direct_1810",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n+ = +=+ =+=\n1\n+ = + =\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1089/J",
"idx": "i_from_o_direct_1811",
"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": "11\n10000000001\n10000000001\n10000000001\n10000000001\n11011000001\n10101000000\n10001000001\n10001000001\n10101000000\n10011000000\n10001000100\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/554/B",
"idx": "i_from_o_direct_1812",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "600\n80\n25\n68",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc092/tasks/abc092_a",
"idx": "i_from_o_direct_1813",
"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\n3 6\n6 2\n6 5\n3 1\n6 4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1294/F",
"idx": "i_from_o_direct_1814",
"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, 2, 3, 4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b3e609cd58499284100007a",
"idx": "i_from_o_direct_1815",
"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": "[-1029]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58df8b4d010a9456140000c7",
"idx": "i_from_o_direct_1816",
"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": "6\na(bl)a\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/723/B",
"idx": "i_from_o_direct_1817",
"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": "30 10\n1 1 3 3 5 0 1 8 2 6 11 1 2 6 12 11 8 5 11 3 14 8 16 13 14 25 16 2 8 17\n6 3\n0 15\n1 0\n3 2\n12 16\n1 0\n17 3\n14 13\n0 22\n3 10\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1404/C",
"idx": "i_from_o_direct_1818",
"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": "29\n80 27\n69 80\n27 80\n69 80\n85 27\n80 27\n80 27\n80 69\n27 69\n80 69\n80 27\n27 69\n69 27\n80 69\n27 69\n69 80\n34 69\n80 69\n80 27\n69 27\n9 69\n37 80\n80 27\n69 80\n27 69\n80 69\n69 80\n65 80\n27 80\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/268/A",
"idx": "i_from_o_direct_1819",
"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": "74516230971224809634473037672737713449062994847383648100610056596540149682501401505530133122349624355216578736812916896217421673107850682849702380461835124398918192975144409754735747931185647367625040295031848952152891817272278709901744013691016604324902114502188100704590932762258507582454270317747... | {
"contest_id": "https://atcoder.jp/contests/abc135/tasks/abc135_d",
"idx": "i_from_o_direct_1821",
"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 3\n2 1 3\n4 3 4\n3 10 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1231/C",
"idx": "i_from_o_direct_1822",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5 3\n10\n15\n11\n14\n12\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc115/tasks/abc115_c",
"idx": "i_from_o_direct_1823",
"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\n2 0\n3 2\n5 1\n8 -1\n2 4\n4 7",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc155/tasks/abc155_f",
"idx": "i_from_o_direct_1824",
"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": "[229, 105]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/53c945d750fe7094ee00016b",
"idx": "i_from_o_direct_1825",
"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": "597861233\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/959/E",
"idx": "i_from_o_direct_1826",
"question_source": "codeforces",
"source": "taco",
"tags": "['Bit manipulation', 'Graph algorithms', 'Implementation', '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": "0 0 0 0 0 0 0 0 0 0\n1 0 0 1 1 1 1 0 1 0\n2 1 0 1 0 0 0 1 0 2\n1 0 2 3 3 1 2 1 0 3\n3 4 0 1 3 1 0 2 1 4\n4 1 5 5 3 3 2 1 1 1\n3 4 3 6 2 1 0 5 1 3\n5 5 4 6 2 6 2 7 4 0\n5 0 4 7 7 2 4 3 7 6\n0 8 4 6 4 6 6 3 9 8\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1245/E",
"idx": "i_from_o_direct_1827",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Shortest paths', '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": "10\n11 39 16 34 25 3 12 11 31 16\n10 0 4 9 8 9 7 8 9 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/923/B",
"idx": "i_from_o_direct_1828",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 0\n1 16",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/arc099/tasks/arc099_c",
"idx": "i_from_o_direct_1829",
"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\n7 30",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc138/tasks/abc138_b",
"idx": "i_from_o_direct_1830",
"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": "72\n104903460487876694274208919985342290354371806777661645699883701818301357\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/25/B",
"idx": "i_from_o_direct_1831",
"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, 8, 12, 18, 22]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/558fc85d8fd1938afb000014",
"idx": "i_from_o_direct_1832",
"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": "['Z-------------']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/574c51aa3e4ea6de22001363",
"idx": "i_from_o_direct_1833",
"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": "mail.ru/a\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/21/A",
"idx": "i_from_o_direct_1834",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1\n?\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/957/A",
"idx": "i_from_o_direct_1835",
"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\n1 17 18 18 3 19 25 20 21\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1118/C",
"idx": "i_from_o_direct_1836",
"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": "4 3\n7 0 3 1\n1\n4\n4\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/368/B",
"idx": "i_from_o_direct_1837",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "ac\nb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/39/J",
"idx": "i_from_o_direct_1838",
"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": "[1000]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56e93159f6c72164b700062b",
"idx": "i_from_o_direct_1839",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Data structures', 'Mathematics']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 0 3\n\n333 600 1001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/990/E",
"idx": "i_from_o_direct_1840",
"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": "jhfbndhyzdvhbvhmhmefqllljdflwdpjbehedlsqfdsquyelwjtyloxwsvasrbqosblzbowlqjmyeilcvotdlaouxhdooeloaovb\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/58/A",
"idx": "i_from_o_direct_1841",
"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": "[4, 3]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5b93636ba28ce032600000b7",
"idx": "i_from_o_direct_1842",
"question_source": "codewars",
"source": "taco",
"tags": "['Mathematics', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1.22]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5786f8404c4709148f0006bf",
"idx": "i_from_o_direct_1843",
"question_source": "codewars",
"source": "taco",
"tags": "['Fundamentals', 'Mathematics', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['Man is still the most extraordinary computer of all.']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/556025c8710009fc2d000011",
"idx": "i_from_o_direct_1844",
"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": "100 100981\n558 354 667 283 78 604 578 91 880 892 370 546 16 601 43 831 593 60 281 801 238 199 579 207 703 328 678 319 308 145 65 176 287 476 511 727 200 47 16 246 718 989 479 384 761 412 885 583 185 759 285 247 444 341 542 568 75 816 332 183 239 608 152 517 445 606 699 303 366 193 975 644 201 732 ... | {
"contest_id": "https://codeforces.com/problemset/problem/1248/E",
"idx": "i_from_o_direct_1845",
"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": "68 79 52\n67 39 100\n29 14 26\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/275/A",
"idx": "i_from_o_direct_1846",
"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\n7 8\nAAP?AABA\nPPPPAAAA\nPPPPAAAA\nAPAAPPPP\nAPAPPAPP\nAAAAPPAP\nAAAAPPAA\n6 5\nAAAAA\nAAAAA\nAAPAA\nAAPAP\nAAAPP\nAAAOP\n4 4\nPPPP\nPPPP\nPPPP\nPPPP\n3 4\nPPPP\nPA@P\nPPPP\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1280/B",
"idx": "i_from_o_direct_1847",
"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": "5 5\nWWBBB\nWWBBB\nWBBBW\nWWBBB\nWWBBW\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/275/B",
"idx": "i_from_o_direct_1848",
"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": "-4 -1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc151/tasks/abc151_c",
"idx": "i_from_o_direct_1849",
"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\n0111011000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1006/C",
"idx": "i_from_o_direct_1850",
"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 4\n4 4 4 3\n0 1 0 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/958/F1",
"idx": "i_from_o_direct_1851",
"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\n7\n3 1 6 6 3 1 1\n8\n2 1 4 4 4 7 8 8\n7\n4 2 5 3 6 2 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1223/D",
"idx": "i_from_o_direct_1852",
"question_source": "codeforces",
"source": "taco",
"tags": "['Dynamic programming', '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": "644\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/859/B",
"idx": "i_from_o_direct_1853",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry', 'Mathematics', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\nabba\nbaca\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/533/E",
"idx": "i_from_o_direct_1854",
"question_source": "codeforces",
"source": "taco",
"tags": "['Constructive algorithms', 'String algorithms', 'Amortized analysis', 'Greedy algorithms', 'Dynamic programming']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3\n0 0\n2 38\n-1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1255/A",
"idx": "i_from_o_direct_1855",
"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": "10 10 2 1\n1 5\n9 6\n4 9\n6 10\n5 1\n1 7\n4 7\n6 1\n8 1\n1 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/634/F",
"idx": "i_from_o_direct_1856",
"question_source": "codeforces",
"source": "taco",
"tags": "['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\n90\n19\n19\n1",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc085/tasks/abc085_b",
"idx": "i_from_o_direct_1857",
"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\n1 1 5\n3 8 6\n1 4 4\n3 6 5\n2 3 5\n3 7 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/669/E",
"idx": "i_from_o_direct_1858",
"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": "[[], [1, 3, 4]]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5c79c07b4ba1e100097f4e1a",
"idx": "i_from_o_direct_1859",
"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": "10 10 1\n##########\n##..##..##\n#...##...#\n#.######.#\n#..####..#\n#..####..#\n#.######.#\n#........#\n##..##..##\n##########\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/378/C",
"idx": "i_from_o_direct_1860",
"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": "10 11",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc131/tasks/abc131_b",
"idx": "i_from_o_direct_1861",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10\n10 7 10\n3 6 11\n8 4 10\n10 1 11\n7 3 13\n7 2 13\n7 6 14\n3 4 17\n9 4 20\n5 2 24\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/585/A",
"idx": "i_from_o_direct_1862",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "4\n4 4 22 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/892/C",
"idx": "i_from_o_direct_1863",
"question_source": "codeforces",
"source": "taco",
"tags": "['Greedy algorithms', 'Complete search', 'Number theory', '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": "['fire', 'electric', 10, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/536e9a7973130a06eb000e9f",
"idx": "i_from_o_direct_1864",
"question_source": "codewars",
"source": "taco",
"tags": "['String algorithms', 'Data structures', 'Game theory', 'Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "5 10000\n10000 17548 30000 30000 20000\n10000\n5 2 8 3 6\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1218/F",
"idx": "i_from_o_direct_1865",
"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": "oawtuikrpvfxzugjweki\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/666/A",
"idx": "i_from_o_direct_1866",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', '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": "Danit_Danil_Nikila\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/877/A",
"idx": "i_from_o_direct_1867",
"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": "5\n10.44 2.06\n10.90 0.80\n11.48 -0.48\n12.06 0.76\n12.54 2.06\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/409/G",
"idx": "i_from_o_direct_1868",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "100 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/460/A",
"idx": "i_from_o_direct_1869",
"question_source": "codeforces",
"source": "taco",
"tags": "['Mathematics', 'Implementation', 'Complete search']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "10 9\n1........0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/989/B",
"idx": "i_from_o_direct_1870",
"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": "14 8\n2 3 4 5 6 7 6 7 8 6 8 9 10 11\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/847/D",
"idx": "i_from_o_direct_1871",
"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": "[15241383936]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/56269eb78ad2e4ced1000013",
"idx": "i_from_o_direct_1872",
"question_source": "codewars",
"source": "taco",
"tags": "['Matrices', '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": "100\n23 44 35 88 10 78 8 84 46 19 69 36 81 60 46 12 53 22 83 73 6 18 80 14 54 39 74 42 34 20 91 70 32 11 80 53 70 21 24 12 87 68 35 39 8 84 81 70 8 54 73 2 60 71 4 33 65 48 69 58 55 57 78 61 45 50 55 72 86 37 5 11 12 81 32 19 22 11 22 82 23 56 61 84 47 59 31 38 31 90 57 1 24 38 68 27 80 9 37 14\n",... | {
"contest_id": "https://codeforces.com/problemset/problem/701/A",
"idx": "i_from_o_direct_1873",
"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": "[-20, 2, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a8897d4ba1bb5f266000057",
"idx": "i_from_o_direct_1874",
"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": "VKVK\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/801/A",
"idx": "i_from_o_direct_1875",
"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": "zaaa\nwaaa\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/180/D",
"idx": "i_from_o_direct_1876",
"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": "133\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 127 126 125 124 123 122 121 120 119 118 117 116 115... | {
"contest_id": "https://codeforces.com/problemset/problem/56/B",
"idx": "i_from_o_direct_1877",
"question_source": "codeforces",
"source": "taco",
"tags": "['Implementation']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "1 586\n-1 2 1 -3 5",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc056/tasks/arc070_b",
"idx": "i_from_o_direct_1878",
"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, 5, 10, 25], 37]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/55722d67355421ab510001ac",
"idx": "i_from_o_direct_1879",
"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": "['P01K02H03H04']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58fd4bbe017b2ed4e700001b",
"idx": "i_from_o_direct_1880",
"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": "11110001001111110001\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/96/A",
"idx": "i_from_o_direct_1881",
"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": "60\n36 91 2 38 37 49 48 11 59 67 53 56 35 60 87 59 32 16 73 34 15 4 57 40 38 44 4 80 63 26 94 99 68 47 88 4 96 36 15 54 54 19 9 161 78 47 99 90 63 23 23 77 79 31 68 68 75 71 100 37\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1095/B",
"idx": "i_from_o_direct_1882",
"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\n3 26\n10 12\n1 4\n10 11\n1 1337\n1 1000010000\n5 26\n4 4\n-1 4\n6 8\n3 6\n2 7\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1251/D",
"idx": "i_from_o_direct_1883",
"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": "difhjdjbcdjedhiegagdejkbjfcdcdagdijdjajecbheiabfbjdgjdecfhdkgdbkcgcgakkiiggfkgcfadkjhiijkjacgejfhjge\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/930/B",
"idx": "i_from_o_direct_1884",
"question_source": "codeforces",
"source": "taco",
"tags": "['String algorithms', 'Implementation', '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": "1 1 1\n2 2 2\n5\n1 2 3 4 5\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/85/B",
"idx": "i_from_o_direct_1885",
"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": "['a', 'aaa']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/58a3a735cebc0630830000c0",
"idx": "i_from_o_direct_1886",
"question_source": "codewars",
"source": "taco",
"tags": "['Ad-hoc']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 2\n1 2\n2 3\n",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc068/tasks/arc079_a",
"idx": "i_from_o_direct_1887",
"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\n13",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc154/tasks/abc154_e",
"idx": "i_from_o_direct_1888",
"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\n3 2\n1 2 3\n2 3 1\n4 1 2\nRD\n3 2\n1 2 3\n2 3 1\n1 1 2\nLU\n3 1\n1 2 3\n2 3 1\n3 1 2\nI\n3 1\n1 4 3\n2 4 1\n3 1 2\nD\n3 16\n1 3 3\n2 3 1\n3 0 2\nLDICRUCILDICRUCI\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1458/C",
"idx": "i_from_o_direct_1889",
"question_source": "codeforces",
"source": "taco",
"tags": "['Matrices', '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": "1183",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc079/tasks/abc079_c",
"idx": "i_from_o_direct_1890",
"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": "29 100\n20 32 41 67 72 155 331 382 399 412 465 470 484 511 515 529 690 637 679 715 733 763 826 843 862 903 925 979 989\n15 15 15 17 18 19 19 20 21 21 39 24 25 26 26 27 28 31 32 32 44 38 38 39 39 40 41 42 43 43 45 45 46 63 49 49 50 50 50 51 52 53 53 55 56 57 59 59 59 60 60 62 62 63 63 64 64 64 66 67... | {
"contest_id": "https://codeforces.com/problemset/problem/387/B",
"idx": "i_from_o_direct_1891",
"question_source": "codeforces",
"source": "taco",
"tags": "['Complete search', '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": "1 13 2",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc120/tasks/abc120_a",
"idx": "i_from_o_direct_1892",
"question_source": "atcoder",
"source": "taco",
"tags": "[]"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[10, 10, 2]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/575fa9afee048b293e000287",
"idx": "i_from_o_direct_1893",
"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": "3613456196418270 3137992421359887 1\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/894/B",
"idx": "i_from_o_direct_1894",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Combinatorics', 'Mathematics', 'Constructive algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "3 3\nxyd\naxx\ncxx",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc042/tasks/abc042_b",
"idx": "i_from_o_direct_1895",
"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 20\n495907 68740 954868 197572 577456 641857\n16591 545301 981187 646143 137121 884307\n371452 725384 373988 59165 980490 837686\n514286 881540 886532 10541 684975 411009\n314261 127191 461802 89232 749116 563889\nr 2 1\nr 3 4\nc 3 4\nr 2 3\nc 6 3\nc 5 6\nc 4 1\nc 4 2\nr 2 4\nc 1 6\nr 5 3\nr 2 ... | {
"contest_id": "https://codeforces.com/problemset/problem/222/B",
"idx": "i_from_o_direct_1896",
"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": "5 10\n3 1\n-5 10\n-2 -1\n3 2\n10 0\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/127/A",
"idx": "i_from_o_direct_1897",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "['eightsix']",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/5a626fc7fd56cb63c300008c",
"idx": "i_from_o_direct_1898",
"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": "30\n1 15\n15 30\n30 14\n14 16\n16 19\n19 12\n19 22\n19 2\n16 9\n16 21\n16 23\n16 24\n14 7\n14 29\n14 17\n14 18\n30 13\n30 27\n30 4\n30 8\n15 10\n15 11\n15 5\n15 3\n15 25\n1 6\n1 26\n1 28\n1 20\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/761/E",
"idx": "i_from_o_direct_1899",
"question_source": "codeforces",
"source": "taco",
"tags": "['Graph algorithms', 'Graph traversal', 'Constructive algorithms', 'Greedy algorithms', 'Tree algorithms']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "939 233\n760.602725383313210 550.640076764737840 0.000000000000000\n0.000000000000000 0.000000000000000 0.000000000000000\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/142/E",
"idx": "i_from_o_direct_1900",
"question_source": "codeforces",
"source": "taco",
"tags": "['Geometry']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "15\n377 432 262 376 277 375 377 262 263 263 261 376 262 262 375\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/653/A",
"idx": "i_from_o_direct_1901",
"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": "1011010011100001 9.99",
"style": "rule"
} | {
"contest_id": "https://atcoder.jp/contests/abc169/tasks/abc169_c",
"idx": "i_from_o_direct_1902",
"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": "mehebobuuqlkbdonclmveleaglkfupqillpfsjrqphvljljnpjqlerjboinuemvorjlkckdlgsketaummccld\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/888/C",
"idx": "i_from_o_direct_1903",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', '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": "18\n2 3 2 1 3 3 2 1 2 3 3 3 1 1 3 3 3 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/52/A",
"idx": "i_from_o_direct_1904",
"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\n1 10\n2 100\n3 1000\n1 10010\n2 100000\n3 1000001\n3\n1 3\n2 2 3\n2 1 2\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/749/D",
"idx": "i_from_o_direct_1905",
"question_source": "codeforces",
"source": "taco",
"tags": "['Sorting', 'Data structures']"
} |
code_io_taco | [
{
"content": "You are an expert coding professional. Given a code snippet and an output, your task is to predict the exact input of the code that produces the given output. \nYour final answer should be a JSON object of the format - {\"input\": <your answer here>}.\nAny other format will be considered invalid."... | i_from_o_direct | {
"ground_truth": "[1]",
"style": "rule"
} | {
"contest_id": "https://www.codewars.com/kata/592538b3071ba54511000219",
"idx": "i_from_o_direct_1906",
"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\naaaaaaaa\naaaaaaab\nbbbbaaaa\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/979/B",
"idx": "i_from_o_direct_1907",
"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": "10\n320637 922609 638074 751226 462707 334446 992655 1544226 894195 949658\n",
"style": "rule"
} | {
"contest_id": "https://codeforces.com/problemset/problem/1220/D",
"idx": "i_from_o_direct_1908",
"question_source": "codeforces",
"source": "taco",
"tags": "['Number theory', 'Bit manipulation', 'Mathematics']"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.