messages
listlengths
2
2
tools
stringclasses
0 values
task
stringclasses
1 value
source
stringclasses
2 values
license
stringclasses
2 values
metadata
stringlengths
138
180M
reward
stringlengths
81
180M
token_length
int64
51
6.31k
uuid
stringlengths
36
36
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"10\\n1 9\\n8 4\\n1 4\\n3 4\\n2 0\\n2 4\\n6 9\\n3 3\\n0 0\\n9 9\"], \"outputs\": [\"1 9\\n4 8\\n1 4\\n3 4\\n0 2\\n2 4\\n6 9\\n3 3\\n0 0\\n9 9\"]}"}, "style": "[code]"}
215
552ebd10-21bc-592b-b5f5-bd03f4f2230a
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\ncodeforces\\naaaaa\\nxxxxy\\nco\\nd\\nnutdealer\\nmwistht\\nhhhhhhhhhh\"], \"outputs\": [\"YES\\nforcodesec\\nNO\\nYES\\nxxyxx\\nYES\\noc\\nNO\\nYES\\nundertale\\nYES\\nthtsiwm\\nNO\"]}"}, "style": "[code]"}
300
ff9159b6-6433-5dec-afab-f4514547e04f
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "There is a cl...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"15\\n2 9 10 6\\n3 8 9 1\\n1 2 3 4\\n5 3 4 12\\n1 8 2 10\\n3 12 11 8\\n9 10 12 1\\n12 1 10 2\\n3 12 6 9\\n1 9 8 4\\n6 7 9 12\\n7 12 9 6\\n10 12 11 1\\n3 9 6 12\\n1 4 3 5\"], \"outputs\": [\"YES\\nNO\\nNO\\nYES\\nYES\\nNO\\nNO\\nNO\\nNO\\nNO\\nNO\\nYES\\nYES\\nYES\\nYES\"]}"}, ...
378
204663cf-6f9b-58f5-982c-e33e26ad658b
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n11010\\n00000000\\n1\\n10\\n0001111\\n0110\"], \"outputs\": [\"3\\n1\\n1\\n2\\n1\\n2\"]}"}, "style": "[code]"}
392
d0c2f616-4618-5b8d-8788-36ca15307ffe
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Timur is in a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n10 1 3\\n10\\n10\\n0\\n6\\n7\\n10 2 4\\n4 10\\n4 7\\n6\\n4\\n2\\n7\\n1000000000 1 1\\n1000000000\\n1000000000\\n99999999\\n6 1 3\\n6\\n5\\n2\\n6\\n5\"], \"outputs\": [\"0 6 7 \\n5 4 2 5 \\n99999999 \\n1 5 4\"]}"}, "style": "[code]"}
635
beffd61c-9800-5678-a460-b64646c2e301
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Given an inte...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1\\n2\\n3\\n4\\n5\\n1984\"], \"outputs\": [\"8\\n16\\n20\\n24\\n40\\n12504\"]}"}, "style": "[code]"}
302
128be4a7-e31b-5c36-b886-262df2ee5ac9
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n4\\n1 0 3 2\\n5\\n2 7 1 5 6\\n8\\n1 2 1 2 1 2 1 2\\n4\\n16 4 1 64\"], \"outputs\": [\"0 1 2 3 \\n1 5 2 6 7 \\n1 1 1 1 2 2 2 2 \\n16 4 1 64\"]}"}, "style": "[code]"}
398
eb0437bd-7591-5502-b11f-3227618a1caa
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Bob has a gri...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n4\\n1 -2 -3 -2\\n-4 4 -1 -3\\n1 2 -2 4\\n2\\n1 2\\n-1 -2\\n2 -2\\n5\\n1 2 3 4 5\\n-2 3 -4 -5 -1\\n3 -5 1 2 2\\n6\\n1 3 -6 2 5 2\\n1 3 -2 -3 -6 -5\\n-2 -1 -3 2 3 1\"], \"outputs\": [\"YES\\nNO\\nYES\\nNO\"]}"}, "style": "[code]"}
1,015
991f52e0-6e5e-520e-80b5-2c8616b47c3d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "A contest con...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n6\\n1000 1400 2000 2000 2200 2700\\n800 1200 1500 1800 2200 3000\\n6\\n4 5 6 7 8 9\\n1 2 3 4 5 6\"], \"outputs\": [\"2\\n3\"]}"}, "style": "[code]"}
506
7d5edf90-11e8-5d5d-adb9-77917ca433cf
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "There are $n$...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n5\\nUUDUD\\n5\\nUDDUD\\n2\\nUU\"], \"outputs\": [\"YES\\nNO\\nNO\"]}"}, "style": "[code]"}
437
e74af948-a6e8-5913-9a68-9a9b6b00164d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You have some...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n1 10\\n1\\n2 4\\n8 4\\n3 4\\n6 1 8\\n3 9\\n7 6 2\\n5 3\\n6 6 7 4 6\\n9 7\\n7 6 1 7 6 2 4 3 3\\n10 10\\n1 3 1 2 1 9 3 5 7 5\\n9 8\\n5 8 7 5 1 3 2 9 8\"], \"outputs\": [\"11\\n15\\n15\\n22\\n28\\n32\\n28\\n36\"]}"}, "style": "[code]"}
482
f585efae-bb18-5915-9e98-e161015c36c0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The two versi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 1\\n2 3\\n3 5\\n10 8\\n100 1233\\n1000000 1145141\"], \"outputs\": [\"1\\n3\\n4\\n14\\n153\\n1643498\"]}"}, "style": "[code]"}
319
e03fdb8e-9c64-53a4-b168-6fed175aa7d4
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The two versi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 1\\n2 3\\n3 5\\n10 8\\n100 1233\\n1000000 1145141\"], \"outputs\": [\"0\\n1\\n1\\n6\\n423\\n5933961\"]}"}, "style": "[code]"}
319
f90fe6f9-5330-571a-8d19-a4f802f7981c
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Let $\\operat...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n8 1\\n1 2 1 4 1 2 1 8\\n6 2\\n1 4 3 17 5 16\"], \"outputs\": [\"1 1 1 1 1 1 1 1\\n1 2 3 4 5 6\"]}"}, "style": "[code]"}
616
c160cec2-ae2a-54c5-a3b3-46ff1cd724c1
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Little R is a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n5 8\\n1 6 3 7 1\\n2 3 5 8 7 1 5 6\\n3 3\\n1 3 2\\n2 1 3\\n10 10\\n2 8 5 4 8 4 1 5 10 10\\n6 7 2 6 3 4 1 1 3 5\"], \"outputs\": [\"3\\n-1\\n3\"]}"}, "style": "[code]"}
589
88b1366f-b579-5de3-8305-a9be32646631
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Three friends...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n0 0 0\\n0 1 1\\n1 1 1\\n1 1 2\\n3 3 3\\n3 4 5\\n1 1 10\"], \"outputs\": [\"0\\n1\\n-1\\n2\\n-1\\n6\\n2\"]}"}, "style": "[code]"}
442
2e239005-b660-5f14-aa53-77e122a3f028
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Fox loves per...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n4\\n1 2 3 4\\n4\\n4 3 1 2\\n6\\n6 5 1 4 2 3\\n8\\n1 2 4 5 7 6 8 3\"], \"outputs\": [\"2 4 1 3\\n3 1 4 2\\n2 5 1 4 3 6\\n5 4 8 2 7 1 6 3\"]}"}, "style": "[code]"}
606
67ee4e80-3e0b-5c0b-b439-b982b7b56e94
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is an in...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n1 1\\n\\n1\\n2 2\\n\\n1\\n\\n3\\n\\n1\\n6 3\\n\\n7\\n\\n2\\n\\n3\\n\\n6\\n\\n1\"], \"outputs\": [\"! 1\\n\\n\\n? 1 1\\n\\n? 2 1\\n\\n! -1\\n\\n\\n? 1 9\\n\\n? 1 6\\n\\n? 3 6\\n\\n? 4 6\\n\\n! 6\"]}"}, "style": "[code]"}
605
0dc18b2a-a7b0-5eb4-95ee-6dcb69c16cc8
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "For $k$ posit...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3 4\\n1 2 3\\n4 5 6\\n1 1 1\\n0 1 2 3\", \"5 5\\n3 4 6 8 4\\n8 3 4 9 3\\n10 20 30 40 50\\n5 55 13 1000 113\", \"1 1\\n3\\n4\\n5\\n0\"], \"outputs\": [\"2 3 3 3\", \"2 7 3 7 7\", \"7\"]}"}, "style": "[code]"}
682
48fc3fd9-5e8b-593e-b4df-92733a01049e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Little Rosie ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"11\\n1 1\\n7 2\\n12 4\\n0 3\\n1 0\\n8 1\\n0 0\\n2 0\\n15 0\\n8 2\\n0 9\"], \"outputs\": [\"1\\n1\\n2\\n2\\n1\\n1\\n0\\n1\\n1\\n2\\n5\"]}"}, "style": "[code]"}
358
087012d7-fac0-5444-8069-053f586f2efc
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Polycarp has ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n10\\nserofedsoc\\n3\\nttf\\n9\\ntlrhgmaoi\\n1\\nw\\n15\\nhnndledmnhlttin\"], \"outputs\": [\"codeforces\\nfft\\nalgorithm\\nw\\nmeetinthemiddle\"]}"}, "style": "[code]"}
586
dd08aab4-57a6-5333-961d-aae6b6e9a367
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Polycarp was ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n5\\n3 2 2 2 3\\n5\\n1 2 1 2 1\\n8\\n1 2 3 2 2 3 4 2\\n4\\n2 1 1 1\\n8\\n2 1 1 2 1 1 1 1\\n7\\n2 1 1 1 1 1 1\\n6\\n2 1 1 1 1 1\\n5\\n2 1 1 1 1\"], \"outputs\": [\"2\\n0\\n3\\n1\\n8\\n4\\n3\\n2\"]}"}, "style": "[code]"}
543
89f981ba-80f0-5e31-b0bc-79692529495e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Let's imagine...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"10\\n6\\nNENSNE\\n3\\nWWW\\n6\\nNESSWS\\n2\\nSN\\n2\\nWE\\n4\\nSSNN\\n4\\nWESN\\n2\\nSS\\n4\\nEWNN\\n4\\nWEWE\"], \"outputs\": [\"RRHRRH\\nNO\\nHRRHRH\\nNO\\nNO\\nRHRH\\nRRHH\\nRH\\nRRRH\\nRRHH\"]}"}, "style": "[code]"}
564
4ed032f8-0488-577b-9aac-7ba058a2b659
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Being a physi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n1 10\\n1 5\\n2 80\\n0 10\\n200 100\\n3 100\\n70 100\\n100 200\\n150 150\\n5 8\\n3 1\\n5 3\\n3 4\\n1 5\\n5 3\\n2 5\\n1 5\\n2 1\\n5 3\\n2 5\\n2 4\\n4 1\\n5 1\\n3 4\\n5 2\\n2 1\\n1 2\\n3 5\\n3 2\\n3 2\"], \"outputs\": [\"0\\n10\\n200\\n15\\n1\\n9\\n9\"]}"}, "style": "[code]"...
447
7269d00b-879f-5e59-8a3c-35062613cbd3
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You can never...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n3 3\\n2 2 2\\n6 5\\n2 2 8 2 6 8\\n6 4\\n4 10 3 8 6 10\\n2 1\\n1 1\\n4 1\\n4 1 3 1\\n4 2\\n1 3 4 3\"], \"outputs\": [\"2\\n4\\n3\\n1\\n2\\n1\"]}"}, "style": "[code]"}
485
2ac58e13-55cc-5130-babf-5abf5c1ac9e5
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Mocha likes a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n6\\n1 1 4 5 1 4\\n5\\n7 9 2 2 3\\n3\\n1 2 3\"], \"outputs\": [\"No\\nYes\\nYes\"]}"}, "style": "[code]"}
610
d8901404-6620-541e-963e-3d53bd75e7ab
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Mocha likes a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n3\\n7 3 8\\n5\\n7 1 9 3 5\\n5\\n4 12 2 6 3\\n5\\n7 49 9 3 1000000000\"], \"outputs\": [\"No\\nYes\\nYes\\nNo\"]}"}, "style": "[code]"}
473
4c6cae35-edee-5d04-834b-58346f1a63e9
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "378QAQ has a ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n2\\n1 2\\n1 2\\n5\\n1 2\\n1 2\\n1 3\\n1 4\\n1 5\\n8\\n5 4\\n7 1\\n1 5\\n1 8\\n8 3\\n7 2\\n8 6\\n3 4\"], \"outputs\": [\"2\\n8\\n13\"]}"}, "style": "[code]"}
541
0135b0bf-2b9b-5417-a027-f19f09ef83d7
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n2 1\\n1 0\\n1 2\\n1\\n5 4\\n1 0 0 0 0\\n1 2\\n1 3\\n1 5\\n3 4\\n4\\n3\\n2\\n5\", \"4\\n5 3\\n1 1 1 1 1\\n3 5\\n2 5\\n3 4\\n1 5\\n1\\n1\\n1\\n4 4\\n0 0 0 0\\n1 2\\n2 3\\n1 4\\n1\\n2\\n3\\n2\\n1 1\\n1\\n1\\n1 1\\n0\\n1\"], \"outputs\": [\"No\\nNo\\nYes\\nYes\\nNo\", \"Yes\\...
628
46fbc58b-d2d5-534d-a17c-3e97ca1369d0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Define the bi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n15 15 15 15 15 15 12\", \"5\\n63 63 63 63 6 63 63 63 63 63 63 5 63 63 63 63 63 63 8 63 63 63 63 2 63 63 63 63 63 63 63\"], \"outputs\": [\"4\\n3\\n5\\n6\\n7\", \"1\\n19\"]}"}, "style": "[code]"}
526
b2416e3a-efc2-5c95-be70-fcfb5419278e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "One day, Zimp...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"10 10\\njustmonika\\nj-stsayori\", \"7 8\\nttk-wxx\\n*tt-l-xx\", \"13 11\\nasoulwangziji\\n-soulg*z-y-\", \"7 3\\nabc*cba\\na*c\", \"20 18\\nbulijiojio-dibuliduo\\n*li*ji-*ox*i*-du*-\"], \"outputs\": [\"No\", \"Yes\", \"No\", \"No\", \"Yes\"]}"}, "style": "[code]"}
477
98e6b071-638b-5717-8460-b1053cee2927
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "378QAQ has a ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n3\\nqaq\\n4\\ncccc\\n6\\nbazoka\\n6\\nzazzzz\\n7\\nababbbb\\n7\\nccbabcc\"], \"outputs\": [\"qaq\\ncccc\\nz\\nzzz\\nbbababb\\ncbcacbc\"]}"}, "style": "[code]"}
608
60b09101-8635-5dd5-b3a6-f1ab39602958
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is the w...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n5\\n0 1 1 1 2\\n00100\\n3\\n2 3 3\\n000\\n10\\n0 0 0 0 0 0 0 1 1 1\\n1111011111\\n20\\n0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 2 3 3 4\\n00000000001000101010\"], \"outputs\": [\"500000004\\n0\\n0\\n675898154\"]}"}, "style": "[code]"}
776
28e34817-5bc1-5189-83f7-28bfd6080a0d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Monocarp is w...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n4\\n12ac\\n5\\n123wa\\n9\\nallllmost\\n5\\nac123\\n6\\n011679\"], \"outputs\": [\"YES\\nNO\\nYES\\nNO\\nYES\"]}"}, "style": "[code]"}
356
81705df2-96d3-5f6f-b8f9-035a4190905f
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n1\\n2\\n1 3\\n2\\n3 3\\n3 3 3\\n4\\n4 2 1 2\\n2 1 5 2 3\"], \"outputs\": [\"3\\n1\\n8\"]}"}, "style": "[code]"}
467
9be18577-d61e-568d-b240-360d867f31a2
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Monocarp is o...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n1 0\\n2 1\\n1 2\\n0 2\\n4 5 5\\n5 4 1\\n1 2\\n2 1 5 4\\n5 2 3 1\\n3 1\\n4 3 3 4 1\\n5 5 4 5 2\"], \"outputs\": [\"1 2 \\n5 6 9 \\n8 11 11 12 \\n13 13 13 12 15\"]}"}, "style": "[code]"}
682
b878019a-ecdf-5102-b4fc-615478fcf7e7
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "A regular bra...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n(())\\n()\\n()()()\\n(()())(())\"], \"outputs\": [\"1\\n0\\n3\\n13\"]}"}, "style": "[code]"}
445
ca07715f-6cce-5764-ae07-eac7a48ac6a3
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Initially, we...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6 3\\n6 4 4\\n5 5 2\", \"10 1\\n10\\n9\", \"4 1\\n2\\n4\"], \"outputs\": [\"30\", \"1814400\", \"8\"]}"}, "style": "[code]"}
868
5c0915a9-4ad5-51f2-98d5-c8dfa0a239b0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n2\\n1 2\\n12\\n4 10\\n5 12\\n12 11\\n3 6\\n9 6\\n1 6\\n12 7\\n11 6\\n2 11\\n10 9\\n10 8\\n8\\n1 2\\n2 3\\n2 4\\n3 5\\n3 6\\n4 7\\n4 8\\n5\\n1 2\\n2 3\\n3 4\\n4 5\"], \"outputs\": [\"0 \\n7 3 1 0 0 0 0 0 0 0 0 \\n4 1 0 0 0 0 0 \\n0 0 0 0\"]}"}, "style": "[code]"}
537
3f3862ce-0c96-50a9-b805-058c740c3db0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The little bo...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n3 3\\n2 4\\n5 3\"], \"outputs\": [\"Yes\\nNo\\nYes\"]}"}, "style": "[code]"}
321
04d1296f-29c0-5cde-9272-355dc941ea45
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n1\\n14\\n24\\n15\\n27\\n11\\n19\"], \"outputs\": [\"1\\n1\\n5\\n0 -1 0 0 1\\n6\\n0 0 0 -1 0 1\\n5\\n-1 0 0 0 1\\n6\\n-1 0 -1 0 0 1\\n5\\n-1 0 -1 0 1\\n5\\n-1 0 1 0 1\"]}"}, "style": "[code]"}
454
af028822-8d04-50cc-a839-d7a2564f3f2e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Nikita is a s...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n5\\n1 2 4 8 16\\n6\\n3 2 10 20 60 1\\n7\\n2 3 4 6 12 100003 1200036\\n9\\n2 42 7 3 6 7 7 1 6\\n8\\n4 99 57 179 10203 2 11 40812\\n1\\n1\"], \"outputs\": [\"0\\n4\\n4\\n5\\n8\\n0\"]}"}, "style": "[code]"}
503
e4cacc94-bf11-5954-9db4-7d98772c2055
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n3 4\\n1010\\n0110\\n0100\\n1 1\\n1\\n1 1\\n0\\n2 5\\n00101\\n10110\\n3 3\\n101\\n111\\n000\"], \"outputs\": [\"3\\n010\\n1\\n0\\n1\\n1\\n3\\n00\\n2\\n010\"]}"}, "style": "[code]"}
492
eb2db8ca-6974-5493-8781-94ad5acf9328
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is an in...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n4\\n\\nYES\\n\\nYES\\n\\nYES\\n\\nNO\\n\\nNO\\n\\nNO\\n\\n5\"], \"outputs\": [\"? 1 2\\n\\n? 2 3\\n\\n? 1 3\\n\\n? 1 4\\n\\n? 2 4\\n\\n? 3 4\\n\\n! 0 0 0 1\\n\\n! 1 1 0 1 0\"]}"}, "style": "[code]"}
562
a778c85e-4317-53ba-8a58-b40d8e5967ed
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Alice has $n$...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n2\\n1 1\\n4\\n2 3 3 1\\n5\\n2 2 3 2 2\\n2\\n10 3\\n3\\n1 2 3\"], \"outputs\": [\"2\\n4\\n5\\n13\\n5\"]}"}, "style": "[code]"}
370
2d81ae82-45e1-53a8-a067-ce3529697e7f
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Bob decided t...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n4 4 5\\n5 5 9\\n10 10 5\\n5 5 11\\n1000000000 1000000000 1000000000\\n1000000000 1000000000 1\\n1000 1 1000\"], \"outputs\": [\"17\\n35\\n100\\n45\\n1000000000000000000\\n1000000000000000000\\n500500\"]}"}, "style": "[code]"}
411
ae514673-780d-5a97-8d31-5e864015e47a
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Let's call th...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n3 4\\n4 5\\n7 0\\n1 1000000000000\\n8 14\\n112 777\\n5 12\\n5 2\"], \"outputs\": [\"Yes\\n3 1 2\\nNo\\nYes\\n1 2 3 4 5 6 7\\nNo\\nYes\\n8 2 3 4 5 6 1 7\\nNo\\nYes\\n5 4 3 1 2\\nYes\\n2 1 3 4 5\"]}"}, "style": "[code]"}
649
382baf74-8fb5-5da6-b21e-e214756d537c
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Elections are...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n3 1\\n2 0 3\\n2 3\\n0 10\\n5 3\\n5 4 3 2 1\\n4 5\\n3 10 7 1\\n6 0\\n2 2 2 3 3 3\"], \"outputs\": [\"0 1 2\\n1 0\\n0 1 2 3 4\\n1 0 2 3\\n1 1 2 0 4 5\"]}"}, "style": "[code]"}
557
0280aa10-ddc8-5710-bccf-75c522da857b
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Sasha has two...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n4\\n1111\\n0000\\n2\\n1 2\\n2 4\\n4\\n1010\\n1101\\n2\\n1 3\\n1 4\\n6\\n010101\\n011010\\n5\\n2 3\\n1 6\\n2 5\\n4 4\\n3 6\"], \"outputs\": [\"2\\n3\\n2\\n3\\n1\\n4\\n3\\n1\\n2\"]}"}, "style": "[code]"}
689
c0d9554e-4559-5111-8fac-a89c2c682df0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Given an arra...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n3 3\\n3 4 5\\n3 3\\n3 4 9\\n3 2\\n3 4 9\\n2 2\\n2 8\\n5 3\\n8 27 5 4 3\\n4 10\\n2 2 2 2\"], \"outputs\": [\"3\\n2\\n3\\n1\\n4\\n1\"]}"}, "style": "[code]"}
676
1fc3ca3f-9bb3-5311-8e36-05c4c52323b7
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Alice and Bob...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n4\\n2 4 1 7\\n5\\n1 2 3 4 5\\n2\\n1 1\\n3\\n37 8 16\\n5\\n10 10 10 10 9\\n10\\n3 12 9 5 2 3 2 9 8 2\"], \"outputs\": [\"3\\n1\\n0\\n15\\n9\\n2\"]}"}, "style": "[code]"}
421
adf4b8a9-02a9-558e-b03b-394e2b956904
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n0 1\\n12 4\\n57 37\\n316560849 14570961\"], \"outputs\": [\"1\\n8\\n4\\n33554432\"]}"}, "style": "[code]"}
535
393dab5e-9fc9-5cbb-81b7-882c8e07770c
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You have been...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n3\\n3 2 7\\n2\\n3 3\\n5\\n5 5 5 5 5\\n6\\n7 9 3 17 9 13\\n3\\n6 3 2\\n5\\n9 4 6 8 3\"], \"outputs\": [\"27 41 12 \\n1 1 \\n-1\\n1989 1547 4641 819 1547 1071 \\n-1\\n8 18 12 9 24\"]}"}, "style": "[code]"}
515
98c3b276-b2c5-5d96-8592-ad46c29675f5
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n8 4\\n11100001\\n4 2\\n1110\\n12 3\\n111000100011\\n5 5\\n00000\\n6 1\\n101001\\n8 4\\n01110001\\n12 2\\n110001100110\"], \"outputs\": [\"3\\n-1\\n7\\n5\\n4\\n-1\\n3\"]}"}, "style": "[code]"}
832
33826670-7a0b-54c4-a09f-398c6b9ef951
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The Manhattan...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n6 4\\n3 1\\n0 0\\n0 -2\\n5 -3\\n3 -5\\n2 -2\\n5 4\\n0 0\\n0 -2\\n5 -3\\n3 -5\\n2 -2\\n6 6\\n3 1\\n0 0\\n0 -2\\n5 -3\\n3 -5\\n2 -2\\n4 4\\n3 0\\n0 3\\n-3 0\\n0 -3\\n10 8\\n2 1\\n-5 -1\\n-4 -1\\n-5 -3\\n0 1\\n-2 5\\n-4 4\\n-4 2\\n0 0\\n-4 1\\n4 400000\\n100000 100000\\n-100...
524
5c89737b-9104-5596-9d39-888ec874475c
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is an in...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n4\\n\\n0 0\\n\\n1 4\\n\\n2 3\\n\\n4\\n\\n1 0\\n\\n4 2\\n\\n2\\n\\n1 0\"], \"outputs\": [\"? 3\\n\\n? 2\\n\\n? 1\\n\\n! 4 3 1 2\\n\\n? 3\\n\\n? 0\\n\\n! 4 1 2 3\\n\\n? 0\\n\\n! 2 1\"]}"}, "style": "[code]"}
531
580a8caa-b05a-573e-9866-d775ea06b04a
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Vlad is plann...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n10 1\\nBGECDCBDED\\n10 2\\nBGECDCBDED\\n9 1\\nBBCDEFFGG\"], \"outputs\": [\"2\\n5\\n1\"]}"}, "style": "[code]"}
421
57a08afb-e09e-5fb9-bcdb-68782d53a7d3
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Dmitry has $n...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"12\\n5 2 2\\n4 3 3 2 3\\n5 5 3\\n4 2 1 3 5\\n5 5 2\\n5 2 4 1 3\\n5 5 5\\n1 2 5 4 3\\n5 5 4\\n3 1 2 4 5\\n5 5 5\\n4 3 2 1 5\\n6 5 3\\n1 2 3 1 2 3\\n10 1 1\\n1 1 1 1 1 1 1 1 1 1\\n1 1 1\\n42\\n5 2 3\\n2 2 1 1 2\\n2 1 1\\n2 1\\n5 3 1\\n3 3 2 3 2\"], \"outputs\": [\"MAYBE\\nYES\\...
603
51636df3-e7fd-5289-a6da-0fc1a2df5b4e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "GCD (Greatest...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"12\\n6\\n20 6 12 3 48 36\\n4\\n12 6 3 4\\n3\\n10 12 3\\n5\\n32 16 8 4 2\\n5\\n100 50 2 10 20\\n4\\n2 4 8 1\\n10\\n7 4 6 2 4 5 1 4 2 8\\n7\\n5 9 6 8 5 9 2\\n6\\n11 14 8 12 9 3\\n9\\n5 7 3 10 6 3 12 6 3\\n3\\n4 2 4\\n8\\n1 6 11 12 6 12 3 6\"], \"outputs\": [\"YES\\nNO\\nYES\\nN...
788
1fd7057f-8c97-59e5-a0bd-c2bb88fa0da4
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You have been...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n1 1\\n1\\n1\\n2 2\\n1 2\\n3 4\\n4 3\\n2 1\\n2 2\\n1 2\\n3 4\\n4 3\\n1 2\\n3 4\\n1 5 9 6\\n12 10 4 8\\n7 11 3 2\\n1 5 9 6\\n12 10 4 8\\n7 11 3 2\\n3 3\\n1 5 9\\n6 4 2\\n3 8 7\\n9 5 1\\n2 4 6\\n7 8 3\\n2 3\\n1 2 6\\n5 4 3\\n6 1 2\\n3 4 5\\n1 5\\n5 1 2 3 4\\n4 2 5 1 3\"], \"...
765
010f6850-bc71-5d80-a941-7e8c80c0da76
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is an ea...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n2 2 3\\n1 1\\n1 2\\n2 2\\n5 5 4\\n1 2\\n2 2\\n3 4\\n4 3\\n2 5 9\\n1 2\\n1 5\\n1 1\\n2 2\\n2 4\\n2 5\\n1 4\\n2 3\\n1 3\\n6 4 4\\n6 2\\n1 3\\n1 4\\n1 2\\n3 4 5\\n2 1\\n3 2\\n1 4\\n1 3\\n2 4\"], \"outputs\": [\"1\\n1 0 1 \\n11\\n0 1 0 1 \\n1\\n0 0 1 1 0 0 0 0 0 \\n6\\n1 0 0 ...
1,033
b8ed7887-523c-5ec3-995c-fa570fbeb43d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "This is a har...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n2 2 3\\n1 1\\n1 2\\n2 2\\n5 5 4\\n1 2\\n2 2\\n3 4\\n4 3\\n2 5 9\\n1 2\\n1 5\\n1 1\\n2 2\\n2 4\\n2 5\\n1 4\\n2 3\\n1 3\\n6 4 4\\n6 2\\n1 3\\n1 4\\n1 2\\n3 4 5\\n2 1\\n3 2\\n1 4\\n1 3\\n2 4\"], \"outputs\": [\"1\\n1 0 1 \\n11\\n0 1 0 4 \\n1\\n0 0 1 1 0 0 0 0 0 \\n6\\n15 0 0...
860
a43a1347-66e0-5786-bd48-8c424b4ed416
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Yasya was wal...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n3 7\\n1 2 1\\n3 1 8\\n^ 5\\n? 2 9\\n^ 1\\n? 1 10\\n^ 6\\n? 3 1\\n? 2 9\\n5 6\\n1 2 777\\n3 2 2812\\n4 1 16\\n5 3 1000000000\\n^ 4\\n? 3 123\\n? 5 1000000000\\n^ 1000000000\\n? 1 908070\\n? 2 1\", \"3\\n8 4\\n8 6 3\\n6 3 4\\n2 5 4\\n7 6 2\\n7 1 10\\n4 1 4\\n5 1 2\\n^ 4\\n^...
766
9ab043c2-2b1b-5729-9671-eb7cc3aa8e83
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Turtle and Pi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n2 4\\n3 6\\n2 15\\n6 22\\n114514 1919810\"], \"outputs\": [\"2\\n2\\n3\\n4\\n20\"]}"}, "style": "[code]"}
358
264d1f6a-0f2f-511c-b843-960fe28dcfb2
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "There is a se...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"9\\n0 0\\n0 1\\n0 2\\n1 0\\n5 2\\n10 1\\n20 3\\n1145 14\\n19198 10\"], \"outputs\": [\"0\\n1\\n3\\n1\\n7\\n11\\n23\\n1279\\n19455\"]}"}, "style": "[code]"}
376
cfbb2333-e839-559b-9069-24a5b0b0ebd8
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Turtle was pl...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"9\\n8\\n-1 -1 -1 2 -1 -1 1 -1\\n4\\n-1 -1 -1 -1\\n6\\n3 -1 -1 -1 9 -1\\n4\\n-1 5 -1 6\\n4\\n2 -1 -1 3\\n4\\n1 2 3 4\\n2\\n4 2\\n5\\n-1 3 -1 3 6\\n13\\n-1 -1 3 -1 -1 -1 -1 7 -1 -1 3 -1 -1\"], \"outputs\": [\"4 9 4 2 4 2 1 2\\n7 3 6 13\\n3 1 2 4 9 18\\n-1\\n-1\\n-1\\n4 2\\n6 3 ...
839
2086375f-f0ac-5d27-8261-f9ecc8856829
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Turtle just l...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n2\\n3\\n4\"], \"outputs\": [\"114514 114514\\n1 2 2\\n3 3 4 4\"]}"}, "style": "[code]"}
423
3d80af91-5703-55e1-b271-7bc2b8a5b78d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Turtle just r...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n5\\n1 7 3\\n2 4 6\\n3 5 5\\n6 7 9\\n3 4 4\\n5\\n2 7 3\\n1 3 6\\n4 5 5\\n6 7 9\\n1 1 4\\n4\\n1 4 3\\n1 2 1\\n3 4 5\\n1 4 4\\n3\\n1 3 1\\n2 3 3\\n4 5 8\"], \"outputs\": [\"9\\n13\\n4\\n-1\"]}"}, "style": "[code]"}
527
6b393d5a-8802-5eaf-9c42-963cf4cc01e0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Note the unus...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n5\\n3 2 2 1 1\\n1 1 2 2\\n5\\n3 2 1 1 1\\n1 1 2 2\\n6\\n1 2 1 2 1 3\\n1 2 3 3 4\\n7\\n2 1 2 3 1 2 1\\n1 1 2 2 3 3\\n10\\n1 2 2 1 4 2 3 1 2 1\\n1 1 2 2 3 3 4 5 5\"], \"outputs\": [\"4\\n6\\n6\\n6\\n7\"]}"}, "style": "[code]"}
716
c643bb46-8551-56de-85a1-23cee74a48fa
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Dima loves wa...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 0\\n5 0\\n1 2\\n3 2\\n1 2\\n4 5\\n1 2\\n4 3\\n1 2\\n1 2\\n998244353 0\\n1000000000 999999999\"], \"outputs\": [\"YES\\nNO\\nYES\\nNO\\nYES\\nYES\"]}"}, "style": "[code]"}
583
e82581c2-56ff-5214-9559-48688090dc01
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Recently, the...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"13\\n1 3 1\\n2 3 1\\n24 5 5\\n16 3 2\\n2 2 1\\n1337 18 1\\n1 2 144133\\n12345678 3 10\\n998244353 2 998244353\\n998244353 123456789 998244352\\n998244354 998241111 998244352\\n998244355 2 9982443\\n1000000000 1000000000 1000000000\"], \"outputs\": [\"2\\n1\\n1\\n2\\n3\\n1338\...
434
5c0d9a35-d480-5a48-bcb8-b7547e8045f0
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "On another bo...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n5 3 10\\n2 1 11 3 7\\n10 1 5\\n17 8 12 11 7 11 21 13 10 8\\n3 4 5\\n3 4 2\\n8 12 25\\n10 7 5 13 8 9 12 7\\n2 3 3\\n5 2\\n9 7 9\\n2 10 5 1 3 7 6 2 3\\n1 8 10\\n9\\n5 5 6\\n1 4 2 6 4\"], \"outputs\": [\"3\\n0\\n1\\n4\\n0\\n3\\n1\\n2\"]}"}, "style": "[code]"}
480
f5bbd509-c147-55bc-98b4-bbe2a5559412
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Nikita loves ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n3 3 2\\n7 11 3\\n4 2 3\\n0 1 15\\n100\\n010\\n000\\n4 4 3\\n123 413 24 233\\n123 42 0 216\\n22 1 1 53\\n427 763 22 6\\n0101\\n1111\\n1010\\n0101\\n3 3 2\\n2 1 1\\n1 1 2\\n1 5 4\\n010\\n101\\n010\\n3 3 2\\n2 1 1\\n1 1 2\\n1 5 3\\n010\\n101\\n010\\n3 4 3\\n46 49 50 1\\n19 3...
689
b931974e-9fa4-57f9-8d3d-f5cc49661ea7
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Let $bit(x)$ ...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"10\\n6 1\\n16 2\\n1 1\\n3 1\\n31 3\\n14 1\\n1337 5\\n100000 20\\n795569939321040850 56\\n576460752303423268 59\"], \"outputs\": [\"7\\n35\\n1\\n6\\n155\\n8\\n7323\\n49965\\n741136395\\n66679884\"]}"}, "style": "[code]"}
437
e78f2863-c122-539c-840a-d7f2eb781bd3
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You have an a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n5\\n2 2 3 4 5\\n3\\n2 1\\n4 1\\n1 1\\n5\\n1 2 3 4 5\\n9\\n1 4\\n2 3\\n5 2\\n3 1\\n1 1\\n5 1\\n4 1\\n3 1\\n2 1\"], \"outputs\": [\"-1 -1\\n1 2\\n1 4\\n3 4\\n-1 -1\\n1 3\\n1 3\\n1 5\\n1 5\\n2 5\\n2 5\\n2 5\\n2 5\\n-1 -1\"]}"}, "style": "[code]"}
689
3a0a8ae3-66fe-5eef-b4ec-0f7dc89d06cf
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "An array of i...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n3\\n6\\n7\"], \"outputs\": [\"4 22 18\\n10 6 15 32 125 54\\n23 18 27 36 5 66 7\"]}"}, "style": "[code]"}
389
e7ee6ff4-221b-57dd-bc58-235d995d09d3
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Alice, Bob an...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"10\\n5\\n5 1 1 1 1\\n1 1 5 1 1\\n1 1 1 1 5\\n6\\n1 2 3 4 5 6\\n5 6 1 2 3 4\\n3 4 5 6 1 2\\n4\\n4 4 4 4\\n4 4 4 4\\n4 4 4 4\\n5\\n5 10 5 2 10\\n9 6 9 7 1\\n10 7 10 2 3\\n3\\n4 5 2\\n6 1 4\\n1 8 2\\n3\\n10 4 10\\n8 7 9\\n10 4 10\\n7\\n57113 65383 19795 53580 74452 3879 23255\\n...
892
9b4324e5-bd06-5828-a10e-5f3326ee6c62
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Given two arr...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n4\\n1 2 3 4\\n1 2 3 4\\n5\\n1 3 4 2 5\\n7 1 2 5 4\\n4\\n1 2 3 4\\n4 3 2 1\\n3\\n1 2 3\\n1 3 2\\n5\\n1 5 7 1000 4\\n4 1 7 5 1000\\n3\\n1 4 2\\n1 3 2\"], \"outputs\": [\"YES\\nNO\\nYES\\nNO\\nNO\\nNO\"]}"}, "style": "[code]"}
573
25cdaf29-6769-5df3-b171-1f2521a595f7
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Alice and Bob...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"1\\n5 2\\n10 20 5 15 25\", \"5\\n1 1\\n732507\\n2 2\\n5817860 5398510\\n5 1\\n2122894 4951549 2750585 7821535 3214167\\n8 4\\n1405323 5069867 6883092 6972029 328406 2478975 7628890 9973340\\n4 2\\n9662050 3566134 3996473 9872255\", \"5\\n3 3\\n1095611 8219204 7773462\\n2 1\\n...
583
5a7f8e66-b31b-5db2-b4a8-bf40ff04a295
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You have an a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n5 2\\n1 2 3 4 5\\n2 1\\n4 3\\n4 6\\n1 2 4 8\\n5 9\\n1 2 3 4 5\"], \"outputs\": [\"1\\n7\\n12\\n3\"]}"}, "style": "[code]"}
411
d355bbc4-f0c3-5197-bd46-bde3487c3bff
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"1\\n4\\n1 2\\n2 3\\n3 4\\n2 3 6 5\\n3\\n1 4\\n3 4\\n1 1\"], \"outputs\": [\"14\\n10\\n2\"]}"}, "style": "[code]"}
651
5caebb39-88d2-5123-b9cc-6c1c6449b917
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Define the ra...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n4\\n1 1 2 2\\n5\\n1 2 3 4 5\\n3\\n3 3 3\\n4\\n1 2 2 2\\n3\\n1 2 2\\n3\\n1 1 2\\n3\\n1 9 84\"], \"outputs\": [\"YES\\nRBRR\\nYES\\nBBRBB\\nNO\\nYES\\nRBBR\\nYES\\nRRB\\nYES\\nBRR\\nYES\\nBRB\"]}"}, "style": "[code]"}
501
56d77207-c5b7-5e42-84da-34791dfb1a3d
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "A digit is la...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"11\\n1337\\n200\\n1393938\\n1434\\n98765432123456789\\n11111111111111111\\n420\\n1984\\n10\\n69\\n119\"], \"outputs\": [\"YES\\nNO\\nYES\\nYES\\nNO\\nYES\\nNO\\nYES\\nYES\\nNO\\nNO\"]}"}, "style": "[code]"}
282
afb8e8e1-466b-524f-a98e-0cc124bbd6fb
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The two versi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n4\\n10 -9 -3 4\\n8\\n1 4 3 4 1 4 3 4\\n3\\n-1 -2 -3\\n4\\n-1000000000 1000000000 1000000000 1000000000\\n4\\n1 9 8 4\"], \"outputs\": [\"6\\n24\\n6\\n4000000000\\n22\"]}"}, "style": "[code]"}
400
1aebd0fd-b06e-513b-8a53-914ce6ff0833
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The two versi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"5\\n4\\n2 -5 3 -3\\n8\\n1 4 3 4 1 4 3 4\\n3\\n-1 -2 -3\\n4\\n-1000000000 1000000000 1000000000 1000000000\\n4\\n1 9 8 4\"], \"outputs\": [\"12\\n256\\n1\\n8\\n16\"]}"}, "style": "[code]"}
497
ae407e21-4b5b-51fc-8deb-e8faa3e15e64
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\naaaaa\\nbaba\\ncabacb\\naaabaaa\\nbitset\\nab\\nabbaaaabbb\\nyearnineteeneightyfour\"], \"outputs\": [\"4\\n4\\n1\\n16\\n1\\n2\\n3\\n1\"]}"}, "style": "[code]"}
393
4e80e97f-92b3-5bed-bdc3-163c9da77ca6
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Two hungry re...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"4\\n5\\n1 2\\n1 3\\n2 4\\n2 5\\n5\\n1 2\\n2 3\\n3 4\\n4 5\\n6\\n1 2\\n1 3\\n1 4\\n1 5\\n1 6\\n10\\n9 3\\n8 1\\n10 6\\n8 5\\n7 8\\n4 6\\n1 3\\n10 1\\n2 7\"], \"outputs\": [\"4\\n3\\n5\\n6\"]}"}, "style": "[code]"}
520
0ea4c09c-4fbf-576f-a94f-640e9177322f
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "There is a hi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n4 10\\nPSPP\\n1 9 8 10\\n4 1000000000\\n????\\n1 1 1 4000000000\\n8 1000000000\\n?P?SSP?P\\n-857095623 -1424391899 -851974476 673437144 471253851 -543483033 364945701 -178537332\\n4 7\\nPPSS\\n4 2 1 3\\n9 20\\n?????????\\n1 2 3 4 5 6 7 8 9\\n3 1000000000\\nP??\\n-14546324...
707
55ba5bce-fe8a-5c56-b25d-d28ba9751fa4
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "The secret be...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n5\\n5 1 2 3 4\\n5\\n2 3 5 4 1\\n6\\n1 2 3 4 5 6\"], \"outputs\": [\"4\\n1\\n2 1\\n3\\n2\\n1 3\\n2 1\\n6\\n0\"]}"}, "style": "[code]"}
618
a7983037-5e7a-5d57-bd30-a2ed6fd64eb1
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "There are $n$...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"3\\n5\\n1 1\\n2 5\\n3 3\\n4 2\\n5 4\\n6\\n1 1\\n3 3\\n1 2\\n2 1\\n3 10000\\n19 84\\n7\\n2 7\\n-4 -3\\n-3 6\\n3 1\\n-5 2\\n1 -4\\n-1 7\"], \"outputs\": [\"1\\n0\\n10\"]}"}, "style": "[code]"}
652
6ac1ed8c-7456-5688-a52e-836e9ef71f07
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Matthew is gi...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\nbit set\\ncat dog\\nhot dog\\nuwu owo\\ncat cat\\nzzz zzz\"], \"outputs\": [\"sit bet\\ndat cog\\ndot hog\\nowu uwo\\ncat cat\\nzzz zzz\"]}"}, "style": "[code]"}
244
fdf96aab-9b19-5df4-b559-ffed357a315b
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Given an inte...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"2\\n3\\n15\"], \"outputs\": [\"3\\n2\"]}"}, "style": "[code]"}
252
07fcae50-2d32-5bc4-a1e4-60d800233873
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Alex thinks s...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n1\\n0\\n1\\n1\\n4\\n1 1 2 0\\n5\\n0 1 2 1 4\\n7\\n1 1 0 3 5 2 12\\n7\\n1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 294967296\\n10\\n0 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 589934592\"], \"outputs\": [...
445
60f8f41f-59bb-5171-a3a3-e99287af338e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Given a $n$ b...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n5 5\\n.....\\n.....\\n..#..\\n.....\\n.....\\n5 5\\n..#..\\n.###.\\n#####\\n.###.\\n..#..\\n5 6\\n......\\n......\\n.#....\\n###...\\n.#....\\n1 1\\n#\\n5 6\\n...#..\\n..###.\\n.#####\\n..###.\\n...#..\\n2 10\\n..........\\n...#......\"], \"outputs\": [\"3 3\\n3 3\\n4 2\\...
385
12c787c7-f04b-5aab-9d6c-bc9872c56846
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Ntarsis has a...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"7\\n3 3 3 8\\n3 3 3 18\\n5 1 1 1\\n2 2 2 7\\n3 4 2 12\\n4 3 1 6\\n1800 1800 1800 4913000000\"], \"outputs\": [\"8\\n2\\n5\\n0\\n4\\n4\\n1030301\"]}"}, "style": "[code]"}
488
233a6e92-daba-5c20-a9d9-702682ad2d78
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Let $D(n)$ re...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n0 1 4\\n0 2 7\\n1 2 1\\n1 2 3\\n582 74663 3\\n0 3 1\"], \"outputs\": [\"2\\n3\\n90\\n12\\n974995667\\n999\"]}"}, "style": "[code]"}
252
38bcf9dd-a0f0-56ec-bf89-f93c4491b30e
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Easy and hard...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 1\\n.\\n4 2\\n..\\n#.\\n#.\\n.#\\n3 5\\n.#.#.\\n..#..\\n.#.#.\\n5 5\\n#...#\\n....#\\n#...#\\n.....\\n...##\\n6 6\\n.#..#.\\n#..#..\\n.#...#\\n#.#.#.\\n.#.##.\\n###..#\\n6 8\\n..#....#\\n.####.#.\\n###.#..#\\n.##.#.##\\n.#.##.##\\n#..##.#.\"], \"outputs\": [\"1\\n6\\n9\...
452
f0219963-df80-5a1d-ad16-7587a883ea8c
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "Easy and hard...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 1\\n.\\n4 2\\n..\\n#.\\n#.\\n.#\\n3 5\\n.#.#.\\n..#..\\n.#.#.\\n5 5\\n#...#\\n....#\\n#...#\\n.....\\n...##\\n6 6\\n.#..#.\\n#..#..\\n.#...#\\n#.#.#.\\n.#.##.\\n###..#\\n6 8\\n..#....#\\n.####.#.\\n###.#..#\\n.##.#.##\\n.#.##.##\\n#..##.#.\"], \"outputs\": [\"1\\n7\\n11...
447
b48e1c48-630f-59bb-8002-d66f1e06e303
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"8\\n1 1 1\\n1 5 9\\n8 2 8\\n10 9 3\\n2 1 1\\n2 4 1\\n7 3 5\\n1 9 4\"], \"outputs\": [\"0\\n8\\n6\\n7\\n1\\n3\\n4\\n8\"]}"}, "style": "[code]"}
359
59e5e518-5196-5e40-8cd3-4000ec8c3fda
[ { "role": "system", "content": "Write your final solution in a single ```python code block at the end of your response, with no code blocks after it.", "reasoning_content": null, "tool_calls": null, "name": null, "tool_call_id": null }, { "role": "user", "content": "You are given...
null
code
agentica-org/DeepCoder-Preview-Dataset
mit
{"ability": "code", "subset": "codeforces", "data_source": "agentica-org/DeepCoder-Preview-Dataset", "reasoning": true, "language": "eng"}
{"ground_truth": {"tests": "{\"inputs\": [\"6\\n1 2\\n3 1\\n2 1\\n1\\n1\\n2 2\\n1 2\\n3 4\\n2 3\\n7 4 5\\n1 8 10\\n5 4\\n92 74 31 74\\n74 92 17 7\\n31 17 92 3\\n74 7 3 92\\n7 31 1 1\\n3 3\\n1000000000 1 1000000000\\n1 1000000000 1\\n1000000000 1 1000000000\"], \"outputs\": [\"1 1 \\n1 \\n1 \\n1 2 \\n3 3 \\n4 4 5 \\n1 8...
601
b7d9d34b-b23e-5a3d-83bf-4db3e3e84d23