problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p03105
u061563736
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\n\nif A/B >= C:\n print(C)\nelse:\n print(A/B)\n', 'A = int(input())\nB = int(input())\nC = int(input())\n\nif A/B >= C:\n print(C)\nelse:\n print(A/B)\n', 'A, B, C = map(int, input().split())\n\nif B/A >= C:\n print(C)\nelse:\n print(B//A)\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s120223007', 's124297330', 's382840575']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[80, 95, 81]
p03105
u061912210
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(max(c,b//a))', 'a,b,c=map(int,input().split())\nprint(min(c,b//a))\n']
['Wrong Answer', 'Accepted']
['s871125436', 's689386130']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 50]
p03105
u063346608
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C= map(int,input().split())\nprint(A,B,C)\nx = B // A\n\nif x <= C :\n\tprint( x )\nelse:\n\tprint( C )', 'A,B,C= map(int,input().split())\n#print(A,B,C)\nx = B // A\n\nif x <= C :\n\tprint( x )\nelse:\n\tprint( C )']
['Wrong Answer', 'Accepted']
['s142200744', 's905918186']
[2940.0, 2940.0]
[17.0, 18.0]
[98, 99]
p03105
u066455063
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, k = map(int, input().split())\nnumber_list = [i for i in range(1, 101) if a % i == 0 and b % i == 0][::-1]\nprint(number_list[k-1])\n', 'a, b, k = map(int, input().split())\nnum_list = [i for i in range(1, 101) if a % i == 0 and b % i == 0]\nnum_list.reverse()\nprint(number_list[k-1])', 'a, b, c = map(int, inpu...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s494450389', 's581956235', 's762340540', 's798153985', 's797876019']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0]
[136, 145, 87, 130, 89]
p03105
u068142202
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().split())\nprint(b // a)\n', 'a, b, c = map(int, input().split())\nif b // a > c:\n print(c)\nelse:\n print(b // a)\n']
['Wrong Answer', 'Accepted']
['s948500165', 's477173007']
[9008.0, 9156.0]
[23.0, 26.0]
[50, 88]
p03105
u072606168
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int, input().spit())\nif b//a < c:\n print(b//a)\nelse:\n print(c)', 'a,b,c = map(int, input().split())\nif b//a < c:\n print(b//a)\nelse:\n print(c)']
['Runtime Error', 'Accepted']
['s354167079', 's211031418']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 77]
p03105
u072717685
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int,input().split())\nif B*C <= A:\n r = C\nelse:\n r = A // B\n\nprint(r)', 'A,B,C = map(int,input().split())\nif A*C <= B:\n r = C\nelse:\n r = B // A\n \nprint(r)']
['Wrong Answer', 'Accepted']
['s817082451', 's755154584']
[2940.0, 2940.0]
[18.0, 17.0]
[82, 83]
p03105
u076363290
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int,input().split())\nC = B//A\nprint(C)', 'A, B, C = map(int,input().split())\nprint(A//B)', 'A, B, C = map(int,input().split())\nX =A//B\nif X >= C:\n print(C)\nelse:\n print(X)', 'A, B, C = map(int,input().split())\n\nif B//A >= C:\n print(C)\nelse:\n print(B//A)']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s484692628', 's492866110', 's762385328', 's604320954']
[8756.0, 9060.0, 9028.0, 9084.0]
[28.0, 26.0, 31.0, 28.0]
[52, 46, 85, 84]
p03105
u076996519
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["a,b,n = map(int, input().split())\n\nfor i in range(1, 100):\n\tif a == b:\n\t\tprint('1')\n\telif abs(a-b) % i == 0:\n\t\t# print(i)\n\t\tif a % (abs(a-b)/i) == 0:\n\t\t\tn -= 1\n\t\t\tif n == 0:\n\t\t\t\tprint(int(abs(a-b)/i))", 'a,b,c = int(input().split())\nans = 0\nfor i in range(c):\n b = b - a\n if b < ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s123467836', 's349926645', 's450649539']
[3060.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[201, 120, 60]
p03105
u077019541
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int,input().split())\nprint(int(min(C,A/B)))', 'A,B,C = map(int,input().split())\nprint(int(min(C,B/A)))\n']
['Wrong Answer', 'Accepted']
['s762202402', 's654244658']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 56]
p03105
u078349616
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\nprint(C if A * C >= B else B // A)', 'A, B, C = map(int, input().split())\nprint(C if A * C <= B else B // A)']
['Wrong Answer', 'Accepted']
['s534771410', 's181631278']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 70]
p03105
u080428180
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["S = str(input())\ncube = list(S)\ncount0 = 0\ncount1 = 0\n\nfor string in cube:\n if string == '0':\n count0 = count0 + 1\n else:\n count1 = count1 + 1\n\nprint(min(count0,count1) * 2)\n", 'ABC = list(map(int,input().split()))\ncount = 0\nmoney = ABC[1]\n\nfor n in range(ABC[2]):\n if money >= ...
['Wrong Answer', 'Accepted']
['s690856614', 's315604609']
[2940.0, 2940.0]
[17.0, 17.0]
[194, 181]
p03105
u083251423
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["s = str(input())\nss = s\nfor i in range(int(100000/2+1)):\n\tss = ss.replace('01', '')\n\tss = ss.replace('10', '')\n\nprint(len(s)-len(ss))", 'a, b, c = map(int, input().split())\nans = int(b/a)\n\nif ans>c:\n print(c)\nelse:\n print(ans)']
['Wrong Answer', 'Accepted']
['s854703243', 's409566877']
[2940.0, 2940.0]
[38.0, 17.0]
[133, 91]
p03105
u086415950
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['ABC = input().split()\nA = int(ABC[0])\nB = int(ABC[1])\nC = int(ABC[2])\nif A / B > C:\n print(C)\nelse:\n print(A / B)', 'ABC = input().split()\nA = ABC[0]\nB = ABC[1]\nC = ABC[2]\nif A / B > C:\n print(C)\nelse:\n print(A / B)', 'ABC = input().split()\nA = int(ABC[0])\nB = int(ABC[1])\nC = int(ABC[2])\nif B / ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s723310162', 's858789686', 's250053714']
[2940.0, 2940.0, 3060.0]
[17.0, 18.0, 17.0]
[115, 100, 120]
p03105
u088020258
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C=map(int,input().split())\nresult = 0\nwhile C>=0:\n B-A\n C-=1\n result +=1\n if B<=A:\n break\nprint(result)', 'A,B,C=map(int,input().split())\nresult = 0\nleft_money=B\nwhile left_money>=A and C>0:\n left_money-=A\n C-=1\n result +=1\nelse:\n print(result)']
['Wrong Answer', 'Accepted']
['s278425606', 's089073886']
[2940.0, 2940.0]
[17.0, 17.0]
[114, 141]
p03105
u088751997
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(max(b//a,c))', 'a,b,c=map(int,input().split())\nprint(max(b//a,c)', 'a,b,c=map(int,input().split())\nprint(max((b // a),c))\n', 'a,b,c=map(int,input().split())\nprint(max((b//a),c))\n', 'a,b,c=map(int,input().split())\nprint(min(b//a,c))']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s050373732', 's267775058', 's479659939', 's715849669', 's543429908']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[49, 48, 54, 52, 49]
p03105
u089142196
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,K= (int(i) for i in input().split())\n\ndef gcd(a,b):\n if b>a:\n a,b=b,a\n\n if a%b==0:\n return b\n else:\n return(gcd(b,a%b))\n\nfirst=gcd(A,B)\nif first==1:\n print(1)\nelse:\n k=1\n if K==1:\n print(first)\n else:\n for i in reversed(range(1,first)):\n if A%i==0:\n if B%i==0...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s062188008', 's143592417', 's977874858']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[372, 1014, 106]
p03105
u093562214
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = input().split()\nprint(str(int(b) // int(a)))\n ', 'a, b, c = input().split()\na = int(a)\nb = int(b)\nc = int(c)\nresult = b // a\nif c < result:\n result = c\nprint(str(result))\n']
['Wrong Answer', 'Accepted']
['s916666522', 's012481381']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 124]
p03105
u095094246
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(max(c,b//a))', 'a,b,c=map(int,input().split())\nprint(min(c,b//a))\n']
['Wrong Answer', 'Accepted']
['s715707808', 's090287487']
[9152.0, 9148.0]
[28.0, 27.0]
[49, 50]
p03105
u095426154
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['nums=str(input())\narr=list(map(int,nums))\nl=len(arr)\na=0\ni=0\nwhile i<len(arr)-1:\n if arr[i]!=arr[i+1]:\n del arr[i:i+2]\n #print(arr)\n a+=2\n i=0\n i+=1\nprint(a)', 'n,m=map(int,input().split())\nbridge=[[] for i in range(m)]\niland=[[i+1] for i in range(n)]\nfor i in range(m)...
['Runtime Error', 'Runtime Error', 'Accepted']
['s219343285', 's825181790', 's861571012']
[3060.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[191, 719, 113]
p03105
u095756391
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().split())\n\nans = 0\n\nif ( b / a < 1 ):\n ans = 0\nelif (b / a < c):\n ans = c\nelse:\n ans = b / a', 'a, b, k = map(int, input().split())\n\nans = 0\n\nlista = list(range(a+1))\naa = lista.pop(0)\n\nlistb = list(range(b+1))\nbb = listb.pop(0)\n\nif (a < b):\n li = [i for i in ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s229420593', 's610460916', 's983411560']
[2940.0, 3064.0, 3060.0]
[17.0, 18.0, 17.0]
[127, 381, 138]
p03105
u102242691
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['\na,b,c = map(int,input().split())\n\nif (b//a) <= c:\n print(c)\nelse:\n print(b//a)\n', '\na,b,c = map(int,input().split())\n\nif (b//a) <= c:\n print(int(b//a))\nelse:\n print(c)\n']
['Wrong Answer', 'Accepted']
['s404666613', 's959750124']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 91]
p03105
u103608870
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\nif b//a>=c:\n print(b//a)\nelse:\n print(b//a)', 'a,b,c = map(int,input().split())\nif b//a>=c:\n print(c)\nelse:\n print(b//a)']
['Wrong Answer', 'Accepted']
['s873662380', 's346567136']
[2940.0, 2940.0]
[19.0, 18.0]
[78, 75]
p03105
u105444912
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['N, M = [int(e) for e in input().split(" ")]\nd_node2setindex = {}\nABs = []\nfor _ in range(M):\n ABs.append([int(e) for e in input().split(" ")])\nmaxValue = N * (N-1) // 2\nans = [maxValue]\nbuf_sets = []\nflagSkip = False\nfor i in range(M-1):\n a, b = ABs[M-1-i]\n # print("a,b", a, b)\n if flagSkip is...
['Runtime Error', 'Accepted']
['s541323311', 's433829550']
[3064.0, 2940.0]
[18.0, 17.0]
[1845, 149]
p03105
u106181248
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['x, y, z = map(int,input().split())\nprint(max(int(y//x), z))', 'x, y, z = map(int,input().split())\nprint(min(int(y/x), z))']
['Wrong Answer', 'Accepted']
['s271509817', 's827470431']
[2940.0, 2940.0]
[18.0, 17.0]
[59, 58]
p03105
u106342872
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\nif b*c <= a:\n print(c)\nelse:\n print(b//a)\n', 'a,b,c = map(int,input().split())\nif a*c <= b:\n print(c)\nelse:\n print(b//a)\n']
['Wrong Answer', 'Accepted']
['s937763693', 's827496203']
[2940.0, 2940.0]
[19.0, 17.0]
[81, 81]
p03105
u108377418
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['def main():\n a, b, c = map(int, input().split())\n\n b // a >= c ? print(c) : print(b // a)\n\nif __name__ == "__main__":\n main()\n', 'def main():\n a, b, c = map(int, input().split())\n\n if b // a >= c:\n print(c)\n else:\n print(b // a)\n \nif __name__ == "__main__":\n main(...
['Runtime Error', 'Accepted']
['s241194275', 's314157492']
[2940.0, 2940.0]
[17.0, 17.0]
[135, 165]
p03105
u112902287
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['def main():\n a, b, c = list(map(int, input().split()))\n return min(c, b//a)\n\nmain()\n', 'def main():\n a, b, c = list(map(int, input().split()))\n print(min(c, b//a))\n\n"""def main():\n a, b, k = list(map(int, input().split()))\n lst = []\n for i in range(1, 101):\n if a % i == 0 and ...
['Wrong Answer', 'Accepted']
['s785436680', 's756106398']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 302]
p03105
u128539234
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\n\ncost = 0\nans = 0\nisContinue = True\nwhile True:\n cost += a\n ans += 1\n if(cost>=b):\n break\nprint(max(ans-1,c))', 'a,b,c = map(int,input().split())\n\ncost = 0\nans = 0\nwhile True:\n if(b <= cost):\n break\n cost += a\n ans += 1\nprint(min(ans-1,c)\n ', 'a,b,c = ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s541124747', 's895327090', 's874565331']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[148, 134, 78]
p03105
u129019798
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C=(int() for x in input().split())\nprint(min(C,A//B))', 'A,B,C=(int(x) for x in input().split())\nprint(min(C,B//A))']
['Runtime Error', 'Accepted']
['s615255343', 's888625099']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 58]
p03105
u131264627
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, k = map(int, input().split())\nct = 0\nfor i in range(1, 101):\n if a % i == 0 and b % i == 0:\n ct += 1\n if ct == k:\n print(i)\n break\n', 'a, b, c = map(int, input().split())\ncnt = 0\nwhile cnt < c and a <= b:\n b -= a\n cnt += 1\nprint(cnt)\n']
['Wrong Answer', 'Accepted']
['s304681314', 's096822056']
[2940.0, 3064.0]
[18.0, 17.0]
[164, 105]
p03105
u131666536
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().split())\nprint(b//a)', 'a, b, c = map(int, input().split())\n\nif b >= a * c:\n print(c)\nelse:\n print(b//a)']
['Wrong Answer', 'Accepted']
['s761230179', 's423621834']
[2940.0, 2940.0]
[17.0, 17.0]
[47, 86]
p03105
u135389999
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int(),input().split())\n\nif b >= a * c:\n print(c)\nelse:\n print(int(b//a))', 'a, b, c = map(int, input().split())\n\nif b >= a * c:\n print(c)\nelse:\n print(int(b//a))']
['Runtime Error', 'Accepted']
['s899220115', 's843745641']
[2940.0, 2940.0]
[17.0, 18.0]
[86, 91]
p03105
u136915613
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['li = list(map(int,input().split()))\nprint(li)\na = li[0]\nb = li[1]\nc = li[2]\n\nif b/a >= c :\n print(c)\nelse:\n print(int(b/a))', 'li = list(map(int,input().split()))\n\na = li[0]\nb = li[1]\nc = li[2]\n\nif b/a >= c :\n print(c)\nelse:\n print(int(b/a))']
['Wrong Answer', 'Accepted']
['s380425597', 's007315337']
[2940.0, 3060.0]
[19.0, 18.0]
[129, 120]
p03105
u138781768
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['import math\na, b, c = map(int, input().split())\nD = b / a\nif a > b:\n print(0)\nelif D == c:\n print(c)\nelif D > c:\n print(math.floor(D))\nelif c > D:\n print(c)\nelse:\n pass', 'a, b, c = map(int, input().split())\nflag = True\ncount = 0\nwhile flag:\n if c <= count || b - a < 0:\n break\n b...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s417684518', 's426680171', 's124886950']
[3316.0, 2940.0, 2940.0]
[21.0, 17.0, 18.0]
[183, 144, 144]
p03105
u141410514
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nif a//b > c:\n print(c)\nelse:\n print(a//b)', 'a,b,c=map(int,input().split())\nif b//a > c:\n print(c)\nelse:\n print(b//a)\n']
['Wrong Answer', 'Accepted']
['s060136646', 's129808620']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 75]
p03105
u141786930
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['# D - Decayed Bridges\nfrom collections import deque\n\nN, M = map(int, input().split())\n\ngraph = [[] for _ in range(N)]\nAB = deque()\nfor i in range(M):\n a, b = map(int, input().split())\n a -= 1\n b -= 1\n AB.append([a, b])\n graph[a].append(b)\n graph[b].append(a)\n\ndef isDivided(a, b, graph...
['Runtime Error', 'Accepted']
['s157721237', 's241504280']
[3316.0, 2940.0]
[21.0, 17.0]
[834, 78]
p03105
u143596442
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\n\nif a*c < b:\n print(int(c))\nif a*c > b:\n print(int(b/a))\nelse:\n print(0)\n ', 'a,b,c = map(int,input().split())\n\nprint(min(int(b/a),c))\n ']
['Wrong Answer', 'Accepted']
['s514708020', 's488785354']
[9104.0, 9132.0]
[26.0, 27.0]
[111, 59]
p03105
u144980750
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['import math\nA,B,C=map(int,input().split())\ncan=math.floor(B/A)\nprint(can)\nif can>=C:\n print(C)\nelse:\n print(can)', 'a=[0,0]\ns=[]\na[0],a[1],k=map(int,input().split())\nfor i in range(1,min(a)+1):\n if a[0]%i==0 and a[1]%i==0:\n s.append(i)\nprint(s[len(s)-k])', 'import math\nA,B,C=map(int,input().split(...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s385475994', 's988345671', 's483811219']
[2940.0, 3060.0, 2940.0]
[18.0, 17.0, 18.0]
[114, 142, 103]
p03105
u145600939
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,inpout().split())\nprint(min(b//a,c))\n', 'a,b,c = map(int,input().split())\nprint(min(b//a,c))\n']
['Runtime Error', 'Accepted']
['s780885752', 's503351975']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 52]
p03105
u160244242
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['class UnionFind:\n def __init__(self, n):\n self.par = [i for i in range(n+1)]\n self.rank = [0] * (n+1)\n self.sizes = [1] * (n+1)\n self.root = [1] * (n+1)\n \n \n def find(self, x):\n if self.par[x] == x:\n return x\n else:\n self.par[x] = se...
['Runtime Error', 'Accepted']
['s456578899', 's520974374']
[3188.0, 2940.0]
[18.0, 17.0]
[1424, 85]
p03105
u166621202
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,K = map(int,input().split())\nhoge=[]\n\nfor i in range(1,101):\n if (A%i == 0 and B%i ==0):\n hoge.append(i)\n\nprint(hoge[K-1])\n', 'A,B,C = map(int,input().split())\n\nif B - A*C >= 0:\n print(C)\nelse:\n print(B//A)']
['Runtime Error', 'Accepted']
['s927472820', 's435655764']
[2940.0, 3064.0]
[18.0, 17.0]
[131, 81]
p03105
u170324846
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int,input().split())\nif C >= A // B:\n print(A // B)\nelse:\n print(C)', 'A, B, C = map(int,input().split())\nif C >= B // A:\n print(B // A)\nelse:\n print(C)']
['Wrong Answer', 'Accepted']
['s095204727', 's066057716']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 87]
p03105
u170765582
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input());print(min(b//a,c))', 'a,b,c=map(int,input().split());print(min(b//a,c))']
['Runtime Error', 'Accepted']
['s189525649', 's826899508']
[2940.0, 2940.0]
[18.0, 17.0]
[41, 49]
p03105
u174536291
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = list(map(int, input().split()))\nn = b % a\nif a * c >= b:\n print(c)\nelse:\n print(int((b - n) / a))', 'a, b, c = list(map(int, input().split()))\nn = b % a\nif a * c <= b:\n print(c)\nelse:\n print(int((b - n) / a))']
['Wrong Answer', 'Accepted']
['s350601334', 's262901485']
[9152.0, 9008.0]
[32.0, 30.0]
[109, 109]
p03105
u175590965
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\nprint(b//a)', 'a,b,c = map(int,input().split())\nd = b//a\nif d >= c:\n print(c)\nelse:\n print(d)']
['Wrong Answer', 'Accepted']
['s052014400', 's136694270']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 84]
p03105
u176165272
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C=[int(i) for i in input().split()]\nif A*C <B:\n print C\nelse:\n print B % A', 'A,B,C=[int(i) for i in input().split()]\nif A*C<= B:\n print (C)\nelse:\n print (int(B/A))']
['Runtime Error', 'Accepted']
['s090448573', 's365048463']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 92]
p03105
u180528413
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["info = input().split(' ')\nnum_one = int(info[0])\nnum_two = int(info[1])\nnum_class = int(info[2])\none_list = [i for i in range(1,num_one + 1) if num_one % i == 0]\ntwo_list = [i for i in range(1,num_two + 1) if num_one % i == 0]\none_set = set(one_list)\ntwo_set = set(two_list)\nmatch_set = one_set & two_set\nmatc...
['Runtime Error', 'Accepted']
['s277385581', 's765075225']
[3064.0, 2940.0]
[18.0, 20.0]
[382, 175]
p03105
u181195295
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int, input().split())\n\nif A*C >= B:\n print(C)\nelse:\n print(int(B//A))', 'A,B,C = map(int, input().split())\n\nif A*C <= B:\n print(C)\nelse:\n print(int(B//A))\n']
['Wrong Answer', 'Accepted']
['s135417408', 's631441251']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 84]
p03105
u183200783
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\n\na = int(B/A)\n\nif a >= C:\n print(C)\nelif:\n print(a)', 'A, B, C = map(int, input().split())\n\na = int(B/A)\n\nif a >= C:\n print(C)\nelse:\n print(a)\n']
['Runtime Error', 'Accepted']
['s034408974', 's697192979']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 90]
p03105
u185966380
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int(),input().split())\nprint(min(B//A,C))', 'A, B, C = map(int,input().split())\nprint(min(B//A,C))']
['Runtime Error', 'Accepted']
['s574363964', 's315205261']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 53]
p03105
u190406011
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = [int(i) for i in input().split()]\nprint(max(B // A, C)', 'A, B, C = [int(i) for i in input().split()]\nprint(max(B // A, C))', 'A, B, C = [int(i) for i in input().split()]\nprint(min(B // A, C)', 'A, B, C = [int(i) for i in input().split()]\nprint(min(B // A, C))']
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s253271502', 's945506711', 's946378681', 's347428967']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[64, 65, 64, 65]
p03105
u192588826
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = int(input().split())\nif b//a <= c:\n print(b//a)\nelse:\n print(c)', 'a,b,c = map(int,input().split())\nif b//a <= c:\n print(b//a)\nelse:\n print(c)']
['Runtime Error', 'Accepted']
['s010612965', 's084668546']
[2940.0, 2940.0]
[18.0, 17.0]
[77, 81]
p03105
u201082459
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\nprint(b // a)', 'a,b,c = map(int,input().split())\nif b // a >= c:\n print(c)\nelse:\n print(b // a)']
['Wrong Answer', 'Accepted']
['s750879434', 's354215618']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 85]
p03105
u202689517
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = (int(x) for x in input().split())\nfor i in range(100,1,-1):\n if a % i == 0 and b % i == 0:\n c -= 1\n if c == 0:\n print(i)\n', 'a,b,c=(int(x) for x in input().split())\nif a * c <= b:\n print(c)\nelif a > b:\n print(0)\nelse:\n print(int(b/a))\n']
['Wrong Answer', 'Accepted']
['s557939871', 's782340985']
[2940.0, 2940.0]
[18.0, 17.0]
[157, 119]
p03105
u208219327
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C=map(int,input().split())\nif A//B<C:\n print(A//B)\nelse :\n print(C) \n', 'A,B,C=map(int,input().split())\nif B//A<C:\n print(B//A)\nelse :\n print(C)\n']
['Wrong Answer', 'Accepted']
['s257520459', 's793190327']
[2940.0, 2940.0]
[20.0, 17.0]
[82, 78]
p03105
u208947104
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['n=input().split()\nA=int(n[0])\nB=int(n[1])\nC=int(n[2])\n\nif B>=A*C:\n print(A*C)\nelse:\n print(int(B/A))', 'n=input().split()\nA=int(n[0])\nB=int(n[1])\nC=int(n[2])\n\nif B>=A*C:\n print(A*C)\nelse:\n print(B//A)', 'n=input().split()\nA=int(n[0])\nB=int(n[1])\nC=int(n[2])\n\nif B>=A*C:\n print(C)\n...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s816195408', 's942654960', 's511917494']
[9104.0, 9056.0, 9164.0]
[30.0, 30.0, 30.0]
[106, 102, 106]
p03105
u210113718
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\n\nnum = B // A\nprint(num)\n', 'A, B, C = map(int, input().split())\n\nnum = B // A\n\nif num >= C:\n num == C\n\nprint(num)\n', 'A, B, C = map(int, input().split())\n\nnum = B // A\n\nif num >= C:\n print(C)\nelse:\n print(num)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s009153643', 's200340832', 's396677437']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[61, 89, 98]
p03105
u215545985
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['import sys\n\ni = input().split()\nA = int(i[0])\nB = int(i[1])\nC = int(i[2])\n\nO = int(B / A)\n\nprint(O)', 'import sys\n\ni = input().split()\nA = int(i[0])\nB = int(i[1])\nC = int(i[2])\n\nO = min(int(B / A), C)\n\nprint(O)']
['Wrong Answer', 'Accepted']
['s271132182', 's676580688']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 107]
p03105
u215743476
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c =map(int, input().split())\nprint(max(b//a, c))', 'a, b, c =map(int, input().split())\nprint(min(b//a, c))']
['Wrong Answer', 'Accepted']
['s447745494', 's353090017']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 54]
p03105
u217627525
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(max(c,b//a))', 'a,b,c=map(int,input().split())\nprint(min(c,b//a))']
['Wrong Answer', 'Accepted']
['s462159093', 's969510719']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 49]
p03105
u220345792
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, K = map(int, input().split())\nnum = max(A, B)\na = [1]\ncnt = 1\nfor i in range(1,num):\n if A % i == 0 and B % i == 0:\n cnt += 1\n a.append(i)\na.sort(reverse=True)\nprint(a[K])\n\n', 'A, B, C = map(int,input().split())\n\nprint(min(B//A, C))']
['Runtime Error', 'Accepted']
['s791688574', 's453261661']
[3060.0, 2940.0]
[17.0, 18.0]
[186, 55]
p03105
u220904910
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int, input().split())\nif B//A > C\n print(C)\nelse:\n print(B//A)', 'A,B,C = map(int, input().split())\nprint(B//A)', 'A,B,C = map(int, input().split())\nif B//A > C:\n print(C)\nelse:\n print(B//A)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s447474755', 's588387069', 's381173207']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[80, 45, 81]
p03105
u223646582
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\n\nprint(max(C, B//A))', 'A, B, C = map(int, input().split())\n\nprint(min(C, B//A))\n']
['Wrong Answer', 'Accepted']
['s964937387', 's606958205']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 57]
p03105
u225181923
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["a,b,c=map(int,input().split(' '))\nif c<b//a:\n print(b//a)\nelse:\n print(c)\n", "a,b,c=map(int,input().split(' '))\nif b//a<c:\n print(b//a)\nelse:\n print(c)\n"]
['Wrong Answer', 'Accepted']
['s522685368', 's509405899']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 80]
p03105
u229518917
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,K=map(int,input().split())\ncnt=0\nnum=1\nfor i in range((min(A,B)),0,-1):\n if cnt<K:\n if A%i==0 and B%i==0:\n cnt+=1\n num=i\n else:\n break\nprint(num)', 'A,B,K=map(int,input().split())\ncnt=0\nnum=1\nfor i in range((min(A,B)),0,-1):\n if A%i==0 and B%i==0:\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s417580784', 's816182320', 's931954990', 's179203905']
[2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[191, 178, 184, 69]
p03105
u230549821
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, C = map(int, input().split())\nprint(int(B/A)) if B/A <= C else(C)', 'A, B, C = map(int, input().split())\nif B/A <=C:\n print(int(B/A))\nelse:\n print(C)']
['Wrong Answer', 'Accepted']
['s034697169', 's534568068']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 86]
p03105
u232320761
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['return math.min(math.floor(A/B), C)', 'A,B,C = input().split()\nresult = min(int(int(B)/int(A)), int(C))\nprint(result)\n']
['Runtime Error', 'Accepted']
['s371237117', 's534482773']
[2940.0, 2940.0]
[17.0, 18.0]
[35, 79]
p03105
u232697111
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["A,B,C = input().split(' ')\nd = int(A/B)\nif d > C:\n print(C)\nelse:\n print(d)", "A,B,C = input().split(' ')\nd = int(int(B)/int(A))\nif d > int(C):\n print(int(C))\nelse:\n print(d)"]
['Runtime Error', 'Accepted']
['s227610339', 's012818837']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 101]
p03105
u235066013
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=[int(i)for i in input().split()]\nd=b//a\nprint(max(d,c))', 'a,b,c=[int(i)for i in input().split()]\nd=b//a\nprint(min(d,c))']
['Wrong Answer', 'Accepted']
['s537232514', 's571749192']
[2940.0, 2940.0]
[17.0, 17.0]
[61, 61]
p03105
u249727132
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().split())\nprint(min(a*c, b))', 'a, b, c = map(int, input().split())\nif b // a <= c:\n print(b // a)\nelse:\n print(c)']
['Wrong Answer', 'Accepted']
['s843558818', 's960257091']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 88]
p03105
u250102437
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['# read data for n sequences.\nn = stdin.readline().split()\na = int(n[0])\nb = int(n[1])\nc = int(n[2])\n#data = [int(stdin.readline().rstrip()) for _ in range(n)]\n\nout = int(b / a)\n\nif out > c:\n out = c\n\nprint(out)\n\nend = time.time()\nprint(end-start)', 'from sys import stdin\n\n\n#######################...
['Runtime Error', 'Accepted']
['s444579268', 's283709944']
[3060.0, 3060.0]
[17.0, 17.0]
[249, 322]
p03105
u250944591
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(max(b//a,c))', 'a,b,c=map(int,input().split())\nprint(min(b//a,c))']
['Wrong Answer', 'Accepted']
['s623557894', 's575633314']
[9004.0, 9152.0]
[27.0, 29.0]
[49, 49]
p03105
u252773293
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['[A,B,C]=list(map(int,input().sprit))\n\nprint(min(C,B//A))', '[A,B,C] = list(map(int,input().split()))\nprint(min(C,B//A))']
['Runtime Error', 'Accepted']
['s512320915', 's304255143']
[2940.0, 2940.0]
[18.0, 17.0]
[56, 59]
p03105
u252828980
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\ndef w(a,b):\n li=[]\n d = max(a,b)\n for i in range(1,d//2+1):\n if a%(i) == 0 and b%(i)==0:\n li.append(i)\n #print(li)\n print(li[-c])\nw(a,b)', 'a,b,c = map(int,input().split())\nprint(min(b//a,c))']
['Runtime Error', 'Accepted']
['s916398127', 's795956809']
[3060.0, 2940.0]
[17.0, 17.0]
[202, 51]
p03105
u255001744
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\nif(a/b >=c):\n print(c)\nelse:\n print(int(a/b))\n', 'a,b,c = map(int,input().split())\nif(b/a >=c):\n print(c)\nelse:\n print(int(b/a))\n']
['Wrong Answer', 'Accepted']
['s360009243', 's505548817']
[2940.0, 2940.0]
[18.0, 18.0]
[85, 85]
p03105
u255834721
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c = map(int,input().split())\ni = int(0)\nl = list()\nif a > b:\n maxim = a\nelse:\n maxim = b\nfor i in range(1,100):\n if ((a % i) == 0) and ((b % i) == 0):\n l.append(i)\n elif maxim < i:\n break\n\nn = int(len(l))\nif c == 1:\n n = n\nelse:\n n -= c\nprint(l[n])...
['Runtime Error', 'Accepted']
['s164999351', 's814536711']
[3064.0, 2940.0]
[17.0, 17.0]
[300, 116]
p03105
u259585438
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['inp = list(map(int,input().split(" ")))\ni = min(inp[0],inp[1])\nk_=0\nfor k in range(1,i+1):\n if inp[0]%k ==0:\n if inp[1]%k==0:\n \tk_+=1\n if k_ == inp[2]:\n print(int(i/k))\n break', 'inp = list(map(int,input().split(" ")))\nprint(min(int(inp[1]/inp[0]),inp[2]))']
['Wrong Answer', 'Accepted']
['s497751605', 's775164796']
[3060.0, 2940.0]
[17.0, 17.0]
[189, 77]
p03105
u262084284
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['# coding: utf-8\n\na, b, c = map(int, input().split())\n\nx = max(b // a, c)\nprint(x)', '# coding: utf-8\n\na, b, c = map(int, input().split())\n\nx = min(b // a, c)\nprint(x)\n']
['Wrong Answer', 'Accepted']
['s067536089', 's423042201']
[2940.0, 3064.0]
[17.0, 17.0]
[81, 82]
p03105
u262869085
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int,input().split())\nN = B//A\nprint(max(N,C))', 'a,b,c =map(int,input().split())\nb =b//a\nprint(max(b,c))', 'a,b,c = map(int,input().split())\nb =b//a\nprint(min(b,c))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s709873004', 's932762933', 's374910209']
[2940.0, 2940.0, 2940.0]
[18.0, 19.0, 18.0]
[57, 55, 56]
p03105
u266171694
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, k = map(int, input().split())\ndivisers = []\n\nfor i in range(1, max(a, b) + 1):\n if a % i == 0 and b % i == 0:\n divisers.append(i)\n\nprint(divisers[-k])\n', 'a, b, k = map(int, input().split())\ndivisers = []\n\nfor i in range(1, min(a, b) + 1):\n if a % i == 0 and b % i == 0:\n diviser...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s013819335', 's328082416', 's732795484', 's452184463']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[167, 167, 167, 58]
p03105
u268792407
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(min(b%a,c))\n', 'a,b,c=map(int,input().split())\nprint(min(a%b,c))', 'a,b,c=map(int,input().split())\nprint(min(b//a,c))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s674413251', 's880126224', 's299516238']
[2940.0, 2940.0, 2940.0]
[24.0, 18.0, 18.0]
[49, 48, 50]
p03105
u278183305
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().sprit())\nprint(min(c, b//a))', 'a,b,c = map(int, input().split())\nprint(min(c, b//a))']
['Runtime Error', 'Accepted']
['s240968402', 's196560681']
[2940.0, 2940.0]
[18.0, 17.0]
[55, 53]
p03105
u282875477
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a=list(map(int, input().split().split()))\n\nif a[1]//a[0]>=a[2]:\n print(a[2])\nelse:\n print(a[1]//a[0])\n', 'a=list(map(int, input().split()))\n \nif a[1]/a[0]>=a[2]:\n print(a[2])\nelse:\n print(a[1]//a[0])']
['Runtime Error', 'Accepted']
['s975939456', 's032935293']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 99]
p03105
u284262180
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = map(int, input().split())\n\nif a * c >= b:\n ans = b\nelse:\n ans = b // a\n\nprint(ans)\n', 'a, b, c = map(int, input().split())\n\nif a * c <= b:\n ans = c\nelse:\n ans = b // a\n\nprint(ans)\n']
['Wrong Answer', 'Accepted']
['s421127271', 's643182115']
[2940.0, 2940.0]
[18.0, 17.0]
[95, 95]
p03105
u285443936
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A, B, K = map(int, input().split())\n\ndef divlist(x):\n numbers = []\n divX = []\n try:\n for i in range(1,x+1):\n numbers.append(i)\n if x % i == 0:\n divX.append(i)\n divX = set(divX)\n return divX\n except ZeroDivisionError:\n print("ZeroDivisionError!!")\n\ndivA = divlist(A)\nd...
['Runtime Error', 'Accepted']
['s222221473', 's063999113']
[3064.0, 2940.0]
[18.0, 20.0]
[441, 111]
p03105
u290187182
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
["import sys\nimport copy\nimport math\nimport bisect\nimport pprint\nimport bisect\nfrom functools import reduce\nfrom copy import deepcopy\nfrom collections import deque\n\nif __name__ == '__main__':\n a, b,c = map(int, input().split())\n\n print( min (a//b ,c))\n\n", "import sys\nimport copy\nimport math\nimpo...
['Wrong Answer', 'Accepted']
['s261175558', 's875721417']
[3828.0, 3828.0]
[26.0, 26.0]
[257, 257]
p03105
u294385082
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,k = map(int,input().split())\nlst = []\nfor i in range(1,101):\n if a%i==0 and b%i==0:\n lst.append(i)\nprint(sorted(lst)[len(lst)-k])', 'a,b,c = map(int,input().split())\nif b//a >= c:\n print(c)\nelse:\n print(b//a)']
['Runtime Error', 'Accepted']
['s221837849', 's895488528']
[2940.0, 2940.0]
[17.0, 17.0]
[137, 77]
p03105
u297046168
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C=list(map(int,input().split()))\nprint(max(B//A,C))', 'A,B,C=list(map(int,input().split()))\nprint(min(B//A,C))']
['Wrong Answer', 'Accepted']
['s107730343', 's571863919']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 55]
p03105
u297756089
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nif b>>a*c:\n print(c)\nelse:\n x=0\n while b>>a*c:\n x=x+1\n print(x-1)', 'a,b,c=map(int,input().split())\nx=0\nfor i in range(1,c+1):\n if b>=a*i:\n x=x+1\n else:\n x=x\nprint(x)']
['Wrong Answer', 'Accepted']
['s940120724', 's748107085']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 105]
p03105
u300637346
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,c=map(int,input().split())\nprint(min(a//b,c))', 'a,b,c=map(int,input().split())\nprint(min((a//b),c))', 'a,b,c=map(int,input().split())\nprint(min((b//a),c))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s254158959', 's746990910', 's238714398']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[49, 51, 51]
p03105
u300968187
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, k = map(int, input().split())\ni = a + 1 if a <= b else b + 1\ncount = 0\nwhile count < k:\n i -= 1\n if a % i == 0 and b % i == 0:\n count += 1\nprint(i)', 'a,b,c = map(int,input().split())\nprint(c if a*c < b else b//a)']
['Runtime Error', 'Accepted']
['s016854062', 's728772156']
[2940.0, 2940.0]
[18.0, 18.0]
[166, 62]
p03105
u303059352
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a, b, c = list(map(int, input().split()))\nprint(min(b // a, c)', '#include <bits/stdc++.h>\nusing namespace std;\n#define incant() cin.tie(0), ios::sync_with_stdio(false)\n\n#define uint unsigned long long\n\nusing str = string;\ntemplate <class T> using vec = vector<T>;\ntemplate <class T> using vvec = vec<vec<T>>;...
['Runtime Error', 'Runtime Error', 'Accepted']
['s717538921', 's927322014', 's578481707']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[62, 2890, 55]
p03105
u305965165
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['\nclass UnionFind():\n def __init__(self, N):\n self.par = [i for i in range(N)]\n self.size = [1] * N\n self.N = N\n\n \n def root(self, x):\n if self.par[x] == x:\n return x\n else: \n self.par[x] = self.root(self.par[x])\n return self.roo...
['Runtime Error', 'Accepted']
['s386693068', 's165585973']
[3188.0, 2940.0]
[20.0, 17.0]
[1381, 102]
p03105
u310678820
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['a,b,k=map(int, input().split())\ncnt=0\nfor i in range(min(a,b)+1,0,-1):\n if a%i==0 and b%i==0:\n cnt+=1\n if cnt==k:\n print(i)', 'a,b,c = map(int, input().split())\nif b//a>=c:\n print(c)\nelse:\n print(b//a)']
['Wrong Answer', 'Accepted']
['s194384337', 's524592325']
[2940.0, 2940.0]
[17.0, 17.0]
[151, 80]
p03105
u311379832
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['MOD = 10 ** 5\nn, m = map(int, input().split())\nkyori = [int(input()) for _ in range(n - 1)]\na = [int(input()) for _ in range(m)]\nrui = [0] * n\nfor i in range(n - 1):\n rui[i + 1] = rui[i] + kyori[i]\n\nans = 0\ntmp = 0\nfor i in range(m):\n ans += abs(rui[tmp] - rui[tmp + a[i]])\n tmp += a[i]\n\nprint(a...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s053951839', 's744795397', 's753194733', 's782319577', 's804955440']
[3064.0, 3064.0, 3064.0, 3064.0, 3060.0]
[18.0, 18.0, 17.0, 18.0, 17.0]
[313, 319, 319, 319, 313]
p03105
u313403396
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['A,B,C = map(int,input())\nprint(max(B//A,C))\n', 'A,B,C = map(int,input())\nprint(B//A,C)', 'A,B,C = map(int,input().split())\nprint(max(B//A,C))\n', 'A,B,C = map(int,input().split())\nprint(min(B//A,C))\n']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s293950613', 's294527475', 's874548880', 's558242090']
[9088.0, 8912.0, 9080.0, 9132.0]
[23.0, 22.0, 28.0, 27.0]
[44, 38, 52, 52]
p03105
u315485238
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['N, M = list(map(int, input().split()))\nAB = [list(map(int, input().split())) for _ in range(M)]\n\nroots = [(i,1) for i in range(N+1)] # root, num_islands_in_group\n\ninconveniences = [0]*(M+1)\ninconveniences[-1] = N*(N-1)//2 \n\ndef find_root(a, roots=roots):\n if roots[a][0] == a:\n return roots[a]\n else:\n...
['Runtime Error', 'Accepted']
['s347519790', 's662411521']
[3064.0, 2940.0]
[18.0, 18.0]
[996, 59]
p03105
u319589470
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['#!/usr/bin/env python3\n', '#!/usr/bin/env python3\na,b,c = map(int,input().split())\nprint(min(b//a,c))\n']
['Wrong Answer', 'Accepted']
['s633374495', 's588136164']
[2940.0, 2940.0]
[17.0, 17.0]
[23, 75]
p03105
u323776712
2,000
1,048,576
Takahashi likes the sound when he buys a drink from a vending machine. That sound can be heard by spending A yen (the currency of Japan) each time. Takahashi has B yen. He will hear the sound as many times as he can with that money, but at most C times, as he would be satisfied at that time. How many times will he h...
['def main():\n A=int(input())\n B=int(input())\n C=int(input())\n if (A/B) < C:\n print(int(B/A))\n else:\n print(C)\n\nmain()', 'def main():\n A,B,C = map(int, input().split())\n if (B/A) < C:\n print((int)(B/A))\n else:\n print(C)\n\nmain()']
['Runtime Error', 'Accepted']
['s601191540', 's773075612']
[2940.0, 2940.0]
[18.0, 17.0]
[145, 128]