data_source stringclasses 3
values | prompt listlengths 1 1 | ability stringclasses 1
value | reward_model dict | extra_info dict |
|---|---|---|---|---|
taco | [
{
"content": "Solve the following problem using Python.\n\nGena loves sequences of numbers. Recently, he has discovered a new type of sequences which he called an almost arithmetical progression. A sequence is an almost arithmetical progression, if its elements can be represented as:\n\n * a1 = p, where p is s... | code | {
"ground_truth": "{\"inputs\": [\"8\\n2 2 5 3 4 3 3 2\\n\", \"5\\n4 4 3 5 1\\n\", \"2\\n468 335\\n\", \"6\\n2 3 2 2 1 3\\n\", \"5\\n479 359 963 465 706\\n\", \"49\\n516 161 416 850 361 861 833 233 281 798 225 771 841 111 481 617 463 305 743 945 833 141 70 617 511 522 840 505 753 544 931 213 626 567 137 687 221 942 9... | {
"index": 4908,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nYou are given a matrix of size $n \\times n$ filled with lowercase English letters. You can change no more than $k$ letters in this matrix.\n\nConsider all paths from the upper left corner to the lower right corner that m... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"4 2\\nabcd\\nbcde\\nbcad\\nbcde\\n\", \"output\": \"aaabcde\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"5 3\\nbwwwz\\nhrhdh\\nsepsp\\nsqfaf\\najbvw\\n\", \"output\": \"aaaepfafw\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"7 6\\nypnxnnp\\npnxonpm\... | {
"index": 1829,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nOnce Bob took a paper stripe of n squares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negative. He became interested in how many ways exist to cut this stripe into two piece... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"6\\n2 3 -3 0 -3 1\\n\", \"output\": \"0\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"4\\n1 2 3 3\\n\", \"output\": \"0\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"10\\n-1 5 2 3 1 5 0 2 2 5\\n\", \"output\": \"0\\n\"}, {\"type\": \"stdin_stdout\", ... | {
"index": 14245,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nVasya has found a strange device. On the front panel of a device there are: a red button, a blue button and a display showing some positive integer. After clicking the red button, device multiplies the displayed number by... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"4 6\\n\", \"output\": \"2\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"10 1\\n\", \"output\": \"9\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"1 2\\n\", \"output\": \"1\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"2 1\\n\", \"output\": \"1\\n\"... | {
"index": 540,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nIn Republic of AtCoder, Snuke Chameleons (Family: Chamaeleonidae, Genus: Bartaberia) are very popular pets. Ringo keeps N Snuke Chameleons in a cage.\n\nA Snuke Chameleon that has not eaten anything is blue. It changes it... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"8 10\", \"output\": \"46\"}, {\"type\": \"stdin_stdout\", \"input\": \"3 7\", \"output\": \"57\"}, {\"type\": \"stdin_stdout\", \"input\": \"123456 234567\", \"output\": \"857617983\"}, {\"type\": \"stdin_stdout\", \"input\": \"8 3\", \"output\": \"0\"}, {... | {
"index": 7614,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nFor given two sequences $X$ and $Y$, a sequence $Z$ is a common subsequence of $X$ and $Y$ if $Z$ is a subsequence of both $X$ and $Y$. For example, if $X = \\\\{a,b,c,b,d,a,b\\\\}$ and $Y = \\\\{b,d,c,a,b,a\\\\}$, the se... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"3\\nabcbdab\\nbdcaba\\nabc\\nabc\\nacb\\nbc\", \"output\": \"4\\n3\\n1\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"3\\nabcbdab\\nbdcaba\\nabc\\nabc\\nbcb\\nbc\", \"output\": \"4\\n3\\n2\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"3\\nabcbdab\\nbd... | {
"index": 11385,
"reference": null,
"split": "train"
} |
primeintellect | [
{
"content": "Solve the following coding problem using the programming language python:\n\nDima and his friends have been playing hide and seek at Dima's place all night. As a result, Dima's place got messy. In the morning they decided that they need to clean the place.\n\nTo decide who exactly would clean the ... | code | {
"ground_truth": "[{\"type\": \"stdin_stdout\", \"input\": \"1\\n2\\n\", \"output\": \"2\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"2\\n3 5\\n\", \"output\": \"3\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"1\\n1\\n\", \"output\": \"3\\n\"}, {\"type\": \"stdin_stdout\", \"input\": \"49\\n1 4 4 3 5 2 2 1 5 ... | {
"index": 3484,
"reference": null,
"split": "train"
} |
primeintellect | [{"content":"Solve the following coding problem using the programming language python:\n\nLet us con(...TRUNCATED) | code | {"ground_truth":"[{\"type\": \"stdin_stdout\", \"input\": \"2\", \"output\": \"-1\"}, {\"type\": \"s(...TRUNCATED) | {
"index": 9521,
"reference": null,
"split": "train"
} |
primeintellect | [{"content":"Solve the following coding problem using the programming language python:\n\nIt is said(...TRUNCATED) | code | {"ground_truth":"[{\"type\": \"stdin_stdout\", \"input\": \"4\\n1 1\\n2 2 3\\n2 1 2\\n3 4 4 5\\n0\",(...TRUNCATED) | {
"index": 12630,
"reference": null,
"split": "train"
} |
primeintellect | [{"content":"Solve the following coding problem using the programming language python:\n\nJATC's mat(...TRUNCATED) | code | {"ground_truth":"[{\"type\": \"stdin_stdout\", \"input\": \"20\\n\", \"output\": \"10 2\\n\"}, {\"ty(...TRUNCATED) | {
"index": 3352,
"reference": null,
"split": "train"
} |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 23