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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02765 | u129961029 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['sum,rate=map(int,input().split())\nif sum>=10:\n print(rate)\nelse:\n ans=rate-(100*(10-sum))\n print(ans) ', 'sum,rate=map(int,input().split())\nif sum>=10:\n print(rate)\nelse:\n ans=rate-100*(10-sum)\n print(ans) ', 'sum,rate=map(int,input().split())\nif sum>=10:\n print(rate)\nelse:\n ans=rate+100*(10-sum)\n print(ans) '] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s326448609', 's557120214', 's307686355'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [115, 113, 113] |
p02765 | u131264627 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, k = map(int, input().split())\nif n < 10:\n print(k - (100 * (10 - n)))\nelse:\n print(k)', 'n, k = map(int, input().split())\nif n < 10:\n print(k + (100 * (10 - n)))\nelse:\n print(k)'] | ['Wrong Answer', 'Accepted'] | ['s394210539', 's470064245'] | [2940.0, 3060.0] | [17.0, 19.0] | [94, 94] |
p02765 | u131406572 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['#156D\np=7+10**9\ndef comb(n,r):\n bunshi = 1\n for i in range(n-r+1, n+1):\n bunshi =bunshi * i % p\n bunbo = 1\n for i in range(1, r+1):\n bunbo = bunbo * i % p\n return bunshi * pow(bunbo, p-2, p)\nn,a,b=map(int,input().split())\ns=-1+pow(2,n,p)-comb(n,a)-comb(n,b)\nprint(s%p)\n', 'n,m=map(int,input().split())\nprint(m+max(0,100*(10-n)))'] | ['Runtime Error', 'Accepted'] | ['s129082884', 's863352092'] | [3060.0, 2940.0] | [17.0, 17.0] | [280, 55] |
p02765 | u131464432 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = input(int,split())\nif N <= 9:\n R -= 100*(10-R)\nprint(R)', 'N,R = map(int,input().split())\nif N <= 9:\n R -= 100*(10-N)\nprint(R)', 'N,R = map(int,input().split())\nif N <= 9:\n R += 100*(10-N)\nprint(R)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s162091419', 's564306083', 's026471018'] | [9084.0, 9136.0, 8984.0] | [55.0, 30.0, 29.0] | [62, 68, 68] |
p02765 | u135346354 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N > 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N, R = map(int, input().split())\nif N > 10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Wrong Answer', 'Accepted'] | ['s693034592', 's371350644'] | [2940.0, 2940.0] | [18.0, 17.0] | [86, 86] |
p02765 | u136284779 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\ns=r-100*(10-n)\nif n>=10:\n print(r)\nelse:\n print(s)', 'n,r=map(int,input().split())\ns=r+100*(10-n)\nif n>=10:\n print(r)\nelse:\n print(s)'] | ['Wrong Answer', 'Accepted'] | ['s536783407', 's165963974'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 81] |
p02765 | u137226361 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math\n\nn, k = map(int, input().split())\n\nans = math.ceil(math.log(n)/math.log(k))\n\nprint(ans)\n', "n,r= map(int, input().split(' '))\n\nif n >=10:\n print(r)\nelse:\n print(r+1000-100*n)\n"] | ['Runtime Error', 'Accepted'] | ['s527885836', 's387245030'] | [3060.0, 2940.0] | [18.0, 17.0] | [100, 89] |
p02765 | u137293997 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R - 100*(10-N))\n \n', 'N, R = map(int,input().split())\n\nif N>=10:\n print(R)\nelse:\n print(10-R/100)', 'N, R = map(int,input().split())\n\nif N>=10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s210842255', 's853934527', 's457742120'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [88, 77, 81] |
p02765 | u137808818 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k = int(input().split())\nif n >= 10:\n print(k)\nelse :\n print(k+100*(10-n)) ', 'n,k = map(int,input().split())\nif n >= 10:\n print(k)\nelse :\n print(k+100*(10-n)) '] | ['Runtime Error', 'Accepted'] | ['s808847373', 's454456191'] | [2940.0, 3064.0] | [17.0, 17.0] | [86, 90] |
p02765 | u138781768 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, m = map(int, input().split())\nif n <= 10:\n minus = (10 - n) * 100\nprint(m - minus)', 'n, r = map(int, input().split())\nif n > 10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Runtime Error', 'Accepted'] | ['s997197045', 's520822680'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p02765 | u141410514 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(100*(10-n))', 'n,r = map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(100*(10-n)+r)'] | ['Wrong Answer', 'Accepted'] | ['s285662366', 's078642084'] | [3316.0, 2940.0] | [19.0, 17.0] | [77, 79] |
p02765 | u142211940 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print(R*(10-N))\n', 'N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+(100*(10-N)))\n'] | ['Wrong Answer', 'Accepted'] | ['s759912647', 's591589168'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 90] |
p02765 | u143509139 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['\nn, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + 100 * (10 - k))\n', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Runtime Error', 'Accepted'] | ['s852626468', 's402172098'] | [3316.0, 2940.0] | [21.0, 17.0] | [251, 77] |
p02765 | u146346223 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N>10:\n print(R) \nelse:\n print(R - (100 * (10 - N)))', 'N, R = map(int, input().split())\nif N >= 10:\n print(R) \nelse:\n print(R + (100 * (10 - N)))'] | ['Wrong Answer', 'Accepted'] | ['s451203883', 's107102992'] | [9072.0, 9168.0] | [26.0, 29.0] | [94, 97] |
p02765 | u148551245 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r - 100 * (10 - n))', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r + 100 * (10 - n))'] | ['Wrong Answer', 'Accepted'] | ['s335708873', 's529978012'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 94] |
p02765 | u153259685 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n R=r-100*(10-n)\n print(R)', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n R=r+100*(10-n)\n print(R)'] | ['Wrong Answer', 'Accepted'] | ['s681405417', 's307333860'] | [2940.0, 2940.0] | [17.0, 18.0] | [83, 83] |
p02765 | u158628538 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["INF=int(float('inf'))\n\na,b=map(int,input().split())\nif(a>=10):\n print(b)\nelse:\n print(b+(100*(10-a)))", '\n\na,b=map(int,input().split())\nif(a>=10):\n print(b)\nelse:\n print(b+(100*(10-a)))'] | ['Runtime Error', 'Accepted'] | ['s744081317', 's746079296'] | [2940.0, 3316.0] | [17.0, 20.0] | [107, 86] |
p02765 | u163874353 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['l = list(map(int, input().split()))\nN = l[0]\nR = l[1]\nif N >= 10:\n print(R)\n\nelse:\n print(int((R + 100(10 - N))))\n', 'l = list(map(int, input().split()))\nN = l[0]\nR = l[1]\nif N >= 10:\n print(R)\n\nelse:\n printint((R + 100(10 - N)))\n ', 'l = list(map(int, input().split()))\nN = l[0]\nR = l[1]\nif N >= 10:\n print(R)\n\nelif N < 10:\n print((R + 100 * (10 - N)))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s366274297', 's611604271', 's849174804'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [120, 122, 125] |
p02765 | u167205647 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse :\n print(r-100*(10-n))', 'n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse :\n print(r+100*(10-n))'] | ['Wrong Answer', 'Accepted'] | ['s164891119', 's103757396'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p02765 | u168416324 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math as mt\nn,k=map(int,input().split())\nprint(mt.ceil(mt.log(n,k)))\n', 'n,r=map(int,input().split())\nprint(r+(100*(10-min(n,10))))'] | ['Runtime Error', 'Accepted'] | ['s861995085', 's015929963'] | [9016.0, 9160.0] | [29.0, 28.0] | [75, 58] |
p02765 | u169350228 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int,input().split())\nif n < 10:\n print(r-100*(10-n))\nelse:\n print(r)\n', 'n, k = map(int,input().split())\nknow = 1\nfor i in range(n):\n if (n+0.5)//know == 0:\n print(i)\n break\n else:\n know *= k\n', 'n, r = map(int,input().split())\nif n < 10:\n print(r+100*(10-n))\nelse:\n print(r)\n'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s639454125', 's653812878', 's356675600'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [86, 146, 86] |
p02765 | u170410075 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n r-=100*(10-n)\n print(r)\n ', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n r+=100*(10-n)\n print(r)\n '] | ['Wrong Answer', 'Accepted'] | ['s167661259', 's915754273'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 93] |
p02765 | u173394055 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["import numpy as np\ndef comb_mod(n, a, m):\n if a > n:\n return 0\n a = min(a, n-a+1)\n # tbl = [[0]*(a+1) for _ in range(2)]\n tbl = np.zeros((2, a+1), dtype=np.int64)\n tbl[0][0] = 1\n tbl[1][0] = 1\n \n for i in range(n):\n # tbl[i%2][0] = 1\n tbl[i%2][1:] = (tbl[(i+1)%2][1:] + tbl[(i+1)%2][:-1]) % m\n # for k in range(min(i+1, len(tbl[i%2]))):\n \n # tbl[i%2][k] = 1\n \n # tbl[i%2][k] = 0\n \n # tbl[i%2][k] = 1\n # else:\n # tbl[i%2][k] = (tbl[(i-1)%2][k-1] + tbl[(i-1)%2][k]) % m\n return tbl[(n-1)%2][a]\n\nn, a, b = map(int, input().split(' '))\nc = 0\nfor i in range(1, n+1):\n if i == a or i == b:\n continue\n c += comb_mod(n, i, 1000000007)\nprint(c)", "N, R = input().split(' ')\nN = int(N)\nR = int(R)\nif N >= 10:\n I = R\nelse:\n I = R + 100 * (10 - N)\nprint(I)"] | ['Runtime Error', 'Accepted'] | ['s082957910', 's904186957'] | [21384.0, 2940.0] | [1668.0, 17.0] | [774, 107] |
p02765 | u174536291 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a, b = list(map(int, input().split()))\nif a >= 10:\n my_result = b\nelse:\n my_result = b - 100 * (10 - a)\nprint(my_result)', 'a, b = list(map(int, input().split()))\nif a >= 10:\n my_result = b\nelse:\n my_result = b + 100 * (10 - a)\nprint(my_result)'] | ['Wrong Answer', 'Accepted'] | ['s604471694', 's093288386'] | [9012.0, 9160.0] | [25.0, 26.0] | [122, 122] |
p02765 | u174766008 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k = map(int,input().split())\nimport math\nprint(int(math.log(n,k))+1)', 'N,R = map(int,input().split())\nif N > 10:\n print(R);\nelse:\n print(R + 100 * (10 - N))'] | ['Runtime Error', 'Accepted'] | ['s316666162', 's955620542'] | [2940.0, 2940.0] | [18.0, 17.0] | [70, 91] |
p02765 | u175259186 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nprint(R+(100*(10-K)))', 'N, R = map(int, input().split())\nprint(R+(100*(10-R)))', 'N, R = map(int, input().split())\nif N>10: N=10\nprint(R+(100*(10-N)))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s165309363', 's436712227', 's726774879'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [54, 54, 68] |
p02765 | u175590965 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\nif n >=10:\n print(r)\nelse:\n print(r-(100*(10-n)))', 'n,r = map(int,input().split())\nif n >=10:\n print(r)\nelse:\n print(100*(10-n))', 'n,r = map(int,input().split())\nif n >=10:\n print(r)\nelse:\n print(r+(100*(10-n)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s001229059', 's858655310', 's819583777'] | [9148.0, 9160.0, 9160.0] | [32.0, 29.0, 32.0] | [86, 82, 86] |
p02765 | u178304274 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = list(map(int,input().split()))\nans = 0\nif(n < 10):\n ans = r\nif(n >= 10):\n ans = r+100*(10-n)\nprint(ans)', 'n,r = list(map(int,input().split()))\nans = 0\nif(n < 10):\n ans = r+100*(10-n)\nif(n >= 10):\n ans = r\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s448355627', 's924912897'] | [2940.0, 2940.0] | [17.0, 17.0] | [115, 115] |
p02765 | u178465329 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a, b = map(int, input().split(" "))\nprint([b,b-(100*(10-a))][a<10])', 'n = int(input())\na = list(map(int, input().split(" ")))\n\nave = round(sum(a) / len(a))\n\nans = 0\nfor i in a:\n ans += (i - ave)**2\n \nprint(ans)', 'a, b = map(int, input().split(" "))\nprint([b,b+(100*(10-a))][a<10])'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s454331005', 's619841825', 's282139534'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [67, 142, 67] |
p02765 | u185424824 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\n\nif N > 9:\n print(R)\nelse:\n print(R -1000 +100*N)', 'N,R = map(int,input().split())\n\nif N > 9:\n print(R)\nelse:\n print(R +1000 -100*N)'] | ['Wrong Answer', 'Accepted'] | ['s754242082', 's102022943'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p02765 | u185935459 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nr = int(input())\n\nif n < 10:\n print(n-(100*(10-n)))\nelse:\n print(n)', 'n,r = map(int,input().split())\n \nif n < 10:\n print(r-(100*(10-n)))\nelse:\n print(r)\n', 'n = int(input())\nr = int(input())\n \nif n < 10:\n print(n-(100*(10-k)))\nelse:\n print(n)', 'n = int(input())\nr = int(input())\n \nif r < 10:\n print(n-(100*(10-r)))\nelse:\n print(n)\n', 'n = int(input())\nr = int(input())\n \nif n < 10:\n print(n-(100*(10-r)))\nelse:\n print(n)\n', 'n,r = map(int,input().split())\n \nif r < 10:\n print(n-(100*(10-r)))\nelse:\n print(n)\n', 'n,r = map(int,input().split())\n \nif n < 10:\n print(r+(100*(10-n)))\nelse:\n print(r)\n'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s030732930', 's060043165', 's181574253', 's371310001', 's637107927', 's701790497', 's081595245'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [86, 85, 87, 88, 88, 85, 85] |
p02765 | u186121428 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\nif N < 10:\n ans = R - 100 * (10 - N)\nelse:\n ans = R\nprint(ans)', 'N, R = map(int, input().split())\nif N < 10:\n ans = R + 100 * (10 - N)\nelse:\n ans = R\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s085646449', 's821892958'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 101] |
p02765 | u187883751 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(100*(10-n))\n', 'n,r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r + 100*(10-n))\n'] | ['Wrong Answer', 'Accepted'] | ['s641011021', 's464544387'] | [8884.0, 9100.0] | [26.0, 28.0] | [86, 90] |
p02765 | u189479417 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10 - K))', 'N, R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10 - N))'] | ['Runtime Error', 'Accepted'] | ['s328740400', 's838530962'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 92] |
p02765 | u193222738 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\n\nif r >= 10:\n x = r\n print(x)\nelse:\n x = r + 100 * (10 - n)\n print(x)', 'n, r = map(int, input().split())\n\nif r >= 10:\n x = r\n print(x)\nelse:\n x = r - 100 * (10 - n)\n print(x)', 'n, r = map(int, input().split())\n\nif n >= 10:\n x = r\n print(x)\nelse:\n x = r + 100 * (10 - n)\n print(x)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s709266190', 's750811179', 's984638895'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 20.0] | [114, 114, 114] |
p02765 | u194472175 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(100-N))\n ', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))\n'] | ['Wrong Answer', 'Accepted'] | ['s525697390', 's817006294'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 82] |
p02765 | u195054737 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r - 100*(10-n))\n\n', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(100*(10-n))\n\n', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + 100*(10-n))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s537418255', 's727032403', 's354935472'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [92, 88, 89] |
p02765 | u197921942 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int(input().split()))\nif n<10:\n r+=100*(10-n)\nprint(r)', 'n,k=map(int,input().split())\ncount=0\nwhile n>0:\n count+=1\n n//=k\nprint(count)', 'n,r=map(int(input()))\nif n<10:\n r+=100*(10-n)\nprint(r)', 'n,r=map(int,input().split())\nif n<10:\n r-=100*(10-n)\nprint(r)', 'n,r=map(int,input().split())\nif n<10:\n r+=100*(10-n)\nprint(r)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s168997667', 's173624396', 's663537472', 's991679746', 's240544905'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [65, 83, 57, 64, 64] |
p02765 | u198062737 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split(" "))\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10 - K))', 'N, R = map(int, input().split(" "))\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10 - N))'] | ['Runtime Error', 'Accepted'] | ['s642745111', 's779787377'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 92] |
p02765 | u199845325 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["n,r=map(int(input().split(' ')))\nif n<10:\n print(100*(10-n))\nelse:\n print(r)", "n,r=map(int(input().split(' ')))\nif n<10:\n print(100*(10-n)+r)\nelse:\n print(r)", "n,r=map(int,input().split(' '))\nif n<10:\n print(100*(10-n)+r)\nelse:\n print(r)"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s391242789', 's646366525', 's575626098'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [78, 80, 79] |
p02765 | u200527996 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int, input().split())\nif N >9:\n print(R)\nelse:\n print(R+100*(10-K))', 'N,R = map(int, input().split())\nif N > 9:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Runtime Error', 'Accepted'] | ['s763622510', 's459297958'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 84] |
p02765 | u200656501 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a, b = map(int, input().split())\nif(a <= 10):\n b = 100 * (10 - a) + b\n\nprint("{}".form', 'a, b = map(int, input().split())\nif(a <= 10):\n b = 100 * (10 - a) + b\n\nprint("{}', 'a, b = map(int, input().split())\nif(a <= 10):\n b = 100 * (10 - a) + b\n\nprint("{}".format(b))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s536804631', 's977922687', 's604434313'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [97, 91, 103] |
p02765 | u201382544 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse:\n print(100*(10-n))', 'n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse:\n print(100*(10-n)+r)'] | ['Wrong Answer', 'Accepted'] | ['s712256733', 's837250311'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 85] |
p02765 | u201387466 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import sys\ninput=sys.stdin.buffer.readline\n#from collections import defaultdict\n\n#import fractions\n#import math\n#import collections\n#from collections import deque\n\n#N = int(input())\n#A = list(map(int,input().split()))\n#S = list(input())\n#S.remove("\\n")\n#N,M = map(int,input().split())\n#S,T = map(str,input().split())\n#A = [int(input()) for _ in range(N)]\n#S = [input() for _ in range(N)]\n#A = [list(map(int,input().split())) for _ in range(N)]\n#import itertools\nN,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-K))\n \n\n', 'import sys\ninput=sys.stdin.buffer.readline\n#from collections import defaultdict\n\n#import fractions\n#import math\n#import collections\n#from collections import deque\n\n#N = int(input())\n#A = list(map(int,input().split()))\n#S = list(input())\n#S.remove("\\n")\n#N,M = map(int,input().split())\n#S,T = map(str,input().split())\n#A = [int(input()) for _ in range(N)]\n#S = [input() for _ in range(N)]\n#A = [list(map(int,input().split())) for _ in range(N)]\n#import itertools\nN,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))\n \n\n'] | ['Runtime Error', 'Accepted'] | ['s508828233', 's757525343'] | [2940.0, 2940.0] | [18.0, 17.0] | [606, 606] |
p02765 | u201928947 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n = int(input())\nr = int(input())\nif n > 9:\n print(r)\nelse:\n print(r+100*(10-n))', 'n,r = map(int,(input().split()))\nif n > 9:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Runtime Error', 'Accepted'] | ['s740281176', 's276889395'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 81] |
p02765 | u202727309 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['def resolve():\n n, r = map(int, input().split())\n if n < 10:\n print(100*(10-n)+r)\n else:\n print(r)', 'n, r = map(int, input().split())\nif n < 10:\n print(100*(10-n)+r)\nelse:\n print(r)'] | ['Wrong Answer', 'Accepted'] | ['s859338768', 's317679769'] | [2940.0, 2940.0] | [17.0, 17.0] | [121, 86] |
p02765 | u207799478 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math\nimport string\n\n\ndef readints():\n return list(map(int, input().split()))\n\n\ndef nCr(n, r):\n return math.factorial(n)//math.factorial(n-r)*math.factorial(r)\n\n\nn, r = map(int, input().split())\nprint(r-100*(10-n) if n < 10 else r)\n', 'import math\nimport string\n\n\ndef readints():\n return list(map(int, input().split()))\n\n\ndef nCr(n, r):\n return math.factorial(n)//math.factorial(n-r)*math.factorial(r)\n\n\nn, r = map(int, input().split())\nprint(r+100*(10-n) if n < 10 else r)\n'] | ['Wrong Answer', 'Accepted'] | ['s361130771', 's323521021'] | [3772.0, 3772.0] | [24.0, 24.0] | [244, 244] |
p02765 | u213314609 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input())\nR = int(input())\nif N >= 10: \n return R \nelse: \n return 100 * ( 10 - N ) + R\n', 'N, R = int(input())\nif N >= 10:\n print(R)\nelse: \n print ( 100 * (10 - R) + N)', '\ndef hello():\n N = int(input()) \n R = int(input())\n if N >= 10: \n print R \n else: \n print 100 * ( 10 - N ) + R\nhello()', 'N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelse:\n print( 100 * (10 - N) + R ) '] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s357232493', 's494957724', 's854125450', 's611219967'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 18.0] | [96, 79, 144, 92] |
p02765 | u213401801 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n<10:\n r+=100*(10-r)\nprint(r)', 'n,r=map(int,input().split())\nif n<10:\n r+=100*(10-n)\nprint(r)'] | ['Wrong Answer', 'Accepted'] | ['s386306613', 's990896260'] | [2940.0, 2940.0] | [18.0, 17.0] | [64, 64] |
p02765 | u215315599 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\nif N<=10:\n print(R)\nelse:\n print(R-100*(10-K))', 'N,R = map(int,input().split())\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Runtime Error', 'Accepted'] | ['s194745138', 's489602871'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 85] |
p02765 | u215630013 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['l = list(map(int, input().split()))\nif l[0] >= 10:\n\tprint(l[1])\nelse:\n print(l[1]-(10-l[0])*100)', 'l = list(map(int, input().split()))\nif l[0] >= 10:\n\tprint(l[1])\nelse:\n print(l[1]+(10-l[0])*100)'] | ['Wrong Answer', 'Accepted'] | ['s412819649', 's466131413'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 97] |
p02765 | u216888678 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N=int(input())\n\nX=list(map(int, input().split()))\n\nX.sort()\ni=X[0]\n\nmin=100000000000000000\nwhile i < X[-1]:\n power=0\n for j in range(len(X)):\n power=power+(X[j]-i)**2\n\n if power<=min:\n min=power\n\n i=i+1\n\n\nprint(min)', 'N=int(input())\nR=int(input())\n\nif N<10:\n T=100*(10-N)\n print((R+T))\n \nelse:\n print(R)\n', 'N=int(input())\nR=int(input())\n \nif 0<N<10:\n T=100*(10-N)\n print((R+T))\n\nelif N<0:\n print("error")\n \nelse:\n print(R)', 'N,R=map(int, input().split())\n\nif 0<N<10:\n T=100*(10-N)\n print((R+T))\n \nelif N<0:\n print("error")\n \nelse:\n print(R)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s022658561', 's197351176', 's763434126', 's068463844'] | [3064.0, 2940.0, 3060.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [241, 90, 120, 120] |
p02765 | u217303170 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\n\nif 10 <= n: print(r)\nelse: print(r-(100*(10-n)))', 'n, r = map(int, input().split())\n\nif n == 0:\n print(0)\nelif 0 < n >= 10:\n print(r)\nelse:\n print(r-(100*(10-n)))', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r+(100*(10-n)))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s650944057', 's925689537', 's228239589'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [88, 120, 90] |
p02765 | u217530935 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['# int\n# A = list(map(int, input().split()))\n# string\n# S = input().split()\n\nN, R = map(int, input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R - 100 * (10-N))', '# int\n# A = list(map(int, input().split()))\n# string\n# S = input().split()\n\nN, R = map(int, input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(100 * (10-N))', '# int\n# A = list(map(int, input().split()))\n# string\n# S = input().split()\n\nN, R = map(int, input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R + 100 * (10-N))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s451363040', 's818531267', 's724637026'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [168, 164, 168] |
p02765 | u223555291 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=map(int,input().split())\nif R>=10:\n a=N\nelse:\n a=100*(10-N)\nprint(a)', 'N,R=map(int,input().split())\nif N>=10:\n a=R\nelse:\n a=100*(10-N)\nprint(a)\n', 'N,R=map(int,input().split())\nif N>=10:\n a=R\nelse:\n a=100*(10-N)+R\nprint(a)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s163464332', 's584391568', 's114070782'] | [3316.0, 2940.0, 2940.0] | [21.0, 17.0, 17.0] | [74, 75, 77] |
p02765 | u225020286 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R=map(int,input().split())\nans=R+100*(10-K)\nprint(ans)', 'N,R=map(int,input().split())\nif N<10:\n ans=R+100*(10-N)\n print(ans)\nelse:\n print(R)'] | ['Runtime Error', 'Accepted'] | ['s194672451', 's369189634'] | [2940.0, 2940.0] | [17.0, 18.0] | [56, 86] |
p02765 | u227082700 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))\n'] | ['Wrong Answer', 'Accepted'] | ['s310153110', 's000057999'] | [2940.0, 2940.0] | [17.0, 18.0] | [77, 78] |
p02765 | u228232845 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\nans = r\nif n < 10: ans = r - 100 * (10 - n)\nprint(ans)', 'n,r = map(int, input().split())\nans = r\nif n < 10: ans = r + 100 * (10 - n)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s769904951', 's191856239'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p02765 | u228372657 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n<10:\n r-=100*(10-n)\nprint(r)', 'n,r=map(int,input().split())\nif n<10:\n r+=100*(10-n)\nprint(r)'] | ['Wrong Answer', 'Accepted'] | ['s576778738', 's155407755'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 64] |
p02765 | u231038326 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k =list(map(int,input().split()))\nA=0\n\nwhile True:\n n =n//k\n A+=1\n if n//k==0:\n break\nprint(A)', 'n , r = list(map(int,input().split()))\n\nif n>=10:\n print(r)\nif n<10:\n print(r+100*(10-n))\n'] | ['Runtime Error', 'Accepted'] | ['s393125714', 's357920296'] | [2940.0, 2940.0] | [17.0, 17.0] | [112, 96] |
p02765 | u232873434 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = map(int,input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = map(int,input())\n\nif N >= 10:\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = map(int,input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s447116513', 's526705225', 's226403189'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [82, 74, 82] |
p02765 | u234189749 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input())\nX = list(map(int, input().split()))\n\nMaxX = max(X)\nMinX = min(X)\n\nListP = []\n\nfor i in range(MinX, MaxX):\n P = 0\n for j in range(N):\n P += (X[j]-i)**2\n \n ListP.append(P)\n\nprint(min(ListP))', 'N, R= map(int,input().split())\n\nprint( R if N >=10 else R+100*(10-N)) '] | ['Runtime Error', 'Accepted'] | ['s054563073', 's055244806'] | [3060.0, 2940.0] | [18.0, 17.0] | [224, 70] |
p02765 | u235066013 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=[int(i) for i in input().split()]\nif n>9:\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r=[int(i) for i in input().split()]\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r=[int(i) for i in input().split()]\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s219675658', 's884575645', 's539003464'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [84, 86, 86] |
p02765 | u235376569 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['import math\nn,a,b = [int(x) for x in input().rstrip().split()]\nl=[]\nn1=1\nst=1\nans=0\nfor i in range(1,n+1):\n n1=n1*(n-i+1)\n st=st*i\n ans1 = (n1//st)\n if i==a or i==b:\n l.append(n1//st)\n continue\n else:\n if n<(i/2):\n ans+=l[n-i]\n else:\n ans+=ans1\n l.append(ans1)\n\nprint(ans%(10**9+7))', 'N,R=[int(x) for x in input().rstrip().split()]\nif 10<=N:\n print(R)\nelse:\n print(R+100*(10-N))\n'] | ['Runtime Error', 'Accepted'] | ['s555973282', 's108274603'] | [3064.0, 2940.0] | [19.0, 17.0] | [358, 96] |
p02765 | u237634011 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n >= 10:\n print r\nelse:\n print r + 100 * (10 - n)\n', 'n, r = map(int, input().split())\nif n >= 10:\n print r\nelse:\n print r + (100 * (10 - n))', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + (100 * (10 - n)))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s302670794', 's528052131', 's878253516'] | [8972.0, 8916.0, 9108.0] | [25.0, 20.0, 27.0] | [88, 89, 91] |
p02765 | u242890210 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n >= 10:\n rating = r\nelse:\n rating = 100 * (10 - n)\nprint(rating)', 'n, r = map(int, input().split())\nif n >= 10:\n rating = r\nelse:\n rating = r - 100 * (10 - n)\nprint(rating)', 'n, r = map(int(input()))\nif n >= 10:\n rating = r\nelse:\n rating = 100 * (10 - n)\nprint(rating)', 'n, r = map(int, input().split())\nif n >= 10:\n rating = r\nelse:\n rating = r + 100 * (10 - n)\nprint(rating)'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s243276155', 's476320418', 's951532021', 's776342413'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 18.0] | [107, 111, 99, 111] |
p02765 | u243061947 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['def InnerRating(N, R):\n if N >= 10:\n return R\n else:\n return R + 100 * (10 - N)\n \nN, R = map(int, input())\nprint (InnerRating(N, R))', 'def InnerRating(N, R):\n if N >= 10:\n return R\n else:\n return R + 100 * (10 - N)\n \nN, R = map(int, input().split())\nprint (InnerRating(N, R))'] | ['Runtime Error', 'Accepted'] | ['s297564378', 's995259745'] | [2940.0, 2940.0] | [17.0, 17.0] | [141, 149] |
p02765 | u243159381 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=map(int,input().split())\nif n>=10:\n print(b)\nelse:\n print(b+100(10-a))', 'a,b=map(int,input().split())\nif a>=10:\n print(b)\nelse:\n print(b+100(10-a))', 'a,b=map(int,input().split())\nif a>=10:\n print(b)\nelse:\n print(b+100*(10-a))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s691849754', 's772018256', 's774245732'] | [9088.0, 9088.0, 9092.0] | [25.0, 26.0, 27.0] | [80, 80, 81] |
p02765 | u244656600 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = input().split()\nif int(n) >= 10:\n h = int(r)\nelse:\n h = int(r) + (100 * (10-n))\nprint(h)', 'n,r = input().split()\nif n >= 10:\n h = r\nelse:\n h = r + (100 * (10-n))\nprint(h)', 'n,r = input().split()\nif int(n) >= 10:\n h = int(r)\nelse:\n h = int(r) + (100 * (10-int(n)))\nprint(h)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s484447461', 's588589698', 's262917518'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [96, 81, 101] |
p02765 | u244836567 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a,b=input().split()\na=int(a)\nb=int(b)\nif a>=10:\n print(b)\nelse:\n print(int(b-100*(10-a))', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a>=10:\n print(b)\nelse:\n print(int(b+100*(10-a))', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a>=10:\n print(b)\nif a<10:\n print(b+(100*(10-a)))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s462677116', 's986157856', 's090352381'] | [8924.0, 8984.0, 9156.0] | [26.0, 24.0, 24.0] | [90, 90, 91] |
p02765 | u246492017 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['x,y = map(int,input().split())\t\n\nif x<11:\n r=y-100(10-x)\nelse:\n r=y\n \nprint(r)', 'x,y = map(int,input().split())\t\n\nif x<11:\n r=y+100(10-x)\nelse:\n r=y\n \nprint(r)', 'x,y = map(int,input().split())\t\n\nif x<10:\n r=y+100(10-x)\nelse:\n r=y\n \nprint(r)', 'x,y = map(int,input().split())\t\n\nif x<11:\n r=y+100*(10-x)\nelse:\n r=y\n \nprint(r)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s000112394', 's325156368', 's861575812', 's098521621'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [81, 81, 81, 82] |
p02765 | u247114740 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["import sys\nsys.stdin = open('input.txt', 'r') \nsys.stdout = open('output.txt', 'w')\n\nn, k = map(int, input().split())\nif(n >= 10):\n\tprint(k)\nelse:\n\tprint(k + 100 * (10 - n))\t", '\nn, k = map(int, input().split())\nif(n >= 10):\n\tprint(k)\nelse:\n\tprint(k + 100 * (10 - n))\t'] | ['Runtime Error', 'Accepted'] | ['s559365942', 's835895845'] | [2940.0, 2940.0] | [17.0, 17.0] | [174, 90] |
p02765 | u247830763 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r = map(int, input().split())\nif n < 10:\n print(r-100*(10-n))\nelse:\n print(r)\n', 'n,r = map(int,input().split())\nif n >= 10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Wrong Answer', 'Accepted'] | ['s095757926', 's906203534'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 85] |
p02765 | u248670337 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k=map(int,input().split())\nprint(k+100*(10-k) if n<10 else k)', 'n,k=map(int,input().split())\nprint(k+100*(10-n) if n<10 else k)\n'] | ['Wrong Answer', 'Accepted'] | ['s476577656', 's259613993'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 64] |
p02765 | u250944591 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:print(r)\nelse:print(r-100*(10-k))', 'n,r=map(int,input().split())\nif n>=10:print(r)\nelse:print(r-100*(10-n))', 'n,r=map(int,input().split())\nif n>=10:print(r)\nelse:print(r+100*(10-n))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s535914782', 's708340942', 's368346160'] | [9120.0, 8984.0, 9092.0] | [26.0, 26.0, 28.0] | [71, 71, 71] |
p02765 | u257018224 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R= map(int, input().split()) \nif N>=10:\n T=R\nelse :\n T=R+100*(10-N)\npritn(T)', 'N,R=map(int, input().split()) \nif N>=10:\n t=R\nelse :\n t=R+100*(10-N)\nprint(R) ', 'N,R=map(int, input().split()) \nif N>=10:\n t=R\nelse :\n t=R+100*(10-N)\nprint(t) '] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s293287323', 's587558452', 's948527086'] | [2940.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [81, 81, 81] |
p02765 | u257251421 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, K = map(int, input().split())\ni = N\ncount = 1\nwhile i >= K:\n i //= K\n count += 1\nprint(count)', 'N, R = map(int, input().split())\nif N >= 10:\n print(R)\nelif N < 10:\n print(R + (100*(10-N)))'] | ['Runtime Error', 'Accepted'] | ['s864513259', 's508677005'] | [2940.0, 2940.0] | [17.0, 17.0] | [102, 98] |
p02765 | u258325541 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = list(map(int,input().split(" ")))\n\nif N < 10:\n print(R-100*(10-N))\nelse:\n print(R)', 'N, R = list(map(int,input().split(" ")))\n\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)\n'] | ['Wrong Answer', 'Accepted'] | ['s118309112', 's646535409'] | [2940.0, 3444.0] | [17.0, 26.0] | [91, 92] |
p02765 | u261700262 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = map(int, input().split())\n\nif N <= 10:\n print(R)\nelse:\n print(R - 100 * (10 - N))\n', 'N, R = map(int, input().split())\n\nif 10 <= N:\n print(R)\nelse:\n print(R - 100 * (10 - N))\n', 'N, R = map(int, input().split())\n\nif 10 <= N:\n print(R)\nelse:\n print(R + 100 * (10 - N))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s452865550', 's895985136', 's371000951'] | [9060.0, 9040.0, 9128.0] | [29.0, 27.0, 27.0] | [95, 95, 95] |
p02765 | u261947526 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N=input()\nR=input()\nN=int(N)\nR=int(R)\nif N<10:\n R+=100*(10-N)\nprint(R)', 'N,R=input().split()\nN=int(N)\nR=int(R)\nif N<10:\n R+=100*(10-N)\nprint(R)'] | ['Runtime Error', 'Accepted'] | ['s619921801', 's475824199'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p02765 | u263438842 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, k = map(int, input().split())\nres = 0\nwhile n >= k:\n res += 1\n n //= k\nprint(res+1)', "n, r = map(int, input().split(' '))\nif n < 10:\n ans = r - 100 * (10-n)\nelse:\n ans = r\nprint(ans)", 'n, k = map(int, input().split())\nres = 0\nwhile n >= k:\n res += 1\n n //= k\nprint(res+1)', "n, r = map(int, input().split(' '))\nif n < 10:\n ans = r + 100 * (10-n)\nelse:\n ans = r\nprint(ans)"] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s376680458', 's483687342', 's965049546', 's676484659'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [88, 98, 88, 98] |
p02765 | u267029978 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['a, m = map(int, input().split()) \nif a >=10:\n print(m)\nelse:\n out = m - 100 *(10-a)\n if out <= 1:\n print(1)\n else:\n print(out)', 'a, m = map(int, input().split()) \nif a >=10:\n print(m)\nelse:\n out = m - 100 *(10-a)\n print(out)', 'a, m = map(int, input().split()) \nif a >=10:\n print(m)\nelse:\n out = m - 100 *(10-a)\n if out <= 1:\n print(1)\n else:\n print(out)', 'a, m = map(int, input().split()) \nif a >=10:\n print(m)\nelse:\n out = m + 100 *(10-a)\n if out <= 1:\n print(1)\n else:\n print(out)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s906123049', 's926415920', 's966624118', 's160097171'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [136, 98, 136, 136] |
p02765 | u268792407 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r-100*(10-n))', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))'] | ['Wrong Answer', 'Accepted'] | ['s365436151', 's156847598'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 77] |
p02765 | u273186459 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\n\nif n>=10:\n print(r)\nelif n<10:\n print(r-(100*(10-n)))', 'n,r=map(int,input().split())\n\nif n>=10:\n print(r)\nelif n<10:\n print(r+(100*(10-n)))'] | ['Wrong Answer', 'Accepted'] | ['s104131519', 's703359461'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 85] |
p02765 | u274615057 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['\ndef main():\n n, r = map(int, input().split())\n if n >= 10:\n print(r)\n else:\n print(r - (100 * (10 - n)))\n\n\nif __name__ == "__main__":\n main()\n', '\ndef main():\n n, r = map(int, input().split())\n if n >= 10:\n print(r)\n else:\n print(100 * (10 - k))\n\n\nif __name__ == "__main__":\n main()\n', '\ndef main():\n n, r = map(int, input().split())\n if n >= 10:\n print(r)\n else:\n print(100 * (10 - n))\n\n\nif __name__ == "__main__":\n main()\n', '\ndef main():\n n, r = map(int, input().split())\n if n >= 10:\n print(r)\n else:\n print(r + (100 * (10 - n)))\n\n\nif __name__ == "__main__":\n main()\n'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s709089265', 's824406132', 's847353441', 's737505681'] | [9000.0, 9060.0, 9100.0, 9064.0] | [25.0, 25.0, 26.0, 26.0] | [169, 163, 163, 169] |
p02765 | u277104886 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, k = map(int, input().split())\ncount = 0\nwhile n >0:\n n //= k\n count += 1\nprint(count)', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r - 100:(10-n))', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r - 100*(10-n))', 'n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r + 100*(10-n))'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s295010641', 's592685595', 's687306871', 's836197124'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [94, 85, 85, 85] |
p02765 | u278379520 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r-(100*(10-n)))', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+(100*(10-n)))\n'] | ['Wrong Answer', 'Accepted'] | ['s735163210', 's357202285'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 84] |
p02765 | u281796054 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['if N >= 1 and N < 10:\n return R+100*(10-n)\nelse:\n return R', 'if N >= 1 and N < 10:\n print(R+100*(10-n))\nelse:\n print(R)', 'N,R=map(int,input().split())\nif N < 10:\n print(R+100*(10-n))\nelse:\n print(R)', 'n,r=map(int,input().split())\nif N >= 1 and N < 10:\n return R+100*(10-n)\nelse:\n return R', 'N,R=map(int,input().split())\nif N < 10:\n return R+100*(10-n)\nelse:\n return R', 'N,R=map(int,input().split())\nif N < 10:\n print(R+100*(10-N))\nelse:\n print(R)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s015351415', 's019045609', 's275716015', 's317187862', 's588182420', 's219148331'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [60, 60, 78, 89, 78, 78] |
p02765 | u282574080 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = input().split(" ")\nN = int(N)\nR = int(R)\nif(N >= 10):\n print(R)\nelse:\n print(R-100*(10-N))', 'N,R = input().split(" ")\nN = int(N)\nR = int(R)\nif(N >= 10):\n print(R)\nelse:\n print(R+100*(10-N))'] | ['Wrong Answer', 'Accepted'] | ['s247595443', 's870851233'] | [2940.0, 2940.0] | [18.0, 18.0] | [102, 102] |
p02765 | u283751459 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k = map(int,input().split())\n\nif n >= 10:\n print(k)\nelse:\n print(k + 100*(10-k))\n', 'n,k = map(int,input().split())\n\nif n >= 10:\n print(k)\nelse:\n print(100*(100-k))', 'n,k = map(int,input().split())\n\nif n >= 10:\n print(k)\nelse:\n print(k + 100*(10-n))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s796028271', 's875230772', 's266698873'] | [9068.0, 9096.0, 9024.0] | [25.0, 34.0, 28.0] | [85, 81, 85] |
p02765 | u284363684 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['# input\nN, R = map(int, input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R - (100 * (10 - N)))', '# input\nN, R = map(int, input().split())\n\nif N >= 10:\n print(R)\nelse:\n print(R + (100 * (10 - N)))\n'] | ['Wrong Answer', 'Accepted'] | ['s298487470', 's573537235'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 105] |
p02765 | u288430479 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['A = input().split( )\n\nN = int(A[0])\nR = int(A[1])\n\nif N >= 10:\n print(R + N)\n\nelse :\n print(100*(10-N))', 'A = input().split( )\n\nN = int(A[0])\nR = int(A[1])\n\nif N >= 10:\n print(R)\n\nelse :\n print(100*(10-N))', 'A = input().split( )\n \nN = int(A[0])\nR = int(A[1])\n \nif N >= 10:\n print(R)\n \nelse :\n print(100*(10-N) + R)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s498833098', 's891603810', 's203181370'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [109, 105, 112] |
p02765 | u288547705 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N = int(input())\nR = int(input())\n \nif N < 10:\n N = R + 100 * (10 - N) \n print(n)\n \nif N >= 10:\n N = R\n print(N)', 'N = int(input())\nR = int(input())\n \nif N < 10:\n n = R + 100 * (10 - N) \n print(n)\n \nif N >= 10:\n n = R\n print(n)', 'N = int(input())\nR = int(input())\n\nif N < 10:\n N = 100 * (10 - N) \n print(N)\n \nif N > 10:\n N = R\n print(N)\n ', 'N = int(input())\nR = int(input())\n \nif N < 10:\n N = R + 100 * (10 - N) \n print(N)\n \nif N >= 10:\n N = R\n print(N)', 'N, R = int(input().split())\n \nif N < 10:\n N = R + 100 * (10 - N) \n print(N)\n \nelse:\n N = R\n print(N)', 'N, R = int(input( , ))\n \nif N < 10:\n N = R + 100 * (10 - N) \n print(N)\n \nelse:\n N = R\n print(N)', 'N, R = (int(x) for x in input().split())\n \nif N < 10:\n N = R + 100 * (10 - N) \n print(N)\n \nelse:\n N = R\n print(N)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s171258181', 's304162905', 's306064970', 's475602098', 's624090213', 's834547448', 's061993209'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 16.0, 17.0, 17.0] | [117, 117, 114, 117, 105, 100, 118] |
p02765 | u293838812 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ["[n, r] = map(int, input().rstrip().split(' '))\n\nif n > 10:\n print(r)\nelse:\n print(r - 100 * (10 - n))\n", "[n, r] = map(int, input().rstrip().split(' '))\n\nif n > 10:\n return r\nelse:\n return r - 100 * (10 - n)\n", "[n, r] = map(int, input().rstrip().split(' '))\n\nif n > 10:\n print(r)\nelse:\n print(r + 100 * (10 - n))\n"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s035645933', 's875155780', 's225925461'] | [3064.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [108, 108, 108] |
p02765 | u294385082 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,k = map(int,input().split())\n\nfor i in range(10**10):\n if n <= k**(i+1) -1:\n print(i+1)\n exit()', 'n,r = map(int,input().split())\nprint(r if 10 <= n else r + 1000 - 100*n)'] | ['Wrong Answer', 'Accepted'] | ['s710620987', 's982098524'] | [2940.0, 2940.0] | [2104.0, 17.0] | [104, 72] |
p02765 | u296101474 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r - (100*(10 - n)))\n', 'n, r = map(int, input().split())\n\nif n >= 10:\n print(r)\nelse:\n print(r + (100*(10 - n)))\n'] | ['Wrong Answer', 'Accepted'] | ['s058938583', 's226184442'] | [3064.0, 2940.0] | [17.0, 17.0] | [95, 95] |
p02765 | u297089927 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-r))', 'n,r=map(int,input().split())\nif n>=10:\n print(r)\nelse:\n print(r+100*(10-n))\n'] | ['Wrong Answer', 'Accepted'] | ['s688957605', 's535329643'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 78] |
p02765 | u297103202 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N,R = list(map(int,input().split()))\nprint(N,R)\n\nif N < 10:\n X = R + 100*(10-N)\nelse:\n X = R\nprint(X)\n', 'N,R = list(map(int,input().split()))\n\nif N < 10:\n X = R + 100*(10-N)\nelse:\n X = R\nprint(X)\n'] | ['Wrong Answer', 'Accepted'] | ['s378318411', 's850469304'] | [2940.0, 2940.0] | [17.0, 17.0] | [108, 97] |
p02765 | u304593245 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['N, R = int(input())\n\nif N >= 10:\n print(R)\nelse:\n print(R + 100*(10-N))\n', 'N, R = list(map(int, input().split()))\n\nif N >= 10:\n print(R)\nelse:\n print(R + 100*(10-N))\n'] | ['Runtime Error', 'Accepted'] | ['s961201286', 's118463360'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 97] |
p02765 | u305366205 | 2,000 | 1,048,576 | Takahashi is a member of a programming competition site, _ButCoder_. Each member of ButCoder is assigned two values: **Inner Rating** and **Displayed Rating**. The Displayed Rating of a member is equal to their Inner Rating if the member has participated in 10 or more contests. Otherwise, the Displayed Rating will be their Inner Rating minus 100 \times (10 - K) when the member has participated in K contests. Takahashi has participated in N contests, and his Displayed Rating is R. Find his Inner Rating. | ['n, r = map(int, input().split())\nif n >= 10:\n print(r)\nelse:\n print(r - 100 * (10 - n))', 'n, r = map(int, input().split())\nif n < 10:\n r += 100 * (10 - n)\nprint(r)'] | ['Wrong Answer', 'Accepted'] | ['s995372339', 's972342470'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 76] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.