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
p03213
u260216890
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['x=[]\n\nfor j in range(100):\n m=j+1\n pf={}\n for i in range(2,int(m**0.5)+1):\n while m%i==0:\n pf[i]=pf.get(i,0)+1\n m//=i\n if m>1:pf[m]=1\n x.append(pf)\n\nN=int(input())\nif N==1:\n print(0)\n exit()\n\nfrom collections import defaultdict\nd=defaultdict(int)\nfo...
['Wrong Answer', 'Accepted']
['s724268435', 's879117568']
[3444.0, 3316.0]
[22.0, 21.0]
[744, 745]
p03213
u278868910
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import copy\ndef getPrimes(n):\n res = {}\n for i in range(2, n+1):\n if n % i == 0:\n res[i] = 0\n while n % i == 0:\n res[i] = res[i] + 1\n n = n // i\n if i * i > n:\n break;\n \n if n != 1:\n res[n] = 1\n return...
['Wrong Answer', 'Accepted']
['s762172956', 's198039271']
[3444.0, 3444.0]
[28.0, 28.0]
[1289, 1278]
p03213
u335278042
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['\n\ndef cmb(n,r):\n \tif n ==1:\n return 0\n else:\n r=min(r,n-r)\n result=1\n for i in range(n-r+1,n+1):\n result*=i\n for i in range(1,r+1):\n result//=i\n return result\n\n\ndef factorize(n):\n i=2\n result={}\n while True:\n if i**2>n:\n ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s040333967', 's254263629', 's970442549']
[2940.0, 3064.0, 3064.0]
[19.0, 18.0, 18.0]
[1028, 1030, 1011]
p03213
u346812984
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import sys\n\n\nsys.setrecursionlimit(10 ** 6)\nINF = float("inf")\nMOD = 10 ** 9 + 7\n\n\ndef input():\n return sys.stdin.readline().strip()\n\n\ndef factorization(N):\n d = {}\n for n in range(2, N + 1):\n tmp = n\n for i in range(2, int(n ** 0.5) + 1):\n if tmp % i == 0:\n ...
['Wrong Answer', 'Accepted']
['s105659441', 's413523478']
[3064.0, 3188.0]
[17.0, 18.0]
[1438, 1261]
p03213
u360116509
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
["def check(m, e):\n return len(list(filter(lambda x: x >= m - 1, e)))\n\n\ndef check_1(m, e):\n return list(filter(lambda x: x >= m - 1, e))\n\n\ndef main():\n N = int(input())\n e = [0] * (N + 1)\n\n for i in range(2, N + 1):\n ii = i\n for j in range(2, i + 1):\n while ii % j ...
['Wrong Answer', 'Accepted']
['s225999190', 's646510002']
[3064.0, 3064.0]
[18.0, 18.0]
[625, 514]
p03213
u362560965
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import math\nimport itertools\nfrom collections import defaultdict\n\ndef primes(n):\n is_prime = [True] * (n + 1)\n is_prime[0] = False\n is_prime[1] = False\n for i in range(2, int(n**0.5) + 1):\n if not is_prime[i]:\n continue\n for j in range(i * 2, n + 1, i):\n is_...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s098356351', 's320357426', 's291985849']
[3440.0, 3568.0, 4468.0]
[21.0, 25.0, 62.0]
[975, 960, 1208]
p03213
u405660020
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n=int(input())\n\ndef prime_fact(x):\n fact=[]\n for i in range(2, int(x**(0.5))+1):\n while x%i==0:\n fact.append(i)\n x//=i\n if x!=1:\n fact.append(x)\n if not fact:\n fact=[x]\n return fact\n\nprint(prime_fact(n))\n\ndef eratosthenes(n):\n is_prime = [T...
['Wrong Answer', 'Accepted']
['s999254134', 's274349797']
[3064.0, 3064.0]
[18.0, 18.0]
[1062, 995]
p03213
u480300350
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['#!/usr/bin/env python3\n\nimport sys\nimport math\n# from string import ascii_lowercase, ascii_upper_case, ascii_letters, digits, hexdigits\n# import re # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)\n# from operator import ite...
['Wrong Answer', 'Accepted']
['s764436650', 's660890866']
[3444.0, 3444.0]
[24.0, 23.0]
[8054, 7937]
p03213
u497952650
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['\nimport numpy as np\n\ndef prime_factorize(N): \n exponent = 0\n while N%2 == 0:\n exponent += 1\n N //= 2\n if exponent: factorization = [[2,exponent]]\n else: factorization = []\n i=1\n while i*i <=N:\n i += 2\n if N%i: continue\n exponent = 0\n while N%i...
['Wrong Answer', 'Accepted']
['s658908023', 's610468453']
[12436.0, 12408.0]
[151.0, 149.0]
[1086, 1061]
p03213
u511379665
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n=int(input())\ne=[0]*(n+1)\nfor i in range(2,n+1):\n cur=i\n for j in range(2,i+1):\n while cuur%j==0:\n e[j]+=1\n cur//=j\ndef num(m):\n return len(list(filter(lambda x: x>=m-1,e)))\n\nprint(num(75)+num(25)*(num(3)-1)+num(15)*(num(5)-1)+num(5)*(num(5)-1)*(num(3)-2)//2)\n', 'n=...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s281167995', 's765700444', 's991854540']
[3064.0, 3060.0, 3060.0]
[17.0, 18.0, 18.0]
[300, 267, 299]
p03213
u530606147
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n = int(input())\n\nimport math\n\n\ndef isPrime(x):\n if x == 2:\n return True\n if x % 2 == 0:\n return False\n for i in range(3, int(math.sqrt(x)) + 1, 2):\n if x % i == 0:\n return False\n return True\n\n\n\n# if isPrime(i):\n\n\n\nprimes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37,\n ...
['Wrong Answer', 'Accepted']
['s329095427', 's302078079']
[3064.0, 3064.0]
[20.0, 19.0]
[998, 1018]
p03213
u543954314
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import defaultdict as ddict\nd = ddict(int)\nfor i in range(1,n):\n for p in range(2,int(i**.5)+2):\n while i%p == 0:\n d[p] += 1\n i//=p\nf = [2,4,14,24,74]\ng = [0]*5\nfor x in d.values():\n for i in range(5):\n if x >= f[i]:\n g[i] += 1\n#3 5 5\n#3 25\n#15 5\n#75\nans = f[1]...
['Runtime Error', 'Accepted']
['s245083712', 's617643995']
[3316.0, 3316.0]
[21.0, 21.0]
[369, 392]
p03213
u580258754
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['000', 'N = int(input())\n\npn=[2];A=100\nfor L in range(3,A):\n chk=True\n for L2 in pn:\n if L%L2 == 0:chk=False\n if chk==True:pn.append(L)\n\nmul = [0 for i in range(101)]\nfor i in range(1,N+1):\n for j in pn:\n if j > i:\n break\n temp = i\n while True:\n if temp%j == 0:\n temp /...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s202017283', 's850599872', 's231291458']
[2940.0, 3188.0, 3188.0]
[17.0, 21.0, 20.0]
[3, 1280, 1263]
p03213
u589432040
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N = int(input())\nimport itertools\n\nl = []\nfor i in range(2,N+1):\n l.append(divisor_pl(i))\nl = sum(l,[])\nl.sort()\n\nfac_dict = {}\nfac_list = []\nfor key, value in itertools.groupby(l):\n fac_dict[str(key)] = len(list(value))\n fac_list.append(key)\n\ncount = 0\n\nexp_list = []\nfor l in itertools.com...
['Runtime Error', 'Accepted']
['s185743901', 's677998164']
[3188.0, 3064.0]
[18.0, 24.0]
[1262, 1201]
p03213
u593005350
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N=int(input())\n\ndef IsPrime(A):\n prime=[2]\n for a in range(3,A+1):\n for p in prime:\n if a%p==0:\n break\n else:\n prime.append(a)\n return prime\n\n\nprime=IsPrime(N)\n\npcount={}\nfor p in prime:\n pcount[p]=0\nfor nn in range(2,N+1):\n for p in...
['Wrong Answer', 'Accepted']
['s223978297', 's426775841']
[3064.0, 3064.0]
[18.0, 18.0]
[768, 769]
p03213
u599170882
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N = int(input())\n\nelem = [0 for _ in range(N+1)]\n\nfor i in range(1, N+1):\n cur = i\n for j in range(1, i+1):\n while cur % j == 0:\n elem[j] += 1\n cur //= j\n\ndef num(m):\n return len(list(filter(lambda x: x >= m-1, elem)))\n\nprint(num(75) + num(25)*(num(3)-1) + num(15)*...
['Time Limit Exceeded', 'Accepted']
['s103713269', 's424730445']
[3064.0, 3064.0]
[2104.0, 19.0]
[352, 352]
p03213
u600402037
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N = int(input())\ne = [0] * (N+1)\n\nfor i in range(2, N+1):\n cur = i\n for j in range(2, i+1):\n while cur % j == 0:\n e[j] += 1\n cur //= j\n\ndef num(m): \n return len(list(filter(lambda x: x >= m-1, e)))\n\nanswer = num(75) + num(25) * (num(3)-1) + num(15) * (num(5) - 1)\n ...
['Runtime Error', 'Accepted']
['s744186832', 's076424225']
[3064.0, 3064.0]
[17.0, 18.0]
[400, 540]
p03213
u607865971
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import sys\nimport collections\nfrom collections import Counter\n# from collections import deque\n# from collections import defaultdict\nimport itertools\n# from itertools import accumulate\n# from itertools import permutations\n# from itertools import combinations\n# from itertools import takewhile\n# from itertools...
['Wrong Answer', 'Accepted']
['s279226134', 's291102986']
[3828.0, 3316.0]
[68.0, 21.0]
[1239, 1236]
p03213
u620866522
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n = int(input())\na = []\n\ndef judge(x):\n y = x\n for i in range(2,x):\n kk = y % i\n if i*i > x:\n return 1\n if kk == 0:\n return 0\n return 1\n\ndef solve(prime,x):\n cnt = 0\n while x:\n cnt += x//prime\n x //= prime\n return cnt\n\nfor ...
['Wrong Answer', 'Accepted']
['s048214117', 's711228978']
[3064.0, 3188.0]
[18.0, 20.0]
[771, 342]
p03213
u633105820
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
["def run(N):\n \n \n primes = {1: 1}\n for i in range(2, N+1):\n tmp = i\n for j in range(2, N+1):\n while tmp%j == 0:\n if j in primes.keys():\n primes[j] += 1\n else:\n primes[j] = 1\n tmp /= j\n print(primes)\n cnt = 0\n\n # (74,0,0)\n for i in primes.values...
['Wrong Answer', 'Accepted']
['s324083595', 's845779434']
[3188.0, 3064.0]
[20.0, 19.0]
[1202, 1186]
p03213
u645250356
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
["from collections import Counter,defaultdict,deque\nfrom heapq import heappop,heappush\nfrom bisect import bisect_left,bisect_right \nimport sys,math,itertools,fractions,pprint\nsys.setrecursionlimit(10**8)\nmod = 10**9+7\nINF = float('inf')\ndef inp(): return int(sys.stdin.readline())\ndef inpl(): return list(map(int...
['Wrong Answer', 'Accepted']
['s574026919', 's758716030']
[10492.0, 10500.0]
[41.0, 39.0]
[1300, 1301]
p03213
u681917640
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
["def find_prime_factor(num):\n if num & 1 == 0:\n return 2\n for i in range(3, int(num ** (1 / 2)) + 1):\n if num % i == 0:\n return i\n return num\n\n\ndef prime_factorization(num):\n subtract = num\n result = []\n while subtract > 1:\n factor = find_prime_factor(subt...
['Wrong Answer', 'Accepted']
['s294271234', 's037434100']
[3188.0, 3188.0]
[18.0, 18.0]
[1226, 1056]
p03213
u686036872
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N = int(input())\n\nn = [0]*(N+1)\nfor i in range(2, N+1):\n for j in range(2, i+1):\n while i%j == 0:\n i//=j\n n[j] += 1\n\ndef num(m):\nreturn len(list(filter(lambda x: x>=m-1, n)))\n\nprint(num(75)+num(25)*(num(3)-1)+num(15)*(num(5)-1)14+num(5)*(num(5)-1)*(num(3)-2)//2)', 'N = int(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s036851008', 's324715580', 's353066511', 's858426978', 's678085231']
[2940.0, 3060.0, 2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 18.0]
[294, 298, 294, 304, 296]
p03213
u690536347
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import defaultdict as dd\nfrom itertools import permutations as p\n\ndef factorize(n):\n d = dd(int)\n for i in range(2, int(n**0.5)+1):\n while n%i==0:\n d[i] += 1\n n //= i\n if not n:\n break\n if n>1:\n d[n] += 1\n return d\n\nN = ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s531546088', 's767446284', 's098030072']
[3316.0, 3316.0, 3316.0]
[21.0, 22.0, 22.0]
[705, 397, 622]
p03213
u692746605
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n = int(input())\nf=list()\n\nfor i in range(1,n+1):\n b=2\n while b*b <= i:\n while i%b==0:\n i //= b\n f.append(b)\n b += 1\n if i > 1:\n f.append(i)\n\no2=o4=0\n\nfor i in range(2,n+1):\n d=f.count(i)\n if d>=2:\n o2 += 1\n if d>=4:\n o4 += 1\n if d:\n print(i,d)\n\nprint(o4*(o4-...
['Wrong Answer', 'Accepted']
['s876071433', 's378940809']
[3064.0, 3064.0]
[18.0, 18.0]
[307, 400]
p03213
u724732842
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['def era(n):\n table = [0] * (n + 1)\n prime_list = []\n \n for i in range(2, n + 1):\n if table[i] == 0:\n prime_list.append(i)\n for j in range(2*i, n + 1, i):\n table[j] = 1\n \n return prime_list\n\ndef f(n):\n cnt = 0\n for i in data:\n if...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s562684183', 's910607914', 's932701682']
[3064.0, 3316.0, 3064.0]
[17.0, 19.0, 17.0]
[601, 1172, 582]
p03213
u735069283
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import collections\n\ndef prime_factorize(n):\n a = []\n while n % 2 == 0:\n a.append(2)\n n //= 2\n f = 3\n while f * f <= n:\n if n % f == 0:\n a.append(f)\n n //= f\n else:\n f += 2\n if n != 1:\n a.append(n)\n return a\n\nN = in...
['Wrong Answer', 'Accepted']
['s639180375', 's180460056']
[3316.0, 3316.0]
[21.0, 21.0]
[742, 746]
p03213
u736729525
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['\nfrom math import sqrt, ceil\n\nprimes = [2]\nfor n in range(3, 101):\n if any(n % i == 0 for i in range(2, n)):\n continue\n primes.append(n)\n\ndef fact(n):\n p = 1\n for i in range(2, n+1):\n p *= i\n return p\n\ndef calc_factors(n):\n factors = {}\n for p in primes:\n wh...
['Runtime Error', 'Runtime Error', 'Accepted']
['s235132702', 's745136841', 's063653049']
[3064.0, 3064.0, 3192.0]
[20.0, 18.0, 18.0]
[1004, 1147, 1026]
p03213
u746206084
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['n = int(input())\nlis=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]\nli=[]\na=0\nb=0\nc=0\nd=0\ne=0\nfor i in range(15):\n p=n\n q=0\n while(p>0):\n q+=p//lis[i]\n p=p//lis[i]\n if q>=74:\n e+=1\n if q>=24:\n print(lis[i])\n a+=1\n if q>=14:\n print(lis[i])\n ...
['Wrong Answer', 'Accepted']
['s549360135', 's279458768']
[3064.0, 3064.0]
[17.0, 17.0]
[455, 367]
p03213
u767664985
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import Counter\n\ndef prime_factorize(n):\n a = []\n while n % 2 == 0:\n a.append(2)\n n //= 2\n f = 3\n while f * f <= n:\n if n % f == 0:\n a.append(f)\n n //= f\n else:\n f += 2\n if n != 1:\n a.append(n)\n retur...
['Wrong Answer', 'Accepted']
['s754745739', 's912486369']
[3436.0, 3316.0]
[23.0, 23.0]
[1219, 1306]
p03213
u784022244
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N=int(input())\n\n\nfrom operator import mul\nfrom functools import reduce\n\ndef cmb(n,r):\n r = min(n-r,r)\n if r == 0: return 1\n over = reduce(mul, range(n, n - r, -1))\n under = reduce(mul, range(1,r + 1))\n return over // under\n\n\nfrom collections import defaultdict\ndef factorization(n):\n ...
['Wrong Answer', 'Accepted']
['s259324986', 's301869617']
[3572.0, 3684.0]
[23.0, 23.0]
[1360, 1272]
p03213
u787456042
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['import math\nfrom collections import Counter\nfrom scipy.misc import comb\nn = int(input())\n\ndef primes(m) :\n ps = [2]\n for i in range(3, m) :\n for p in ps :\n if i%p == 0 :\n break\n else :\n ps.append(i)\n return ps\n\ndef fdivisor(m) :\n ps = prim...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s222203471', 's768293744', 's683667817']
[24644.0, 15256.0, 3444.0]
[2109.0, 2109.0, 21.0]
[976, 964, 845]
p03213
u807772568
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['def cmb(n, r):\n if n - r < r: r = n - r\n if r == 0: return 1\n if r == 1: return n;\n\n numerator = [n - r + k + 1 for k in range(r)]\n denominator = [k + 1 for k in range(r)]\n\n for p in range(2,r+1):\n pivot = denominator[p - 1]\n if pivot > 1:\n offset = (n - r) % p;\n...
['Wrong Answer', 'Accepted']
['s674621128', 's097419846']
[3192.0, 3192.0]
[20.0, 19.0]
[1286, 1291]
p03213
u826263061
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['# -*- coding: utf-8 -*-\n"""\nCreated on Sun Dec 2 21:50:38 2018\nABC114D\n@author: maezawa\n"""\n\nnmax = int(100)\nis_prime = [True]*(nmax+1)\n\nis_prime[0] = False\nis_prime[1] = False\n\nfor i in range(2, nmax//2):\n if is_prime[i] == True:\n for j in range(2*i,nmax+1,i):\n is_prime[j] = Fal...
['Wrong Answer', 'Accepted']
['s698936076', 's581083302']
[3064.0, 3064.0]
[19.0, 18.0]
[1219, 1162]
p03213
u846150137
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import Counter\nimport math\ndef P(n, r):\n return math.factorial(n)//math.factorial(n-r)\ndef C(n, r):\n return P(n, r)//math.factorial(r)\nn=int(input())\nL=[]\nfor j in range(2,n+1):\n I=j\n s=0\n R=int(I)\n while s==0:\n for i in range(2,R+1):\n if I%i==0:\n ...
['Runtime Error', 'Accepted']
['s241510301', 's818199664']
[3316.0, 3316.0]
[23.0, 21.0]
[628, 630]
p03213
u901098617
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['def isprime(n):\n if(n<2):\n return False\n for i in range(2,n):\n if(n%i==0):\n return False\n return True\n\ndef primelist(n):\n return [i for i in range(n) if isprime(i)]\n\ndef factor(n):\n f = {}\n while(n > 1):\n for p in primelist(n+1):\n if(n % p ==...
['Wrong Answer', 'Accepted']
['s151725581', 's185559055']
[3064.0, 3064.0]
[63.0, 63.0]
[1124, 1099]
p03213
u903596281
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['prime=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]\nprint(len(prime))', 'prime=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47]\ns=[0 for i in range(15)]\nN=int(input())\nfor i in range(15):\n j=1\n while N//(prime[i]**j)>0:\n s[i]+=N//(prime[i]**j)\n j+=1\no3,o5,o15,o25,o75=0,0,0,0,0\nf...
['Wrong Answer', 'Accepted']
['s845422312', 's461651817']
[2940.0, 3064.0]
[18.0, 19.0]
[96, 550]
p03213
u905582793
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import defaultdict\n\nN = int(input())\nprime = [2,3,5,7,11,13,17,19,23,29,31,37,41,\n 43,47,53,59,61,67,71,73,79,83,89,97]\nans = 0\nfactor = defaultdict(int)\nfor i in range(1,N+1):\n for j in prime:\n while i != 1:\n if i % j == 0:\n factor[j] += 1\n ...
['Runtime Error', 'Accepted']
['s376508170', 's892544171']
[3316.0, 3316.0]
[21.0, 21.0]
[693, 756]
p03213
u941753895
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['# sl=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]\n# _l=[0],*25\n\n\n# for j in range(len(sl)):\n# a=i\n# while True:\n# if a%sl[j]==0:\n# l[i-1][j]+=1\n# a//=sl[j]\n# else:\n# break\n\n\n# for j in range(25):\n# l2[i][j]+=l[i][j]\n# ...
['Runtime Error', 'Accepted']
['s596576826', 's343848196']
[4728.0, 5464.0]
[21.0, 44.0]
[8541, 2775]
p03213
u965346773
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['N, M = map(int,input().split())\n\nfor i in range(1,M+1):\n if M%i == 0:\n if M//i >= N:\n ans = i\n else:\n break\n \nprint(ans)', 'import math\nN = int(input())\n\np = [i for i in range(2,N+1)]\nq = []\n\nfor i in p:\n for j in range(2,i):\n if i%j==0:\n ...
['Runtime Error', 'Accepted']
['s741220631', 's348362309']
[2940.0, 3064.0]
[18.0, 31.0]
[163, 805]
p03213
u994521204
2,000
1,048,576
You are given an integer N. Among the divisors of N! (= 1 \times 2 \times ... \times N), how many _Shichi-Go numbers_ (literally "Seven-Five numbers") are there? Here, a Shichi-Go number is a positive integer that has exactly 75 divisors.
['from collections import defaultdict\nn=int(input())\nsosu_list=[2]\nfor i in range(3, 101, 2):\n flag=0\n for j in range(2, int(i**0.5)+2):\n if i%j==0:\n flag=1\n if flag==0:\n sosu_list.append(i)\nprint(sosu_list)\nsoinsu=defaultdict(int)\nfor i in sosu_list:\n temp=n\n while...
['Wrong Answer', 'Accepted']
['s816718768', 's122725804']
[3572.0, 3444.0]
[22.0, 23.0]
[705, 688]
p03219
u001041019
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s898615385', 's797786323']
[2940.0, 2940.0]
[17.0, 17.0]
[41, 46]
p03219
u003928116
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s884185579', 's435353339']
[2940.0, 2940.0]
[19.0, 17.0]
[41, 46]
p03219
u008357982
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['n=int(input())\nt,a=map(int,input().split())\nh=list(map(int,input().split()))\nx=[]\nfor i in range(n):\n x.append(abs(a-(t-h[i]*0.006)))\nprint(x.index(min(x))+1)', 'x,y=map(int,input().split());print(x+y//2)']
['Runtime Error', 'Accepted']
['s715337252', 's100632093']
[3060.0, 2940.0]
[17.0, 17.0]
[161, 42]
p03219
u009348313
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X, Y = map(int, input())\nprint(X + Y // 2)', 'X, Y = map(int, input().split())\nprint(X + Y // 2)']
['Runtime Error', 'Accepted']
['s677639592', 's435212425']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 50]
p03219
u010437136
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['n,m = map(int,input().split( ))\nls_a = []\nls_b = [[] for i in range(n)]\nfor i in range(m):\n p,y = map(int,input().split( ))\n ls_a.append([p,y])\n ls_b[p-1].append(y)\nfor i in range(n):\n if len(ls_b[i]) !=0:\n ls_b[i].sort()\nfor i in range(m):\n print(str(ls_a[i][0]).zfill(6) + str(ls_b[l...
['Runtime Error', 'Accepted']
['s955640959', 's430601956']
[3064.0, 3060.0]
[18.0, 17.0]
[350, 310]
p03219
u013605408
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y = map(int,input().split())\nprint(X+Y/2)', 'X,Y = map(int,input().split())\nprint(int(X+Y/2))']
['Wrong Answer', 'Accepted']
['s421140274', 's569141318']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 48]
p03219
u014139588
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(x+y//2)']
['Wrong Answer', 'Accepted']
['s961057718', 's540118910']
[8980.0, 8892.0]
[29.0, 28.0]
[43, 44]
p03219
u014887259
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X, Y = map(int, input().split(" "))\nprint(X + (Y / 2))', 'X, Y = map(int, input().split())\nprint(X + Y / 2)', 'X, Y = map(int, input().split())\nprint(X + Y // 2)\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s866511862', 's929377952', 's265218571']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[54, 49, 51]
p03219
u017063101
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s960448577', 's037884934']
[8948.0, 9036.0]
[29.0, 30.0]
[41, 46]
p03219
u022550971
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b = map(int, input().rstrip().split())\n\n\nprint(a + b/2)', 'a,b = map(int, input().rstrip().split())\nprint(int(a + b / 2))']
['Wrong Answer', 'Accepted']
['s868701378', 's437872860']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 62]
p03219
u023229441
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b=map(int,input().split())\nprint(a+b/2)', 'a,b=map(int,input().split())\nprint(a+(b/2))\n', 'a,b=map(int,input().split())\nprint(int(a+b/2))\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s595040706', 's748431096', 's769823745']
[3316.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[41, 44, 47]
p03219
u024245528
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y = map(int,input().split())\nx = X + (Y/2)\nprint(x)', 'X,Y = map(int,input().split())\nx = X + int((Y/2))\nprint(x)\n\n']
['Wrong Answer', 'Accepted']
['s310922038', 's658277272']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 60]
p03219
u027403702
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y = map(int, input().split())\n# N = int(input())\nprint(X + Y / 2)', 'X,Y = map(int, input().split())\n# N = int(input())\nprint(X + Y // 2)']
['Wrong Answer', 'Accepted']
['s783490412', 's219023838']
[3064.0, 2940.0]
[17.0, 17.0]
[67, 68]
p03219
u028014940
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['\nx,y=map(int,input().split())\n\nprint(x+y/2)', '\nx,y=map(int,input().split())\n\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s085895045', 's358035629']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 48]
p03219
u029329478
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X, Y = map(int, input().split())\nprint(X+Y/2)\n', 'X, Y = map(int, input().split())\nprint(int(X+Y/2))\n']
['Wrong Answer', 'Accepted']
['s055824645', 's344648919']
[2940.0, 2940.0]
[17.0, 17.0]
[46, 51]
p03219
u030726788
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint((x+y)//2)', 'x, y = map(int, input().split())\nprint(int(x + y/2))']
['Wrong Answer', 'Accepted']
['s528574223', 's945947408']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 52]
p03219
u033524082
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X = int(input())\nY = int(input())\na = int(X + Y/2)\nprint(a)', 'X,Y = map(int,input().split())\na = int(X + Y/2)\nprint(a)\n']
['Runtime Error', 'Accepted']
['s202219608', 's460074714']
[2940.0, 3060.0]
[17.0, 19.0]
[59, 57]
p03219
u035356682
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\nprint(x + y / 2)', 'x, y = map(int, input().split())\nprint(int(x + y / 2))']
['Wrong Answer', 'Accepted']
['s617005854', 's536981384']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 54]
p03219
u037221289
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
["X,Y = map(int,input().split(' '))\nprint(X + Y/2)", "X,Y = map(int,input().split(' '))\nprint(int(X + Y/2))"]
['Wrong Answer', 'Accepted']
['s142028100', 's177703245']
[2940.0, 2940.0]
[17.0, 18.0]
[48, 53]
p03219
u039360403
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+y/2)\n', 'x,y=map(int,input().split())\nprint(int(x+y/2))\n']
['Wrong Answer', 'Accepted']
['s753481007', 's577783417']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 47]
p03219
u045408189
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b=map(int,input().split())\nprint(a+(b/2))', 'a,b=map(int,input().split())\nprint(a+(b//2))']
['Wrong Answer', 'Accepted']
['s025860162', 's264039483']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 44]
p03219
u050698451
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['l = list(map(int, input().split()))\nprint(sum(l)-l[1]/2)', 'l = list(map(int, input().split()))\nprint(int(sum(l)-l[1]/2))\n']
['Wrong Answer', 'Accepted']
['s123243093', 's139053166']
[2940.0, 2940.0]
[17.0, 17.0]
[56, 62]
p03219
u050708958
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['n = int(input())\nt,a = map(int, input().split())\nh = [int(i) for i in input().split()]\ncandidates = list(map(lambda x: abs(a - t - x * 0.006), h))\nprint(candidates.index(min(candidates)) + 1)\n', 'a,b= map(int, input().split())\nprint(a + int(b/2))']
['Runtime Error', 'Accepted']
['s747244569', 's534213813']
[2940.0, 2940.0]
[18.0, 17.0]
[192, 50]
p03219
u052347048
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['n=int(input())\nt,a=map(int,input().split())\nlis=list(map(int,input().split()))\nli=abs((t-lis[0]*0.006)-a)\nl=0\nfor i in range(1,n):\n if abs((t-lis[i]*0.006)-a) < li:\n li=abs((t-lis[i]*0.006)-a)\n l=i\nprint(l+1)', 'n=int(input())\nt,a=map(int,input().split())\nlis=list(map(int,input().split()))...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s041681908', 's109736706', 's328542275', 's398950920', 's528386986', 's753654426', 's919022241', 's259364645']
[3188.0, 3064.0, 2940.0, 3060.0, 3064.0, 3064.0, 3060.0, 2940.0]
[19.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[225, 225, 203, 213, 225, 237, 213, 42]
p03219
u054931633
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprintint((x+y/2))', 'x,y=map(int,input().split())\nprint(int(x+y/2))']
['Runtime Error', 'Accepted']
['s508005672', 's162626596']
[9148.0, 9012.0]
[27.0, 28.0]
[46, 46]
p03219
u058592821
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a, b = (int(i) for i in input().split())\nprint(a+b/2)', 'a, b = (int(i) for i in input().split())\nprint(b//2+a)']
['Wrong Answer', 'Accepted']
['s302723436', 's678553569']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 54]
p03219
u060793972
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b=map(int.input().split())\nprint(a + b//2)', 'a,b=map(int,input().split())\nprint(a + b//2)\n']
['Runtime Error', 'Accepted']
['s098471766', 's284651135']
[2940.0, 2940.0]
[17.0, 17.0]
[44, 45]
p03219
u062604519
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s036320640', 's705383815']
[3316.0, 2940.0]
[21.0, 18.0]
[43, 48]
p03219
u063346608
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y = map(int,input().split())\n\nanswer = int(X + Y / 2)', 'X,Y = map(int,input().split())\n \nanswer = int(X + Y / 2)\n\nprint(answer)']
['Wrong Answer', 'Accepted']
['s440852066', 's566564328']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 71]
p03219
u064246852
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['print(int(input()) + int(input())//2)', 'print(int(input())+int(input())//2)', 'x,y = map(int,input().split())\nprint(x+y//2)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s566962266', 's772805355', 's570481629']
[3064.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[37, 35, 44]
p03219
u064563749
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y=map(int,input().split())\ncost=X+Y/2\nprint(cost)', 'X,Y=map(int,input().split())\ncost=X+Y/2\nprint(int(cost))\n']
['Wrong Answer', 'Accepted']
['s835600467', 's082693372']
[2940.0, 2940.0]
[17.0, 19.0]
[51, 57]
p03219
u065446124
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b= map(int, input().split())\nprint(a+b/2)', 'a,b= map(int, input().split())\nc=a+b/2\nprint(c)', 'a,b= map(int, input().split())\nprint(int(a+b/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s536249881', 's943359581', 's287104591']
[2940.0, 3060.0, 2940.0]
[17.0, 57.0, 17.0]
[43, 47, 48]
p03219
u066692421
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['fee = list(map(int, input().split()))\nprint(fee[0] + fee[1] / 2)', 'fee = list(map(int, input().split()))\nprint(fee[0] + int(fee[1] / 2))']
['Wrong Answer', 'Accepted']
['s869046075', 's209389747']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 69]
p03219
u070561949
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['#import time as time\n\n#s = time.time()\n\nn,m = map(int,input().split())\npy = []\nod = [[]*1 for i in range(n)]\n\n\n\n#s = time.time()\nfor i in range(0,m):\n p,y = map(int,input().split())\n py.append([p,y])\n \n odlen = len(od[p-1])\n if odlen >= 1 :\n\n low = 0\n high = odlen - ...
['Runtime Error', 'Accepted']
['s781878228', 's327573967']
[3064.0, 2940.0]
[17.0, 17.0]
[1220, 51]
p03219
u071061942
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['l= input().split\nX = int(l[0])\nY = int(l[1])\nx = X + Y/2\nprint(x)', 'l = input().split()\nX = int(l[0])\nY = int(l[1])\nx = int(X + Y/2)\nprint(x)']
['Runtime Error', 'Accepted']
['s256929131', 's467775621']
[2940.0, 2940.0]
[17.0, 18.0]
[65, 73]
p03219
u072717685
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X, Y = map(int, input().split())\nprint(X + Y/2)', 'X, Y = map(int, input().split())\nprint(int(X + Y/2))']
['Wrong Answer', 'Accepted']
['s212367327', 's483112797']
[2940.0, 2940.0]
[18.0, 17.0]
[47, 52]
p03219
u076996519
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = map(int, input().split())\nprint(int(x+y/2)', 'x,y = map(int, input().split())\nprint(x+y/2)', 'n = int(input())\nt,a = map(int, input().split())\nh = list(map(int, input().split()))\n\nfor i in range(n):\n\th[i] = abs(a-(t - h[i]*0.006))\n\nprint(h.index(min(h))+1)', 'x,y = map(int, input().split())\nprint(int...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s389463416', 's588381957', 's672459538', 's214359483']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[48, 44, 162, 49]
p03219
u078276601
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\n\nprint(x + y/2)', 'x, y = map(int, input().split())\n\nprint(x + y//2)']
['Wrong Answer', 'Accepted']
['s431305854', 's048834589']
[9104.0, 9156.0]
[24.0, 25.0]
[48, 49]
p03219
u079543046
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\nprint(x+y/2)\n ', 'x, y = map(int, input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Accepted']
['s301098683', 's027828723']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 50]
p03219
u079644963
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\nprint(x + y / 2)', 'x, y = map(int, input().split())\nr = x + y / 2\nprint(r)', 'x, y = map(int, input().split())\nprint(int(x + y / 2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s508350165', 's995131952', 's683950651']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[49, 55, 54]
p03219
u081472919
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = map(int,input().split())\nsum = x + y/2\nprint(sum)', 'x,y = map(int,input().split())\nprint(x + y/2)', 'x,y = map(int,input().split())\nsum = x + y//2\nprint(sum)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s315551044', 's561647816', 's241335190']
[9088.0, 9040.0, 9052.0]
[30.0, 26.0, 30.0]
[55, 45, 56]
p03219
u088020258
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X,Y=map(int,input().split())\nprint(X+Y/2)', 'X,Y=map(int,input().split())\nprint(X+Y//2)']
['Wrong Answer', 'Accepted']
['s732536745', 's715686366']
[2940.0, 2940.0]
[17.0, 17.0]
[41, 42]
p03219
u089376182
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\nprint(x+y/2)', 'x, y = map(int, input().split())\nprint(x+y//2)']
['Wrong Answer', 'Accepted']
['s161772377', 's861349847']
[2940.0, 2940.0]
[17.0, 17.0]
[45, 46]
p03219
u093033848
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['N = int(input())\nT, A = map(int, input().split())\ndiff =50000000\nnum = 0\nfor i in range(N):\n H = int(input())\n if abs(T - H*0.006) < diff:\n num = i + 1', 'n = int(input())\nt, a = map(int, input().split())\ne = [int(i) for i in input().split()]\n\ntemp = []\nfor i in e:\n temp.append(abs(t - i ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s088048882', 's342363424', 's349996440']
[2940.0, 3060.0, 2940.0]
[19.0, 17.0, 18.0]
[164, 212, 50]
p03219
u094102716
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b = map(int(input().split()))\nprint(a+b//2)\n', 'a,b = map(int,input().split())\nprint(a+b//2)\n']
['Runtime Error', 'Accepted']
['s014425538', 's940906675']
[9008.0, 9144.0]
[29.0, 23.0]
[46, 45]
p03219
u095756391
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['X, Y = map(int, input().split())\n\nans = X + (Y / 2)\n\nprint(ans)', 'X, Y = map(int, input().split())\n \nans = X + (Y / 2)\n \nprint(int(ans))']
['Wrong Answer', 'Accepted']
['s900173600', 's704396325']
[2940.0, 2940.0]
[18.0, 18.0]
[63, 70]
p03219
u099566485
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x=int(input())\ny=int(input())\nprint(x+y//2)', 'x,y=map(int,input().split())\nprint(x+y//2)']
['Runtime Error', 'Accepted']
['s209014314', 's483019917']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 42]
p03219
u102960641
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = map(int,input().split())\nprint(x+y/2)', 'x,y = map(int,input().split())\nprint(x+y//2)\n']
['Wrong Answer', 'Accepted']
['s552079500', 's546865328']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 45]
p03219
u104003430
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x, y = map(int, input().split())\nprint(x+y/2)', 'x, y = map(int, input().split())\nprint(x+y/2)', 'x, y = map(int, input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s259772409', 's421676975', 's364457498']
[2940.0, 2940.0, 3064.0]
[18.0, 17.0, 18.0]
[45, 45, 50]
p03219
u111365959
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
["a,b = input().split(' ')\na = int(a)\nb = int(b)\nb /= 2\nprint(a+b)", "a,b = input().split(' ')\na = int(a)\nb = int(b)\nb *= 2\nprint (a+b)", "a,b = input().split(' ')\na = int(a)\nb = int(b) / 2\nprint(a + b)", "a,b = input().split(' ')\na = int(a)\nb = int(b)\nb /= 2\nprint(a+b)\n", "a,b = input().split(' ')\na =...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s018519622', 's103022622', 's301013420', 's859531974', 's092642814']
[2940.0, 2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 18.0, 19.0, 18.0, 18.0]
[64, 65, 63, 65, 70]
p03219
u112567325
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['A,B = list(map(int,input().split()))\nprint(A+B/2)', 'A,B = list(map(int,input().split()))\nprint(A+int(B/2))']
['Wrong Answer', 'Accepted']
['s706338340', 's966908579']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 54]
p03219
u114648678
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['81 58', 'a,b=map(int,input().split())\nprint(int(a+b/2))']
['Runtime Error', 'Accepted']
['s319218700', 's431789488']
[2940.0, 2940.0]
[17.0, 18.0]
[5, 46]
p03219
u116233709
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+(y/2))', 'x,y=map(int,input().split())\nprint(int(x+(y/2)))\n']
['Wrong Answer', 'Accepted']
['s180900475', 's871464816']
[2940.0, 2940.0]
[17.0, 17.0]
[43, 49]
p03219
u117193815
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b = map(int, input().split())\ni=b/2+a\nprint(i)', 'a,b = map(int, input().split())\nprint((b/2)+a)\n', 'import math\na,b = map(int, input().split())\nprint(math.ceil(((b/2)+a)))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s427102930', 's906209431', 's670497775']
[2940.0, 2940.0, 2940.0]
[20.0, 17.0, 18.0]
[48, 47, 71]
p03219
u118019047
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y = list(map(int,input().split()))\nprint(x + (y/2))', 'x,y = list(map(int,input().split()))\nprint(x + int(y/2))']
['Wrong Answer', 'Accepted']
['s993527755', 's203782146']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 56]
p03219
u124070765
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x,y=map(int,input().split())\nprint(x+y/2)', 'x,y=map(int,input().split())\nprint(x+y//2)']
['Wrong Answer', 'Accepted']
['s286607229', 's475460948']
[2940.0, 2940.0]
[18.0, 18.0]
[41, 42]
p03219
u127856129
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['a,b=map(int,input().split())\nprint(a+b/2)', 'a,b=map(int,input().split())\nprint(a+b//2)\n']
['Wrong Answer', 'Accepted']
['s438768217', 's167783860']
[2940.0, 2940.0]
[17.0, 18.0]
[41, 43]
p03219
u128740947
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['x = int(input())\ny = int(input())\nprint(y/2+x)\n\n', 'x,y= map(int,input().split())\n\nprint(y/2+x)', 'x,y= map(int,input().split())\n\nprint(int(y/2+x))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s127439298', 's790521883', 's548811970']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[48, 43, 48]
p03219
u129492036
2,000
1,048,576
There is a train going from Station A to Station B that costs X yen (the currency of Japan). Also, there is a bus going from Station B to Station C that costs Y yen. Joisino got a special ticket. With this ticket, she can take the bus for half the fare if she travels from Station A to Station B by train and then trav...
['import math\n', 'import math\nprint(math.log(10))', 'x, y = map(int, input().split())\nprint(int(x+y/2))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s091654382', 's321498159', 's254074821']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[12, 31, 50]