data_source stringclasses 1
value | prompt listlengths 1 1 | raw_prompt stringlengths 127 13k | ability stringclasses 1
value | reward_model dict | extra_info dict |
|---|---|---|---|---|---|
codecontests | [
{
"role": "user",
"content": "You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests.\n\nQuestion: Twins\n\nsquare1001 and E869120 are twins.\n\nPlease output the one that was born first.\n\ninput\n\nNo input is giv... | Twins
square1001 and E869120 are twins.
Please output the one that was born first.
input
No input is given.
output
Output the correct character string on one line.
However, insert a line break at the end.
Output example 1
square1001
Example
Input
Output | code | {
"style": "rule",
"ground_truth": "{\"inputs\": [\"\"], \"outputs\": [\"square1001\\n\"], \"fn_name\": null}"
} | {
"split": "train",
"index": 0,
"source": "AIZU",
"title": "Twins",
"id": "p02197",
"num_test_cases": 1,
"num_python_solutions": 2
} |
codecontests | [
{
"role": "user",
"content": "You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests.\n\nQuestion: In \"Takahashi-ya\", a ramen restaurant, a bowl of ramen costs 700 yen (the currency of Japan), plus 100 yen for eac... | In "Takahashi-ya", a ramen restaurant, a bowl of ramen costs 700 yen (the currency of Japan), plus 100 yen for each kind of topping (boiled egg, sliced pork, green onions).
A customer ordered a bowl of ramen and told which toppings to put on his ramen to a clerk. The clerk took a memo of the order as a string S. S is ... | code | {
"style": "rule",
"ground_truth": "{\"inputs\": [\"ooo\\n\", \"xxx\\n\", \"oxx\\n\", \"xox\\n\", \"xxo\\n\", \"oox\\n\", \"oxo\\n\", \"xoo\\n\"], \"outputs\": [\"1000\\n\", \"700\\n\", \"800\\n\", \"800\\n\", \"800\\n\", \"900\\n\", \"900\\n\", \"900\\n\"], \"fn_name\": null}"
} | {
"split": "train",
"index": 1,
"source": "AtCoder",
"title": "AtCoder Beginner Contest 095 - Something on It",
"id": "p03369",
"num_test_cases": 8,
"num_python_solutions": 233
} |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "Little Masha loves arranging her toys into piles on the floor. And she also hates it when somebody (...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1\\n\", \"2\\n\", \"3\\n\", \"4\\n\", \"5\\n\", \"6\(...TRUNCATED) | {"split":"train","index":2,"source":"Codeforces","title":"Toys","id":"44_I","num_test_cases":10,"num(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "On the Planet AtCoder, there are four types of bases: `A`, `C`, `G` and `T`. `A` bonds with `T`, an(...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"A\\n\", \"C\\n\", \"G\\n\", \"T\\n\"], \"outputs\": (...TRUNCATED) | {"split":"train","index":3,"source":"AtCoder","title":"AtCoder Beginner Contest 122 - Double Helix",(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "Little Elephant loves magic squares very much.\n\nA magic square is a 3 × 3 table, each cell conta(...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"0 7 6\\n9 0 1\\n4 3 0\\n\", \"0 21534 21527\\n21548 (...TRUNCATED) | {"split":"train","index":4,"source":"Codeforces","title":"Little Elephant and Magic Square","id":"25(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "You have an array of integers A1, A2, ..., AN. The function F(P), where P is a subset of A, is defi(...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1\\n1 438\\n780\\n\", \"1\\n1 845\\n849\\n\", \"1\\n(...TRUNCATED) | {"split":"train","index":5,"source":"CodeChef","title":"xorsub","id":"xorsub","num_test_cases":10,"n(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "Prize\n\nSegtree entered a programming contest with a team of $ N $ and won a $ K $ yen prize! I'm (...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1 1\\n\", \"1000000000000000000 1000000000000000000\(...TRUNCATED) | {"split":"train","index":6,"source":"AIZU","title":"Prize","id":"p02206","num_test_cases":10,"num_py(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "Once upon a time in the Kingdom of Far Far Away lived Sam the Farmer. Sam had a cow named Dawn and (...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1\\n\", \"1000000000\\n\", \"7\\n\", \"4\\n\", \"57\(...TRUNCATED) | {"split":"train","index":7,"source":"Codeforces","title":"Help Farmer","id":"142_A","num_test_cases"(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "In one one-dimensional world there are n platforms. Platform with index k (platforms are numbered f(...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1 1 2 1\\n\", \"1000000 1000000 1000000 999999\\n\",(...TRUNCATED) | {"split":"train","index":8,"source":"Codeforces","title":"Platforms","id":"18_B","num_test_cases":10(...TRUNCATED) |
codecontests | [{"role":"user","content":"You will be given a question (problem specification) and will generate a (...TRUNCATED) | "Recently you have bought a snow walking robot and brought it home. Suppose your home is a cell (0, (...TRUNCATED) | code | {"style":"rule","ground_truth":"{\"inputs\": [\"1\\nLRRRLDUUDLRLLRRUULRDUUUUUDLDRUUDRURDULDURLLLDLRL(...TRUNCATED) | {"split":"train","index":9,"source":"Codeforces","title":"Snow Walking Robot","id":"1272_B","num_tes(...TRUNCATED) |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 26