id stringclasses 1
value | instruction stringclasses 206
values | trajectory listlengths 2 348 | length int64 2 348 | public_tests listlengths 1 6 | generated_tests listlengths 4 100 |
|---|---|---|---|---|---|
0/::0 | There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i silver coins and C_i bronze coins.
Snuke is thinking of getting gold coins from X of those people, silver coins from Y of the people and bronze coins from Z of the people. It is not possible to get two or more different col... | [
"\n",
"from heapq import\n",
"from heapq import \nimport sys\n",
"from heapq import \nimport sys\nX, Y, Z = map(int, sys.stdin.readline().split())\n",
"from heapq import \nimport sys\nX, Y, Z = map(int, sys.stdin.readline().split())\nN = X+Y+Z\n",
"from heapq import \nimport sys\nX, Y, Z = map(int, sys.st... | 34 | [
{
"input": "1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3",
"output": "18"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n44255 98144 468443709\n2332 42580 ... | [
{
"input": "1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3",
"output": "18\n"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n42489 98144 468443709\n2332 4258... |
0/::0 | There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i silver coins and C_i bronze coins.
Snuke is thinking of getting gold coins from X of those people, silver coins from Y of the people and bronze coins from Z of the people. It is not possible to get two or more different col... | [
"\n",
";;;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*;;;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*;X,Y,Z=map(int,input().split());;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*;X,Y,Z=map(int,input().split());N=X+Y+Z;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*;X,Y,Z=map(i... | 20 | [
{
"input": "1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3",
"output": "18"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n44255 98144 468443709\n2332 42580 ... | [
{
"input": "1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3",
"output": "18\n"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n42489 98144 468443709\n2332 4258... |
0/::0 | There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i silver coins and C_i bronze coins.
Snuke is thinking of getting gold coins from X of those people, silver coins from Y of the people and bronze coins from Z of the people. It is not possible to get two or more different col... | [
"\n",
"import sys\n",
"import sys\nfrom heapq import ,\n",
"import sys\nfrom heapq import , \nX, Y, Z = map(int, input().split())\n",
"import sys\nfrom heapq import , \nX, Y, Z = map(int, input().split())\nxyz = sorted([list(map(int,l.split()))for l in sys.stdin],key=lambda x:x[0]-x[1])\n",
"import sys\nf... | 38 | [
{
"input": "1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3",
"output": "18"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n44255 98144 468443709\n2332 42580 ... | [
{
"input": "1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3",
"output": "18\n"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n42489 98144 468443709\n2332 4258... |
0/::0 | There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i silver coins and C_i bronze coins.
Snuke is thinking of getting gold coins from X of those people, silver coins from Y of the people and bronze coins from Z of the people. It is not possible to get two or more different col... | [
"\n",
";;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*\n;;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*\nX,Y,Z=map(int,input().split());;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*\nX,Y,Z=map(int,input().split());N=X+Y+Z;A=[];q1=[];q2=[];L=[0];R=[0]\n",
"from heapq import*\nX,Y,Z=ma... | 20 | [
{
"input": "1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3",
"output": "18"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n44255 98144 468443709\n2332 42580 ... | [
{
"input": "1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3",
"output": "18\n"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n42489 98144 468443709\n2332 4258... |
0/::0 | There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i silver coins and C_i bronze coins.
Snuke is thinking of getting gold coins from X of those people, silver coins from Y of the people and bronze coins from Z of the people. It is not possible to get two or more different col... | [
"\n",
"cy=0\nhq=[]\n\n\ncx=0\nhq=[]\n",
"import sys\n\n\ncy=0\nhq=[]\n\n\ncx=0\nhq=[]\n",
"import sys\ninput=sys.stdin.readline\n\n\ncy=0\nhq=[]\n\n\ncx=0\nhq=[]\n",
"import sys\ninput=sys.stdin.readline\nfrom heapq import ,\n\n\ncy=0\nhq=[]\n\n\ncx=0\nhq=[]\n",
"import sys\ninput=sys.stdin.readline\nfrom... | 32 | [
{
"input": "1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3",
"output": "18"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n44255 98144 468443709\n2332 42580 ... | [
{
"input": "1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3",
"output": "18\n"
},
{
"input": "6 2 4\n33189 87907 277349742\n71616 46764 575306520\n8801 53151 327161251\n58589 4337 796697686\n66854 17565 289910583\n50598 35195 478112689\n13919 88414 103962455\n7953 69657 699253752\n42489 98144 468443709\n2332 4258... |
0/::0 | "There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i sil(...TRUNCATED) | ["\n","import sys\n","import sys\nfrom heapq import ,\n","import sys\nfrom heapq import , \nX, Y, Z (...TRUNCATED) | 38 | [{"input":"1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3","output":"18"},{"input":"6 2 4\n33189 87907 277349742\(...TRUNCATED) | [{"input":"1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3","output":"18\n"},{"input":"6 2 4\n33189 87907 27734974(...TRUNCATED) |
0/::0 | "There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i sil(...TRUNCATED) | ["\n","#金側\n\n\n#銀側\n\n\n#print (ABC)\n#print (ansX,ansY)\n","\"\"\"\n\nhttps://atcoder.jp/c(...TRUNCATED) | 58 | [{"input":"1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3","output":"18"},{"input":"6 2 4\n33189 87907 277349742\(...TRUNCATED) | [{"input":"1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3","output":"18\n"},{"input":"6 2 4\n33189 87907 27734974(...TRUNCATED) |
0/::0 | "There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i sil(...TRUNCATED) | ["\n","import heapq\n","import heapq\nx, y, z = [int(item) for item in input().split()]\n","import h(...TRUNCATED) | 43 | [{"input":"1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3","output":"18"},{"input":"6 2 4\n33189 87907 277349742\(...TRUNCATED) | [{"input":"1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3","output":"18\n"},{"input":"6 2 4\n33189 87907 27734974(...TRUNCATED) |
0/::0 | "There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i sil(...TRUNCATED) | ["\n","import math,,,,heapq,,re,array,,sys,,time,copy,\n","import math,,,,heapq,,re,array,,sys,,time(...TRUNCATED) | 79 | [{"input":"1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3","output":"18"},{"input":"6 2 4\n33189 87907 277349742\(...TRUNCATED) | [{"input":"1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3","output":"18\n"},{"input":"6 2 4\n33189 87907 27734974(...TRUNCATED) |
0/::0 | "There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has A_i gold coins, B_i sil(...TRUNCATED) | ["\n","import heapq\n","import heapq\n\n\ndef main():\n","import heapq\n\n\ndef main():\n \n\nif (...TRUNCATED) | 39 | [{"input":"1 2 1\n2 4 4\n3 2 1\n7 6 7\n5 2 3","output":"18"},{"input":"6 2 4\n33189 87907 277349742\(...TRUNCATED) | [{"input":"1 2 1\n2 4 4\n0 2 1\n7 6 7\n5 2 3","output":"18\n"},{"input":"6 2 4\n33189 87907 27734974(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6